![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.delegatednetwork.kotlin.DelegatedSubnetServiceDetailsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.delegatednetwork.kotlin
import com.pulumi.azurenative.delegatednetwork.DelegatedSubnetServiceDetailsArgs.builder
import com.pulumi.azurenative.delegatednetwork.kotlin.inputs.ControllerDetailsArgs
import com.pulumi.azurenative.delegatednetwork.kotlin.inputs.ControllerDetailsArgsBuilder
import com.pulumi.azurenative.delegatednetwork.kotlin.inputs.SubnetDetailsArgs
import com.pulumi.azurenative.delegatednetwork.kotlin.inputs.SubnetDetailsArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* 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
* ```csharp
* 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",
* },
* });
* });
* ```
* ```go
* 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
* })
* }
* ```
* ```java
* 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
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:delegatednetwork:DelegatedSubnetServiceDetails delegated1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DelegatedNetwork/delegatedSubnets/{resourceName}
* ```
* @property controllerDetails Properties of the controller.
* @property location Location of the resource.
* @property resourceGroupName The name of the resource group. The name is case insensitive.
* @property resourceName The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.
* @property subnetDetails subnet details
* @property tags The resource tags.
*/
public data class DelegatedSubnetServiceDetailsArgs(
public val controllerDetails: Output? = null,
public val location: Output? = null,
public val resourceGroupName: Output? = null,
public val resourceName: Output? = null,
public val subnetDetails: Output? = null,
public val tags: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy