azure-native.delegatednetwork.ControllerDetails
Explore with Pulumi AI
Represents an instance of a DNC controller. API Version: 2021-03-15.
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",
ResourceGroupName = "TestRG",
ResourceName = "testcontroller",
});
});
package main
import (
delegatednetwork "github.com/pulumi/pulumi-azure-native-sdk/delegatednetwork"
"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"),
ResourceGroupName: pulumi.String("TestRG"),
ResourceName: pulumi.String("testcontroller"),
})
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.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")
.resourceGroupName("TestRG")
.resourceName("testcontroller")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
controller_details = azure_native.delegatednetwork.ControllerDetails("controllerDetails",
location="West US",
resource_group_name="TestRG",
resource_name_="testcontroller")
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",
resourceGroupName: "TestRG",
resourceName: "testcontroller",
});
resources:
controllerDetails:
type: azure-native:delegatednetwork:ControllerDetails
properties:
location: West US
resourceGroupName: TestRG
resourceName: testcontroller
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,
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 string
- The unique name of the resource.
- args ControllerDetailsArgs
- 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 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 string
- The unique name of the resource.
- args ControllerDetailsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ControllerDetailsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
ResourceName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := delegatednetwork.NewControllerDetails(ctx, "controllerDetailsResource", &delegatednetwork.ControllerDetailsArgs{
ResourceGroupName: "string",
Location: "string",
ResourceName: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var controllerDetailsResource = new ControllerDetails("controllerDetailsResource", ControllerDetailsArgs.builder()
.resourceGroupName("string")
.location("string")
.resourceName("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
controller_details_resource = azure_native.delegatednetwork.ControllerDetails("controllerDetailsResource",
resource_group_name=string,
location=string,
resource_name_=string,
tags={
string: string,
})
const controllerDetailsResource = new azure_native.delegatednetwork.ControllerDetails("controllerDetailsResource", {
resourceGroupName: "string",
location: "string",
resourceName: "string",
tags: {
string: "string",
},
});
type: azure-native:delegatednetwork:ControllerDetails
properties:
location: string
resourceGroupName: string
resourceName: string
tags:
string: string
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:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- 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.
- Dictionary<string, string>
- The resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- 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.
- map[string]string
- The resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- 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.
- Map<String,String>
- The resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- 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.
- {[key: string]: string}
- The resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- 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.
- Mapping[str, str]
- The resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- 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.
- Map<String>
- The resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the ControllerDetails resource produces the following output properties:
- Dnc
App stringId - dnc application id should be used by customer to authenticate with dnc gateway.
- Dnc
Endpoint string - dnc endpoint url that customers can use to connect to
- Dnc
Tenant stringId - tenant id of dnc application id
- 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 controller resource.
- Resource
Guid string - Resource guid.
- Type string
- The type of resource.
- Dnc
App stringId - dnc application id should be used by customer to authenticate with dnc gateway.
- Dnc
Endpoint string - dnc endpoint url that customers can use to connect to
- Dnc
Tenant stringId - tenant id of dnc application id
- 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 controller resource.
- Resource
Guid string - Resource guid.
- Type string
- The type of resource.
- dnc
App StringId - dnc application id should be used by customer to authenticate with dnc gateway.
- dnc
Endpoint String - dnc endpoint url that customers can use to connect to
- dnc
Tenant StringId - tenant id of dnc application id
- 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 controller resource.
- resource
Guid String - Resource guid.
- type String
- The type of resource.
- dnc
App stringId - dnc application id should be used by customer to authenticate with dnc gateway.
- dnc
Endpoint string - dnc endpoint url that customers can use to connect to
- dnc
Tenant stringId - tenant id of dnc application id
- 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 controller resource.
- resource
Guid string - Resource guid.
- type string
- The type of resource.
- dnc_
app_ strid - 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_ strid - 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.
- dnc
App StringId - dnc application id should be used by customer to authenticate with dnc gateway.
- dnc
Endpoint String - dnc endpoint url that customers can use to connect to
- dnc
Tenant StringId - tenant id of dnc application id
- 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 controller resource.
- resource
Guid String - Resource guid.
- type String
- The type of resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:delegatednetwork:ControllerDetails testcontroller /subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/testcontroller
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0