IWithCreate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The stage of the definition which contains all the minimum required inputs for the resource to be created, but also allows for any other optional settings to be specified.
public interface IWithCreate : Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithAvailabilitySet, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithBillingProfile, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithBootDiagnostics, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithExtension, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithLicenseType, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithOSDiskSettings, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithPlan, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithPriority, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithSecondaryNetworkInterface, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithStorageAccount, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithSystemAssignedManagedServiceIdentity, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithUserAssignedManagedServiceIdentity, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithVMSize, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachine>
type IWithCreate = interface
interface ICreatable<IVirtualMachine>
interface IIndexable
interface IDefinitionWithTags<IWithCreate>
interface IWithOSDiskSettings
interface IWithVMSize
interface IWithStorageAccount
interface IWithAvailabilitySet
interface IWithSecondaryNetworkInterface
interface IWithExtension
interface IWithPlan
interface IWithBootDiagnostics
interface IWithPriority
interface IWithBillingProfile
interface IWithSystemAssignedManagedServiceIdentity
interface IBeta
interface IWithUserAssignedManagedServiceIdentity
interface IWithLicenseType
Public Interface IWithCreate
Implements IBeta, ICreatable(Of IVirtualMachine), IDefinitionWithTags(Of IWithCreate), IWithAvailabilitySet, IWithBillingProfile, IWithBootDiagnostics, IWithExtension, IWithLicenseType, IWithOSDiskSettings, IWithPlan, IWithPriority, IWithSecondaryNetworkInterface, IWithStorageAccount, IWithSystemAssignedManagedServiceIdentity, IWithUserAssignedManagedServiceIdentity, IWithVMSize
- Derived
- Implements
-
IWithAvailabilitySet IWithBillingProfile IWithBootDiagnostics IWithExtension IWithLicenseType IWithOSDiskSettings IWithPlan IWithPriority IWithSecondaryNetworkInterface IWithStorageAccount IWithSystemAssignedManagedServiceIdentity IWithUserAssignedManagedServiceIdentity IWithVMSize IBeta IDefinitionWithTags<IWithCreate> ICreatable<IVirtualMachine> IIndexable
Properties
Key | (Inherited from IIndexable) |
Name |
Gets the name of the creatable resource. (Inherited from ICreatable<T>) |
Methods
Create() |
Execute the create request. (Inherited from ICreatable<T>) |
CreateAsync(CancellationToken, Boolean) |
Puts the request into the queue and allow the HTTP client to execute it when system resources are available. (Inherited from ICreatable<T>) |
DefineNewExtension(String) |
Starts the definition of an extension to be attached to the virtual machine. (Inherited from IWithExtension) |
WithBootDiagnostics() |
Specifies that boot diagnostics needs to be enabled in the virtual machine. (Inherited from IWithBootDiagnostics) |
WithBootDiagnostics(ICreatable<IStorageAccount>) |
Specifies that boot diagnostics needs to be enabled in the virtual machine. (Inherited from IWithBootDiagnostics) |
WithBootDiagnostics(IStorageAccount) |
Specifies that boot diagnostics needs to be enabled in the virtual machine. (Inherited from IWithBootDiagnostics) |
WithBootDiagnostics(String) |
Specifies that boot diagnostics needs to be enabled in the virtual machine. (Inherited from IWithBootDiagnostics) |
WithEphemeralOSDisk(DiffDiskOptions) |
Specifies the ephemeral options for the OS disk. (Inherited from IWithOSDiskSettings) |
WithExistingAvailabilitySet(IAvailabilitySet) |
Specifies an existing availability set to associate with the virtual machine. (Inherited from IWithAvailabilitySet) |
WithExistingSecondaryNetworkInterface(INetworkInterface) |
Associates an existing network interface with the virtual machine. Note this method's effect is additive, i.e. each time it is used, the new secondary network interface added to the virtual machine. (Inherited from IWithSecondaryNetworkInterface) |
WithExistingStorageAccount(IStorageAccount) |
Specifies an existing storage account to put the VM's OS and data disk VHD in. An OS disk based on a marketplace or a user image (generalized image) will be stored in this storage account. (Inherited from IWithStorageAccount) |
WithExistingUserAssignedManagedServiceIdentity(IIdentity) |
Specifies an existing user assigned identity to be associated with the virtual machine. (Inherited from IWithUserAssignedManagedServiceIdentity) |
WithLicenseType(String) |
Specifies that the image or disk that is being used was licensed on-premises. (Inherited from IWithLicenseType) |
WithLowPriority() |
Specifies that virtual machine should be low priority. (Inherited from IWithPriority) |
WithLowPriority(VirtualMachineEvictionPolicyTypes) |
Specifies that virtual machine should be low priority. (Inherited from IWithPriority) |
WithMaxPrice(Nullable<Double>) |
Specifies the billing related details of a low priority virtual machine. (Inherited from IWithBillingProfile) |
WithNewAvailabilitySet(ICreatable<IAvailabilitySet>) |
Specifies definition of a not-yet-created availability set definition to associate the virtual machine with. (Inherited from IWithAvailabilitySet) |
WithNewAvailabilitySet(String) |
Specifies the name of a new availability set to associate with the virtual machine. (Inherited from IWithAvailabilitySet) |
WithNewSecondaryNetworkInterface(ICreatable<INetworkInterface>) |
Creates a new network interface to associate with the virtual machine, based on the provided definition. Note this method's effect is additive, i.e. each time it is used, a new secondary network interface added to the virtual machine. (Inherited from IWithSecondaryNetworkInterface) |
WithNewStorageAccount(ICreatable<IStorageAccount>) |
Specifies the definition of a not-yet-created storage account to put the VM's OS and data disk VHDs into. 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. (Inherited from IWithStorageAccount) |
WithNewStorageAccount(String) |
Specifies the name of a new storage account to put the VM's OS and data disk VHD into. 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. (Inherited from IWithStorageAccount) |
WithNewUserAssignedManagedServiceIdentity(ICreatable<IIdentity>) |
Specifies the definition of a not-yet-created user assigned identity to be associated with the virtual machine. (Inherited from IWithUserAssignedManagedServiceIdentity) |
WithOSDiskCaching(CachingTypes) |
Specifies the caching type for the OS disk. (Inherited from IWithOSDiskSettings) |
WithOSDiskEncryptionSettings(DiskEncryptionSettings) |
Specifies the encryption settings for the OS Disk. (Inherited from IWithOSDiskSettings) |
WithOSDiskName(String) |
Specifies the name for the OS Disk. (Inherited from IWithOSDiskSettings) |
WithOSDiskSizeInGB(Int32) |
Specifies the size of the OSDisk in GB. (Inherited from IWithOSDiskSettings) |
WithPlan(PurchasePlan) |
Specifies the purchase plan for the virtual machine. (Inherited from IWithPlan) |
WithPriority(VirtualMachinePriorityTypes) |
Specifies the priority for the virtual machine. (Inherited from IWithPriority) |
WithPromotionalPlan(PurchasePlan, String) |
Specifies the purchase plan for the virtual machine. (Inherited from IWithPlan) |
WithSize(String) |
Selects the size of the virtual machine. (Inherited from IWithVMSize) |
WithSize(VirtualMachineSizeTypes) |
Specifies the size of the virtual machine. (Inherited from IWithVMSize) |
WithSystemAssignedManagedServiceIdentity() |
Specifies that System Assigned (Local) Managed Service Identity needs to be enabled in the virtual machine. (Inherited from IWithSystemAssignedManagedServiceIdentity) |
WithTag(String, String) |
Adds a tag to the resource. (Inherited from IDefinitionWithTags<T>) |
WithTags(IDictionary<String,String>) |
Specifies tags for the resource as a {@link Map}. (Inherited from IDefinitionWithTags<T>) |
Applies to
Azure SDK for .NET