com.pulumi.azure.mobile.NetworkAttachedDataNetwork Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.mobile;
import com.pulumi.azure.Utilities;
import com.pulumi.azure.mobile.NetworkAttachedDataNetworkArgs;
import com.pulumi.azure.mobile.inputs.NetworkAttachedDataNetworkState;
import com.pulumi.azure.mobile.outputs.NetworkAttachedDataNetworkNetworkAddressPortTranslation;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Manages a Mobile Network Attached Data Network.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
* <!--End PulumiCodeChooser -->
*
* ## Import
*
* Mobile Network Attached Data Network can be imported using the `resource id`, e.g.
*
* ```sh
* $ pulumi import azure:mobile/networkAttachedDataNetwork:NetworkAttachedDataNetwork example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/packetCoreControlPlane1/packetCoreDataPlanes/packetCoreDataPlane1/attachedDataNetworks/attachedDataNetwork1
* ```
*
*/
@ResourceType(type="azure:mobile/networkAttachedDataNetwork:NetworkAttachedDataNetwork")
public class NetworkAttachedDataNetwork extends com.pulumi.resources.CustomResource {
/**
* Specifies the DNS servers to signal to UEs to use for this attached data network.
*
*/
@Export(name="dnsAddresses", refs={List.class,String.class}, tree="[0,1]")
private Output> dnsAddresses;
/**
* @return Specifies the DNS servers to signal to UEs to use for this attached data network.
*
*/
public Output> dnsAddresses() {
return this.dnsAddresses;
}
/**
* Specifies the Azure Region where the Mobile Network Attached Data Network should exist. Changing this forces a new Mobile Network Attached Data Network to be created.
*
*/
@Export(name="location", refs={String.class}, tree="[0]")
private Output location;
/**
* @return Specifies the Azure Region where the Mobile Network Attached Data Network should exist. Changing this forces a new Mobile Network Attached Data Network to be created.
*
*/
public Output location() {
return this.location;
}
/**
* Specifies the name of the `azure.mobile.NetworkDataNetwork` which the Attached Data Network belongs to, Changing this forces a new Mobile Network Attached Data Network to be created.
*
*/
@Export(name="mobileNetworkDataNetworkName", refs={String.class}, tree="[0]")
private Output mobileNetworkDataNetworkName;
/**
* @return Specifies the name of the `azure.mobile.NetworkDataNetwork` which the Attached Data Network belongs to, Changing this forces a new Mobile Network Attached Data Network to be created.
*
*/
public Output mobileNetworkDataNetworkName() {
return this.mobileNetworkDataNetworkName;
}
/**
* Specifies the ID of the `azure.mobile.NetworkPacketCoreDataPlane` which the Mobile Network Attached Data Network belongs to. Changing this forces a new Mobile Network Attached Data Network to be created.
*
*/
@Export(name="mobileNetworkPacketCoreDataPlaneId", refs={String.class}, tree="[0]")
private Output mobileNetworkPacketCoreDataPlaneId;
/**
* @return Specifies the ID of the `azure.mobile.NetworkPacketCoreDataPlane` which the Mobile Network Attached Data Network belongs to. Changing this forces a new Mobile Network Attached Data Network to be created.
*
*/
public Output mobileNetworkPacketCoreDataPlaneId() {
return this.mobileNetworkPacketCoreDataPlaneId;
}
/**
* A `network_address_port_translation` block as defined below.
*
*/
@Export(name="networkAddressPortTranslation", refs={NetworkAttachedDataNetworkNetworkAddressPortTranslation.class}, tree="[0]")
private Output* @Nullable */ NetworkAttachedDataNetworkNetworkAddressPortTranslation> networkAddressPortTranslation;
/**
* @return A `network_address_port_translation` block as defined below.
*
*/
public Output> networkAddressPortTranslation() {
return Codegen.optional(this.networkAddressPortTranslation);
}
/**
* A mapping of tags which should be assigned to the Mobile Network Attached Data Network.
*
*/
@Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
private Output* @Nullable */ Map> tags;
/**
* @return A mapping of tags which should be assigned to the Mobile Network Attached Data Network.
*
*/
public Output>> tags() {
return Codegen.optional(this.tags);
}
/**
* Specifies the user equipment (UE) address pool prefixes for the attached data network from which the packet core instance will dynamically assign IP addresses to UEs. The packet core instance assigns an IP address to a UE when the UE sets up a PDU session. At least one of `user_equipment_address_pool_prefixes` and `user_equipment_static_address_pool_prefix`. If you define both, they must be of the same size.
*
*/
@Export(name="userEquipmentAddressPoolPrefixes", refs={List.class,String.class}, tree="[0,1]")
private Output* @Nullable */ List> userEquipmentAddressPoolPrefixes;
/**
* @return Specifies the user equipment (UE) address pool prefixes for the attached data network from which the packet core instance will dynamically assign IP addresses to UEs. The packet core instance assigns an IP address to a UE when the UE sets up a PDU session. At least one of `user_equipment_address_pool_prefixes` and `user_equipment_static_address_pool_prefix`. If you define both, they must be of the same size.
*
*/
public Output>> userEquipmentAddressPoolPrefixes() {
return Codegen.optional(this.userEquipmentAddressPoolPrefixes);
}
/**
* Specifies the user equipment (UE) address pool prefixes for the attached data network from which the packet core instance will assign static IP addresses to UEs. The packet core instance assigns an IP address to a UE when the UE sets up a PDU session. The static IP address for a specific UE is set in StaticIPConfiguration on the corresponding SIM resource. At least one of `user_equipment_address_pool_prefix` and `user_equipment_static_address_pool_prefixes`. If you define both, they must be of the same size.
*
* > **Note:** At least one of `user_equipment_address_pool_prefixes` and `user_equipment_static_address_pool_prefixes` must be specified.
*
*/
@Export(name="userEquipmentStaticAddressPoolPrefixes", refs={List.class,String.class}, tree="[0,1]")
private Output* @Nullable */ List> userEquipmentStaticAddressPoolPrefixes;
/**
* @return Specifies the user equipment (UE) address pool prefixes for the attached data network from which the packet core instance will assign static IP addresses to UEs. The packet core instance assigns an IP address to a UE when the UE sets up a PDU session. The static IP address for a specific UE is set in StaticIPConfiguration on the corresponding SIM resource. At least one of `user_equipment_address_pool_prefix` and `user_equipment_static_address_pool_prefixes`. If you define both, they must be of the same size.
*
* > **Note:** At least one of `user_equipment_address_pool_prefixes` and `user_equipment_static_address_pool_prefixes` must be specified.
*
*/
public Output>> userEquipmentStaticAddressPoolPrefixes() {
return Codegen.optional(this.userEquipmentStaticAddressPoolPrefixes);
}
/**
* The IPv4 address for the user data plane interface. This should match one of the interfaces configured on your Azure Stack Edge device.
*
*/
@Export(name="userPlaneAccessIpv4Address", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> userPlaneAccessIpv4Address;
/**
* @return The IPv4 address for the user data plane interface. This should match one of the interfaces configured on your Azure Stack Edge device.
*
*/
public Output> userPlaneAccessIpv4Address() {
return Codegen.optional(this.userPlaneAccessIpv4Address);
}
/**
* The default IPv4 gateway for the user data plane interface. This should match one of the interfaces configured on your Azure Stack Edge device.
*
*/
@Export(name="userPlaneAccessIpv4Gateway", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> userPlaneAccessIpv4Gateway;
/**
* @return The default IPv4 gateway for the user data plane interface. This should match one of the interfaces configured on your Azure Stack Edge device.
*
*/
public Output> userPlaneAccessIpv4Gateway() {
return Codegen.optional(this.userPlaneAccessIpv4Gateway);
}
/**
* The IPv4 subnet for the user data plane interface. This should match one of the interfaces configured on your Azure Stack Edge device.
*
*/
@Export(name="userPlaneAccessIpv4Subnet", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> userPlaneAccessIpv4Subnet;
/**
* @return The IPv4 subnet for the user data plane interface. This should match one of the interfaces configured on your Azure Stack Edge device.
*
*/
public Output> userPlaneAccessIpv4Subnet() {
return Codegen.optional(this.userPlaneAccessIpv4Subnet);
}
/**
* Specifies the logical name for the user data plane interface. This should match one of the interfaces configured on your Azure Stack Edge device.
*
*/
@Export(name="userPlaneAccessName", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> userPlaneAccessName;
/**
* @return Specifies the logical name for the user data plane interface. This should match one of the interfaces configured on your Azure Stack Edge device.
*
*/
public Output> userPlaneAccessName() {
return Codegen.optional(this.userPlaneAccessName);
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public NetworkAttachedDataNetwork(java.lang.String name) {
this(name, NetworkAttachedDataNetworkArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public NetworkAttachedDataNetwork(java.lang.String name, NetworkAttachedDataNetworkArgs 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 NetworkAttachedDataNetwork(java.lang.String name, NetworkAttachedDataNetworkArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure:mobile/networkAttachedDataNetwork:NetworkAttachedDataNetwork", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
}
private NetworkAttachedDataNetwork(java.lang.String name, Output id, @Nullable NetworkAttachedDataNetworkState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure:mobile/networkAttachedDataNetwork:NetworkAttachedDataNetwork", name, state, makeResourceOptions(options, id), false);
}
private static NetworkAttachedDataNetworkArgs makeArgs(NetworkAttachedDataNetworkArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
if (options != null && options.getUrn().isPresent()) {
return null;
}
return args == null ? NetworkAttachedDataNetworkArgs.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 NetworkAttachedDataNetwork get(java.lang.String name, Output id, @Nullable NetworkAttachedDataNetworkState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new NetworkAttachedDataNetwork(name, id, state, options);
}
}