Share via


ApiManagementPrivateLinkResourceCollection Class

Definition

A class representing a collection of ApiManagementPrivateLinkResource and their operations. Each ApiManagementPrivateLinkResource in the collection will belong to the same instance of ApiManagementServiceResource. To get an ApiManagementPrivateLinkResourceCollection instance call the GetApiManagementPrivateLinkResources method from an instance of ApiManagementServiceResource.

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

Constructors

ApiManagementPrivateLinkResourceCollection()

Initializes a new instance of the ApiManagementPrivateLinkResourceCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/privateLinkResources/{privateLinkSubResourceName}
  • Operation Id: PrivateEndpointConnection_GetPrivateLinkResource
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPrivateLinkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/privateLinkResources/{privateLinkSubResourceName}
  • Operation Id: PrivateEndpointConnection_GetPrivateLinkResource
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPrivateLinkResource
Get(String, CancellationToken)

Gets the private link resources

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/privateLinkResources/{privateLinkSubResourceName}
  • Operation Id: PrivateEndpointConnection_GetPrivateLinkResource
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPrivateLinkResource
GetAll(CancellationToken)

Gets the private link resources

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/privateLinkResources
  • Operation Id: PrivateEndpointConnection_ListPrivateLinkResources
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPrivateLinkResource
GetAllAsync(CancellationToken)

Gets the private link resources

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/privateLinkResources
  • Operation Id: PrivateEndpointConnection_ListPrivateLinkResources
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPrivateLinkResource
GetAsync(String, CancellationToken)

Gets the private link resources

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/privateLinkResources/{privateLinkSubResourceName}
  • Operation Id: PrivateEndpointConnection_GetPrivateLinkResource
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPrivateLinkResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/privateLinkResources/{privateLinkSubResourceName}
  • Operation Id: PrivateEndpointConnection_GetPrivateLinkResource
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPrivateLinkResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/privateLinkResources/{privateLinkSubResourceName}
  • Operation Id: PrivateEndpointConnection_GetPrivateLinkResource
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementPrivateLinkResource
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<ApiManagementPrivateLinkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiManagementPrivateLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to