Interface DscpConfigurationsClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<DscpConfigurationInner>,InnerSupportsListing<DscpConfigurationInner>
public interface DscpConfigurationsClient
extends InnerSupportsGet<DscpConfigurationInner>, InnerSupportsListing<DscpConfigurationInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in DscpConfigurationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DscpConfigurationInner>, DscpConfigurationInner> beginCreateOrUpdate(String resourceGroupName, String dscpConfigurationName, DscpConfigurationInner parameters) Creates or updates a DSCP Configuration.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DscpConfigurationInner>, DscpConfigurationInner> beginCreateOrUpdate(String resourceGroupName, String dscpConfigurationName, DscpConfigurationInner parameters, com.azure.core.util.Context context) Creates or updates a DSCP Configuration.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DscpConfigurationInner>, DscpConfigurationInner> beginCreateOrUpdateAsync(String resourceGroupName, String dscpConfigurationName, DscpConfigurationInner parameters) Creates or updates a DSCP Configuration.beginDelete(String resourceGroupName, String dscpConfigurationName) Deletes a DSCP Configuration.beginDelete(String resourceGroupName, String dscpConfigurationName, com.azure.core.util.Context context) Deletes a DSCP Configuration.beginDeleteAsync(String resourceGroupName, String dscpConfigurationName) Deletes a DSCP Configuration.createOrUpdate(String resourceGroupName, String dscpConfigurationName, DscpConfigurationInner parameters) Creates or updates a DSCP Configuration.createOrUpdate(String resourceGroupName, String dscpConfigurationName, DscpConfigurationInner parameters, com.azure.core.util.Context context) Creates or updates a DSCP Configuration.createOrUpdateAsync(String resourceGroupName, String dscpConfigurationName, DscpConfigurationInner parameters) Creates or updates a DSCP Configuration.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String dscpConfigurationName, DscpConfigurationInner parameters) Creates or updates a DSCP Configuration.voidDeletes a DSCP Configuration.voidDeletes a DSCP Configuration.deleteAsync(String resourceGroupName, String dscpConfigurationName) Deletes a DSCP Configuration.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String dscpConfigurationName) Deletes a DSCP Configuration.getByResourceGroup(String resourceGroupName, String dscpConfigurationName) Gets a DSCP Configuration.getByResourceGroupAsync(String resourceGroupName, String dscpConfigurationName) Gets a DSCP Configuration.com.azure.core.http.rest.Response<DscpConfigurationInner> getByResourceGroupWithResponse(String resourceGroupName, String dscpConfigurationName, com.azure.core.util.Context context) Gets a DSCP Configuration.Mono<com.azure.core.http.rest.Response<DscpConfigurationInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String dscpConfigurationName) Gets a DSCP Configuration.com.azure.core.http.rest.PagedIterable<DscpConfigurationInner> list()Gets all dscp configurations in a subscription.com.azure.core.http.rest.PagedIterable<DscpConfigurationInner> list(com.azure.core.util.Context context) Gets all dscp configurations in a subscription.com.azure.core.http.rest.PagedFlux<DscpConfigurationInner> Gets all dscp configurations in a subscription.com.azure.core.http.rest.PagedIterable<DscpConfigurationInner> listByResourceGroup(String resourceGroupName) Gets a DSCP Configuration.com.azure.core.http.rest.PagedIterable<DscpConfigurationInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets a DSCP Configuration.com.azure.core.http.rest.PagedFlux<DscpConfigurationInner> listByResourceGroupAsync(String resourceGroupName) Gets a DSCP Configuration.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String dscpConfigurationName, DscpConfigurationInner parameters) Creates or updates a DSCP Configuration.- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the resource.parameters- Parameters supplied to the create or update dscp configuration operation.- Returns:
- differentiated Services Code Point configuration for any given network interface 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<DscpConfigurationInner>,DscpConfigurationInner> beginCreateOrUpdateAsync(String resourceGroupName, String dscpConfigurationName, DscpConfigurationInner parameters) Creates or updates a DSCP Configuration.- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the resource.parameters- Parameters supplied to the create or update dscp configuration operation.- Returns:
- the
PollerFluxfor polling of differentiated Services Code Point configuration for any given network interface. - 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<DscpConfigurationInner>,DscpConfigurationInner> beginCreateOrUpdate(String resourceGroupName, String dscpConfigurationName, DscpConfigurationInner parameters) Creates or updates a DSCP Configuration.- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the resource.parameters- Parameters supplied to the create or update dscp configuration operation.- Returns:
- the
SyncPollerfor polling of differentiated Services Code Point configuration for any given network interface. - 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<DscpConfigurationInner>,DscpConfigurationInner> beginCreateOrUpdate(String resourceGroupName, String dscpConfigurationName, DscpConfigurationInner parameters, com.azure.core.util.Context context) Creates or updates a DSCP Configuration.- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the resource.parameters- Parameters supplied to the create or update dscp configuration operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of differentiated Services Code Point configuration for any given network interface. - 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<DscpConfigurationInner> createOrUpdateAsync(String resourceGroupName, String dscpConfigurationName, DscpConfigurationInner parameters) Creates or updates a DSCP Configuration.- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the resource.parameters- Parameters supplied to the create or update dscp configuration operation.- Returns:
- differentiated Services Code Point configuration for any given network interface 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
DscpConfigurationInner createOrUpdate(String resourceGroupName, String dscpConfigurationName, DscpConfigurationInner parameters) Creates or updates a DSCP Configuration.- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the resource.parameters- Parameters supplied to the create or update dscp configuration operation.- Returns:
- differentiated Services Code Point configuration for any given network interface.
- 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
DscpConfigurationInner createOrUpdate(String resourceGroupName, String dscpConfigurationName, DscpConfigurationInner parameters, com.azure.core.util.Context context) Creates or updates a DSCP Configuration.- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the resource.parameters- Parameters supplied to the create or update dscp configuration operation.context- The context to associate with this operation.- Returns:
- differentiated Services Code Point configuration for any given network interface.
- 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 dscpConfigurationName) Deletes a DSCP Configuration.- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the 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 dscpConfigurationName) Deletes a DSCP Configuration.- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the 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 dscpConfigurationName) Deletes a DSCP Configuration.- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the 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 dscpConfigurationName, com.azure.core.util.Context context) Deletes a DSCP Configuration.- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the 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
Deletes a DSCP Configuration.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the 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
Deletes a DSCP Configuration.- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the 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 dscpConfigurationName, com.azure.core.util.Context context) Deletes a DSCP Configuration.- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the 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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<DscpConfigurationInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String dscpConfigurationName) Gets a DSCP Configuration.- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the resource.- Returns:
- a DSCP Configuration 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
Mono<DscpConfigurationInner> getByResourceGroupAsync(String resourceGroupName, String dscpConfigurationName) Gets a DSCP Configuration.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<DscpConfigurationInner>- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the resource.- Returns:
- a DSCP Configuration 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<DscpConfigurationInner> getByResourceGroupWithResponse(String resourceGroupName, String dscpConfigurationName, com.azure.core.util.Context context) Gets a DSCP Configuration.- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the resource.context- The context to associate with this operation.- Returns:
- a DSCP Configuration 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.
-
getByResourceGroup
Gets a DSCP Configuration.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<DscpConfigurationInner>- Parameters:
resourceGroupName- The name of the resource group.dscpConfigurationName- The name of the resource.- Returns:
- a DSCP Configuration.
- 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<DscpConfigurationInner> listByResourceGroupAsync(String resourceGroupName) Gets a DSCP Configuration.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<DscpConfigurationInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- a DSCP Configuration 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<DscpConfigurationInner> listByResourceGroup(String resourceGroupName) Gets a DSCP Configuration.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<DscpConfigurationInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- a DSCP Configuration 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<DscpConfigurationInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets a DSCP Configuration.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- a DSCP Configuration 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<DscpConfigurationInner> listAsync()Gets all dscp configurations in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<DscpConfigurationInner>- Returns:
- all dscp configurations in a subscription as paginated response with
PagedFlux. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<DscpConfigurationInner> list()Gets all dscp configurations in a subscription.- Specified by:
listin interfaceInnerSupportsListing<DscpConfigurationInner>- Returns:
- all dscp configurations in a subscription as paginated response with
PagedIterable. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<DscpConfigurationInner> list(com.azure.core.util.Context context) Gets all dscp configurations in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all dscp configurations in a subscription as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-