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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String serviceName)Operation to delete a Service.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void>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.NameAvailabilitycheckNameAvailability(String location, NameAvailabilityParameters availabilityParameters)Checks that the resource name is valid and is not already in use.Mono<NameAvailability>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.ServiceResourceInnercreateOrUpdate(String resourceGroupName, String serviceName, ServiceResourceInner resource)Create a new Service or update an exiting Service.ServiceResourceInnercreateOrUpdate(String resourceGroupName, String serviceName, ServiceResourceInner resource, com.azure.core.util.Context context)Create a new Service or update an exiting Service.Mono<ServiceResourceInner>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.voiddelete(String resourceGroupName, String serviceName)Operation to delete a Service.voiddelete(String resourceGroupName, String serviceName, com.azure.core.util.Context context)Operation to delete a Service.Mono<Void>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.Mono<Void>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.Mono<com.azure.core.http.rest.Response<Void>>disableTestEndpointWithResponseAsync(String resourceGroupName, String serviceName)Disable test endpoint functionality for a Service.TestKeysenableTestEndpoint(String resourceGroupName, String serviceName)Enable test endpoint functionality for a Service.Mono<TestKeys>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.Mono<com.azure.core.http.rest.Response<TestKeys>>enableTestEndpointWithResponseAsync(String resourceGroupName, String serviceName)Enable test endpoint functionality for a Service.ServiceResourceInnergetByResourceGroup(String resourceGroupName, String serviceName)Get a Service and its properties.Mono<ServiceResourceInner>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>listAsync()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.TestKeyslistTestKeys(String resourceGroupName, String serviceName)List test keys for a Service.Mono<TestKeys>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.Mono<com.azure.core.http.rest.Response<TestKeys>>listTestKeysWithResponseAsync(String resourceGroupName, String serviceName)List test keys for a Service.TestKeysregenerateTestKey(String resourceGroupName, String serviceName, TestKeyType keyType)Regenerate a test key for a Service.Mono<TestKeys>regenerateTestKeyAsync(String resourceGroupName, String serviceName, TestKeyType keyType)Regenerate a test key for a Service.com.azure.core.http.rest.Response<TestKeys>regenerateTestKeyWithResponse(String resourceGroupName, String serviceName, TestKeyType keyType, com.azure.core.util.Context context)Regenerate a test key for a Service.Mono<com.azure.core.http.rest.Response<TestKeys>>regenerateTestKeyWithResponseAsync(String resourceGroupName, String serviceName, TestKeyType keyType)Regenerate a test key for a Service.ServiceResourceInnerupdate(String resourceGroupName, String serviceName, ServiceResourceInner resource)Operation to update an exiting Service.ServiceResourceInnerupdate(String resourceGroupName, String serviceName, ServiceResourceInner resource, com.azure.core.util.Context context)Operation to update an exiting Service.Mono<ServiceResourceInner>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 Detail
-
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.
- 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
Mono<ServiceResourceInner> getByResourceGroupAsync(String resourceGroupName, String serviceName)
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.
- 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
ServiceResourceInner getByResourceGroup(String resourceGroupName, String serviceName)
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.
- 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.
- 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:
- 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:
- 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:
- 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.
- 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 completion.
- 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 completion.
- 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 completion.
- 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 completion.
- 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 serviceName)
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:
- the completion.
- 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 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.- 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 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.- 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.
- 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:
- 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:
- 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:
- 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.
- 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.
- 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
Mono<TestKeys> listTestKeysAsync(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.
- 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
TestKeys listTestKeys(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.
- 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.
- 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, TestKeyType keyType)
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.keyType- Type of the test key.- 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.
-
regenerateTestKeyAsync
Mono<TestKeys> regenerateTestKeyAsync(String resourceGroupName, String serviceName, TestKeyType keyType)
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.keyType- Type of the test key.- 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.
-
regenerateTestKey
TestKeys regenerateTestKey(String resourceGroupName, String serviceName, TestKeyType keyType)
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.keyType- Type of the test key.- 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, TestKeyType keyType, 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.keyType- Type of the test key.context- The context to associate with this 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.
-
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 completion.
- 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
Mono<Void> disableTestEndpointAsync(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 completion.
- 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
void disableTestEndpoint(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.- 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.
- 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
Mono<TestKeys> enableTestEndpointAsync(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.
- 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
TestKeys enableTestEndpoint(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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
-
-