Share via


ServiceEndpointPolicyDefinitionCollection Class

Definition

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

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

Constructors

ServiceEndpointPolicyDefinitionCollection()

Initializes a new instance of the ServiceEndpointPolicyDefinitionCollection 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, ServiceEndpointPolicyDefinitionData, CancellationToken)

Creates or updates a service endpoint policy definition in the specified service endpoint policy.

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

Creates or updates a service endpoint policy definition in the specified service endpoint policy.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get the specified service endpoint policy definitions from service endpoint policy.

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

Gets all service endpoint policy definitions in a service end point policy.

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

Gets all service endpoint policy definitions in a service end point policy.

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

Get the specified service endpoint policy definitions from service endpoint policy.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}
  • Operation Id: ServiceEndpointPolicyDefinitions_Get
  • Default Api Version: 2024-03-01
  • Resource: ServiceEndpointPolicyDefinitionResource
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<ServiceEndpointPolicyDefinitionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceEndpointPolicyDefinitionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to