Azure Native

Pulumi Official
Package maintained by Pulumi
v1.67.0 published on Tuesday, Jul 12, 2022 by Pulumi

DelegatedSubnetServiceDetails

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

Example Usage

put delegated subnet

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var delegatedSubnetServiceDetails = new AzureNative.DelegatedNetwork.DelegatedSubnetServiceDetails("delegatedSubnetServiceDetails", new AzureNative.DelegatedNetwork.DelegatedSubnetServiceDetailsArgs
        {
            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.ControllerDetailsArgs{
				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 java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

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 pulumi
import pulumi_azure_native as azure_native

delegated_subnet_service_details = azure_native.delegatednetwork.DelegatedSubnetServiceDetails("delegatedSubnetServiceDetails",
    controller_details=azure_native.delegatednetwork.ControllerDetailsArgs(
        id="/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/dnctestcontroller",
    ),
    location="West US",
    resource_group_name="TestRG",
    resource_name_="delegated1",
    subnet_details=azure_native.delegatednetwork.SubnetDetailsArgs(
        id="/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet",
    ))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const delegatedSubnetServiceDetails = new azure_native.delegatednetwork.DelegatedSubnetServiceDetails("delegatedSubnetServiceDetails", {
    controllerDetails: {
        id: "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/dnctestcontroller",
    },
    location: "West US",
    resourceGroupName: "TestRG",
    resourceName: "delegated1",
    subnetDetails: {
        id: "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet",
    },
});
resources:
  delegatedSubnetServiceDetails:
    type: azure-native:delegatednetwork:DelegatedSubnetServiceDetails
    properties:
      controllerDetails:
        id: /subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/dnctestcontroller
      location: West US
      resourceGroupName: TestRG
      resourceName: delegated1
      subnetDetails:
        id: /subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet

Create a DelegatedSubnetServiceDetails Resource

new DelegatedSubnetServiceDetails(name: string, args: DelegatedSubnetServiceDetailsArgs, opts?: CustomResourceOptions);
@overload
def DelegatedSubnetServiceDetails(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  controller_details: Optional[ControllerDetailsArgs] = None,
                                  location: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  resource_name_: Optional[str] = None,
                                  subnet_details: Optional[SubnetDetailsArgs] = None,
                                  tags: Optional[Mapping[str, str]] = None)
@overload
def DelegatedSubnetServiceDetails(resource_name: str,
                                  args: DelegatedSubnetServiceDetailsArgs,
                                  opts: Optional[ResourceOptions] = None)
func NewDelegatedSubnetServiceDetails(ctx *Context, name string, args DelegatedSubnetServiceDetailsArgs, opts ...ResourceOption) (*DelegatedSubnetServiceDetails, error)
public DelegatedSubnetServiceDetails(string name, DelegatedSubnetServiceDetailsArgs args, CustomResourceOptions? opts = null)
public DelegatedSubnetServiceDetails(String name, DelegatedSubnetServiceDetailsArgs args)
public DelegatedSubnetServiceDetails(String name, DelegatedSubnetServiceDetailsArgs args, CustomResourceOptions options)
type: azure-native:delegatednetwork:DelegatedSubnetServiceDetails
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DelegatedSubnetServiceDetailsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DelegatedSubnetServiceDetailsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DelegatedSubnetServiceDetailsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DelegatedSubnetServiceDetailsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DelegatedSubnetServiceDetailsArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DelegatedSubnetServiceDetails Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DelegatedSubnetServiceDetails resource accepts the following input properties:

ResourceGroupName string

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

ControllerDetails Pulumi.AzureNative.DelegatedNetwork.Inputs.ControllerDetailsArgs

Properties of the controller.

Location string

Location of the resource.

ResourceName string

The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.

SubnetDetails Pulumi.AzureNative.DelegatedNetwork.Inputs.SubnetDetailsArgs

subnet details

Tags Dictionary<string, string>

The resource tags.

ResourceGroupName string

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

ControllerDetails ControllerDetailsTypeArgs

Properties of the controller.

Location string

Location of the resource.

ResourceName string

The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.

SubnetDetails SubnetDetailsArgs

subnet details

Tags map[string]string

The resource tags.

resourceGroupName String

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

controllerDetails ControllerDetailsArgs

Properties of the controller.

location String

Location of the resource.

resourceName String

The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.

subnetDetails SubnetDetailsArgs

subnet details

tags Map<String,String>

The resource tags.

resourceGroupName string

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

controllerDetails ControllerDetailsArgs

Properties of the controller.

location string

Location of the resource.

resourceName string

The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.

subnetDetails SubnetDetailsArgs

subnet details

tags {[key: string]: string}

The resource tags.

resource_group_name str

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

controller_details ControllerDetailsArgs

Properties of the controller.

location str

Location of the resource.

resource_name str

The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.

subnet_details SubnetDetailsArgs

subnet details

tags Mapping[str, str]

The resource tags.

resourceGroupName String

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

controllerDetails Property Map

Properties of the controller.

location String

Location of the resource.

resourceName String

The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.

subnetDetails Property Map

subnet details

tags Map<String>

The resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the DelegatedSubnetServiceDetails resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource.

ProvisioningState string

The current state of dnc delegated subnet resource.

ResourceGuid string

Resource guid.

Type string

The type of resource.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource.

ProvisioningState string

The current state of dnc delegated subnet resource.

ResourceGuid string

Resource guid.

Type string

The type of resource.

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource.

provisioningState String

The current state of dnc delegated subnet resource.

resourceGuid String

Resource guid.

type String

The type of resource.

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the resource.

provisioningState string

The current state of dnc delegated subnet resource.

resourceGuid string

Resource guid.

type string

The type of resource.

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the resource.

provisioning_state str

The current state of dnc delegated subnet resource.

resource_guid str

Resource guid.

type str

The type of resource.

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource.

provisioningState String

The current state of dnc delegated subnet resource.

resourceGuid String

Resource guid.

type String

The type of resource.

Supporting Types

ControllerDetails

Id string

controller arm resource id

Id string

controller arm resource id

id String

controller arm resource id

id string

controller arm resource id

id str

controller arm resource id

id String

controller arm resource id

ControllerDetailsResponse

Id string

controller arm resource id

Id string

controller arm resource id

id String

controller arm resource id

id string

controller arm resource id

id str

controller arm resource id

id String

controller arm resource id

SubnetDetails

Id string

subnet arm resource id

Id string

subnet arm resource id

id String

subnet arm resource id

id string

subnet arm resource id

id str

subnet arm resource id

id String

subnet arm resource id

SubnetDetailsResponse

Id string

subnet arm resource id

Id string

subnet arm resource id

id String

subnet arm resource id

id string

subnet arm resource id

id str

subnet arm resource id

id String

subnet arm resource id

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 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0