DataNetworkArgs

data class DataNetworkArgs(val createdAt: Output<String>? = null, val createdBy: Output<String>? = null, val createdByType: Output<Either<String, CreatedByType>>? = null, val dataNetworkName: Output<String>? = null, val description: Output<String>? = null, val lastModifiedAt: Output<String>? = null, val lastModifiedBy: Output<String>? = null, val lastModifiedByType: Output<Either<String, CreatedByType>>? = null, val location: Output<String>? = null, val mobileNetworkName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<DataNetworkArgs>

Data network resource. API Version: 2022-04-01-preview.

Example Usage

Create data network

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var dataNetwork = new AzureNative.MobileNetwork.DataNetwork("dataNetwork", new()
{
DataNetworkName = "testDataNetwork",
Description = "myFavouriteDataNetwork",
Location = "eastus",
MobileNetworkName = "testMobileNetwork",
ResourceGroupName = "rg1",
});
});
package main
import (
mobilenetwork "github.com/pulumi/pulumi-azure-native-sdk/mobilenetwork"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mobilenetwork.NewDataNetwork(ctx, "dataNetwork", &mobilenetwork.DataNetworkArgs{
DataNetworkName: pulumi.String("testDataNetwork"),
Description: pulumi.String("myFavouriteDataNetwork"),
Location: pulumi.String("eastus"),
MobileNetworkName: pulumi.String("testMobileNetwork"),
ResourceGroupName: pulumi.String("rg1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.mobilenetwork.DataNetwork;
import com.pulumi.azurenative.mobilenetwork.DataNetworkArgs;
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 dataNetwork = new DataNetwork("dataNetwork", DataNetworkArgs.builder()
.dataNetworkName("testDataNetwork")
.description("myFavouriteDataNetwork")
.location("eastus")
.mobileNetworkName("testMobileNetwork")
.resourceGroupName("rg1")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:mobilenetwork:DataNetwork testDataNetwork /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testDataNetwork

Constructors

Link copied to clipboard
constructor(createdAt: Output<String>? = null, createdBy: Output<String>? = null, createdByType: Output<Either<String, CreatedByType>>? = null, dataNetworkName: Output<String>? = null, description: Output<String>? = null, lastModifiedAt: Output<String>? = null, lastModifiedBy: Output<String>? = null, lastModifiedByType: Output<Either<String, CreatedByType>>? = null, location: Output<String>? = null, mobileNetworkName: Output<String>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

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

The timestamp of resource creation (UTC).

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

The identity that created the resource.

Link copied to clipboard
val createdByType: Output<Either<String, CreatedByType>>? = null

The type of identity that created the resource.

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

The name of the data network.

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

An optional description for this data network.

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

The timestamp of resource last modification (UTC)

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

The identity that last modified the resource.

Link copied to clipboard
val lastModifiedByType: Output<Either<String, CreatedByType>>? = null

The type of identity that last modified the resource.

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

The geo-location where the resource lives

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

The name of the mobile network.

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

The name of the resource group. The name is case insensitive.

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

Resource tags.

Functions

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