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

IWithGroup 接口

定义

允许指定资源组的部署定义。

public interface IWithGroup : Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.ResourceManager.Fluent.Deployment.Definition.IWithTemplate>
type IWithGroup = interface
    interface IWithExistingResourceGroup<IWithTemplate>
Public Interface IWithGroup
Implements IWithExistingResourceGroup(Of IWithTemplate)
派生
实现

方法

WithExistingResourceGroup(IResourceGroup)

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

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

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

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

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

WithNewResourceGroup(String, Region)

创建用于放置部署的新资源组。

适用于