Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
* <!--End PulumiCodeChooser -->
*
* ## Import
*
* Network Manager Connectivity Configuration can be imported using the `resource id`, e.g.
*
* ```sh
* $ pulumi import azure:network/networkManagerConnectivityConfiguration:NetworkManagerConnectivityConfiguration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/networkManagers/networkManager1/connectivityConfigurations/configuration1
* ```
*
*/
@ResourceType(type="azure:network/networkManagerConnectivityConfiguration:NetworkManagerConnectivityConfiguration")
public class NetworkManagerConnectivityConfiguration extends com.pulumi.resources.CustomResource {
/**
* One or more `applies_to_group` blocks as defined below.
*
*/
@Export(name="appliesToGroups", refs={List.class,NetworkManagerConnectivityConfigurationAppliesToGroup.class}, tree="[0,1]")
private Output> appliesToGroups;
/**
* @return One or more `applies_to_group` blocks as defined below.
*
*/
public Output> appliesToGroups() {
return this.appliesToGroups;
}
/**
* Specifies the connectivity topology type. Possible values are `HubAndSpoke` and `Mesh`.
*
*/
@Export(name="connectivityTopology", refs={String.class}, tree="[0]")
private Output connectivityTopology;
/**
* @return Specifies the connectivity topology type. Possible values are `HubAndSpoke` and `Mesh`.
*
*/
public Output connectivityTopology() {
return this.connectivityTopology;
}
/**
* Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are `true` and `false`.
*
*/
@Export(name="deleteExistingPeeringEnabled", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> deleteExistingPeeringEnabled;
/**
* @return Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are `true` and `false`.
*
*/
public Output> deleteExistingPeeringEnabled() {
return Codegen.optional(this.deleteExistingPeeringEnabled);
}
/**
* A description of the Connectivity Configuration.
*
*/
@Export(name="description", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> description;
/**
* @return A description of the Connectivity Configuration.
*
*/
public Output> description() {
return Codegen.optional(this.description);
}
/**
* Indicates whether to global mesh is supported. Possible values are `true` and `false`.
*
*/
@Export(name="globalMeshEnabled", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> globalMeshEnabled;
/**
* @return Indicates whether to global mesh is supported. Possible values are `true` and `false`.
*
*/
public Output> globalMeshEnabled() {
return Codegen.optional(this.globalMeshEnabled);
}
/**
* A `hub` block as defined below.
*
*/
@Export(name="hub", refs={NetworkManagerConnectivityConfigurationHub.class}, tree="[0]")
private Output* @Nullable */ NetworkManagerConnectivityConfigurationHub> hub;
/**
* @return A `hub` block as defined below.
*
*/
public Output> hub() {
return Codegen.optional(this.hub);
}
/**
* Specifies the name which should be used for this Network Manager Connectivity Configuration. Changing this forces a new Network Manager Connectivity Configuration to be created.
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return Specifies the name which should be used for this Network Manager Connectivity Configuration. Changing this forces a new Network Manager Connectivity Configuration to be created.
*
*/
public Output name() {
return this.name;
}
/**
* Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.
*
*/
@Export(name="networkManagerId", refs={String.class}, tree="[0]")
private Output networkManagerId;
/**
* @return Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.
*
*/
public Output networkManagerId() {
return this.networkManagerId;
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public NetworkManagerConnectivityConfiguration(java.lang.String name) {
this(name, NetworkManagerConnectivityConfigurationArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public NetworkManagerConnectivityConfiguration(java.lang.String name, NetworkManagerConnectivityConfigurationArgs 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 NetworkManagerConnectivityConfiguration(java.lang.String name, NetworkManagerConnectivityConfigurationArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure:network/networkManagerConnectivityConfiguration:NetworkManagerConnectivityConfiguration", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
}
private NetworkManagerConnectivityConfiguration(java.lang.String name, Output id, @Nullable NetworkManagerConnectivityConfigurationState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure:network/networkManagerConnectivityConfiguration:NetworkManagerConnectivityConfiguration", name, state, makeResourceOptions(options, id), false);
}
private static NetworkManagerConnectivityConfigurationArgs makeArgs(NetworkManagerConnectivityConfigurationArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
if (options != null && options.getUrn().isPresent()) {
return null;
}
return args == null ? NetworkManagerConnectivityConfigurationArgs.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 NetworkManagerConnectivityConfiguration get(java.lang.String name, Output id, @Nullable NetworkManagerConnectivityConfigurationState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new NetworkManagerConnectivityConfiguration(name, id, state, options);
}
}