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

62 строки
4.4 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.Disk.DefinitionStages.WithStorageAccount"
fullName: "com.azure.resourcemanager.compute.models.Disk.DefinitionStages.WithStorageAccount"
name: "Disk.DefinitionStages.WithStorageAccount"
nameWithType: "Disk.DefinitionStages.WithStorageAccount"
summary: "The stage of the managed disk definition allowing to specify storage account that contains disk information."
syntax: "public static interface **Disk.DefinitionStages.WithStorageAccount**"
methods:
- uid: "com.azure.resourcemanager.compute.models.Disk.DefinitionStages.WithStorageAccount.withStorageAccount(com.azure.resourcemanager.storage.models.StorageAccount)"
fullName: "com.azure.resourcemanager.compute.models.Disk.DefinitionStages.WithStorageAccount.withStorageAccount(StorageAccount account)"
name: "withStorageAccount(StorageAccount account)"
nameWithType: "Disk.DefinitionStages.WithStorageAccount.withStorageAccount(StorageAccount account)"
summary: "Specifies the storage account."
modifiers:
- "abstract"
parameters:
- description: "the storage account"
name: "account"
type: "<xref href=\"com.azure.resourcemanager.storage.models.StorageAccount?alt=com.azure.resourcemanager.storage.models.StorageAccount&text=StorageAccount\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Disk.DefinitionStages.WithCreateAndSize withStorageAccount(StorageAccount account)"
desc: "Specifies the storage account."
returns:
description: "the next stage of the definition"
type: "<xref href=\"com.azure.resourcemanager.compute.models.Disk.DefinitionStages.WithCreateAndSize?alt=com.azure.resourcemanager.compute.models.Disk.DefinitionStages.WithCreateAndSize&text=WithCreateAndSize\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.Disk.DefinitionStages.WithStorageAccount.withStorageAccountId(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.models.Disk.DefinitionStages.WithStorageAccount.withStorageAccountId(String storageAccountId)"
name: "withStorageAccountId(String storageAccountId)"
nameWithType: "Disk.DefinitionStages.WithStorageAccount.withStorageAccountId(String storageAccountId)"
summary: "Specifies the storage account id."
modifiers:
- "abstract"
parameters:
- description: "the storage account id"
name: "storageAccountId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract Disk.DefinitionStages.WithCreateAndSize withStorageAccountId(String storageAccountId)"
desc: "Specifies the storage account id."
returns:
description: "the next stage of the definition"
type: "<xref href=\"com.azure.resourcemanager.compute.models.Disk.DefinitionStages.WithCreateAndSize?alt=com.azure.resourcemanager.compute.models.Disk.DefinitionStages.WithCreateAndSize&text=WithCreateAndSize\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.Disk.DefinitionStages.WithStorageAccount.withStorageAccountName(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.models.Disk.DefinitionStages.WithStorageAccount.withStorageAccountName(String storageAccountName)"
name: "withStorageAccountName(String storageAccountName)"
nameWithType: "Disk.DefinitionStages.WithStorageAccount.withStorageAccountName(String storageAccountName)"
summary: "Specifies the storage account name in same resource group."
modifiers:
- "abstract"
parameters:
- description: "the storage account name in same resource group"
name: "storageAccountName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract Disk.DefinitionStages.WithCreateAndSize withStorageAccountName(String storageAccountName)"
desc: "Specifies the storage account name in same resource group."
returns:
description: "the next stage of the definition"
type: "<xref href=\"com.azure.resourcemanager.compute.models.Disk.DefinitionStages.WithCreateAndSize?alt=com.azure.resourcemanager.compute.models.Disk.DefinitionStages.WithCreateAndSize&text=WithCreateAndSize\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "The stage of the managed disk definition allowing to specify storage account that contains disk information.\n\nIt is mandatory in import option."
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.42.0