ArmNetworkModelFactory.ServiceEndpointPolicyData 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 ServiceEndpointPolicyData.
public static Azure.ResourceManager.Network.ServiceEndpointPolicyData ServiceEndpointPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ETag? etag = default, string kind = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.ServiceEndpointPolicyDefinitionData> serviceEndpointPolicyDefinitions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.SubnetData> subnets = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, string serviceAlias = default, System.Collections.Generic.IEnumerable<string> contextualServiceEndpointPolicies = default);
static member ServiceEndpointPolicyData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * string * seq<Azure.ResourceManager.Network.ServiceEndpointPolicyDefinitionData> * seq<Azure.ResourceManager.Network.SubnetData> * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * string * seq<string> -> Azure.ResourceManager.Network.ServiceEndpointPolicyData
Public Shared Function ServiceEndpointPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional kind As String = Nothing, Optional serviceEndpointPolicyDefinitions As IEnumerable(Of ServiceEndpointPolicyDefinitionData) = Nothing, Optional subnets As IEnumerable(Of SubnetData) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional serviceAlias As String = Nothing, Optional contextualServiceEndpointPolicies As IEnumerable(Of String) = Nothing) As ServiceEndpointPolicyData
Parameters
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- location
- Nullable<AzureLocation>
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
- kind
- String
Kind of service endpoint policy. This is metadata used for the Azure portal experience.
- serviceEndpointPolicyDefinitions
- IEnumerable<ServiceEndpointPolicyDefinitionData>
A collection of service endpoint policy definitions of the service endpoint policy.
- subnets
- IEnumerable<SubnetData>
A collection of references to subnets.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the service endpoint policy resource.
- serviceAlias
- String
The alias indicating if the policy belongs to a service.
- contextualServiceEndpointPolicies
- IEnumerable<String>
A collection of contextual service endpoint policy.
Returns
A new ServiceEndpointPolicyData instance for mocking.