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

IWithGroup<T> 接口

定义

public interface IWithGroup<T> : Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<T>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<T>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<T>
type IWithGroup<'T> = interface
    interface IWithExistingResourceGroup<'T>
    interface IWithNewResourceGroup<'T>
    interface IWithCreatableResourceGroup<'T>
Public Interface IWithGroup(Of T)
Implements IWithCreatableResourceGroup(Of T), IWithExistingResourceGroup(Of T), IWithNewResourceGroup(Of T)

类型参数

T
派生
实现

方法

WithExistingResourceGroup(IResourceGroup)

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

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

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

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

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

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

适用于