1. Packages
  2. Azure Native
  3. API Docs
  4. delegatednetwork
  5. DelegatedSubnetServiceDetails
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.delegatednetwork.DelegatedSubnetServiceDetails

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Represents an instance of a orchestrator. Azure REST API version: 2021-03-15. Prior API version in Azure Native 1.x: 2021-03-15.

    Other available API versions: 2023-05-18-preview, 2023-06-27-preview.

    Example Usage

    put delegated subnet

    using System.Collections.Generic;
    using System.Linq;
    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/delegatednetwork/v2"
    	"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 com.pulumi.azurenative.delegatednetwork.inputs.ControllerDetailsArgs;
    import com.pulumi.azurenative.delegatednetwork.inputs.SubnetDetailsArgs;
    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(ControllerDetailsArgs.builder()
                    .id("/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/dnctestcontroller")
                    .build())
                .location("West US")
                .resourceGroupName("TestRG")
                .resourceName("delegated1")
                .subnetDetails(SubnetDetailsArgs.builder()
                    .id("/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet")
                    .build())
                .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 DelegatedSubnetServiceDetails Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DelegatedSubnetServiceDetails(name: string, args: DelegatedSubnetServiceDetailsArgs, opts?: CustomResourceOptions);
    @overload
    def DelegatedSubnetServiceDetails(resource_name: str,
                                      args: DelegatedSubnetServiceDetailsArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def DelegatedSubnetServiceDetails(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      resource_group_name: Optional[str] = None,
                                      controller_details: Optional[ControllerDetailsArgs] = None,
                                      location: Optional[str] = None,
                                      resource_name_: Optional[str] = None,
                                      subnet_details: Optional[SubnetDetailsArgs] = None,
                                      tags: Optional[Mapping[str, str]] = 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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var delegatedSubnetServiceDetailsResource = new AzureNative.DelegatedNetwork.DelegatedSubnetServiceDetails("delegatedSubnetServiceDetailsResource", new()
    {
        ResourceGroupName = "string",
        ControllerDetails = new AzureNative.DelegatedNetwork.Inputs.ControllerDetailsArgs
        {
            Id = "string",
        },
        Location = "string",
        ResourceName = "string",
        SubnetDetails = new AzureNative.DelegatedNetwork.Inputs.SubnetDetailsArgs
        {
            Id = "string",
        },
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := delegatednetwork.NewDelegatedSubnetServiceDetails(ctx, "delegatedSubnetServiceDetailsResource", &delegatednetwork.DelegatedSubnetServiceDetailsArgs{
    ResourceGroupName: pulumi.String("string"),
    ControllerDetails: &delegatednetwork.ControllerDetailsTypeArgs{
    Id: pulumi.String("string"),
    },
    Location: pulumi.String("string"),
    ResourceName: pulumi.String("string"),
    SubnetDetails: &delegatednetwork.SubnetDetailsArgs{
    Id: pulumi.String("string"),
    },
    Tags: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    })
    
    var delegatedSubnetServiceDetailsResource = new DelegatedSubnetServiceDetails("delegatedSubnetServiceDetailsResource", DelegatedSubnetServiceDetailsArgs.builder()
        .resourceGroupName("string")
        .controllerDetails(ControllerDetailsArgs.builder()
            .id("string")
            .build())
        .location("string")
        .resourceName("string")
        .subnetDetails(SubnetDetailsArgs.builder()
            .id("string")
            .build())
        .tags(Map.of("string", "string"))
        .build());
    
    delegated_subnet_service_details_resource = azure_native.delegatednetwork.DelegatedSubnetServiceDetails("delegatedSubnetServiceDetailsResource",
        resource_group_name="string",
        controller_details=azure_native.delegatednetwork.ControllerDetailsArgs(
            id="string",
        ),
        location="string",
        resource_name_="string",
        subnet_details=azure_native.delegatednetwork.SubnetDetailsArgs(
            id="string",
        ),
        tags={
            "string": "string",
        })
    
    const delegatedSubnetServiceDetailsResource = new azure_native.delegatednetwork.DelegatedSubnetServiceDetails("delegatedSubnetServiceDetailsResource", {
        resourceGroupName: "string",
        controllerDetails: {
            id: "string",
        },
        location: "string",
        resourceName: "string",
        subnetDetails: {
            id: "string",
        },
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:delegatednetwork:DelegatedSubnetServiceDetails
    properties:
        controllerDetails:
            id: string
        location: string
        resourceGroupName: string
        resourceName: string
        subnetDetails:
            id: string
        tags:
            string: string
    

    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.ControllerDetails
    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.SubnetDetails
    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 ControllerDetails
    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 SubnetDetails
    subnet details
    tags Map<String,String>
    The resource tags.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    controllerDetails ControllerDetails
    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 SubnetDetails
    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, ControllerDetailsArgs

    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, ControllerDetailsResponseArgs

    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, SubnetDetailsArgs

    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, SubnetDetailsResponseArgs

    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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DelegatedNetwork/delegatedSubnets/{resourceName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi