Interface AutoscaleSettingsClient
-
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<AutoscaleSettingResourceInner>,InnerSupportsListing<AutoscaleSettingResourceInner>
public interface AutoscaleSettingsClient extends InnerSupportsGet<AutoscaleSettingResourceInner>, InnerSupportsListing<AutoscaleSettingResourceInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in AutoscaleSettingsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutoscaleSettingResourceInnercreateOrUpdate(String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourceInner parameters)Creates or updates an autoscale setting.Mono<AutoscaleSettingResourceInner>createOrUpdateAsync(String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourceInner parameters)Creates or updates an autoscale setting.com.azure.core.http.rest.Response<AutoscaleSettingResourceInner>createOrUpdateWithResponse(String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourceInner parameters, com.azure.core.util.Context context)Creates or updates an autoscale setting.Mono<com.azure.core.http.rest.Response<AutoscaleSettingResourceInner>>createOrUpdateWithResponseAsync(String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourceInner parameters)Creates or updates an autoscale setting.voiddelete(String resourceGroupName, String autoscaleSettingName)Deletes and autoscale setting.Mono<Void>deleteAsync(String resourceGroupName, String autoscaleSettingName)Deletes and autoscale setting.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String autoscaleSettingName, com.azure.core.util.Context context)Deletes and autoscale setting.Mono<com.azure.core.http.rest.Response<Void>>deleteWithResponseAsync(String resourceGroupName, String autoscaleSettingName)Deletes and autoscale setting.AutoscaleSettingResourceInnergetByResourceGroup(String resourceGroupName, String autoscaleSettingName)Gets an autoscale setting.Mono<AutoscaleSettingResourceInner>getByResourceGroupAsync(String resourceGroupName, String autoscaleSettingName)Gets an autoscale setting.com.azure.core.http.rest.Response<AutoscaleSettingResourceInner>getByResourceGroupWithResponse(String resourceGroupName, String autoscaleSettingName, com.azure.core.util.Context context)Gets an autoscale setting.Mono<com.azure.core.http.rest.Response<AutoscaleSettingResourceInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String autoscaleSettingName)Gets an autoscale setting.com.azure.core.http.rest.PagedIterable<AutoscaleSettingResourceInner>list()Lists the autoscale settings for a subscription.com.azure.core.http.rest.PagedIterable<AutoscaleSettingResourceInner>list(com.azure.core.util.Context context)Lists the autoscale settings for a subscription.com.azure.core.http.rest.PagedFlux<AutoscaleSettingResourceInner>listAsync()Lists the autoscale settings for a subscription.com.azure.core.http.rest.PagedIterable<AutoscaleSettingResourceInner>listByResourceGroup(String resourceGroupName)Lists the autoscale settings for a resource group.com.azure.core.http.rest.PagedIterable<AutoscaleSettingResourceInner>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)Lists the autoscale settings for a resource group.com.azure.core.http.rest.PagedFlux<AutoscaleSettingResourceInner>listByResourceGroupAsync(String resourceGroupName)Lists the autoscale settings for a resource group.AutoscaleSettingResourceInnerupdate(String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourcePatch autoscaleSettingResource)Updates an existing AutoscaleSettingsResource.Mono<AutoscaleSettingResourceInner>updateAsync(String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourcePatch autoscaleSettingResource)Updates an existing AutoscaleSettingsResource.com.azure.core.http.rest.Response<AutoscaleSettingResourceInner>updateWithResponse(String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourcePatch autoscaleSettingResource, com.azure.core.util.Context context)Updates an existing AutoscaleSettingsResource.Mono<com.azure.core.http.rest.Response<AutoscaleSettingResourceInner>>updateWithResponseAsync(String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourcePatch autoscaleSettingResource)Updates an existing AutoscaleSettingsResource.
-
-
-
Method Detail
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<AutoscaleSettingResourceInner> listByResourceGroupAsync(String resourceGroupName)
Lists the autoscale settings for a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<AutoscaleSettingResourceInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- represents a collection of autoscale setting resources.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<AutoscaleSettingResourceInner> listByResourceGroup(String resourceGroupName)
Lists the autoscale settings for a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<AutoscaleSettingResourceInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- represents a collection of autoscale setting resources.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<AutoscaleSettingResourceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Lists the autoscale settings for a resource group.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- represents a collection of autoscale setting resources.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<AutoscaleSettingResourceInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourceInner parameters)
Creates or updates an autoscale setting.- Parameters:
resourceGroupName- The name of the resource group.autoscaleSettingName- The autoscale setting name.parameters- Parameters supplied to the operation.- Returns:
- the autoscale setting 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<AutoscaleSettingResourceInner> createOrUpdateAsync(String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourceInner parameters)
Creates or updates an autoscale setting.- Parameters:
resourceGroupName- The name of the resource group.autoscaleSettingName- The autoscale setting name.parameters- Parameters supplied to the operation.- Returns:
- the autoscale setting 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
AutoscaleSettingResourceInner createOrUpdate(String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourceInner parameters)
Creates or updates an autoscale setting.- Parameters:
resourceGroupName- The name of the resource group.autoscaleSettingName- The autoscale setting name.parameters- Parameters supplied to the operation.- Returns:
- the autoscale setting 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<AutoscaleSettingResourceInner> createOrUpdateWithResponse(String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourceInner parameters, com.azure.core.util.Context context)
Creates or updates an autoscale setting.- Parameters:
resourceGroupName- The name of the resource group.autoscaleSettingName- The autoscale setting name.parameters- Parameters supplied to the operation.context- The context to associate with this operation.- Returns:
- the autoscale setting 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<Void>> deleteWithResponseAsync(String resourceGroupName, String autoscaleSettingName)
Deletes and autoscale setting.- Parameters:
resourceGroupName- The name of the resource group.autoscaleSettingName- The autoscale setting name.- 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 autoscaleSettingName)
Deletes and autoscale setting.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.autoscaleSettingName- The autoscale setting name.- 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 autoscaleSettingName)
Deletes and autoscale setting.- Parameters:
resourceGroupName- The name of the resource group.autoscaleSettingName- The autoscale setting name.- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String autoscaleSettingName, com.azure.core.util.Context context)
Deletes and autoscale setting.- Parameters:
resourceGroupName- The name of the resource group.autoscaleSettingName- The autoscale setting name.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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<AutoscaleSettingResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String autoscaleSettingName)
Gets an autoscale setting.- Parameters:
resourceGroupName- The name of the resource group.autoscaleSettingName- The autoscale setting name.- Returns:
- an autoscale setting.
- 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<AutoscaleSettingResourceInner> getByResourceGroupAsync(String resourceGroupName, String autoscaleSettingName)
Gets an autoscale setting.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<AutoscaleSettingResourceInner>- Parameters:
resourceGroupName- The name of the resource group.autoscaleSettingName- The autoscale setting name.- Returns:
- an autoscale setting.
- 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
AutoscaleSettingResourceInner getByResourceGroup(String resourceGroupName, String autoscaleSettingName)
Gets an autoscale setting.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<AutoscaleSettingResourceInner>- Parameters:
resourceGroupName- The name of the resource group.autoscaleSettingName- The autoscale setting name.- Returns:
- an autoscale setting.
- 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<AutoscaleSettingResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String autoscaleSettingName, com.azure.core.util.Context context)
Gets an autoscale setting.- Parameters:
resourceGroupName- The name of the resource group.autoscaleSettingName- The autoscale setting name.context- The context to associate with this operation.- Returns:
- an autoscale setting.
- 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<AutoscaleSettingResourceInner>> updateWithResponseAsync(String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourcePatch autoscaleSettingResource)
Updates an existing AutoscaleSettingsResource. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName- The name of the resource group.autoscaleSettingName- The autoscale setting name.autoscaleSettingResource- Parameters supplied to the operation.- Returns:
- the autoscale setting 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<AutoscaleSettingResourceInner> updateAsync(String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourcePatch autoscaleSettingResource)
Updates an existing AutoscaleSettingsResource. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName- The name of the resource group.autoscaleSettingName- The autoscale setting name.autoscaleSettingResource- Parameters supplied to the operation.- Returns:
- the autoscale setting 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
AutoscaleSettingResourceInner update(String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourcePatch autoscaleSettingResource)
Updates an existing AutoscaleSettingsResource. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName- The name of the resource group.autoscaleSettingName- The autoscale setting name.autoscaleSettingResource- Parameters supplied to the operation.- Returns:
- the autoscale setting 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.
-
updateWithResponse
com.azure.core.http.rest.Response<AutoscaleSettingResourceInner> updateWithResponse(String resourceGroupName, String autoscaleSettingName, AutoscaleSettingResourcePatch autoscaleSettingResource, com.azure.core.util.Context context)
Updates an existing AutoscaleSettingsResource. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName- The name of the resource group.autoscaleSettingName- The autoscale setting name.autoscaleSettingResource- Parameters supplied to the operation.context- The context to associate with this operation.- Returns:
- the autoscale setting 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<AutoscaleSettingResourceInner> listAsync()
Lists the autoscale settings for a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<AutoscaleSettingResourceInner>- Returns:
- represents a collection of autoscale setting resources.
- 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<AutoscaleSettingResourceInner> list()
Lists the autoscale settings for a subscription.- Specified by:
listin interfaceInnerSupportsListing<AutoscaleSettingResourceInner>- Returns:
- represents a collection of autoscale setting resources.
- 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<AutoscaleSettingResourceInner> list(com.azure.core.util.Context context)
Lists the autoscale settings for a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- represents a collection of autoscale setting resources.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
-