ArmNetworkModelFactory.ServiceAssociationLink Method

Definition

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

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Name of the resource.

type
String

Resource type.

linkedResourceType
String

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<String>

A list of locations.

eTag
Nullable<ETag>

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

Returns

A new ServiceAssociationLink instance for mocking.

Applies to