다음을 통해 공유


ServiceEndpointPolicyCollection Class

Definition

A class representing a collection of ServiceEndpointPolicyResource and their operations. Each ServiceEndpointPolicyResource in the collection will belong to the same instance of ResourceGroupResource. To get a ServiceEndpointPolicyCollection instance call the GetServiceEndpointPolicies method from an instance of ResourceGroupResource.

public class ServiceEndpointPolicyCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Network.ServiceEndpointPolicyResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.ServiceEndpointPolicyResource>
type ServiceEndpointPolicyCollection = class
    inherit ArmCollection
    interface seq<ServiceEndpointPolicyResource>
    interface IEnumerable
    interface IAsyncEnumerable<ServiceEndpointPolicyResource>
Public Class ServiceEndpointPolicyCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ServiceEndpointPolicyResource), IEnumerable(Of ServiceEndpointPolicyResource)
Inheritance
ServiceEndpointPolicyCollection
Implements

Constructors

ServiceEndpointPolicyCollection()

Initializes a new instance of the ServiceEndpointPolicyCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, ServiceEndpointPolicyData, CancellationToken)

Creates or updates a service Endpoint Policies.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}
  • Operation Id: ServiceEndpointPolicies_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ServiceEndpointPolicyResource
CreateOrUpdateAsync(WaitUntil, String, ServiceEndpointPolicyData, CancellationToken)

Creates or updates a service Endpoint Policies.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}
  • Operation Id: ServiceEndpointPolicies_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ServiceEndpointPolicyResource
Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}
  • Operation Id: ServiceEndpointPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: ServiceEndpointPolicyResource
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}
  • Operation Id: ServiceEndpointPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: ServiceEndpointPolicyResource
Get(String, String, CancellationToken)

Gets the specified service Endpoint Policies in a specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}
  • Operation Id: ServiceEndpointPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: ServiceEndpointPolicyResource
GetAll(CancellationToken)

Gets all service endpoint Policies in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies
  • Operation Id: ServiceEndpointPolicies_ListByResourceGroup
  • Default Api Version: 2024-03-01
  • Resource: ServiceEndpointPolicyResource
GetAllAsync(CancellationToken)

Gets all service endpoint Policies in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies
  • Operation Id: ServiceEndpointPolicies_ListByResourceGroup
  • Default Api Version: 2024-03-01
  • Resource: ServiceEndpointPolicyResource
GetAsync(String, String, CancellationToken)

Gets the specified service Endpoint Policies in a specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}
  • Operation Id: ServiceEndpointPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: ServiceEndpointPolicyResource
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}
  • Operation Id: ServiceEndpointPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: ServiceEndpointPolicyResource
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}
  • Operation Id: ServiceEndpointPolicies_Get
  • Default Api Version: 2024-03-01
  • Resource: ServiceEndpointPolicyResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<ServiceEndpointPolicyResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceEndpointPolicyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to