azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.c...

30 строки
2.1 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.containerregistry.models.RegistryTaskRun.DefinitionStages.Archive"
fullName: "com.azure.resourcemanager.containerregistry.models.RegistryTaskRun.DefinitionStages.Archive"
name: "RegistryTaskRun.DefinitionStages.Archive"
nameWithType: "RegistryTaskRun.DefinitionStages.Archive"
summary: "The stage of the container registry task run definition that specifies the enabling and disabling of archiving."
syntax: "public static interface **RegistryTaskRun.DefinitionStages.Archive**"
methods:
- uid: "com.azure.resourcemanager.containerregistry.models.RegistryTaskRun.DefinitionStages.Archive.withArchiveEnabled(boolean)"
fullName: "com.azure.resourcemanager.containerregistry.models.RegistryTaskRun.DefinitionStages.Archive.withArchiveEnabled(boolean enabled)"
name: "withArchiveEnabled(boolean enabled)"
nameWithType: "RegistryTaskRun.DefinitionStages.Archive.withArchiveEnabled(boolean enabled)"
summary: "The function that specifies archiving is enabled or disabled."
modifiers:
- "abstract"
parameters:
- description: "whether archiving is enabled or not."
name: "enabled"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract RegistryTaskRun.DefinitionStages.RunRequestExecutable withArchiveEnabled(boolean enabled)"
desc: "The function that specifies archiving is enabled or disabled."
returns:
description: "the next stage of the container registry task run definition."
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.RegistryTaskRun.DefinitionStages.RunRequestExecutable?alt=com.azure.resourcemanager.containerregistry.models.RegistryTaskRun.DefinitionStages.RunRequestExecutable&text=RunRequestExecutable\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "The stage of the container registry task run definition that specifies the enabling and disabling of archiving."
metadata: {}
package: "com.azure.resourcemanager.containerregistry.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-containerregistry:2.42.0