Share via


ContainerRegistryPrivateLinkResourceCollection Class

Definition

A class representing a collection of ContainerRegistryPrivateLinkResource and their operations. Each ContainerRegistryPrivateLinkResource in the collection will belong to the same instance of ContainerRegistryResource. To get a ContainerRegistryPrivateLinkResourceCollection instance call the GetContainerRegistryPrivateLinkResources method from an instance of ContainerRegistryResource.

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

Constructors

ContainerRegistryPrivateLinkResourceCollection()

Initializes a new instance of the ContainerRegistryPrivateLinkResourceCollection 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.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}
  • Operation Id: Registries_GetPrivateLinkResource
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryPrivateLinkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}
  • Operation Id: Registries_GetPrivateLinkResource
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryPrivateLinkResource
Get(String, CancellationToken)

Gets a private link resource by a specified group name for a container registry.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}
  • Operation Id: Registries_GetPrivateLinkResource
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryPrivateLinkResource
GetAll(CancellationToken)

Lists the private link resources for a container registry.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources
  • Operation Id: Registries_ListPrivateLinkResources
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryPrivateLinkResource
GetAllAsync(CancellationToken)

Lists the private link resources for a container registry.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources
  • Operation Id: Registries_ListPrivateLinkResources
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryPrivateLinkResource
GetAsync(String, CancellationToken)

Gets a private link resource by a specified group name for a container registry.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}
  • Operation Id: Registries_GetPrivateLinkResource
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryPrivateLinkResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}
  • Operation Id: Registries_GetPrivateLinkResource
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryPrivateLinkResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}
  • Operation Id: Registries_GetPrivateLinkResource
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryPrivateLinkResource
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<ContainerRegistryPrivateLinkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ContainerRegistryPrivateLinkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to