Controller Details
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/#accessing-any-api-version-via-local-packages 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",
});
});
Content copied to clipboard
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.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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
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}
Content copied to clipboard
Properties
Link copied to clipboard
The Azure API version of the resource.
Link copied to clipboard
dnc endpoint url that customers can use to connect to
Link copied to clipboard
tenant id of dnc application id
Link copied to clipboard
The current state of dnc controller resource.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Resource guid.