Share via


MockableContainerInstanceSubscriptionResource.GetContainerGroupProfiles 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.Pageable<Azure.ResourceManager.ContainerInstance.ContainerGroupProfileResource> GetContainerGroupProfiles (System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerGroupProfiles : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerInstance.ContainerGroupProfileResource>
override this.GetContainerGroupProfiles : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerInstance.ContainerGroupProfileResource>
Public Overridable Function GetContainerGroupProfiles (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ContainerGroupProfileResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to