azure-native.servicenetworking.AssociationsInterface
Association Subresource of Traffic Controller API Version: 2022-10-01-preview.
Example Usage
Put Association
using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var associationsInterface = new AzureNative.ServiceNetworking.AssociationsInterface("associationsInterface", new()
{
AssociationName = "associatedvnet-1",
AssociationType = AzureNative.ServiceNetworking.AssociationType.Subnets,
Location = "West US",
ResourceGroupName = "rg1",
Subnet = new AzureNative.ServiceNetworking.Inputs.AssociationSubnetArgs
{
Id = "subnetFullRef",
},
TrafficControllerName = "TC1",
});
});
package main
import (
servicenetworking "github.com/pulumi/pulumi-azure-native/sdk/go/azure/servicenetworking"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := servicenetworking.NewAssociationsInterface(ctx, "associationsInterface", &servicenetworking.AssociationsInterfaceArgs{
AssociationName: pulumi.String("associatedvnet-1"),
AssociationType: servicenetworking.AssociationTypeSubnets,
Location: pulumi.String("West US"),
ResourceGroupName: pulumi.String("rg1"),
Subnet: servicenetworking.AssociationSubnetResponse{
Id: pulumi.String("subnetFullRef"),
},
TrafficControllerName: pulumi.String("TC1"),
})
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.servicenetworking.AssociationsInterface;
import com.pulumi.azurenative.servicenetworking.AssociationsInterfaceArgs;
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 associationsInterface = new AssociationsInterface("associationsInterface", AssociationsInterfaceArgs.builder()
.associationName("associatedvnet-1")
.associationType("subnets")
.location("West US")
.resourceGroupName("rg1")
.subnet(Map.of("id", "subnetFullRef"))
.trafficControllerName("TC1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
associations_interface = azure_native.servicenetworking.AssociationsInterface("associationsInterface",
association_name="associatedvnet-1",
association_type=azure_native.servicenetworking.AssociationType.SUBNETS,
location="West US",
resource_group_name="rg1",
subnet=azure_native.servicenetworking.AssociationSubnetResponseArgs(
id="subnetFullRef",
),
traffic_controller_name="TC1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const associationsInterface = new azure_native.servicenetworking.AssociationsInterface("associationsInterface", {
associationName: "associatedvnet-1",
associationType: azure_native.servicenetworking.AssociationType.Subnets,
location: "West US",
resourceGroupName: "rg1",
subnet: {
id: "subnetFullRef",
},
trafficControllerName: "TC1",
});
resources:
associationsInterface:
type: azure-native:servicenetworking:AssociationsInterface
properties:
associationName: associatedvnet-1
associationType: subnets
location: West US
resourceGroupName: rg1
subnet:
id: subnetFullRef
trafficControllerName: TC1
Create AssociationsInterface Resource
new AssociationsInterface(name: string, args: AssociationsInterfaceArgs, opts?: CustomResourceOptions);
@overload
def AssociationsInterface(resource_name: str,
opts: Optional[ResourceOptions] = None,
association_name: Optional[str] = None,
association_type: Optional[AssociationType] = None,
location: Optional[str] = None,
resource_group_name: Optional[str] = None,
subnet: Optional[AssociationSubnetArgs] = None,
tags: Optional[Mapping[str, str]] = None,
traffic_controller_name: Optional[str] = None)
@overload
def AssociationsInterface(resource_name: str,
args: AssociationsInterfaceArgs,
opts: Optional[ResourceOptions] = None)
func NewAssociationsInterface(ctx *Context, name string, args AssociationsInterfaceArgs, opts ...ResourceOption) (*AssociationsInterface, error)
public AssociationsInterface(string name, AssociationsInterfaceArgs args, CustomResourceOptions? opts = null)
public AssociationsInterface(String name, AssociationsInterfaceArgs args)
public AssociationsInterface(String name, AssociationsInterfaceArgs args, CustomResourceOptions options)
type: azure-native:servicenetworking:AssociationsInterface
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AssociationsInterfaceArgs
- 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 AssociationsInterfaceArgs
- 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 AssociationsInterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AssociationsInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AssociationsInterfaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AssociationsInterface 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 AssociationsInterface resource accepts the following input properties:
- Association
Type Pulumi.Azure Native. Service Networking. Association Type Association Type
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Traffic
Controller stringName traffic controller name for path
- Association
Name string Name of Association
- Location string
The geo-location where the resource lives
- Subnet
Pulumi.
Azure Native. Service Networking. Inputs. Association Subnet Args Association Subnet
- Dictionary<string, string>
Resource tags.
- Association
Type AssociationType Association Type
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Traffic
Controller stringName traffic controller name for path
- Association
Name string Name of Association
- Location string
The geo-location where the resource lives
- Subnet
Association
Subnet Args Association Subnet
- map[string]string
Resource tags.
- association
Type AssociationType Association Type
- resource
Group StringName The name of the resource group. The name is case insensitive.
- traffic
Controller StringName traffic controller name for path
- association
Name String Name of Association
- location String
The geo-location where the resource lives
- subnet
Association
Subnet Args Association Subnet
- Map<String,String>
Resource tags.
- association
Type AssociationType Association Type
- resource
Group stringName The name of the resource group. The name is case insensitive.
- traffic
Controller stringName traffic controller name for path
- association
Name string Name of Association
- location string
The geo-location where the resource lives
- subnet
Association
Subnet Args Association Subnet
- {[key: string]: string}
Resource tags.
- association_
type AssociationType Association Type
- resource_
group_ strname The name of the resource group. The name is case insensitive.
- traffic_
controller_ strname traffic controller name for path
- association_
name str Name of Association
- location str
The geo-location where the resource lives
- subnet
Association
Subnet Args Association Subnet
- Mapping[str, str]
Resource tags.
- association
Type "subnets" Association Type
- resource
Group StringName The name of the resource group. The name is case insensitive.
- traffic
Controller StringName traffic controller name for path
- association
Name String Name of Association
- location String
The geo-location where the resource lives
- subnet Property Map
Association Subnet
- Map<String>
Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the AssociationsInterface 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 Provisioning State
- System
Data Pulumi.Azure Native. Service Networking. Outputs. System Data Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The name of the resource
- Provisioning
State string Provisioning State
- System
Data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
The provider-assigned unique ID for this managed resource.
- name String
The name of the resource
- provisioning
State String Provisioning State
- system
Data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
The provider-assigned unique ID for this managed resource.
- name string
The name of the resource
- provisioning
State string Provisioning State
- system
Data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
The provider-assigned unique ID for this managed resource.
- name str
The name of the resource
- provisioning_
state str Provisioning State
- system_
data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
The provider-assigned unique ID for this managed resource.
- name String
The name of the resource
- provisioning
State String Provisioning State
- system
Data Property Map Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AssociationSubnet
- Id string
Association ID.
- Id string
Association ID.
- id String
Association ID.
- id string
Association ID.
- id str
Association ID.
- id String
Association ID.
AssociationSubnetResponse
- Id string
Association ID.
- Id string
Association ID.
- id String
Association ID.
- id string
Association ID.
- id str
Association ID.
- id String
Association ID.
AssociationType
- Subnets
- subnets
- Association
Type Subnets - subnets
- Subnets
- subnets
- Subnets
- subnets
- SUBNETS
- subnets
- "subnets"
- subnets
SystemDataResponse
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
- created
At string The timestamp of resource creation (UTC).
- created
By string The identity that created the resource.
- created
By stringType The type of identity that created the resource.
- last
Modified stringAt The timestamp of resource last modification (UTC)
- last
Modified stringBy The identity that last modified the resource.
- last
Modified stringBy Type The type of identity that last modified the resource.
- created_
at str The timestamp of resource creation (UTC).
- created_
by str The identity that created the resource.
- created_
by_ strtype The type of identity that created the resource.
- last_
modified_ strat The timestamp of resource last modification (UTC)
- last_
modified_ strby The identity that last modified the resource.
- last_
modified_ strby_ type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:servicenetworking:AssociationsInterface associatedvnet-1 resourceUriAsString
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0