다음을 통해 공유


IDefinition Interface

Definition

The entirety of the image definition.

public interface IDefinition : Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IBlank, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithGroup, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithHyperVGeneration, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithHyperVGeneration>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithHyperVGeneration>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithGroup<Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithHyperVGeneration>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithHyperVGeneration>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithRegion<Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineCustomImage>
type IDefinition = interface
    interface IBlank
    interface IDefinitionWithRegion<IWithGroup>
    interface IWithGroup
    interface IWithGroup<IWithHyperVGeneration>
    interface IWithExistingResourceGroup<IWithHyperVGeneration>
    interface IWithNewResourceGroup<IWithHyperVGeneration>
    interface IWithCreatableResourceGroup<IWithHyperVGeneration>
    interface IWithHyperVGeneration
    interface IWithOSDiskImageSourceAltVirtualMachineSource
    interface IWithOSDiskImageSource
    interface IWithSourceVirtualMachine
    interface IWithCreateAndDataDiskImageOSDiskSettings
    interface IWithCreate
    interface IWithZoneResilient
    interface IBeta
    interface ICreatable<IVirtualMachineCustomImage>
    interface IIndexable
    interface IDefinitionWithTags<IWithCreate>
    interface IWithOSDiskSettings
    interface IWithDataDiskImage
Public Interface IDefinition
Implements IBeta, IBlank, ICreatable(Of IVirtualMachineCustomImage), IDefinitionWithRegion(Of IWithGroup), IDefinitionWithTags(Of IWithCreate), IWithCreatableResourceGroup(Of IWithHyperVGeneration), IWithCreateAndDataDiskImageOSDiskSettings, IWithExistingResourceGroup(Of IWithHyperVGeneration), IWithGroup, IWithGroup(Of IWithHyperVGeneration), IWithHyperVGeneration, IWithNewResourceGroup(Of IWithHyperVGeneration)
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>)
DefineDataDiskImage()

Begins the definition of a new data disk image to add to the image.

(Inherited from IWithDataDiskImage)
FromVirtualMachine(IVirtualMachine)

Uses the virtual machine's OS and data disks as the sources for OS disk image and data disk images of this image.

(Inherited from IWithSourceVirtualMachine)
FromVirtualMachine(String)

Uses the virtual machine's OS disk and data disks as the source for OS disk image and data disk images of this image.

(Inherited from IWithSourceVirtualMachine)
WithDataDiskImageFromManagedDisk(String)

Adds a data disk image with an existing managed disk as the source.

(Inherited from IWithDataDiskImage)
WithDataDiskImageFromSnapshot(String)

Adds a data disk image with an existing snapshot as the source.

(Inherited from IWithDataDiskImage)
WithDataDiskImageFromVhd(String)

Adds a data disk image with a virtual hard disk as the source.

(Inherited from IWithDataDiskImage)
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>)
WithHyperVGeneration(HyperVGenerationTypes)

Specifies the Hyper-V image generation.

(Inherited from IWithHyperVGeneration)
WithLinuxFromDisk(IDisk, OperatingSystemStateTypes)

Specifies the Linux source managed disk for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithLinuxFromDisk(String, OperatingSystemStateTypes)

Specifies the Linux source managed disk for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithLinuxFromSnapshot(ISnapshot, OperatingSystemStateTypes)

Specifies the Linux source snapshot for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithLinuxFromSnapshot(String, OperatingSystemStateTypes)

Specifies the Linux source snapshot for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithLinuxFromVhd(String, OperatingSystemStateTypes)

Specifies the Linux source native VHD for the OS disk image.

(Inherited from IWithOSDiskImageSource)
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>)
WithOSDiskCaching(CachingTypes)

Specifies the caching type for OS disk.

(Inherited from IWithOSDiskSettings)
WithOSDiskSizeInGB(Int32)

Specifies the size in GB for OS disk.

(Inherited from IWithOSDiskSettings)
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>)
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>)
WithWindowsFromDisk(IDisk, OperatingSystemStateTypes)

Specifies the Windows source managed disk for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithWindowsFromDisk(String, OperatingSystemStateTypes)

Specifies the Windows source managed disk for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithWindowsFromSnapshot(ISnapshot, OperatingSystemStateTypes)

Specifies the Windows source snapshot for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithWindowsFromSnapshot(String, OperatingSystemStateTypes)

Specifies the Windows source snapshot for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithWindowsFromVhd(String, OperatingSystemStateTypes)

Specifies the Windows source native VHD for the OS disk image.

(Inherited from IWithOSDiskImageSource)
WithZoneResilient()

Specifies that zone resiliency should be enabled for the image.

(Inherited from IWithZoneResilient)

Applies to