azure-native-v2.authorization.PrivateLinkAssociation
Explore with Pulumi AI
Azure REST API version: 2020-05-01. Prior API version in Azure Native 1.x: 2020-05-01.
Create PrivateLinkAssociation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PrivateLinkAssociation(name: string, args: PrivateLinkAssociationArgs, opts?: CustomResourceOptions);
@overload
def PrivateLinkAssociation(resource_name: str,
args: PrivateLinkAssociationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PrivateLinkAssociation(resource_name: str,
opts: Optional[ResourceOptions] = None,
group_id: Optional[str] = None,
pla_id: Optional[str] = None,
properties: Optional[PrivateLinkAssociationPropertiesArgs] = None)
func NewPrivateLinkAssociation(ctx *Context, name string, args PrivateLinkAssociationArgs, opts ...ResourceOption) (*PrivateLinkAssociation, error)
public PrivateLinkAssociation(string name, PrivateLinkAssociationArgs args, CustomResourceOptions? opts = null)
public PrivateLinkAssociation(String name, PrivateLinkAssociationArgs args)
public PrivateLinkAssociation(String name, PrivateLinkAssociationArgs args, CustomResourceOptions options)
type: azure-native:authorization:PrivateLinkAssociation
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. PrivateLinkAssociationArgs - 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. PrivateLinkAssociationArgs - 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. PrivateLinkAssociationArgs - 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. PrivateLinkAssociationArgs - 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. PrivateLinkAssociationArgs - 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 privateLinkAssociationResource = new AzureNative.Authorization.PrivateLinkAssociation("privateLinkAssociationResource", new()
{
GroupId = "string",
PlaId = "string",
Properties =
{
{ "privateLink", "string" },
{ "publicNetworkAccess", "string" },
},
});
example, err := authorization.NewPrivateLinkAssociation(ctx, "privateLinkAssociationResource", &authorization.PrivateLinkAssociationArgs{
GroupId: "string",
PlaId: "string",
Properties: map[string]interface{}{
"privateLink": "string",
"publicNetworkAccess": "string",
},
})
var privateLinkAssociationResource = new PrivateLinkAssociation("privateLinkAssociationResource", PrivateLinkAssociationArgs.builder()
.groupId("string")
.plaId("string")
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
private_link_association_resource = azure_native.authorization.PrivateLinkAssociation("privateLinkAssociationResource",
group_id=string,
pla_id=string,
properties={
privateLink: string,
publicNetworkAccess: string,
})
const privateLinkAssociationResource = new azure_native.authorization.PrivateLinkAssociation("privateLinkAssociationResource", {
groupId: "string",
plaId: "string",
properties: {
privateLink: "string",
publicNetworkAccess: "string",
},
});
type: azure-native:authorization:PrivateLinkAssociation
properties:
groupId: string
plaId: string
properties:
privateLink: string
publicNetworkAccess: string
PrivateLinkAssociation 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 PrivateLinkAssociation resource accepts the following input properties:
- Group
Id This property is required. Changes to this property will trigger replacement.
- The management group ID.
- Pla
Id Changes to this property will trigger replacement.
- The ID of the PLA
- Properties
Pulumi.
Azure Native. Authorization. Inputs. Private Link Association Properties - The properties of the PrivateLinkAssociation.
- Group
Id This property is required. Changes to this property will trigger replacement.
- The management group ID.
- Pla
Id Changes to this property will trigger replacement.
- The ID of the PLA
- Properties
Private
Link Association Properties Args - The properties of the PrivateLinkAssociation.
- group
Id This property is required. Changes to this property will trigger replacement.
- The management group ID.
- pla
Id Changes to this property will trigger replacement.
- The ID of the PLA
- properties
Private
Link Association Properties - The properties of the PrivateLinkAssociation.
- group
Id This property is required. Changes to this property will trigger replacement.
- The management group ID.
- pla
Id Changes to this property will trigger replacement.
- The ID of the PLA
- properties
Private
Link Association Properties - The properties of the PrivateLinkAssociation.
- group_
id This property is required. Changes to this property will trigger replacement.
- The management group ID.
- pla_
id Changes to this property will trigger replacement.
- The ID of the PLA
- properties
Private
Link Association Properties Args - The properties of the PrivateLinkAssociation.
- group
Id This property is required. Changes to this property will trigger replacement.
- The management group ID.
- pla
Id Changes to this property will trigger replacement.
- The ID of the PLA
- properties Property Map
- The properties of the PrivateLinkAssociation.
Outputs
All input properties are implicitly available as output properties. Additionally, the PrivateLinkAssociation resource produces the following output properties:
Supporting Types
PrivateLinkAssociationProperties, PrivateLinkAssociationPropertiesArgs
- Private
Link string - The rmpl Resource ID.
- Public
Network string | Pulumi.Access Azure Native. Authorization. Public Network Access Options
- Private
Link string - The rmpl Resource ID.
- Public
Network string | PublicAccess Network Access Options
- private
Link String - The rmpl Resource ID.
- public
Network String | PublicAccess Network Access Options
- private
Link string - The rmpl Resource ID.
- public
Network string | PublicAccess Network Access Options
- private_
link str - The rmpl Resource ID.
- public_
network_ str | Publicaccess Network Access Options
- private
Link String - The rmpl Resource ID.
- public
Network String | "Enabled" | "Disabled"Access
PrivateLinkAssociationPropertiesExpandedResponse, PrivateLinkAssociationPropertiesExpandedResponseArgs
- Private
Link string - The rmpl Resource ID.
- Public
Network stringAccess - Scope string
- The scope of the private link association.
- Tenant
ID string - The TenantID.
- Private
Link string - The rmpl Resource ID.
- Public
Network stringAccess - Scope string
- The scope of the private link association.
- Tenant
ID string - The TenantID.
- private
Link String - The rmpl Resource ID.
- public
Network StringAccess - scope String
- The scope of the private link association.
- tenant
ID String - The TenantID.
- private
Link string - The rmpl Resource ID.
- public
Network stringAccess - scope string
- The scope of the private link association.
- tenant
ID string - The TenantID.
- private_
link str - The rmpl Resource ID.
- public_
network_ straccess - scope str
- The scope of the private link association.
- tenant_
id str - The TenantID.
- private
Link String - The rmpl Resource ID.
- public
Network StringAccess - scope String
- The scope of the private link association.
- tenant
ID String - The TenantID.
PublicNetworkAccessOptions, PublicNetworkAccessOptionsArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Public
Network Access Options Enabled - Enabled
- Public
Network Access Options Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:authorization:PrivateLinkAssociation my-pla /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Authorization/privateLinkAssociations/{plaId}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0