Partilhar via


ContainerAppJobResource.GetSecrets(CancellationToken) Method

Definition

List secrets for a container apps job

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/jobs/{jobName}/listSecrets
  • Operation Id: Jobs_ListSecrets
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppJobResource
public virtual Azure.Pageable<Azure.ResourceManager.AppContainers.Models.ContainerAppWritableSecret> GetSecrets (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecrets : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppContainers.Models.ContainerAppWritableSecret>
override this.GetSecrets : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppContainers.Models.ContainerAppWritableSecret>
Public Overridable Function GetSecrets (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ContainerAppWritableSecret)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to