Interface ResourcesClient

All Superinterfaces:
InnerSupportsListing<GenericResourceExpandedInner>

public interface ResourcesClient extends InnerSupportsListing<GenericResourceExpandedInner>
An instance of this class provides access to all the operations defined in ResourcesClient.
  • Method Details

    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<GenericResourceExpandedInner> listByResourceGroupAsync(String resourceGroupName, String filter, String expand, Integer top)
      Get all the resources for a resource group.
      Parameters:
      resourceGroupName - The resource group with the resources to get.
      filter - The filter to apply on the operation.<br><br>The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.<br><br>For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'<br><br>You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.<br><br>For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)<br><br>You can link more than one substringof together by adding and/or operators.<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'. When you filter by a tag name and value, the tags for each resource are not returned in the results.<br><br>You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId.
      expand - Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`.
      top - The number of results to return. If null is passed, returns all resources.
      Returns:
      all the resources for a resource group as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<GenericResourceExpandedInner> listByResourceGroupAsync(String resourceGroupName)
      Get all the resources for a resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<GenericResourceExpandedInner>
      Parameters:
      resourceGroupName - The resource group with the resources to get.
      Returns:
      all the resources for a resource group as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<GenericResourceExpandedInner> listByResourceGroup(String resourceGroupName)
      Get all the resources for a resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<GenericResourceExpandedInner>
      Parameters:
      resourceGroupName - The resource group with the resources to get.
      Returns:
      all the resources for a resource group as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<GenericResourceExpandedInner> listByResourceGroup(String resourceGroupName, String filter, String expand, Integer top, com.azure.core.util.Context context)
      Get all the resources for a resource group.
      Parameters:
      resourceGroupName - The resource group with the resources to get.
      filter - The filter to apply on the operation.<br><br>The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.<br><br>For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'<br><br>You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.<br><br>For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)<br><br>You can link more than one substringof together by adding and/or operators.<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'. When you filter by a tag name and value, the tags for each resource are not returned in the results.<br><br>You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId.
      expand - Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`.
      top - The number of results to return. If null is passed, returns all resources.
      context - The context to associate with this operation.
      Returns:
      all the resources for a resource group as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • moveResourcesWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> moveResourcesWithResponseAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)
      Moves resources from one resource group to another resource group. The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes.
      Parameters:
      sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be moved.
      parameters - Parameters for moving resources.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginMoveResourcesAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginMoveResourcesAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)
      Moves resources from one resource group to another resource group. The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes.
      Parameters:
      sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be moved.
      parameters - Parameters for moving resources.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginMoveResources

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters)
      Moves resources from one resource group to another resource group. The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes.
      Parameters:
      sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be moved.
      parameters - Parameters for moving resources.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginMoveResources

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters, com.azure.core.util.Context context)
      Moves resources from one resource group to another resource group. The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes.
      Parameters:
      sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be moved.
      parameters - Parameters for moving resources.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • moveResourcesAsync

      Mono<Void> moveResourcesAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)
      Moves resources from one resource group to another resource group. The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes.
      Parameters:
      sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be moved.
      parameters - Parameters for moving resources.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • moveResources

      void moveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters)
      Moves resources from one resource group to another resource group. The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes.
      Parameters:
      sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be moved.
      parameters - Parameters for moving resources.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • moveResources

      void moveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters, com.azure.core.util.Context context)
      Moves resources from one resource group to another resource group. The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes.
      Parameters:
      sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be moved.
      parameters - Parameters for moving resources.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • validateMoveResourcesWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> validateMoveResourcesWithResponseAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)
      Validates whether resources can be moved from one resource group to another resource group. This operation checks whether the specified resources can be moved to the target. The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation.
      Parameters:
      sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be validated for move.
      parameters - Parameters for moving resources.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginValidateMoveResourcesAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginValidateMoveResourcesAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)
      Validates whether resources can be moved from one resource group to another resource group. This operation checks whether the specified resources can be moved to the target. The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation.
      Parameters:
      sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be validated for move.
      parameters - Parameters for moving resources.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginValidateMoveResources

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginValidateMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters)
      Validates whether resources can be moved from one resource group to another resource group. This operation checks whether the specified resources can be moved to the target. The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation.
      Parameters:
      sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be validated for move.
      parameters - Parameters for moving resources.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginValidateMoveResources

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginValidateMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters, com.azure.core.util.Context context)
      Validates whether resources can be moved from one resource group to another resource group. This operation checks whether the specified resources can be moved to the target. The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation.
      Parameters:
      sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be validated for move.
      parameters - Parameters for moving resources.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • validateMoveResourcesAsync

      Mono<Void> validateMoveResourcesAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)
      Validates whether resources can be moved from one resource group to another resource group. This operation checks whether the specified resources can be moved to the target. The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation.
      Parameters:
      sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be validated for move.
      parameters - Parameters for moving resources.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • validateMoveResources

      void validateMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters)
      Validates whether resources can be moved from one resource group to another resource group. This operation checks whether the specified resources can be moved to the target. The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation.
      Parameters:
      sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be validated for move.
      parameters - Parameters for moving resources.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • validateMoveResources

      void validateMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters, com.azure.core.util.Context context)
      Validates whether resources can be moved from one resource group to another resource group. This operation checks whether the specified resources can be moved to the target. The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation.
      Parameters:
      sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be validated for move.
      parameters - Parameters for moving resources.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listAsync

      com.azure.core.http.rest.PagedFlux<GenericResourceExpandedInner> listAsync(String filter, String expand, Integer top)
      Get all the resources in a subscription.
      Parameters:
      filter - The filter to apply on the operation.<br><br>Filter comparison operators include `eq` (equals) and `ne` (not equals) and may be used with the following properties: `location`, `resourceType`, `name`, `resourceGroup`, `identity`, `identity/principalId`, `plan`, `plan/publisher`, `plan/product`, `plan/name`, `plan/version`, and `plan/promotionCode`.<br><br>For example, to filter by a resource type, use `$filter=resourceType eq 'Microsoft.Network/virtualNetworks'`<br><br><br>`substringof(value, property)` can be used to filter for substrings of the following currently-supported properties: `name` and `resourceGroup`<br><br>For example, to get all resources with 'demo' anywhere in the resource name, use `$filter=substringof('demo', name)`<br><br>Multiple substring operations can also be combined using `and`/`or` operators.<br><br>Note that any truncated number of results queried via `$top` may also not be compatible when using a filter.<br><br><br>Resources can be filtered by tag names and values. For example, to filter for a tag name and value, use `$filter=tagName eq 'tag1' and tagValue eq 'Value1'`. Note that when resources are filtered by tag name and value, <b>the original tags for each resource will not be returned in the results.</b> Any list of additional properties queried via `$expand` may also not be compatible when filtering by tag names/values. <br><br>For tag names only, resources can be filtered by prefix using the following syntax: `$filter=startswith(tagName, 'depart')`. This query will return all resources with a tag name prefixed by the phrase `depart` (i.e.`department`, `departureDate`, `departureTime`, etc.)<br><br><br>Note that some properties can be combined when filtering resources, which include the following: `substringof() and/or resourceType`, `plan and plan/publisher and plan/name`, and `identity and identity/principalId`.
      expand - Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`.
      top - The number of recommendations per page if a paged version of this API is being used.
      Returns:
      all the resources in a subscription as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listAsync

      com.azure.core.http.rest.PagedFlux<GenericResourceExpandedInner> listAsync()
      Get all the resources in a subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<GenericResourceExpandedInner>
      Returns:
      all the resources in a subscription as paginated response with PagedFlux.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<GenericResourceExpandedInner> list()
      Get all the resources in a subscription.
      Specified by:
      list in interface InnerSupportsListing<GenericResourceExpandedInner>
      Returns:
      all the resources in a subscription as paginated response with PagedIterable.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<GenericResourceExpandedInner> list(String filter, String expand, Integer top, com.azure.core.util.Context context)
      Get all the resources in a subscription.
      Parameters:
      filter - The filter to apply on the operation.<br><br>Filter comparison operators include `eq` (equals) and `ne` (not equals) and may be used with the following properties: `location`, `resourceType`, `name`, `resourceGroup`, `identity`, `identity/principalId`, `plan`, `plan/publisher`, `plan/product`, `plan/name`, `plan/version`, and `plan/promotionCode`.<br><br>For example, to filter by a resource type, use `$filter=resourceType eq 'Microsoft.Network/virtualNetworks'`<br><br><br>`substringof(value, property)` can be used to filter for substrings of the following currently-supported properties: `name` and `resourceGroup`<br><br>For example, to get all resources with 'demo' anywhere in the resource name, use `$filter=substringof('demo', name)`<br><br>Multiple substring operations can also be combined using `and`/`or` operators.<br><br>Note that any truncated number of results queried via `$top` may also not be compatible when using a filter.<br><br><br>Resources can be filtered by tag names and values. For example, to filter for a tag name and value, use `$filter=tagName eq 'tag1' and tagValue eq 'Value1'`. Note that when resources are filtered by tag name and value, <b>the original tags for each resource will not be returned in the results.</b> Any list of additional properties queried via `$expand` may also not be compatible when filtering by tag names/values. <br><br>For tag names only, resources can be filtered by prefix using the following syntax: `$filter=startswith(tagName, 'depart')`. This query will return all resources with a tag name prefixed by the phrase `depart` (i.e.`department`, `departureDate`, `departureTime`, etc.)<br><br><br>Note that some properties can be combined when filtering resources, which include the following: `substringof() and/or resourceType`, `plan and plan/publisher and plan/name`, and `identity and identity/principalId`.
      expand - Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`.
      top - The number of recommendations per page if a paged version of this API is being used.
      context - The context to associate with this operation.
      Returns:
      all the resources in a subscription as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkExistenceWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Boolean>> checkExistenceWithResponseAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)
      Checks whether a resource exists.
      Parameters:
      resourceGroupName - The name of the resource group containing the resource to check. The name is case insensitive.
      resourceProviderNamespace - The resource provider of the resource to check.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type.
      resourceName - The name of the resource to check whether it exists.
      apiVersion - The API version to use for the operation.
      Returns:
      whether resource exists along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkExistenceAsync

      Mono<Boolean> checkExistenceAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)
      Checks whether a resource exists.
      Parameters:
      resourceGroupName - The name of the resource group containing the resource to check. The name is case insensitive.
      resourceProviderNamespace - The resource provider of the resource to check.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type.
      resourceName - The name of the resource to check whether it exists.
      apiVersion - The API version to use for the operation.
      Returns:
      whether resource exists on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkExistenceWithResponse

      com.azure.core.http.rest.Response<Boolean> checkExistenceWithResponse(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, com.azure.core.util.Context context)
      Checks whether a resource exists.
      Parameters:
      resourceGroupName - The name of the resource group containing the resource to check. The name is case insensitive.
      resourceProviderNamespace - The resource provider of the resource to check.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type.
      resourceName - The name of the resource to check whether it exists.
      apiVersion - The API version to use for the operation.
      context - The context to associate with this operation.
      Returns:
      whether resource exists along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkExistence

      boolean checkExistence(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)
      Checks whether a resource exists.
      Parameters:
      resourceGroupName - The name of the resource group containing the resource to check. The name is case insensitive.
      resourceProviderNamespace - The resource provider of the resource to check.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type.
      resourceName - The name of the resource to check whether it exists.
      apiVersion - The API version to use for the operation.
      Returns:
      whether resource exists.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)
      Deletes a resource.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource to delete. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type.
      resourceName - The name of the resource to delete.
      apiVersion - The API version to use for the operation.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)
      Deletes a resource.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource to delete. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type.
      resourceName - The name of the resource to delete.
      apiVersion - The API version to use for the operation.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)
      Deletes a resource.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource to delete. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type.
      resourceName - The name of the resource to delete.
      apiVersion - The API version to use for the operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, com.azure.core.util.Context context)
      Deletes a resource.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource to delete. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type.
      resourceName - The name of the resource to delete.
      apiVersion - The API version to use for the operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)
      Deletes a resource.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource to delete. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type.
      resourceName - The name of the resource to delete.
      apiVersion - The API version to use for the operation.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)
      Deletes a resource.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource to delete. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type.
      resourceName - The name of the resource to delete.
      apiVersion - The API version to use for the operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, com.azure.core.util.Context context)
      Deletes a resource.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource to delete. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type.
      resourceName - The name of the resource to delete.
      apiVersion - The API version to use for the operation.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)
      Creates a resource.
      Parameters:
      resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource to create.
      resourceName - The name of the resource to create.
      apiVersion - The API version to use for the operation.
      parameters - Parameters for creating or updating the resource.
      Returns:
      resource information along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GenericResourceInner>,GenericResourceInner> beginCreateOrUpdateAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)
      Creates a resource.
      Parameters:
      resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource to create.
      resourceName - The name of the resource to create.
      apiVersion - The API version to use for the operation.
      parameters - Parameters for creating or updating the resource.
      Returns:
      the PollerFlux for polling of resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GenericResourceInner>,GenericResourceInner> beginCreateOrUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)
      Creates a resource.
      Parameters:
      resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource to create.
      resourceName - The name of the resource to create.
      apiVersion - The API version to use for the operation.
      parameters - Parameters for creating or updating the resource.
      Returns:
      the SyncPoller for polling of resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GenericResourceInner>,GenericResourceInner> beginCreateOrUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters, com.azure.core.util.Context context)
      Creates a resource.
      Parameters:
      resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource to create.
      resourceName - The name of the resource to create.
      apiVersion - The API version to use for the operation.
      parameters - Parameters for creating or updating the resource.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateAsync

      Mono<GenericResourceInner> createOrUpdateAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)
      Creates a resource.
      Parameters:
      resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource to create.
      resourceName - The name of the resource to create.
      apiVersion - The API version to use for the operation.
      parameters - Parameters for creating or updating the resource.
      Returns:
      resource information on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      GenericResourceInner createOrUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)
      Creates a resource.
      Parameters:
      resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource to create.
      resourceName - The name of the resource to create.
      apiVersion - The API version to use for the operation.
      parameters - Parameters for creating or updating the resource.
      Returns:
      resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      GenericResourceInner createOrUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters, com.azure.core.util.Context context)
      Creates a resource.
      Parameters:
      resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource to create.
      resourceName - The name of the resource to create.
      apiVersion - The API version to use for the operation.
      parameters - Parameters for creating or updating the resource.
      context - The context to associate with this operation.
      Returns:
      resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)
      Updates a resource.
      Parameters:
      resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource to update.
      resourceName - The name of the resource to update.
      apiVersion - The API version to use for the operation.
      parameters - Parameters for updating the resource.
      Returns:
      resource information along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GenericResourceInner>,GenericResourceInner> beginUpdateAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)
      Updates a resource.
      Parameters:
      resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource to update.
      resourceName - The name of the resource to update.
      apiVersion - The API version to use for the operation.
      parameters - Parameters for updating the resource.
      Returns:
      the PollerFlux for polling of resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GenericResourceInner>,GenericResourceInner> beginUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)
      Updates a resource.
      Parameters:
      resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource to update.
      resourceName - The name of the resource to update.
      apiVersion - The API version to use for the operation.
      parameters - Parameters for updating the resource.
      Returns:
      the SyncPoller for polling of resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GenericResourceInner>,GenericResourceInner> beginUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters, com.azure.core.util.Context context)
      Updates a resource.
      Parameters:
      resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource to update.
      resourceName - The name of the resource to update.
      apiVersion - The API version to use for the operation.
      parameters - Parameters for updating the resource.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAsync

      Mono<GenericResourceInner> updateAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)
      Updates a resource.
      Parameters:
      resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource to update.
      resourceName - The name of the resource to update.
      apiVersion - The API version to use for the operation.
      parameters - Parameters for updating the resource.
      Returns:
      resource information on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      GenericResourceInner update(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)
      Updates a resource.
      Parameters:
      resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource to update.
      resourceName - The name of the resource to update.
      apiVersion - The API version to use for the operation.
      parameters - Parameters for updating the resource.
      Returns:
      resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      GenericResourceInner update(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters, com.azure.core.util.Context context)
      Updates a resource.
      Parameters:
      resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource to update.
      resourceName - The name of the resource to update.
      apiVersion - The API version to use for the operation.
      parameters - Parameters for updating the resource.
      context - The context to associate with this operation.
      Returns:
      resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<GenericResourceInner>> getWithResponseAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)
      Gets a resource.
      Parameters:
      resourceGroupName - The name of the resource group containing the resource to get. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource.
      resourceName - The name of the resource to get.
      apiVersion - The API version to use for the operation.
      Returns:
      a resource along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getAsync

      Mono<GenericResourceInner> getAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)
      Gets a resource.
      Parameters:
      resourceGroupName - The name of the resource group containing the resource to get. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource.
      resourceName - The name of the resource to get.
      apiVersion - The API version to use for the operation.
      Returns:
      a resource on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponse

      com.azure.core.http.rest.Response<GenericResourceInner> getWithResponse(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, com.azure.core.util.Context context)
      Gets a resource.
      Parameters:
      resourceGroupName - The name of the resource group containing the resource to get. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource.
      resourceName - The name of the resource to get.
      apiVersion - The API version to use for the operation.
      context - The context to associate with this operation.
      Returns:
      a resource along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      GenericResourceInner get(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)
      Gets a resource.
      Parameters:
      resourceGroupName - The name of the resource group containing the resource to get. The name is case insensitive.
      resourceProviderNamespace - The namespace of the resource provider.
      parentResourcePath - The parent resource identity.
      resourceType - The resource type of the resource.
      resourceName - The name of the resource to get.
      apiVersion - The API version to use for the operation.
      Returns:
      a resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkExistenceByIdWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Boolean>> checkExistenceByIdWithResponseAsync(String resourceId, String apiVersion)
      Checks by ID whether a resource exists. This API currently works only for a limited set of Resource providers. In the event that a Resource provider does not implement this API, ARM will respond with a 405. The alternative then is to use the GET API to check for the existence of the resource.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      Returns:
      whether resource exists along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkExistenceByIdAsync

      Mono<Boolean> checkExistenceByIdAsync(String resourceId, String apiVersion)
      Checks by ID whether a resource exists. This API currently works only for a limited set of Resource providers. In the event that a Resource provider does not implement this API, ARM will respond with a 405. The alternative then is to use the GET API to check for the existence of the resource.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      Returns:
      whether resource exists on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkExistenceByIdWithResponse

      com.azure.core.http.rest.Response<Boolean> checkExistenceByIdWithResponse(String resourceId, String apiVersion, com.azure.core.util.Context context)
      Checks by ID whether a resource exists. This API currently works only for a limited set of Resource providers. In the event that a Resource provider does not implement this API, ARM will respond with a 405. The alternative then is to use the GET API to check for the existence of the resource.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      context - The context to associate with this operation.
      Returns:
      whether resource exists along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkExistenceById

      boolean checkExistenceById(String resourceId, String apiVersion)
      Checks by ID whether a resource exists. This API currently works only for a limited set of Resource providers. In the event that a Resource provider does not implement this API, ARM will respond with a 405. The alternative then is to use the GET API to check for the existence of the resource.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      Returns:
      whether resource exists.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteByIdWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteByIdWithResponseAsync(String resourceId, String apiVersion)
      Deletes a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteByIdAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteByIdAsync(String resourceId, String apiVersion)
      Deletes a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteById

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteById(String resourceId, String apiVersion)
      Deletes a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteById

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteById(String resourceId, String apiVersion, com.azure.core.util.Context context)
      Deletes a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteByIdAsync

      Mono<Void> deleteByIdAsync(String resourceId, String apiVersion)
      Deletes a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteById

      void deleteById(String resourceId, String apiVersion)
      Deletes a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteById

      void deleteById(String resourceId, String apiVersion, com.azure.core.util.Context context)
      Deletes a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateByIdWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateByIdWithResponseAsync(String resourceId, String apiVersion, GenericResourceInner parameters)
      Create a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      parameters - Create or update resource parameters.
      Returns:
      resource information along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdateByIdAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GenericResourceInner>,GenericResourceInner> beginCreateOrUpdateByIdAsync(String resourceId, String apiVersion, GenericResourceInner parameters)
      Create a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      parameters - Create or update resource parameters.
      Returns:
      the PollerFlux for polling of resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdateById

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GenericResourceInner>,GenericResourceInner> beginCreateOrUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters)
      Create a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      parameters - Create or update resource parameters.
      Returns:
      the SyncPoller for polling of resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdateById

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GenericResourceInner>,GenericResourceInner> beginCreateOrUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters, com.azure.core.util.Context context)
      Create a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      parameters - Create or update resource parameters.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateByIdAsync

      Mono<GenericResourceInner> createOrUpdateByIdAsync(String resourceId, String apiVersion, GenericResourceInner parameters)
      Create a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      parameters - Create or update resource parameters.
      Returns:
      resource information on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateById

      GenericResourceInner createOrUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters)
      Create a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      parameters - Create or update resource parameters.
      Returns:
      resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateById

      GenericResourceInner createOrUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters, com.azure.core.util.Context context)
      Create a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      parameters - Create or update resource parameters.
      context - The context to associate with this operation.
      Returns:
      resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateByIdWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateByIdWithResponseAsync(String resourceId, String apiVersion, GenericResourceInner parameters)
      Updates a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      parameters - Update resource parameters.
      Returns:
      resource information along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdateByIdAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GenericResourceInner>,GenericResourceInner> beginUpdateByIdAsync(String resourceId, String apiVersion, GenericResourceInner parameters)
      Updates a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      parameters - Update resource parameters.
      Returns:
      the PollerFlux for polling of resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdateById

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GenericResourceInner>,GenericResourceInner> beginUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters)
      Updates a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      parameters - Update resource parameters.
      Returns:
      the SyncPoller for polling of resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdateById

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GenericResourceInner>,GenericResourceInner> beginUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters, com.azure.core.util.Context context)
      Updates a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      parameters - Update resource parameters.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateByIdAsync

      Mono<GenericResourceInner> updateByIdAsync(String resourceId, String apiVersion, GenericResourceInner parameters)
      Updates a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      parameters - Update resource parameters.
      Returns:
      resource information on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateById

      GenericResourceInner updateById(String resourceId, String apiVersion, GenericResourceInner parameters)
      Updates a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      parameters - Update resource parameters.
      Returns:
      resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateById

      GenericResourceInner updateById(String resourceId, String apiVersion, GenericResourceInner parameters, com.azure.core.util.Context context)
      Updates a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      parameters - Update resource parameters.
      context - The context to associate with this operation.
      Returns:
      resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByIdWithResponseAsync

      Mono<com.azure.core.http.rest.Response<GenericResourceInner>> getByIdWithResponseAsync(String resourceId, String apiVersion)
      Gets a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      Returns:
      a resource by ID along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByIdAsync

      Mono<GenericResourceInner> getByIdAsync(String resourceId, String apiVersion)
      Gets a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      Returns:
      a resource by ID on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<GenericResourceInner> getByIdWithResponse(String resourceId, String apiVersion, com.azure.core.util.Context context)
      Gets a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      context - The context to associate with this operation.
      Returns:
      a resource by ID along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getById

      GenericResourceInner getById(String resourceId, String apiVersion)
      Gets a resource by ID.
      Parameters:
      resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
      apiVersion - The API version to use for the operation.
      Returns:
      a resource by ID.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.