Dela via


IDefinitionUnmanaged Interface

Definition

The entirety of the unmanaged disk based virtual machine definition.

public interface IDefinitionUnmanaged : Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IBlank, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithGroup, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithLinuxCreateUnmanaged, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithLinuxRootPasswordOrPublicKeyUnmanaged, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithLinuxRootUsernameUnmanaged, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithNetwork, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithOS, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithPrivateIP, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithPublicIPAddress, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithSubnet, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithWindowsAdminPasswordUnmanaged, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithWindowsAdminUsernameUnmanaged, Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithWindowsCreateUnmanaged, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithNetwork>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithNetwork>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithGroup<Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithNetwork>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithNetwork>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithRegion<Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithGroup>, 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 IDefinitionUnmanaged = interface
    interface IBlank
    interface IDefinitionWithRegion<IWithGroup>
    interface IWithGroup
    interface IWithGroup<IWithNetwork>
    interface IWithExistingResourceGroup<IWithNetwork>
    interface IWithNewResourceGroup<IWithNetwork>
    interface IWithCreatableResourceGroup<IWithNetwork>
    interface IWithNetwork
    interface IWithPrimaryNetworkInterface
    interface IWithSubnet
    interface IWithPrivateIP
    interface IWithPublicIPAddress
    interface IWithOS
    interface IWithOSBeta
    interface IBeta
    interface IWithLinuxRootUsernameUnmanaged
    interface IWithLinuxRootPasswordOrPublicKeyUnmanaged
    interface IWithWindowsAdminUsernameUnmanaged
    interface IWithWindowsAdminPasswordUnmanaged
    interface IWithFromImageCreateOptionsUnmanaged
    interface IWithUnmanagedCreate
    interface IWithUnmanagedDataDisk
    interface IWithCreate
    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 IWithUserAssignedManagedServiceIdentity
    interface IWithLicenseType
    interface IWithLinuxCreateUnmanaged
    interface IWithWindowsCreateUnmanaged
Public Interface IDefinitionUnmanaged
Implements IBeta, IBlank, ICreatable(Of IVirtualMachine), IDefinitionWithRegion(Of IWithGroup), IDefinitionWithTags(Of IWithCreate), IWithCreatableResourceGroup(Of IWithNetwork), IWithExistingResourceGroup(Of IWithNetwork), IWithGroup, IWithGroup(Of IWithNetwork), IWithLinuxCreateUnmanaged, IWithLinuxRootPasswordOrPublicKeyUnmanaged, IWithLinuxRootUsernameUnmanaged, IWithNetwork, IWithNewResourceGroup(Of IWithNetwork), IWithOS, IWithPrivateIP, IWithPublicIPAddress, IWithSubnet, IWithWindowsAdminPasswordUnmanaged, IWithWindowsAdminUsernameUnmanaged, IWithWindowsCreateUnmanaged
Implements

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)
DefineUnmanagedDataDisk(String)

Begins definition of an unmanaged data disk to be attached to the virtual machine.

(Inherited from IWithUnmanagedDataDisk)
WithAdminPassword(String)

Specifies the administrator password for the Windows virtual machine.

(Inherited from IWithWindowsAdminPasswordUnmanaged)
WithAdminUsername(String)

Specifies the administrator user name for the Windows virtual machine.

(Inherited from IWithWindowsAdminUsernameUnmanaged)
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)
WithComputerName(String)

Specifies the computer name for the virtual machine.

(Inherited from IWithFromImageCreateOptionsUnmanaged)
WithCustomData(String)

Specifies the custom data for the virtual machine.

(Inherited from IWithFromImageCreateOptionsUnmanaged)
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)
WithExistingPrimaryNetwork(INetwork)

Associates an existing virtual network with the virtual machine's primary network interface.

(Inherited from IWithNetwork)
WithExistingPrimaryNetworkInterface(INetworkInterface)

Associates an existing network interface with the virtual machine as its primary network interface.

(Inherited from IWithPrimaryNetworkInterface)
WithExistingPrimaryPublicIPAddress(IPublicIPAddress)

Associates an existing public IP address with the VM's primary network interface.

(Inherited from IWithPublicIPAddress)
WithExistingResourceGroup(IResourceGroup)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
WithExistingResourceGroup(String)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
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)
WithExistingUnmanagedDataDisk(String, String, String)

Attaches an existing unmanaged VHD as a data disk to the virtual machine.

(Inherited from IWithUnmanagedDataDisk)
WithExistingUserAssignedManagedServiceIdentity(IIdentity)

Specifies an existing user assigned identity to be associated with the virtual machine.

(Inherited from IWithUserAssignedManagedServiceIdentity)
WithLatestLinuxImage(String, String, String)

Specifies that the latest version of a marketplace Linux image is to be used as the virtual machine's OS.

(Inherited from IWithOS)
WithLatestWindowsImage(String, String, String)

Specifies that the latest version of a marketplace Windows image should to be used as the virtual machine's OS.

(Inherited from IWithOS)
WithLicenseType(String)

Specifies that the image or disk that is being used was licensed on-premises.

(Inherited from IWithLicenseType)
WithLinuxCustomImage(String)

Specifies the resource ID of a Linux custom image to be used as the virtual machines' OS.

(Inherited from IWithOS)
WithLinuxGalleryImageVersion(String)

Specifies the resource ID of a Linux gallery image version to be used as the virtual machines' OS.

(Inherited from IWithOSBeta)
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)
WithNewPrimaryNetwork(ICreatable<INetwork>)

Creates a new virtual network to associate with the virtual machine's primary network interface, based on the provided definition.

(Inherited from IWithNetwork)
WithNewPrimaryNetwork(String)

