Udostępnij za pośrednictwem


ArmNetworkModelFactory.AvailableDelegation Method

Definition

Initializes a new instance of AvailableDelegation.

public static Azure.ResourceManager.Network.Models.AvailableDelegation AvailableDelegation (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string serviceName = default, System.Collections.Generic.IEnumerable<string> actions = default);
static member AvailableDelegation : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<string> -> Azure.ResourceManager.Network.Models.AvailableDelegation
Public Shared Function AvailableDelegation (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional serviceName As String = Nothing, Optional actions As IEnumerable(Of String) = Nothing) As AvailableDelegation

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

serviceName
String

The name of the service and resource.

actions
IEnumerable<String>

The actions permitted to the service upon delegation.

Returns

A new AvailableDelegation instance for mocking.

Applies to