ArmNetworkModelFactory.ServiceEndpointPolicyDefinitionData 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 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
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- 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
Azure SDK for .NET