com.pulumi.meraki.networks.ApplianceRfProfiles Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meraki Show documentation
Show all versions of meraki Show documentation
A Pulumi package for creating and managing Cisco Meraki resources
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.meraki.networks;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import com.pulumi.meraki.Utilities;
import com.pulumi.meraki.networks.ApplianceRfProfilesArgs;
import com.pulumi.meraki.networks.inputs.ApplianceRfProfilesState;
import com.pulumi.meraki.networks.outputs.ApplianceRfProfilesFiveGhzSettings;
import com.pulumi.meraki.networks.outputs.ApplianceRfProfilesPerSsidSettings;
import com.pulumi.meraki.networks.outputs.ApplianceRfProfilesTwoFourGhzSettings;
import java.lang.String;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.meraki.networks.ApplianceRfProfiles;
* import com.pulumi.meraki.networks.ApplianceRfProfilesArgs;
* import com.pulumi.meraki.networks.inputs.ApplianceRfProfilesFiveGhzSettingsArgs;
* import com.pulumi.meraki.networks.inputs.ApplianceRfProfilesPerSsidSettingsArgs;
* import com.pulumi.meraki.networks.inputs.ApplianceRfProfilesTwoFourGhzSettingsArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* var example = new ApplianceRfProfiles("example", ApplianceRfProfilesArgs.builder()
* .fiveGhzSettings(ApplianceRfProfilesFiveGhzSettingsArgs.builder()
* .ax_enabled(true)
* .min_bitrate(48)
* .build())
* .name("MX RF Profile")
* .networkId("string")
* .perSsidSettings(ApplianceRfProfilesPerSsidSettingsArgs.builder()
* .status_1(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
* .status_2(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
* .status_3(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
* .status_4(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
* .build())
* .twoFourGhzSettings(ApplianceRfProfilesTwoFourGhzSettingsArgs.builder()
* .ax_enabled(true)
* .min_bitrate(12)
* .build())
* .build());
*
* ctx.export("merakiNetworksApplianceRfProfilesExample", example);
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
* ## Import
*
* ```sh
* $ pulumi import meraki:networks/applianceRfProfiles:ApplianceRfProfiles example "network_id,rf_profile_id"
* ```
*
*/
@ResourceType(type="meraki:networks/applianceRfProfiles:ApplianceRfProfiles")
public class ApplianceRfProfiles extends com.pulumi.resources.CustomResource {
/**
* Settings related to 5Ghz band.
*
*/
@Export(name="fiveGhzSettings", refs={ApplianceRfProfilesFiveGhzSettings.class}, tree="[0]")
private Output fiveGhzSettings;
/**
* @return Settings related to 5Ghz band.
*
*/
public Output fiveGhzSettings() {
return this.fiveGhzSettings;
}
/**
* The name of the profile.
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return The name of the profile.
*
*/
public Output name() {
return this.name;
}
/**
* ID of network this RF Profile belongs in.
*
*/
@Export(name="networkId", refs={String.class}, tree="[0]")
private Output networkId;
/**
* @return ID of network this RF Profile belongs in.
*
*/
public Output networkId() {
return this.networkId;
}
/**
* Per-SSID radio settings by number.
*
*/
@Export(name="perSsidSettings", refs={ApplianceRfProfilesPerSsidSettings.class}, tree="[0]")
private Output perSsidSettings;
/**
* @return Per-SSID radio settings by number.
*
*/
public Output perSsidSettings() {
return this.perSsidSettings;
}
/**
* rfProfileId path parameter. Rf profile ID
*
*/
@Export(name="rfProfileId", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> rfProfileId;
/**
* @return rfProfileId path parameter. Rf profile ID
*
*/
public Output> rfProfileId() {
return Codegen.optional(this.rfProfileId);
}
/**
* Settings related to 2.4Ghz band.
*
*/
@Export(name="twoFourGhzSettings", refs={ApplianceRfProfilesTwoFourGhzSettings.class}, tree="[0]")
private Output twoFourGhzSettings;
/**
* @return Settings related to 2.4Ghz band.
*
*/
public Output twoFourGhzSettings() {
return this.twoFourGhzSettings;
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public ApplianceRfProfiles(java.lang.String name) {
this(name, ApplianceRfProfilesArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public ApplianceRfProfiles(java.lang.String name, ApplianceRfProfilesArgs args) {
this(name, args, null);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
* @param options A bag of options that control this resource's behavior.
*/
public ApplianceRfProfiles(java.lang.String name, ApplianceRfProfilesArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("meraki:networks/applianceRfProfiles:ApplianceRfProfiles", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
}
private ApplianceRfProfiles(java.lang.String name, Output id, @Nullable ApplianceRfProfilesState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("meraki:networks/applianceRfProfiles:ApplianceRfProfiles", name, state, makeResourceOptions(options, id), false);
}
private static ApplianceRfProfilesArgs makeArgs(ApplianceRfProfilesArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
if (options != null && options.getUrn().isPresent()) {
return null;
}
return args == null ? ApplianceRfProfilesArgs.Empty : args;
}
private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) {
var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
.version(Utilities.getVersion())
.build();
return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id);
}
/**
* Get an existing Host resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state
* @param options Optional settings to control the behavior of the CustomResource.
*/
public static ApplianceRfProfiles get(java.lang.String name, Output id, @Nullable ApplianceRfProfilesState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new ApplianceRfProfiles(name, id, state, options);
}
}