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

79 строки
7.7 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume"
fullName: "com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume"
name: "ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume"
nameWithType: "ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume"
summary: "The stage of the container group definition allowing to specify a private image registry or a volume."
syntax: "public static interface **ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume**</br> extends <xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithPrivateImageRegistry?alt=com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithPrivateImageRegistry&text=WithPrivateImageRegistry\" data-throw-if-not-resolved=\"False\" />"
methods:
- uid: "com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume.defineVolume(java.lang.String)"
fullName: "com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume.defineVolume(String name)"
name: "defineVolume(String name)"
nameWithType: "ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume.defineVolume(String name)"
summary: "Begins the definition of a volume that can be shared by the container instances in the container group."
modifiers:
- "abstract"
parameters:
- description: "the name of the volume"
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract ContainerGroup.DefinitionStages.VolumeDefinitionStages.VolumeDefinitionBlank<ContainerGroup.DefinitionStages.WithVolume> defineVolume(String name)"
desc: "Begins the definition of a volume that can be shared by the container instances in the container group.\n\nThe definition must be completed with a call to <xref uid=\"\" data-throw-if-not-resolved=\"false\" data-raw-source=\"VolumeDefinitionStages.WithVolumeAttach#attach()\"></xref>"
returns:
description: "the next stage of the definition"
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.VolumeDefinitionStages.VolumeDefinitionBlank?alt=com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.VolumeDefinitionStages.VolumeDefinitionBlank&text=VolumeDefinitionBlank\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithVolume?alt=com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithVolume&text=WithVolume\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume.withEmptyDirectoryVolume(java.lang.String)"
fullName: "com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume.withEmptyDirectoryVolume(String name)"
name: "withEmptyDirectoryVolume(String name)"
nameWithType: "ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume.withEmptyDirectoryVolume(String name)"
summary: "Specifies an empty directory volume that can be shared by the container instances in the container group."
modifiers:
- "abstract"
parameters:
- description: "the name of the empty directory volume"
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract ContainerGroup.DefinitionStages.WithFirstContainerInstance withEmptyDirectoryVolume(String name)"
desc: "Specifies an empty directory volume that can be shared by the container instances in the container group."
returns:
description: "the next stage of the definition"
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithFirstContainerInstance?alt=com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithFirstContainerInstance&text=WithFirstContainerInstance\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume.withNewAzureFileShareVolume(java.lang.String,java.lang.String)"
fullName: "com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume.withNewAzureFileShareVolume(String volumeName, String shareName)"
name: "withNewAzureFileShareVolume(String volumeName, String shareName)"
nameWithType: "ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume.withNewAzureFileShareVolume(String volumeName, String shareName)"
summary: "Specifies a new Azure file share name to be created."
modifiers:
- "abstract"
parameters:
- description: "the name of the volume"
name: "volumeName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the Azure file share name to be created"
name: "shareName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract ContainerGroup.DefinitionStages.WithFirstContainerInstance withNewAzureFileShareVolume(String volumeName, String shareName)"
desc: "Specifies a new Azure file share name to be created."
returns:
description: "the next stage of the definition"
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithFirstContainerInstance?alt=com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithFirstContainerInstance&text=WithFirstContainerInstance\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume.withoutVolume()"
fullName: "com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume.withoutVolume()"
name: "withoutVolume()"
nameWithType: "ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume.withoutVolume()"
summary: "Skips the definition of volumes to be shared by the container instances."
modifiers:
- "abstract"
syntax: "public abstract ContainerGroup.DefinitionStages.WithFirstContainerInstance withoutVolume()"
desc: "Skips the definition of volumes to be shared by the container instances.\n\nAn IllegalArgumentException will be thrown if a container instance attempts to define a volume mounting."
returns:
description: "the next stage of the definition"
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithFirstContainerInstance?alt=com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithFirstContainerInstance&text=WithFirstContainerInstance\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "The stage of the container group definition allowing to specify a private image registry or a volume."
implements:
- "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithPrivateImageRegistry?alt=com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithPrivateImageRegistry&text=WithPrivateImageRegistry\" data-throw-if-not-resolved=\"False\" />"
metadata: {}
package: "com.azure.resourcemanager.containerinstance.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-containerinstance:2.44.0