-
Notifications
You must be signed in to change notification settings - Fork 245
/
com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithStorageAccount.yml
65 lines (59 loc) · 4.99 KB
/
com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithStorageAccount.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
### YamlMime:JavaType
methods:
- fullName: com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithStorageAccount.withExistingStorageAccount(StorageAccount storageAccount)
name: withExistingStorageAccount(StorageAccount storageAccount)
nameWithType: VirtualMachine.DefinitionStages.WithStorageAccount.withExistingStorageAccount(StorageAccount storageAccount)
parameters:
- description: <p>an existing storage account </p>
name: storageAccount
type: <xref href="com.microsoft.azure.management.storage.StorageAccount?alt=com.microsoft.azure.management.storage.StorageAccount&text=StorageAccount" data-throw-if-not-resolved="False"/>
returns:
description: <p>the next stage of the definition </p>
type: <xref href="com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithCreate?alt=com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithCreate&text=VirtualMachine.DefinitionStages.WithCreate" data-throw-if-not-resolved="False"/>
summary: >-
<p>Specifies an existing storage account to put the VM's OS and data disk VHD in. </p>
<p>An OS disk based on a marketplace or a user image (generalized image) will be stored in this storage account.</p>
<p></p>
syntax: public WithCreate withExistingStorageAccount(StorageAccount storageAccount)
uid: com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithStorageAccount.withExistingStorageAccount(StorageAccount)
- fullName: com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithStorageAccount.withNewStorageAccount(Creatable<StorageAccount> creatable)
name: withNewStorageAccount(Creatable<StorageAccount> creatable)
nameWithType: VirtualMachine.DefinitionStages.WithStorageAccount.withNewStorageAccount(Creatable<StorageAccount> creatable)
parameters:
- description: <p>a creatable storage account definition </p>
name: creatable
type: <xref href="com.microsoft.azure.management.resources.fluentcore.model.Creatable?alt=com.microsoft.azure.management.resources.fluentcore.model.Creatable&text=Creatable" data-throw-if-not-resolved="False"/><<xref href="com.microsoft.azure.management.storage.StorageAccount?alt=com.microsoft.azure.management.storage.StorageAccount&text=StorageAccount" data-throw-if-not-resolved="False"/>>
returns:
description: <p>the next stage of the definition </p>
type: <xref href="com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithCreate?alt=com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithCreate&text=VirtualMachine.DefinitionStages.WithCreate" data-throw-if-not-resolved="False"/>
summary: >-
<p>Specifies the definition of a not-yet-created storage account to put the VM's OS and data disk VHDs into. </p>
<p>Only the OS disk based on a marketplace image will be stored in the new storage account. An OS disk based on a user image will be stored in the same storage account as the user image.</p>
<p></p>
syntax: public WithCreate withNewStorageAccount(Creatable<StorageAccount> creatable)
uid: com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithStorageAccount.withNewStorageAccount(Creatable<StorageAccount>)
- fullName: com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithStorageAccount.withNewStorageAccount(String name)
name: withNewStorageAccount(String name)
nameWithType: VirtualMachine.DefinitionStages.WithStorageAccount.withNewStorageAccount(String name)
parameters:
- description: <p>the name for a new storage account </p>
name: name
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
returns:
description: <p>the next stage of the definition </p>
type: <xref href="com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithCreate?alt=com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithCreate&text=VirtualMachine.DefinitionStages.WithCreate" data-throw-if-not-resolved="False"/>
summary: >-
<p>Specifies the name of a new storage account to put the VM's OS and data disk VHD into. </p>
<p>Only an OS disk based on a marketplace image will be stored in the new storage account. An OS disk based on a user image will be stored in the same storage account as the user image.</p>
<p></p>
syntax: public WithCreate withNewStorageAccount(String name)
uid: com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithStorageAccount.withNewStorageAccount(String)
nameWithType: VirtualMachine.DefinitionStages.WithStorageAccount
syntax: public interface WithStorageAccount
type: interface
uid: com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithStorageAccount
fullName: com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithStorageAccount
name: VirtualMachine.DefinitionStages.WithStorageAccount
package: com.microsoft.azure.management.compute
summary: <p>The stage of a virtual machine definition allowing to specify a storage account. </p>
metadata: {}