Partager via


ContainerGroupProfileResource.Update Method

Definition

Patches container group profile with specified properties.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}
  • Operation Id: ContainerGroupProfiles_Patch
  • Default Api Version: 2024-05-01-preview
  • Resource: ContainerGroupProfileResource
public virtual Azure.Response<Azure.ResourceManager.ContainerInstance.ContainerGroupProfileResource> Update (Azure.ResourceManager.ContainerInstance.Models.ContainerGroupProfilePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.ContainerInstance.Models.ContainerGroupProfilePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerInstance.ContainerGroupProfileResource>
override this.Update : Azure.ResourceManager.ContainerInstance.Models.ContainerGroupProfilePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerInstance.ContainerGroupProfileResource>
Public Overridable Function Update (patch As ContainerGroupProfilePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerGroupProfileResource)

Parameters

patch
ContainerGroupProfilePatch

The container group profile properties that need to be updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to