DelegatedSubnetServiceDetails

Represents an instance of a orchestrator. API Version: 2021-03-15.

Example Usage

put delegated subnet

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var delegatedSubnetServiceDetails = new AzureNative.DelegatedNetwork.DelegatedSubnetServiceDetails("delegatedSubnetServiceDetails", new()
{
ControllerDetails = new AzureNative.DelegatedNetwork.Inputs.ControllerDetailsArgs
{
Id = "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/dnctestcontroller",
},
Location = "West US",
ResourceGroupName = "TestRG",
ResourceName = "delegated1",
SubnetDetails = new AzureNative.DelegatedNetwork.Inputs.SubnetDetailsArgs
{
Id = "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet",
},
});
});
package main
import (
delegatednetwork "github.com/pulumi/pulumi-azure-native/sdk/go/azure/delegatednetwork"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := delegatednetwork.NewDelegatedSubnetServiceDetails(ctx, "delegatedSubnetServiceDetails", &delegatednetwork.DelegatedSubnetServiceDetailsArgs{
ControllerDetails: &delegatednetwork.ControllerDetailsTypeArgs{
Id: pulumi.String("/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/dnctestcontroller"),
},
Location: pulumi.String("West US"),
ResourceGroupName: pulumi.String("TestRG"),
ResourceName: pulumi.String("delegated1"),
SubnetDetails: &delegatednetwork.SubnetDetailsArgs{
Id: pulumi.String("/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"),
},
})
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.delegatednetwork.DelegatedSubnetServiceDetails;
import com.pulumi.azurenative.delegatednetwork.DelegatedSubnetServiceDetailsArgs;
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 delegatedSubnetServiceDetails = new DelegatedSubnetServiceDetails("delegatedSubnetServiceDetails", DelegatedSubnetServiceDetailsArgs.builder()
.controllerDetails(Map.of("id", "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/dnctestcontroller"))
.location("West US")
.resourceGroupName("TestRG")
.resourceName("delegated1")
.subnetDetails(Map.of("id", "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"))
.build());
}
}

Import

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

$ pulumi import azure-native:delegatednetwork:DelegatedSubnetServiceDetails delegated1 /subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/delegatedSubnets/delegated1

Properties

Link copied to clipboard

Properties of the controller.

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

Location of the resource.

Link copied to clipboard
val name: Output<String>

The name of the resource.

Link copied to clipboard

The current state of dnc delegated subnet resource.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceGuid: Output<String>

Resource guid.

Link copied to clipboard

subnet details

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

The resource tags.

Link copied to clipboard
val type: Output<String>

The type of resource.

Link copied to clipboard
val urn: Output<String>