共用方式為


IWithGroup Interface

Definition

The stage of the image definition allowing to specify the resource group.

public interface IWithGroup : 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>
type IWithGroup = interface
    interface IWithGroup<IWithHyperVGeneration>
    interface IWithExistingResourceGroup<IWithHyperVGeneration>
    interface IWithNewResourceGroup<IWithHyperVGeneration>
    interface IWithCreatableResourceGroup<IWithHyperVGeneration>
Public Interface IWithGroup
Implements IWithCreatableResourceGroup(Of IWithHyperVGeneration), IWithExistingResourceGroup(Of IWithHyperVGeneration), IWithGroup(Of IWithHyperVGeneration), IWithNewResourceGroup(Of IWithHyperVGeneration)
Derived
Implements

Methods

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>)
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>)

Applies to