1. Packages
  2. Azure Native
  3. API Docs
  4. delegatednetwork
  5. ControllerDetails
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.delegatednetwork.ControllerDetails

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Represents an instance of a DNC controller.

Uses Azure REST API version 2023-06-27-preview. In version 2.x of the Azure Native provider, it used API version 2021-03-15.

Other available API versions: 2021-03-15, 2023-05-18-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native delegatednetwork [ApiVersion]. See the version guide for details.

Example Usage

Create controller

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var controllerDetails = new AzureNative.DelegatedNetwork.ControllerDetails("controllerDetails", new()
    {
        Location = "West US",
        Purpose = AzureNative.DelegatedNetwork.ControllerPurpose.Test,
        ResourceGroupName = "TestRG",
        ResourceName = "testcontroller",
    });

});
Copy
package main

import (
	delegatednetwork "github.com/pulumi/pulumi-azure-native-sdk/delegatednetwork/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := delegatednetwork.NewControllerDetails(ctx, "controllerDetails", &delegatednetwork.ControllerDetailsArgs{
			Location:          pulumi.String("West US"),
			Purpose:           pulumi.String(delegatednetwork.ControllerPurposeTest),
			ResourceGroupName: pulumi.String("TestRG"),
			ResourceName:      pulumi.String("testcontroller"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.delegatednetwork.ControllerDetails;
import com.pulumi.azurenative.delegatednetwork.ControllerDetailsArgs;
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 controllerDetails = new ControllerDetails("controllerDetails", ControllerDetailsArgs.builder()
            .location("West US")
            .purpose("test")
            .resourceGroupName("TestRG")
            .resourceName("testcontroller")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const controllerDetails = new azure_native.delegatednetwork.ControllerDetails("controllerDetails", {
    location: "West US",
    purpose: azure_native.delegatednetwork.ControllerPurpose.Test,
    resourceGroupName: "TestRG",
    resourceName: "testcontroller",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

controller_details = azure_native.delegatednetwork.ControllerDetails("controllerDetails",
    location="West US",
    purpose=azure_native.delegatednetwork.ControllerPurpose.TEST,
    resource_group_name="TestRG",
    resource_name_="testcontroller")
Copy
resources:
  controllerDetails:
    type: azure-native:delegatednetwork:ControllerDetails
    properties:
      location: West US
      purpose: test
      resourceGroupName: TestRG
      resourceName: testcontroller
Copy

Create ControllerDetails Resource

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

Constructor syntax

new ControllerDetails(name: string, args: ControllerDetailsArgs, opts?: CustomResourceOptions);
@overload
def ControllerDetails(resource_name: str,
                      args: ControllerDetailsInitArgs,
                      opts: Optional[ResourceOptions] = None)

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

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ControllerDetailsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ControllerDetailsInitArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ControllerDetailsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ControllerDetailsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ControllerDetailsArgs
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 controllerDetailsResource = new AzureNative.DelegatedNetwork.ControllerDetails("controllerDetailsResource", new()
{
    ResourceGroupName = "string",
    Location = "string",
    Purpose = "string",
    ResourceName = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := delegatednetwork.NewControllerDetails(ctx, "controllerDetailsResource", &delegatednetwork.ControllerDetailsArgs{
	ResourceGroupName: pulumi.String("string"),
	Location:          pulumi.String("string"),
	Purpose:           pulumi.String("string"),
	ResourceName:      pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var controllerDetailsResource = new ControllerDetails("controllerDetailsResource", ControllerDetailsArgs.builder()
    .resourceGroupName("string")
    .location("string")
    .purpose("string")
    .resourceName("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
controller_details_resource = azure_native.delegatednetwork.ControllerDetails("controllerDetailsResource",
    resource_group_name="string",
    location="string",
    purpose="string",
    resource_name_="string",
    tags={
        "string": "string",
    })
Copy
const controllerDetailsResource = new azure_native.delegatednetwork.ControllerDetails("controllerDetailsResource", {
    resourceGroupName: "string",
    location: "string",
    purpose: "string",
    resourceName: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:delegatednetwork:ControllerDetails
properties:
    location: string
    purpose: string
    resourceGroupName: string
    resourceName: string
    tags:
        string: string
Copy

ControllerDetails 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 ControllerDetails resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Location string
Location of the resource.
Purpose string | Pulumi.AzureNative.DelegatedNetwork.ControllerPurpose
The purpose of the dnc controller resource.
ResourceName Changes to this property will trigger replacement. string
The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
Tags Dictionary<string, string>
The resource tags.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Location string
Location of the resource.
Purpose string | ControllerPurpose
The purpose of the dnc controller resource.
ResourceName Changes to this property will trigger replacement. string
The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
Tags map[string]string
The resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
location String
Location of the resource.
purpose String | ControllerPurpose
The purpose of the dnc controller resource.
resourceName Changes to this property will trigger replacement. String
The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
tags Map<String,String>
The resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
location string
Location of the resource.
purpose string | ControllerPurpose
The purpose of the dnc controller resource.
resourceName Changes to this property will trigger replacement. string
The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
tags {[key: string]: string}
The resource tags.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
location str
Location of the resource.
purpose str | ControllerPurpose
The purpose of the dnc controller resource.
resource_name Changes to this property will trigger replacement. str
The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
tags Mapping[str, str]
The resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
location String
Location of the resource.
purpose String | "test" | "prod"
The purpose of the dnc controller resource.
resourceName Changes to this property will trigger replacement. String
The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
tags Map<String>
The resource tags.

Outputs

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

AzureApiVersion string
The Azure API version of the resource.
DncAppId string
dnc application id should be used by customer to authenticate with dnc gateway.
DncEndpoint string
dnc endpoint url that customers can use to connect to
DncTenantId string
tenant id of dnc application id
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 controller resource.
ResourceGuid string
Resource guid.
Type string
The type of resource.
AzureApiVersion string
The Azure API version of the resource.
DncAppId string
dnc application id should be used by customer to authenticate with dnc gateway.
DncEndpoint string
dnc endpoint url that customers can use to connect to
DncTenantId string
tenant id of dnc application id
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 controller resource.
ResourceGuid string
Resource guid.
Type string
The type of resource.
azureApiVersion String
The Azure API version of the resource.
dncAppId String
dnc application id should be used by customer to authenticate with dnc gateway.
dncEndpoint String
dnc endpoint url that customers can use to connect to
dncTenantId String
tenant id of dnc application id
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 controller resource.
resourceGuid String
Resource guid.
type String
The type of resource.
azureApiVersion string
The Azure API version of the resource.
dncAppId string
dnc application id should be used by customer to authenticate with dnc gateway.
dncEndpoint string
dnc endpoint url that customers can use to connect to
dncTenantId string
tenant id of dnc application id
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 controller resource.
resourceGuid string
Resource guid.
type string
The type of resource.
azure_api_version str
The Azure API version of the resource.
dnc_app_id str
dnc application id should be used by customer to authenticate with dnc gateway.
dnc_endpoint str
dnc endpoint url that customers can use to connect to
dnc_tenant_id str
tenant id of dnc application id
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 controller resource.
resource_guid str
Resource guid.
type str
The type of resource.
azureApiVersion String
The Azure API version of the resource.
dncAppId String
dnc application id should be used by customer to authenticate with dnc gateway.
dncEndpoint String
dnc endpoint url that customers can use to connect to
dncTenantId String
tenant id of dnc application id
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 controller resource.
resourceGuid String
Resource guid.
type String
The type of resource.

Supporting Types

ControllerPurpose
, ControllerPurposeArgs

Test
test
Prod
prod
ControllerPurposeTest
test
ControllerPurposeProd
prod
Test
test
Prod
prod
Test
test
Prod
prod
TEST
test
PROD
prod
"test"
test
"prod"
prod

Import

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

$ pulumi import azure-native:delegatednetwork:ControllerDetails testcontroller /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DelegatedNetwork/controller/{resourceName} 
Copy

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

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi