ArmNetworkModelFactory.ServiceDelegation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ServiceDelegation.
public static Azure.ResourceManager.Network.Models.ServiceDelegation ServiceDelegation (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, string serviceName = default, System.Collections.Generic.IEnumerable<string> actions = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member ServiceDelegation : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * string * seq<string> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.Models.ServiceDelegation
Public Shared Function ServiceDelegation (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 serviceName As String = Nothing, Optional actions As IEnumerable(Of String) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As ServiceDelegation
Parameters
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- serviceName
- String
The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
- actions
- IEnumerable<String>
The actions permitted to the service upon delegation.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the service delegation resource.
Returns
A new ServiceDelegation instance for mocking.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET