azure-native.delegatednetwork.DelegatedSubnetServiceDetails
Explore with Pulumi AI
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 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
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:
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Controller
Details Pulumi.Azure Native. Delegated Network. Inputs. Controller Details 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 Pulumi.Azure Native. Delegated Network. Inputs. Subnet Details Args 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 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 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
- {[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
- 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
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0