Sdílet prostřednictvím


IWithGroupAndRegion<T> Interface

Definition

A resource group definition allowing resource group to be selected. Region has to be specified explictly to create a new resource group.

public interface IWithGroupAndRegion<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.IWithNewResourceGroupWithRegion<T>
type IWithGroupAndRegion<'T> = interface
    interface IWithExistingResourceGroup<'T>
    interface IWithNewResourceGroupWithRegion<'T>
    interface IWithCreatableResourceGroup<'T>
Public Interface IWithGroupAndRegion(Of T)
Implements IWithCreatableResourceGroup(Of T), IWithExistingResourceGroup(Of T), IWithNewResourceGroupWithRegion(Of T)

Type Parameters

T

the next stage of the resource definition

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(ICreatable<IResourceGroup>)

Creates a new resource group to put the resource in, based on the definition specified.

(Inherited from IWithCreatableResourceGroup<T>)
WithNewResourceGroup(Region)

Creates a new resource group to put the resource in. The group will be created in the same location as the resource. The group's name is automatically derived from the resource's name.

(Inherited from IWithNewResourceGroupWithRegion<T>)
WithNewResourceGroup(String, Region)

Creates a new resource group to put the resource in. The group will be created in the same location as the resource.

(Inherited from IWithNewResourceGroupWithRegion<T>)

Applies to