Creates a new virtual network to associate with the virtual machine's primary network interface. The virtual network will be created in the same resource group and region as of virtual machine, it will be created with the specified address space and a default subnet covering the entirety of the network IP address space.

(Inherited from IWithNetwork)
WithNewPrimaryNetworkInterface(ICreatable<INetworkInterface>)

Creates a new network interface to associate with the virtual machine as its primary network interface, based on the provided definition.

(Inherited from IWithPrimaryNetworkInterface)
WithNewPrimaryPublicIPAddress(ICreatable<IPublicIPAddress>)

Creates a new public IP address to associate with the VM's primary network interface.

(Inherited from IWithPublicIPAddress)
WithNewPrimaryPublicIPAddress(String)

Creates a new public IP address in the same region and resource group as the resource, with the specified DNS label and associates it with the VM's primary network interface. The internal name for the public IP address will be derived from the DNS label.

(Inherited from IWithPublicIPAddress)
WithNewResourceGroup() (Inherited from IWithNewResourceGroup<T>)
WithNewResourceGroup(ICreatable<IResourceGroup>)

Creates a new resource group to put the resource in, based on the definition specified.

(Inherited from IWithCreatableResourceGroup<T>)
WithNewResourceGroup(String) (Inherited from IWithNewResourceGroup<T>)
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)
WithNewUnmanagedDataDisk(Int32)

Attaches a new blank unmanaged data disk to the virtual machine.

(Inherited from IWithUnmanagedDataDisk)
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)
WithOSDiskVhdLocation(String, String)

Specifies the name of an OS disk VHD file and its parent container.

(Inherited from IWithUnmanagedCreate)
WithoutAutoUpdate()

Specifies that automatic updates should be disabled.

(Inherited from IWithWindowsCreateUnmanaged)
WithoutPrimaryPublicIPAddress()

Specifies that the VM should not have a public IP address.

(Inherited from IWithPublicIPAddress)
WithoutVMAgent()

Specifies that VM Agent should not be provisioned.

(Inherited from IWithWindowsCreateUnmanaged)
WithPlan(PurchasePlan)

Specifies the purchase plan for the virtual machine.

(Inherited from IWithPlan)
WithPopularLinuxImage(KnownLinuxVirtualMachineImage)

Specifies a known marketplace Linux image to be used for the virtual machine's OS.

(Inherited from IWithOS)
WithPopularWindowsImage(KnownWindowsVirtualMachineImage)

Specifies a known marketplace Windows image to be used for the virtual machine's OS.

(Inherited from IWithOS)
WithPrimaryPrivateIPAddressDynamic()

Enables dynamic private IP address allocation within the specified existing virtual network subnet for the VM's primary network interface.

(Inherited from IWithPrivateIP)
WithPrimaryPrivateIPAddressStatic(String)

Assigns the specified static private IP address within the specified existing virtual network subnet to the VM's primary network interface.

(Inherited from IWithPrivateIP)
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)
WithRegion(Region)

Specifies the region for the resource.

(Inherited from IDefinitionWithRegion<T>)
WithRegion(String)

Specifies the region for the resource by name.

(Inherited from IDefinitionWithRegion<T>)
WithRootPassword(String)

Specifies an SSH root password for the Linux virtual machine.

(Inherited from IWithLinuxRootPasswordOrPublicKeyUnmanaged)
WithRootUsername(String)

Specifies an SSH root user name for the Linux virtual machine.

(Inherited from IWithLinuxRootUsernameUnmanaged)
WithSize(String)

Selects the size of the virtual machine.

(Inherited from IWithVMSize)
WithSize(VirtualMachineSizeTypes)

Specifies the size of the virtual machine.

(Inherited from IWithVMSize)
WithSpecializedOSDisk(IDisk, OperatingSystemTypes)

Specifies a specialized operating system managed disk to be attached to the virtual machine.

(Inherited from IWithOS)
WithSpecializedOSUnmanagedDisk(String, OperatingSystemTypes)

Specifies a specialized operating system unmanaged disk to be attached to the virtual machine.

(Inherited from IWithOS)
WithSpecificLinuxImageVersion(ImageReference)

Specifies a version of a market-place Linux image to be used as the virtual machine's OS.

(Inherited from IWithOS)
WithSpecificWindowsImageVersion(ImageReference)

Specifies a version of a marketplace Windows image to be used as the virtual machine's OS.

(Inherited from IWithOS)
WithSsh(String)

Specifies an SSH public key.

(Inherited from IWithLinuxRootPasswordOrPublicKeyUnmanaged)
WithStoredLinuxImage(String)

Specifies a user (generalized) Linux image to be used for the virtual machine's OS.

(Inherited from IWithOS)
WithStoredWindowsImage(String)

Specifies the user (generalized) Windows image to be used for the virtual machine's OS.

(Inherited from IWithOS)
WithSubnet(String)

Associates a subnet with the virtual machine's primary network interface.

(Inherited from IWithSubnet)
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>)
WithTimeZone(String)

Specifies the time-zone.

(Inherited from IWithWindowsCreateUnmanaged)
WithVaultSecret(String, String, String)

Specifies a vault secret to add to the vm. Each call to this method adds to the list of vault secrets.

(Inherited from IWithWindowsCreateUnmanaged)
WithWindowsCustomImage(String)

Specifies the resource ID of a Windows custom image to be used as the virtual machine's OS.

(Inherited from IWithOS)
WithWindowsGalleryImageVersion(String)

Specifies the resource ID of a Windows gallery image version to be used as the virtual machine's OS.

(Inherited from IWithOSBeta)
WithWinRM(WinRMListener)

Specifies the WINRM listener. Each call to this method adds the given listener to the list of VM's WinRM listeners.

(Inherited from IWithWindowsCreateUnmanaged)

Applies to