Sdílet prostřednictvím


ArmNetworkModelFactory.ServiceEndpointProperties Method

Definition

Initializes a new instance of ServiceEndpointProperties.

public static Azure.ResourceManager.Network.Models.ServiceEndpointProperties ServiceEndpointProperties (string service = default, Azure.Core.ResourceIdentifier networkIdentifierId = default, System.Collections.Generic.IEnumerable<Azure.Core.AzureLocation> locations = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member ServiceEndpointProperties : string * Azure.Core.ResourceIdentifier * seq<Azure.Core.AzureLocation> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.Models.ServiceEndpointProperties
Public Shared Function ServiceEndpointProperties (Optional service As String = Nothing, Optional networkIdentifierId As ResourceIdentifier = Nothing, Optional locations As IEnumerable(Of AzureLocation) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As ServiceEndpointProperties

Parameters

service
String

The type of the endpoint service.

networkIdentifierId
ResourceIdentifier

SubResource as network identifier.

locations
IEnumerable<AzureLocation>

A list of locations.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the service endpoint resource.

Returns

A new ServiceEndpointProperties instance for mocking.

Applies to