Compartilhar via


ArmNetworkModelFactory.ServiceAssociationLink Método

Definição

Inicializa uma nova instância de ServiceAssociationLink.

public static Azure.ResourceManager.Network.Models.ServiceAssociationLink ServiceAssociationLink (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, Azure.Core.ResourceType? linkedResourceType = default, Azure.Core.ResourceIdentifier link = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, bool? allowDelete = default, System.Collections.Generic.IEnumerable<Azure.Core.AzureLocation> locations = default);
static member ServiceAssociationLink : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Nullable<Azure.Core.ResourceType> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<bool> * seq<Azure.Core.AzureLocation> -> Azure.ResourceManager.Network.Models.ServiceAssociationLink
Public Shared Function ServiceAssociationLink (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional linkedResourceType As Nullable(Of ResourceType) = Nothing, Optional link As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional allowDelete As Nullable(Of Boolean) = Nothing, Optional locations As IEnumerable(Of AzureLocation) = Nothing) As ServiceAssociationLink

Parâmetros

id
ResourceIdentifier

ID do recurso.

name
String

Nome do recurso.

resourceType
Nullable<ResourceType>

Tipo de recurso.

etag
Nullable<ETag>

Uma cadeia de caracteres exclusiva somente leitura que é alterada sempre que o recurso é atualizado.

linkedResourceType
Nullable<ResourceType>

Tipo de recurso do recurso vinculado.

link
ResourceIdentifier

Link para o recurso externo.

provisioningState
Nullable<NetworkProvisioningState>

O estado de provisionamento do recurso de link de associação de serviço.

allowDelete
Nullable<Boolean>

Se for true, o recurso poderá ser excluído.

locations
IEnumerable<AzureLocation>

Uma lista de locais.

Retornos

Uma nova ServiceAssociationLink instância para simulação.

Aplica-se a