Sdílet prostřednictvím


NetworkExtensions.GetServiceEndpointPolicies(ResourceGroupResource) Method

Definition

Gets a collection of ServiceEndpointPolicyResources in the ResourceGroupResource. MockingTo mock this method, please mock GetServiceEndpointPolicies() instead.

public static Azure.ResourceManager.Network.ServiceEndpointPolicyCollection GetServiceEndpointPolicies (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetServiceEndpointPolicies : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Network.ServiceEndpointPolicyCollection
<Extension()>
Public Function GetServiceEndpointPolicies (resourceGroupResource As ResourceGroupResource) As ServiceEndpointPolicyCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ServiceEndpointPolicyResources and their operations over a ServiceEndpointPolicyResource.

Exceptions

resourceGroupResource is null.

Applies to