ArmNetworkModelFactory.ServiceEndpointPolicyDefinitionData Method

Definition

Initializes a new instance of ServiceEndpointPolicyDefinitionData.

public static Azure.ResourceManager.Network.ServiceEndpointPolicyDefinitionData ServiceEndpointPolicyDefinitionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, string description = default, string service = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> serviceResources = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member ServiceEndpointPolicyDefinitionData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * string * string * seq<Azure.Core.ResourceIdentifier> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.ServiceEndpointPolicyDefinitionData
Public Shared Function ServiceEndpointPolicyDefinitionData (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 description As String = Nothing, Optional service As String = Nothing, Optional serviceResources As IEnumerable(Of ResourceIdentifier) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As ServiceEndpointPolicyDefinitionData

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.

description
String

A description for this rule. Restricted to 140 chars.

service
String

Service endpoint name.

serviceResources
IEnumerable<ResourceIdentifier>

A list of service resources.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the service endpoint policy definition resource.

Returns

A new ServiceEndpointPolicyDefinitionData instance for mocking.

Applies to