NetworkSiteArgs

data class NetworkSiteArgs(val location: Output<String>? = null, val mobileNetworkId: Output<String>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<NetworkSiteArgs>

Manages a Mobile Network Site.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.databoxedge.Device;
import com.pulumi.azure.databoxedge.DeviceArgs;
import com.pulumi.azure.mobile.Network;
import com.pulumi.azure.mobile.NetworkArgs;
import com.pulumi.azure.mobile.NetworkSite;
import com.pulumi.azure.mobile.NetworkSiteArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleDevice = new Device("exampleDevice", DeviceArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.skuName("EdgeP_Base-Standard")
.build());
var exampleNetwork = new Network("exampleNetwork", NetworkArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.mobileCountryCode("001")
.mobileNetworkCode("01")
.build());
var exampleNetworkSite = new NetworkSite("exampleNetworkSite", NetworkSiteArgs.builder()
.mobileNetworkId(exampleNetwork.id())
.location(exampleResourceGroup.location())
.tags(Map.of("key", "value"))
.build());
}
}

Import

Mobile Network Site can be imported using the resource id, e.g.

$ pulumi import azure:mobile/networkSite:NetworkSite example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.MobileNetwork/mobileNetworks/mobileNetwork1/sites/site1

Constructors

Link copied to clipboard
fun NetworkSiteArgs(location: Output<String>? = null, mobileNetworkId: Output<String>? = null, name: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): NetworkSiteArgs

Properties

Link copied to clipboard
val location: Output<String>? = null

The Azure Region where the Mobile Network Site should exist. Changing this forces a new Mobile Network Site to be created.

Link copied to clipboard
val mobileNetworkId: Output<String>? = null

the ID of the Mobile Network which the Mobile Network Site belongs to. Changing this forces a new Mobile Network Site to be created.

Link copied to clipboard
val name: Output<String>? = null

The name which should be used for this Mobile Network Site. Changing this forces a new Mobile Network Site to be created.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags which should be assigned to the Mobile Network Site.