GroupableResource.DefinitionStages.WithNewResourceGroup<T> Interface
Type Parameters
- T
the next stage of the definition
Implements
public static interface GroupableResource.DefinitionStages.WithNewResourceGroup
extends WithCreatableResourceGroup<T>
A resource definition allowing a new resource group to be created in the same region as groupable resource.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract T |
withNewResourceGroup()
Creates a new resource group to put the resource in. |
abstract T |
withNewResourceGroup(String name)
Creates a new resource group to put the resource in. |
Method Details
withNewResourceGroup
public abstract T withNewResourceGroup()
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.
Returns:
withNewResourceGroup
public abstract T withNewResourceGroup(String name)
Creates a new resource group to put the resource in.
The group will be created in the same location as the resource.
Parameters:
Returns:
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per