你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithGroup 接口

定义

允许指定资源组的映像定义的阶段。

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)
派生
实现

方法

WithExistingResourceGroup(IResourceGroup)

将资源与现有资源组相关联。

(继承自 IWithExistingResourceGroup<T>)
WithExistingResourceGroup(String)

将资源与现有资源组相关联。

(继承自 IWithExistingResourceGroup<T>)
WithNewResourceGroup()

允许指定资源组的映像定义的阶段。

(继承自 IWithNewResourceGroup<T>)
WithNewResourceGroup(ICreatable<IResourceGroup>)

根据指定的定义创建新的资源组以放入资源。

(继承自 IWithCreatableResourceGroup<T>)
WithNewResourceGroup(String)

允许指定资源组的映像定义的阶段。

(继承自 IWithNewResourceGroup<T>)

适用于