public abstract SyncPoller,Void> beginDelete(String resourceGroupName)
Deletes a resource group. When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations.
Parameters:
resourceGroupName
- The name of the resource group to delete. The name is case insensitive.
public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String forceDeletionTypes, Context context)
Deletes a resource group. When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations.
Parameters:
resourceGroupName
- The name of the resource group to delete. The name is case insensitive.
forceDeletionTypes
- The resource types you want to force delete. Currently, only the following is
supported: forceDeletionTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
context
- The context to associate with this operation.
public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName)
Deletes a resource group. When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations.
Parameters:
resourceGroupName
- The name of the resource group to delete. The name is case insensitive.
public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String forceDeletionTypes)
Deletes a resource group. When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations.
Parameters:
resourceGroupName
- The name of the resource group to delete. The name is case insensitive.
forceDeletionTypes
- The resource types you want to force delete. Currently, only the following is
supported: forceDeletionTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
public abstract Mono> checkExistenceWithResponseAsync(String resourceGroupName)
Checks whether a resource group exists.
Parameters:
resourceGroupName
- The name of the resource group to check. The name is case insensitive.
Returns:
whether resource exists along with Response<T> on successful completion of Mono.
createOrUpdate
public abstract ResourceGroupInner createOrUpdate(String resourceGroupName, ResourceGroupInner parameters)
Creates or updates a resource group.
Parameters:
resourceGroupName
- The name of the resource group to create or update. Can include alphanumeric,
underscore, parentheses, hyphen, period (except at end), and Unicode characters that match the allowed
characters.
parameters
- Parameters supplied to the create or update a resource group.
Returns:
resource group information.
createOrUpdateAsync
public abstract Mono createOrUpdateAsync(String resourceGroupName, ResourceGroupInner parameters)
Creates or updates a resource group.
Parameters:
resourceGroupName
- The name of the resource group to create or update. Can include alphanumeric,
underscore, parentheses, hyphen, period (except at end), and Unicode characters that match the allowed
characters.
parameters
- Parameters supplied to the create or update a resource group.
Returns:
resource group information on successful completion of Mono.
createOrUpdateWithResponse
public abstract Response createOrUpdateWithResponse(String resourceGroupName, ResourceGroupInner parameters, Context context)
Creates or updates a resource group.
Parameters:
resourceGroupName
- The name of the resource group to create or update. Can include alphanumeric,
underscore, parentheses, hyphen, period (except at end), and Unicode characters that match the allowed
characters.
parameters
- Parameters supplied to the create or update a resource group.
context
- The context to associate with this operation.
Returns:
resource group information along with Response<T>.
createOrUpdateWithResponseAsync
public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, ResourceGroupInner parameters)
Creates or updates a resource group.
Parameters:
resourceGroupName
- The name of the resource group to create or update. Can include alphanumeric,
underscore, parentheses, hyphen, period (except at end), and Unicode characters that match the allowed
characters.
parameters
- Parameters supplied to the create or update a resource group.
Returns:
resource group information along with Response<T> on successful completion of Mono.
delete
public abstract void delete(String resourceGroupName)
Deletes a resource group. When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations.
Parameters:
resourceGroupName
- The name of the resource group to delete. The name is case insensitive.
delete
public abstract void delete(String resourceGroupName, String forceDeletionTypes, Context context)
Deletes a resource group. When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations.
Parameters:
resourceGroupName
- The name of the resource group to delete. The name is case insensitive.
forceDeletionTypes
- The resource types you want to force delete. Currently, only the following is
supported: forceDeletionTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
context
- The context to associate with this operation.
deleteAsync
public abstract Mono deleteAsync(String resourceGroupName)
Deletes a resource group. When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations.
Parameters:
resourceGroupName
- The name of the resource group to delete. The name is case insensitive.
Returns:
A Mono that completes when a successful response is received.
deleteAsync
public abstract Mono deleteAsync(String resourceGroupName, String forceDeletionTypes)
Deletes a resource group. When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations.
Parameters:
resourceGroupName
- The name of the resource group to delete. The name is case insensitive.
forceDeletionTypes
- The resource types you want to force delete. Currently, only the following is
supported: forceDeletionTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
Returns:
A Mono that completes when a successful response is received.
deleteWithResponseAsync
public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String forceDeletionTypes)
Deletes a resource group. When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations.
Parameters:
resourceGroupName
- The name of the resource group to delete. The name is case insensitive.
forceDeletionTypes
- The resource types you want to force delete. Currently, only the following is
supported: forceDeletionTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
public abstract Mono> getWithResponseAsync(String resourceGroupName)
Gets a resource group.
Parameters:
resourceGroupName
- The name of the resource group to get. The name is case insensitive.
Returns:
a resource group along with Response<T> on successful completion of Mono.
list
public abstract PagedIterable list()
Gets all the resource groups for a subscription.
Returns:
all the resource groups for a subscription as paginated response with PagedIterable<T>.
list
public abstract PagedIterable list(String filter, Integer top, Context context)
Gets all the resource groups for a subscription.
Parameters:
filter
- The filter to apply on the operation.<br><br>You can filter by tag names and values.
For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'.
top
- The number of results to return. If null is passed, returns all resource groups.
context
- The context to associate with this operation.
Returns:
all the resource groups for a subscription as paginated response with PagedIterable<T>.
listAsync
public abstract PagedFlux listAsync()
Gets all the resource groups for a subscription.
Returns:
all the resource groups for a subscription as paginated response with PagedFlux<T>.
listAsync
public abstract PagedFlux listAsync(String filter, Integer top)
Gets all the resource groups for a subscription.
Parameters:
filter
- The filter to apply on the operation.<br><br>You can filter by tag names and values.
For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'.
top
- The number of results to return. If null is passed, returns all resource groups.
Returns:
all the resource groups for a subscription as paginated response with PagedFlux<T>.
update
public abstract ResourceGroupInner update(String resourceGroupName, ResourceGroupPatchable parameters)
Updates a resource group. Resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource group. If a field is unspecified, the current value is retained.
Parameters:
resourceGroupName
- The name of the resource group to update. The name is case insensitive.
parameters
- Parameters supplied to update a resource group.
Returns:
resource group information.
updateAsync
public abstract Mono updateAsync(String resourceGroupName, ResourceGroupPatchable parameters)
Updates a resource group. Resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource group. If a field is unspecified, the current value is retained.
Parameters:
resourceGroupName
- The name of the resource group to update. The name is case insensitive.
parameters
- Parameters supplied to update a resource group.
Returns:
resource group information on successful completion of Mono.
updateWithResponse
public abstract Response updateWithResponse(String resourceGroupName, ResourceGroupPatchable parameters, Context context)
Updates a resource group. Resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource group. If a field is unspecified, the current value is retained.
Parameters:
resourceGroupName
- The name of the resource group to update. The name is case insensitive.
parameters
- Parameters supplied to update a resource group.
context
- The context to associate with this operation.
Returns:
resource group information along with Response<T>.
updateWithResponseAsync
public abstract Mono> updateWithResponseAsync(String resourceGroupName, ResourceGroupPatchable parameters)
Updates a resource group. Resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource group. If a field is unspecified, the current value is retained.
Parameters:
resourceGroupName
- The name of the resource group to update. The name is case insensitive.
parameters
- Parameters supplied to update a resource group.
Returns:
resource group information along with Response<T> on successful completion of Mono.