Interface ServiceGatewaysClient
- All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete<Void>, com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet<ServiceGatewayInner>, com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<ServiceGatewayInner>
public interface ServiceGatewaysClient
extends com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet<ServiceGatewayInner>, com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<ServiceGatewayInner>, com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in ServiceGatewaysClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceGatewayInner>, ServiceGatewayInner> beginCreateOrUpdate(String resourceGroupName, String serviceGatewayName, ServiceGatewayInner parameters) Creates or updates a service gateway.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceGatewayInner>, ServiceGatewayInner> beginCreateOrUpdate(String resourceGroupName, String serviceGatewayName, ServiceGatewayInner parameters, com.azure.core.util.Context context) Creates or updates a service gateway.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServiceGatewayInner>, ServiceGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayInner parameters) Creates or updates a service gateway.beginDelete(String resourceGroupName, String serviceGatewayName) Deletes the specified service gateway.beginDelete(String resourceGroupName, String serviceGatewayName, com.azure.core.util.Context context) Deletes the specified service gateway.beginDeleteAsync(String resourceGroupName, String serviceGatewayName) Deletes the specified service gateway.beginUpdateAddressLocations(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) Creates or updates address locations within the service gateway.beginUpdateAddressLocations(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, com.azure.core.util.Context context) Creates or updates address locations within the service gateway.beginUpdateAddressLocationsAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) Creates or updates address locations within the service gateway.beginUpdateServices(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) Creates, updates, or deletes services within the service gateway.beginUpdateServices(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, com.azure.core.util.Context context) Creates, updates, or deletes services within the service gateway.beginUpdateServicesAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) Creates, updates, or deletes services within the service gateway.createOrUpdate(String resourceGroupName, String serviceGatewayName, ServiceGatewayInner parameters) Creates or updates a service gateway.createOrUpdate(String resourceGroupName, String serviceGatewayName, ServiceGatewayInner parameters, com.azure.core.util.Context context) Creates or updates a service gateway.createOrUpdateAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayInner parameters) Creates or updates a service gateway.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayInner parameters) Creates or updates a service gateway.voidDeletes the specified service gateway.voidDeletes the specified service gateway.deleteAsync(String resourceGroupName, String serviceGatewayName) Deletes the specified service gateway.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serviceGatewayName) Deletes the specified service gateway.com.azure.core.http.rest.PagedIterable<ServiceGatewayAddressLocationResponseInner> getAddressLocations(String resourceGroupName, String serviceGatewayName) Get address locations in service gateway.com.azure.core.http.rest.PagedIterable<ServiceGatewayAddressLocationResponseInner> getAddressLocations(String resourceGroupName, String serviceGatewayName, com.azure.core.util.Context context) Get address locations in service gateway.com.azure.core.http.rest.PagedFlux<ServiceGatewayAddressLocationResponseInner> getAddressLocationsAsync(String resourceGroupName, String serviceGatewayName) Get address locations in service gateway.getByResourceGroup(String resourceGroupName, String serviceGatewayName) Gets the specified service gateway.getByResourceGroupAsync(String resourceGroupName, String serviceGatewayName) Gets the specified service gateway.com.azure.core.http.rest.Response<ServiceGatewayInner> getByResourceGroupWithResponse(String resourceGroupName, String serviceGatewayName, com.azure.core.util.Context context) Gets the specified service gateway.Mono<com.azure.core.http.rest.Response<ServiceGatewayInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String serviceGatewayName) Gets the specified service gateway.com.azure.core.http.rest.PagedIterable<ServiceGatewayServiceInner> getServices(String resourceGroupName, String serviceGatewayName) Get Services in service gateway.com.azure.core.http.rest.PagedIterable<ServiceGatewayServiceInner> getServices(String resourceGroupName, String serviceGatewayName, com.azure.core.util.Context context) Get Services in service gateway.com.azure.core.http.rest.PagedFlux<ServiceGatewayServiceInner> getServicesAsync(String resourceGroupName, String serviceGatewayName) Get Services in service gateway.com.azure.core.http.rest.PagedIterable<ServiceGatewayInner> list()Gets all the service gateways in a subscription.com.azure.core.http.rest.PagedIterable<ServiceGatewayInner> list(com.azure.core.util.Context context) Gets all the service gateways in a subscription.com.azure.core.http.rest.PagedFlux<ServiceGatewayInner> Gets all the service gateways in a subscription.com.azure.core.http.rest.PagedIterable<ServiceGatewayInner> listByResourceGroup(String resourceGroupName) Gets all the service gateways in a resource group.com.azure.core.http.rest.PagedIterable<ServiceGatewayInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets all the service gateways in a resource group.com.azure.core.http.rest.PagedFlux<ServiceGatewayInner> listByResourceGroupAsync(String resourceGroupName) Gets all the service gateways in a resource group.voidupdateAddressLocations(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) Creates or updates address locations within the service gateway.voidupdateAddressLocations(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, com.azure.core.util.Context context) Creates or updates address locations within the service gateway.updateAddressLocationsAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) Creates or updates address locations within the service gateway.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateAddressLocationsWithResponseAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) Creates or updates address locations within the service gateway.voidupdateServices(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) Creates, updates, or deletes services within the service gateway.voidupdateServices(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, com.azure.core.util.Context context) Creates, updates, or deletes services within the service gateway.updateServicesAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) Creates, updates, or deletes services within the service gateway.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateServicesWithResponseAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) Creates, updates, or deletes services within the service gateway.updateTags(String resourceGroupName, String serviceGatewayName, TagsObject parameters) Updates a service gateway tags.updateTagsAsync(String resourceGroupName, String serviceGatewayName, TagsObject parameters) Updates a service gateway tags.com.azure.core.http.rest.Response<ServiceGatewayInner> updateTagsWithResponse(String resourceGroupName, String serviceGatewayName, TagsObject parameters, com.azure.core.util.Context context) Updates a service gateway tags.Mono<com.azure.core.http.rest.Response<ServiceGatewayInner>> updateTagsWithResponseAsync(String resourceGroupName, String serviceGatewayName, TagsObject parameters) Updates a service gateway tags.
-
Method Details
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serviceGatewayName) Deletes the specified service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.- 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 serviceGatewayName) Deletes the specified service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.- 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 serviceGatewayName) Deletes the specified service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.- 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 serviceGatewayName, com.azure.core.util.Context context) Deletes the specified service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.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 the specified service gateway.- Specified by:
deleteAsyncin interfacecom.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.- 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 the specified service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.- 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 serviceGatewayName, com.azure.core.util.Context context) Deletes the specified service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.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<ServiceGatewayInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String serviceGatewayName) Gets the specified service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.- Returns:
- the specified service gateway 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<ServiceGatewayInner> getByResourceGroupAsync(String resourceGroupName, String serviceGatewayName) Gets the specified service gateway.- Specified by:
getByResourceGroupAsyncin interfacecom.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet<ServiceGatewayInner>- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.- Returns:
- the specified service gateway 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<ServiceGatewayInner> getByResourceGroupWithResponse(String resourceGroupName, String serviceGatewayName, com.azure.core.util.Context context) Gets the specified service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.context- The context to associate with this operation.- Returns:
- the specified service gateway 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 the specified service gateway.- Specified by:
getByResourceGroupin interfacecom.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet<ServiceGatewayInner>- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.- Returns:
- the specified service gateway.
- 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 serviceGatewayName, ServiceGatewayInner parameters) Creates or updates a service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or update service gateway operation.- Returns:
- serviceGateway 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<ServiceGatewayInner>, ServiceGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayInner parameters) Creates or updates a service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or update service gateway operation.- Returns:
- the
PollerFluxfor polling of serviceGateway 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<ServiceGatewayInner>, ServiceGatewayInner> beginCreateOrUpdate(String resourceGroupName, String serviceGatewayName, ServiceGatewayInner parameters) Creates or updates a service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or update service gateway operation.- Returns:
- the
SyncPollerfor polling of serviceGateway 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<ServiceGatewayInner>, ServiceGatewayInner> beginCreateOrUpdate(String resourceGroupName, String serviceGatewayName, ServiceGatewayInner parameters, com.azure.core.util.Context context) Creates or updates a service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or update service gateway operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of serviceGateway 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<ServiceGatewayInner> createOrUpdateAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayInner parameters) Creates or updates a service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or update service gateway operation.- Returns:
- serviceGateway 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
ServiceGatewayInner createOrUpdate(String resourceGroupName, String serviceGatewayName, ServiceGatewayInner parameters) Creates or updates a service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or update service gateway operation.- Returns:
- serviceGateway 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
ServiceGatewayInner createOrUpdate(String resourceGroupName, String serviceGatewayName, ServiceGatewayInner parameters, com.azure.core.util.Context context) Creates or updates a service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or update service gateway operation.context- The context to associate with this operation.- Returns:
- serviceGateway 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.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<ServiceGatewayInner>> updateTagsWithResponseAsync(String resourceGroupName, String serviceGatewayName, TagsObject parameters) Updates a service gateway tags.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to update service gateway tags.- Returns:
- serviceGateway 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.
-
updateTagsAsync
Mono<ServiceGatewayInner> updateTagsAsync(String resourceGroupName, String serviceGatewayName, TagsObject parameters) Updates a service gateway tags.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to update service gateway tags.- Returns:
- serviceGateway 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<ServiceGatewayInner> updateTagsWithResponse(String resourceGroupName, String serviceGatewayName, TagsObject parameters, com.azure.core.util.Context context) Updates a service gateway tags.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to update service gateway tags.context- The context to associate with this operation.- Returns:
- serviceGateway resource along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTags
ServiceGatewayInner updateTags(String resourceGroupName, String serviceGatewayName, TagsObject parameters) Updates a service gateway tags.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to update service gateway tags.- Returns:
- serviceGateway 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<ServiceGatewayInner> listAsync()Gets all the service gateways in a subscription.- Specified by:
listAsyncin interfacecom.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<ServiceGatewayInner>- Returns:
- all the service gateways 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<ServiceGatewayInner> list()Gets all the service gateways in a subscription.- Specified by:
listin interfacecom.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<ServiceGatewayInner>- Returns:
- all the service gateways 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<ServiceGatewayInner> list(com.azure.core.util.Context context) Gets all the service gateways in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all the service gateways 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<ServiceGatewayInner> listByResourceGroupAsync(String resourceGroupName) Gets all the service gateways in a resource group.- Specified by:
listByResourceGroupAsyncin interfacecom.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<ServiceGatewayInner>- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.- Returns:
- all the service gateways in a resource group as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ServiceGatewayInner> listByResourceGroup(String resourceGroupName) Gets all the service gateways in a resource group.- Specified by:
listByResourceGroupin interfacecom.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing<ServiceGatewayInner>- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.- Returns:
- all the service gateways in a resource group as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ServiceGatewayInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets all the service gateways in a resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.context- The context to associate with this operation.- Returns:
- all the service gateways in a resource group as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAddressLocationsWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateAddressLocationsWithResponseAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) Creates or updates address locations within the service gateway. The request supports both full and partial update modes at two levels: location and address. Full update replaces all existing data. Partial update modifies only the specified entries: For location-level partial updates, if no address is provided, the existing address will be deleted. For address-level partial updates, if no services are provided, the existing services will be considered for deletion.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or updates address locations in service gateway operation.- 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.
-
beginUpdateAddressLocationsAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>, Void> beginUpdateAddressLocationsAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) Creates or updates address locations within the service gateway. The request supports both full and partial update modes at two levels: location and address. Full update replaces all existing data. Partial update modifies only the specified entries: For location-level partial updates, if no address is provided, the existing address will be deleted. For address-level partial updates, if no services are provided, the existing services will be considered for deletion.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or updates address locations in service gateway operation.- 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.
-
beginUpdateAddressLocations
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginUpdateAddressLocations(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) Creates or updates address locations within the service gateway. The request supports both full and partial update modes at two levels: location and address. Full update replaces all existing data. Partial update modifies only the specified entries: For location-level partial updates, if no address is provided, the existing address will be deleted. For address-level partial updates, if no services are provided, the existing services will be considered for deletion.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or updates address locations in service gateway 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.
-
beginUpdateAddressLocations
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginUpdateAddressLocations(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, com.azure.core.util.Context context) Creates or updates address locations within the service gateway. The request supports both full and partial update modes at two levels: location and address. Full update replaces all existing data. Partial update modifies only the specified entries: For location-level partial updates, if no address is provided, the existing address will be deleted. For address-level partial updates, if no services are provided, the existing services will be considered for deletion.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or updates address locations in service gateway operation.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.
-
updateAddressLocationsAsync
Mono<Void> updateAddressLocationsAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) Creates or updates address locations within the service gateway. The request supports both full and partial update modes at two levels: location and address. Full update replaces all existing data. Partial update modifies only the specified entries: For location-level partial updates, if no address is provided, the existing address will be deleted. For address-level partial updates, if no services are provided, the existing services will be considered for deletion.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or updates address locations in service gateway operation.- 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.
-
updateAddressLocations
void updateAddressLocations(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) Creates or updates address locations within the service gateway. The request supports both full and partial update modes at two levels: location and address. Full update replaces all existing data. Partial update modifies only the specified entries: For location-level partial updates, if no address is provided, the existing address will be deleted. For address-level partial updates, if no services are provided, the existing services will be considered for deletion.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or updates address locations in service gateway 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.
-
updateAddressLocations
void updateAddressLocations(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, com.azure.core.util.Context context) Creates or updates address locations within the service gateway. The request supports both full and partial update modes at two levels: location and address. Full update replaces all existing data. Partial update modifies only the specified entries: For location-level partial updates, if no address is provided, the existing address will be deleted. For address-level partial updates, if no services are provided, the existing services will be considered for deletion.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or updates address locations in service gateway operation.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateServicesWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateServicesWithResponseAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) Creates, updates, or deletes services within the service gateway. The request supports both full and partial update modes at the service level. Full update replaces all existing services with the new list provided in the request. Partial update modifies only the specified services.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or updates services in service gateway operation.- 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.
-
beginUpdateServicesAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>, Void> beginUpdateServicesAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) Creates, updates, or deletes services within the service gateway. The request supports both full and partial update modes at the service level. Full update replaces all existing services with the new list provided in the request. Partial update modifies only the specified services.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or updates services in service gateway operation.- 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.
-
beginUpdateServices
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginUpdateServices(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) Creates, updates, or deletes services within the service gateway. The request supports both full and partial update modes at the service level. Full update replaces all existing services with the new list provided in the request. Partial update modifies only the specified services.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or updates services in service gateway 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.
-
beginUpdateServices
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginUpdateServices(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, com.azure.core.util.Context context) Creates, updates, or deletes services within the service gateway. The request supports both full and partial update modes at the service level. Full update replaces all existing services with the new list provided in the request. Partial update modifies only the specified services.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or updates services in service gateway operation.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.
-
updateServicesAsync
Mono<Void> updateServicesAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) Creates, updates, or deletes services within the service gateway. The request supports both full and partial update modes at the service level. Full update replaces all existing services with the new list provided in the request. Partial update modifies only the specified services.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or updates services in service gateway operation.- 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.
-
updateServices
void updateServices(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) Creates, updates, or deletes services within the service gateway. The request supports both full and partial update modes at the service level. Full update replaces all existing services with the new list provided in the request. Partial update modifies only the specified services.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or updates services in service gateway 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.
-
updateServices
void updateServices(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, com.azure.core.util.Context context) Creates, updates, or deletes services within the service gateway. The request supports both full and partial update modes at the service level. Full update replaces all existing services with the new list provided in the request. Partial update modifies only the specified services.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.parameters- Parameters supplied to the create or updates services in service gateway operation.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAddressLocationsAsync
com.azure.core.http.rest.PagedFlux<ServiceGatewayAddressLocationResponseInner> getAddressLocationsAsync(String resourceGroupName, String serviceGatewayName) Get address locations in service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.- Returns:
- address locations in service gateway 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.
-
getAddressLocations
com.azure.core.http.rest.PagedIterable<ServiceGatewayAddressLocationResponseInner> getAddressLocations(String resourceGroupName, String serviceGatewayName) Get address locations in service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.- Returns:
- address locations in service gateway 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.
-
getAddressLocations
com.azure.core.http.rest.PagedIterable<ServiceGatewayAddressLocationResponseInner> getAddressLocations(String resourceGroupName, String serviceGatewayName, com.azure.core.util.Context context) Get address locations in service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.context- The context to associate with this operation.- Returns:
- address locations in service gateway 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.
-
getServicesAsync
com.azure.core.http.rest.PagedFlux<ServiceGatewayServiceInner> getServicesAsync(String resourceGroupName, String serviceGatewayName) Get Services in service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.- Returns:
- services in service gateway 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.
-
getServices
com.azure.core.http.rest.PagedIterable<ServiceGatewayServiceInner> getServices(String resourceGroupName, String serviceGatewayName) Get Services in service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.- Returns:
- services in service gateway 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.
-
getServices
com.azure.core.http.rest.PagedIterable<ServiceGatewayServiceInner> getServices(String resourceGroupName, String serviceGatewayName, com.azure.core.util.Context context) Get Services in service gateway.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceGatewayName- The name of the service gateway.context- The context to associate with this operation.- Returns:
- services in service gateway 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.
-