azure-native.delegatednetwork.DelegatedSubnetServiceDetails
Explore with Pulumi AI
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={
"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={
"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={
"id": "string",
},
location="string",
resource_name_="string",
subnet_details={
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DelegatedSubnetServiceDetails resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Controller
Details Pulumi.Azure Native. Delegated Network. Inputs. Controller Details - Properties of the controller.
- Location string
- Location of the resource.
- Resource
Name string - The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
- Subnet
Details Pulumi.Azure Native. Delegated Network. Inputs. Subnet Details - subnet details
- Dictionary<string, string>
- The resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Controller
Details ControllerDetails Type Args - Properties of the controller.
- Location string
- Location of the resource.
- Resource
Name string - The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
- Subnet
Details SubnetDetails Args - subnet details
- map[string]string
- The resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- controller
Details ControllerDetails - Properties of the controller.
- location String
- Location of the resource.
- resource
Name String - The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
- subnet
Details SubnetDetails - subnet details
- Map<String,String>
- The resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- controller
Details ControllerDetails - Properties of the controller.
- location string
- Location of the resource.
- resource
Name string - The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
- subnet
Details SubnetDetails - subnet details
- {[key: string]: string}
- The resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- controller_
details ControllerDetails Args - 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 SubnetDetails Args - subnet details
- Mapping[str, str]
- The resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- controller
Details Property Map - Properties of the controller.
- location String
- Location of the resource.
- resource
Name String - The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
- subnet
Details Property Map - subnet details
- 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.
- Provisioning
State string - The current state of dnc delegated subnet resource.
- Resource
Guid 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.
- Provisioning
State string - The current state of dnc delegated subnet resource.
- Resource
Guid 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.
- provisioning
State String - The current state of dnc delegated subnet resource.
- resource
Guid 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.
- provisioning
State string - The current state of dnc delegated subnet resource.
- resource
Guid 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.
- provisioning
State String - The current state of dnc delegated subnet resource.
- resource
Guid 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