Share via


MockableContainerInstanceSubscriptionResource.GetContainerGroupProfilesAsync Method

Definition

Get a list of container group profiles in the specified subscription. This operation returns properties of each container group profile including containers, image registry credentials, restart policy, IP address type, OS type,volumes,current revision number, etc.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroupProfiles
  • Operation Id: ContainerGroupProfiles_List
  • Default Api Version: 2024-05-01-preview
  • Resource: ContainerGroupProfileResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ContainerInstance.ContainerGroupProfileResource> GetContainerGroupProfilesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerGroupProfilesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerInstance.ContainerGroupProfileResource>
override this.GetContainerGroupProfilesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerInstance.ContainerGroupProfileResource>
Public Overridable Function GetContainerGroupProfilesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ContainerGroupProfileResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ContainerGroupProfileResource that may take multiple service requests to iterate over.

Applies to