共用方式為


IRegistryTaskRunRequest.WithArchiveEnabled(Boolean) Method

Definition

The function that specifies archiving will or will not be enabled.

public Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryTaskRun.Definition.IRegistryTaskRunRequest WithArchiveEnabled (bool enabled);
abstract member WithArchiveEnabled : bool -> Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryTaskRun.Definition.IRegistryTaskRunRequest
Public Function WithArchiveEnabled (enabled As Boolean) As IRegistryTaskRunRequest

Parameters

enabled
Boolean

Whether archive will be enabled.

Returns

Applies to