Udostępnij za pośrednictwem


ArmNetworkModelFactory.ServiceAssociationLink Method

Definition

Initializes a new instance of 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

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

etag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

linkedResourceType
Nullable<ResourceType>

Resource type of the linked resource.

link
ResourceIdentifier

Link to the external resource.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the service association link resource.

allowDelete
Nullable<Boolean>

If true, the resource can be deleted.

locations
IEnumerable<AzureLocation>

A list of locations.

Returns

A new ServiceAssociationLink instance for mocking.

Applies to