Interface ServicesClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<ServiceResourceInner>,InnerSupportsListing<ServiceResourceInner>
public interface ServicesClient
extends InnerSupportsGet<ServiceResourceInner>, InnerSupportsListing<ServiceResourceInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in ServicesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceResourceInner>,ServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String serviceName, ServiceResourceInner resource) Create a new Service or update an exiting Service.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceResourceInner>,ServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String serviceName, ServiceResourceInner resource, com.azure.core.util.Context context) Create a new Service or update an exiting Service.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServiceResourceInner>,ServiceResourceInner> beginCreateOrUpdateAsync(String resourceGroupName, String serviceName, ServiceResourceInner resource) Create a new Service or update an exiting Service.beginDelete(String resourceGroupName, String serviceName) Operation to delete a Service.beginDelete(String resourceGroupName, String serviceName, com.azure.core.util.Context context) Operation to delete a Service.beginDeleteAsync(String resourceGroupName, String serviceName) Operation to delete a Service.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceResourceInner>,ServiceResourceInner> beginUpdate(String resourceGroupName, String serviceName, ServiceResourceInner resource) Operation to update an exiting Service.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceResourceInner>,ServiceResourceInner> beginUpdate(String resourceGroupName, String serviceName, ServiceResourceInner resource, com.azure.core.util.Context context) Operation to update an exiting Service.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServiceResourceInner>,ServiceResourceInner> beginUpdateAsync(String resourceGroupName, String serviceName, ServiceResourceInner resource) Operation to update an exiting Service.checkNameAvailability(String location, NameAvailabilityParameters availabilityParameters) Checks that the resource name is valid and is not already in use.checkNameAvailabilityAsync(String location, NameAvailabilityParameters availabilityParameters) Checks that the resource name is valid and is not already in use.com.azure.core.http.rest.Response<NameAvailability>checkNameAvailabilityWithResponse(String location, NameAvailabilityParameters availabilityParameters, com.azure.core.util.Context context) Checks that the resource name is valid and is not already in use.Mono<com.azure.core.http.rest.Response<NameAvailability>>checkNameAvailabilityWithResponseAsync(String location, NameAvailabilityParameters availabilityParameters) Checks that the resource name is valid and is not already in use.createOrUpdate(String resourceGroupName, String serviceName, ServiceResourceInner resource) Create a new Service or update an exiting Service.createOrUpdate(String resourceGroupName, String serviceName, ServiceResourceInner resource, com.azure.core.util.Context context) Create a new Service or update an exiting Service.createOrUpdateAsync(String resourceGroupName, String serviceName, ServiceResourceInner resource) Create a new Service or update an exiting Service.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String serviceName, ServiceResourceInner resource) Create a new Service or update an exiting Service.voidOperation to delete a Service.voidOperation to delete a Service.deleteAsync(String resourceGroupName, String serviceName) Operation to delete a Service.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String serviceName) Operation to delete a Service.voiddisableTestEndpoint(String resourceGroupName, String serviceName) Disable test endpoint functionality for a Service.disableTestEndpointAsync(String resourceGroupName, String serviceName) Disable test endpoint functionality for a Service.com.azure.core.http.rest.Response<Void>disableTestEndpointWithResponse(String resourceGroupName, String serviceName, com.azure.core.util.Context context) Disable test endpoint functionality for a Service.disableTestEndpointWithResponseAsync(String resourceGroupName, String serviceName) Disable test endpoint functionality for a Service.enableTestEndpoint(String resourceGroupName, String serviceName) Enable test endpoint functionality for a Service.enableTestEndpointAsync(String resourceGroupName, String serviceName) Enable test endpoint functionality for a Service.com.azure.core.http.rest.Response<TestKeys>enableTestEndpointWithResponse(String resourceGroupName, String serviceName, com.azure.core.util.Context context) Enable test endpoint functionality for a Service.enableTestEndpointWithResponseAsync(String resourceGroupName, String serviceName) Enable test endpoint functionality for a Service.getByResourceGroup(String resourceGroupName, String serviceName) Get a Service and its properties.getByResourceGroupAsync(String resourceGroupName, String serviceName) Get a Service and its properties.com.azure.core.http.rest.Response<ServiceResourceInner>getByResourceGroupWithResponse(String resourceGroupName, String serviceName, com.azure.core.util.Context context) Get a Service and its properties.Mono<com.azure.core.http.rest.Response<ServiceResourceInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String serviceName) Get a Service and its properties.com.azure.core.http.rest.PagedIterable<ServiceResourceInner>list()Handles requests to list all resources in a subscription.com.azure.core.http.rest.PagedIterable<ServiceResourceInner>list(com.azure.core.util.Context context) Handles requests to list all resources in a subscription.com.azure.core.http.rest.PagedFlux<ServiceResourceInner>Handles requests to list all resources in a subscription.com.azure.core.http.rest.PagedIterable<ServiceResourceInner>listByResourceGroup(String resourceGroupName) Handles requests to list all resources in a resource group.com.azure.core.http.rest.PagedIterable<ServiceResourceInner>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Handles requests to list all resources in a resource group.com.azure.core.http.rest.PagedFlux<ServiceResourceInner>listByResourceGroupAsync(String resourceGroupName) Handles requests to list all resources in a resource group.listTestKeys(String resourceGroupName, String serviceName) List test keys for a Service.listTestKeysAsync(String resourceGroupName, String serviceName) List test keys for a Service.com.azure.core.http.rest.Response<TestKeys>listTestKeysWithResponse(String resourceGroupName, String serviceName, com.azure.core.util.Context context) List test keys for a Service.listTestKeysWithResponseAsync(String resourceGroupName, String serviceName) List test keys for a Service.regenerateTestKey(String resourceGroupName, String serviceName, RegenerateTestKeyRequestPayload regenerateTestKeyRequest) Regenerate a test key for a Service.regenerateTestKeyAsync(String resourceGroupName, String serviceName, RegenerateTestKeyRequestPayload regenerateTestKeyRequest) Regenerate a test key for a Service.com.azure.core.http.rest.Response<TestKeys>regenerateTestKeyWithResponse(String resourceGroupName, String serviceName, RegenerateTestKeyRequestPayload regenerateTestKeyRequest, com.azure.core.util.Context context) Regenerate a test key for a Service.regenerateTestKeyWithResponseAsync(String resourceGroupName, String serviceName, RegenerateTestKeyRequestPayload regenerateTestKeyRequest) Regenerate a test key for a Service.update(String resourceGroupName, String serviceName, ServiceResourceInner resource) Operation to update an exiting Service.update(String resourceGroupName, String serviceName, ServiceResourceInner resource, com.azure.core.util.Context context) Operation to update an exiting Service.updateAsync(String resourceGroupName, String serviceName, ServiceResourceInner resource) Operation to update an exiting Service.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>updateWithResponseAsync(String resourceGroupName, String serviceName, ServiceResourceInner resource) Operation to update an exiting Service.
-
Method Details
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<ServiceResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String serviceName) Get a Service and its properties.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.- Returns:
- a Service and its properties along with
Responseon successful completion ofMono. - 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.
-
getByResourceGroupAsync
Get a Service and its properties.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<ServiceResourceInner>- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.- Returns:
- a Service and its properties 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.
-
getByResourceGroup
Get a Service and its properties.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<ServiceResourceInner>- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.- Returns:
- a Service and its properties.
- 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ServiceResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String serviceName, com.azure.core.util.Context context) Get a Service and its properties.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.context- The context to associate with this operation.- Returns:
- a Service and its properties 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serviceName, ServiceResourceInner resource) Create a new Service or update an exiting Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.resource- Parameters for the create or update operation.- Returns:
- service resource along with
Responseon successful completion ofMono. - 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<ServiceResourceInner>,ServiceResourceInner> beginCreateOrUpdateAsync(String resourceGroupName, String serviceName, ServiceResourceInner resource) Create a new Service or update an exiting Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.resource- Parameters for the create or update operation.- Returns:
- the
PollerFluxfor polling of service 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceResourceInner>,ServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String serviceName, ServiceResourceInner resource) Create a new Service or update an exiting Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.resource- Parameters for the create or update operation.- Returns:
- the
SyncPollerfor polling of service 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceResourceInner>,ServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String serviceName, ServiceResourceInner resource, com.azure.core.util.Context context) Create a new Service or update an exiting Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.resource- Parameters for the create or update operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of service 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.
-
createOrUpdateAsync
Mono<ServiceResourceInner> createOrUpdateAsync(String resourceGroupName, String serviceName, ServiceResourceInner resource) Create a new Service or update an exiting Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.resource- Parameters for the create or update operation.- Returns:
- service 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.
-
createOrUpdate
ServiceResourceInner createOrUpdate(String resourceGroupName, String serviceName, ServiceResourceInner resource) Create a new Service or update an exiting Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.resource- Parameters for the create or update operation.- Returns:
- service 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.
-
createOrUpdate
ServiceResourceInner createOrUpdate(String resourceGroupName, String serviceName, ServiceResourceInner resource, com.azure.core.util.Context context) Create a new Service or update an exiting Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.resource- Parameters for the create or update operation.context- The context to associate with this operation.- Returns:
- service 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serviceName) Operation to delete a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.- Returns:
- the
Responseon successful completion ofMono. - 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 serviceName) Operation to delete a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.- Returns:
- the
PollerFluxfor 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 serviceName) Operation to delete a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.- Returns:
- the
SyncPollerfor 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 serviceName, com.azure.core.util.Context context) Operation to delete a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor 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
Operation to delete a Service.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.- Returns:
- A
Monothat 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
Operation to delete a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service 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.
-
delete
Operation to delete a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.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.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String serviceName, ServiceResourceInner resource) Operation to update an exiting Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.resource- Parameters for the update operation.- Returns:
- service resource along with
Responseon successful completion ofMono. - 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<ServiceResourceInner>,ServiceResourceInner> beginUpdateAsync(String resourceGroupName, String serviceName, ServiceResourceInner resource) Operation to update an exiting Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.resource- Parameters for the update operation.- Returns:
- the
PollerFluxfor polling of service 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceResourceInner>,ServiceResourceInner> beginUpdate(String resourceGroupName, String serviceName, ServiceResourceInner resource) Operation to update an exiting Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.resource- Parameters for the update operation.- Returns:
- the
SyncPollerfor polling of service 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceResourceInner>,ServiceResourceInner> beginUpdate(String resourceGroupName, String serviceName, ServiceResourceInner resource, com.azure.core.util.Context context) Operation to update an exiting Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.resource- Parameters for the update operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of service 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.
-
updateAsync
Mono<ServiceResourceInner> updateAsync(String resourceGroupName, String serviceName, ServiceResourceInner resource) Operation to update an exiting Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.resource- Parameters for the update operation.- Returns:
- service 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.
-
update
ServiceResourceInner update(String resourceGroupName, String serviceName, ServiceResourceInner resource) Operation to update an exiting Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.resource- Parameters for the update operation.- Returns:
- service 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.
-
update
ServiceResourceInner update(String resourceGroupName, String serviceName, ServiceResourceInner resource, com.azure.core.util.Context context) Operation to update an exiting Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.resource- Parameters for the update operation.context- The context to associate with this operation.- Returns:
- service 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.
-
listTestKeysWithResponseAsync
Mono<com.azure.core.http.rest.Response<TestKeys>> listTestKeysWithResponseAsync(String resourceGroupName, String serviceName) List test keys for a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.- Returns:
- test keys payload along with
Responseon successful completion ofMono. - 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.
-
listTestKeysAsync
List test keys for a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.- Returns:
- test keys payload 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.
-
listTestKeys
List test keys for a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.- Returns:
- test keys payload.
- 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.
-
listTestKeysWithResponse
com.azure.core.http.rest.Response<TestKeys> listTestKeysWithResponse(String resourceGroupName, String serviceName, com.azure.core.util.Context context) List test keys for a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.context- The context to associate with this operation.- Returns:
- test keys payload 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.
-
regenerateTestKeyWithResponseAsync
Mono<com.azure.core.http.rest.Response<TestKeys>> regenerateTestKeyWithResponseAsync(String resourceGroupName, String serviceName, RegenerateTestKeyRequestPayload regenerateTestKeyRequest) Regenerate a test key for a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.regenerateTestKeyRequest- Parameters for the operation.- Returns:
- test keys payload along with
Responseon successful completion ofMono. - 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.
-
regenerateTestKeyAsync
Mono<TestKeys> regenerateTestKeyAsync(String resourceGroupName, String serviceName, RegenerateTestKeyRequestPayload regenerateTestKeyRequest) Regenerate a test key for a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.regenerateTestKeyRequest- Parameters for the operation.- Returns:
- test keys payload 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.
-
regenerateTestKey
TestKeys regenerateTestKey(String resourceGroupName, String serviceName, RegenerateTestKeyRequestPayload regenerateTestKeyRequest) Regenerate a test key for a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.regenerateTestKeyRequest- Parameters for the operation.- Returns:
- test keys payload.
- 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.
-
regenerateTestKeyWithResponse
com.azure.core.http.rest.Response<TestKeys> regenerateTestKeyWithResponse(String resourceGroupName, String serviceName, RegenerateTestKeyRequestPayload regenerateTestKeyRequest, com.azure.core.util.Context context) Regenerate a test key for a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.regenerateTestKeyRequest- Parameters for the operation.context- The context to associate with this operation.- Returns:
- test keys payload 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.
-
disableTestEndpointWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> disableTestEndpointWithResponseAsync(String resourceGroupName, String serviceName) Disable test endpoint functionality for a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.- Returns:
- the
Responseon successful completion ofMono. - 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.
-
disableTestEndpointAsync
Disable test endpoint functionality for a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.- Returns:
- A
Monothat 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.
-
disableTestEndpoint
Disable test endpoint functionality for a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service 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.
-
disableTestEndpointWithResponse
com.azure.core.http.rest.Response<Void> disableTestEndpointWithResponse(String resourceGroupName, String serviceName, com.azure.core.util.Context context) Disable test endpoint functionality for a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.context- The context to associate with this operation.- Returns:
- the
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.
-
enableTestEndpointWithResponseAsync
Mono<com.azure.core.http.rest.Response<TestKeys>> enableTestEndpointWithResponseAsync(String resourceGroupName, String serviceName) Enable test endpoint functionality for a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.- Returns:
- test keys payload along with
Responseon successful completion ofMono. - 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.
-
enableTestEndpointAsync
Enable test endpoint functionality for a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.- Returns:
- test keys payload 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.
-
enableTestEndpoint
Enable test endpoint functionality for a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.- Returns:
- test keys payload.
- 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.
-
enableTestEndpointWithResponse
com.azure.core.http.rest.Response<TestKeys> enableTestEndpointWithResponse(String resourceGroupName, String serviceName, com.azure.core.util.Context context) Enable test endpoint functionality for a Service.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.context- The context to associate with this operation.- Returns:
- test keys payload 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.
-
checkNameAvailabilityWithResponseAsync
Mono<com.azure.core.http.rest.Response<NameAvailability>> checkNameAvailabilityWithResponseAsync(String location, NameAvailabilityParameters availabilityParameters) Checks that the resource name is valid and is not already in use.- Parameters:
location- the region.availabilityParameters- Parameters supplied to the operation.- Returns:
- name availability result payload along with
Responseon successful completion ofMono. - 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.
-
checkNameAvailabilityAsync
Mono<NameAvailability> checkNameAvailabilityAsync(String location, NameAvailabilityParameters availabilityParameters) Checks that the resource name is valid and is not already in use.- Parameters:
location- the region.availabilityParameters- Parameters supplied to the operation.- Returns:
- name availability result payload 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.
-
checkNameAvailability
NameAvailability checkNameAvailability(String location, NameAvailabilityParameters availabilityParameters) Checks that the resource name is valid and is not already in use.- Parameters:
location- the region.availabilityParameters- Parameters supplied to the operation.- Returns:
- name availability result payload.
- 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.
-
checkNameAvailabilityWithResponse
com.azure.core.http.rest.Response<NameAvailability> checkNameAvailabilityWithResponse(String location, NameAvailabilityParameters availabilityParameters, com.azure.core.util.Context context) Checks that the resource name is valid and is not already in use.- Parameters:
location- the region.availabilityParameters- Parameters supplied to the operation.context- The context to associate with this operation.- Returns:
- name availability result payload 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<ServiceResourceInner> listAsync()Handles requests to list all resources in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<ServiceResourceInner>- Returns:
- object that includes an array of Service resources and a possible link for next set 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<ServiceResourceInner> list()Handles requests to list all resources in a subscription.- Specified by:
listin interfaceInnerSupportsListing<ServiceResourceInner>- Returns:
- object that includes an array of Service resources and a possible link for next set 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<ServiceResourceInner> list(com.azure.core.util.Context context) Handles requests to list all resources in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- object that includes an array of Service resources and a possible link for next set 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<ServiceResourceInner> listByResourceGroupAsync(String resourceGroupName) Handles requests to list all resources in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<ServiceResourceInner>- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.- Returns:
- object that includes an array of Service resources and a possible link for next set 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<ServiceResourceInner> listByResourceGroup(String resourceGroupName) Handles requests to list all resources in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<ServiceResourceInner>- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.- Returns:
- object that includes an array of Service resources and a possible link for next set 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<ServiceResourceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Handles requests to list all resources in a resource group.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.context- The context to associate with this operation.- Returns:
- object that includes an array of Service resources and a possible link for next set 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.
-