Interface ResourceGroups
- All Superinterfaces:
SupportsBatchCreation<ResourceGroup>,SupportsBeginDeletingByName,SupportsCreating<ResourceGroup.DefinitionStages.Blank>,SupportsDeletingByName,SupportsGettingByName<ResourceGroup>,SupportsListing<ResourceGroup>,SupportsListingByTag<ResourceGroup>
public interface ResourceGroups
extends SupportsListing<ResourceGroup>, SupportsListingByTag<ResourceGroup>, SupportsGettingByName<ResourceGroup>, SupportsCreating<ResourceGroup.DefinitionStages.Blank>, SupportsDeletingByName, SupportsBeginDeletingByName, SupportsBatchCreation<ResourceGroup>
Entry point to resource group management API.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancheckExistence(String name) Deprecated.Use contain() instead.booleanChecks whether resource group exists.voiddeleteByName(String name, Collection<ForceDeletionResourceType> forceDeletionResourceTypes) Deletes a resource from Azure, identifying it by its resource name.rx.CompletabledeleteByNameAsync(String name, Collection<ForceDeletionResourceType> forceDeletionResourceTypes) Asynchronously delete a resource from Azure, identifying it by its resource name.com.microsoft.rest.ServiceFuture<Void>deleteByNameAsync(String name, Collection<ForceDeletionResourceType> forceDeletionResourceTypes, com.microsoft.rest.ServiceCallback<Void> callback) Asynchronously delete a resource from Azure, identifying it by its resource name.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation
create, create, createAsync, createAsync, createAsync, createAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsBeginDeletingByName
beginDeleteByName, beginDeleteByNameAsync, beginDeleteByNameAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating
defineMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingByName
deleteByName, deleteByNameAsync, deleteByNameAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByName
getByNameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing
list, listAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsListingByTag
listByTag, listByTagAsync
-
Method Details
-
checkExistence
Deprecated.Use contain() instead.Checks whether resource group exists.- Parameters:
name- The name of the resource group to check. The name is case insensitive- Returns:
- true if the resource group exists; false otherwise
-
contain
Checks whether resource group exists.- Parameters:
name- the name (case insensitive) of the resource group to check for- Returns:
- true of exists, otherwise false
-
deleteByName
@Beta(V1_38_0) void deleteByName(String name, Collection<ForceDeletionResourceType> forceDeletionResourceTypes) Deletes a resource from Azure, identifying it by its resource name.- Parameters:
name- the name of the resource to deleteforceDeletionResourceTypes- resource types for force deletion
-
deleteByNameAsync
@Beta(V1_38_0) com.microsoft.rest.ServiceFuture<Void> deleteByNameAsync(String name, Collection<ForceDeletionResourceType> forceDeletionResourceTypes, com.microsoft.rest.ServiceCallback<Void> callback) Asynchronously delete a resource from Azure, identifying it by its resource name.- Parameters:
name- the name of the resource to deleteforceDeletionResourceTypes- resource types for force deletioncallback- the callback on success or failure- Returns:
- a handle to cancel the request
-
deleteByNameAsync
@Beta(V1_38_0) rx.Completable deleteByNameAsync(String name, Collection<ForceDeletionResourceType> forceDeletionResourceTypes) Asynchronously delete a resource from Azure, identifying it by its resource name.- Parameters:
name- the name of the resource to deleteforceDeletionResourceTypes- resource types for force deletion- Returns:
- a representation of the deferred computation of this call
-