public interface BastionHostsClient extends InnerSupportsGet<BastionHostInner>, InnerSupportsListing<BastionHostInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BastionHostInner>,BastionHostInner> |
beginCreateOrUpdate(String resourceGroupName,
String bastionHostname,
BastionHostInner parameters)
Creates or updates the specified Bastion Host.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BastionHostInner>,BastionHostInner> |
beginCreateOrUpdate(String resourceGroupName,
String bastionHostname,
BastionHostInner parameters,
com.azure.core.util.Context context)
Creates or updates the specified Bastion Host.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<BastionHostInner>,BastionHostInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String bastionHostname,
BastionHostInner parameters)
Creates or updates the specified Bastion Host.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String bastionHostname)
Deletes the specified Bastion Host.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String bastionHostname,
com.azure.core.util.Context context)
Deletes the specified Bastion Host.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String bastionHostname)
Deletes the specified Bastion Host.
|
BastionHostInner |
createOrUpdate(String resourceGroupName,
String bastionHostname,
BastionHostInner parameters)
Creates or updates the specified Bastion Host.
|
BastionHostInner |
createOrUpdate(String resourceGroupName,
String bastionHostname,
BastionHostInner parameters,
com.azure.core.util.Context context)
Creates or updates the specified Bastion Host.
|
Mono<BastionHostInner> |
createOrUpdateAsync(String resourceGroupName,
String bastionHostname,
BastionHostInner parameters)
Creates or updates the specified Bastion Host.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String bastionHostname,
BastionHostInner parameters)
Creates or updates the specified Bastion Host.
|
void |
delete(String resourceGroupName,
String bastionHostname)
Deletes the specified Bastion Host.
|
void |
delete(String resourceGroupName,
String bastionHostname,
com.azure.core.util.Context context)
Deletes the specified Bastion Host.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String bastionHostname)
Deletes the specified Bastion Host.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String bastionHostname)
Deletes the specified Bastion Host.
|
BastionHostInner |
getByResourceGroup(String resourceGroupName,
String bastionHostname)
Gets the specified Bastion Host.
|
Mono<BastionHostInner> |
getByResourceGroupAsync(String resourceGroupName,
String bastionHostname)
Gets the specified Bastion Host.
|
com.azure.core.http.rest.Response<BastionHostInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String bastionHostname,
com.azure.core.util.Context context)
Gets the specified Bastion Host.
|
Mono<com.azure.core.http.rest.Response<BastionHostInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String bastionHostname)
Gets the specified Bastion Host.
|
com.azure.core.http.rest.PagedIterable<BastionHostInner> |
list()
Lists all Bastion Hosts in a subscription.
|
com.azure.core.http.rest.PagedIterable<BastionHostInner> |
list(com.azure.core.util.Context context)
Lists all Bastion Hosts in a subscription.
|
com.azure.core.http.rest.PagedFlux<BastionHostInner> |
listAsync()
Lists all Bastion Hosts in a subscription.
|
com.azure.core.http.rest.PagedIterable<BastionHostInner> |
listByResourceGroup(String resourceGroupName)
Lists all Bastion Hosts in a resource group.
|
com.azure.core.http.rest.PagedIterable<BastionHostInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Lists all Bastion Hosts in a resource group.
|
com.azure.core.http.rest.PagedFlux<BastionHostInner> |
listByResourceGroupAsync(String resourceGroupName)
Lists all Bastion Hosts in a resource group.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String bastionHostname)
resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String bastionHostname)
resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String bastionHostname)
resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String bastionHostname, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.context - The context to associate with this operation.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.Mono<Void> deleteAsync(String resourceGroupName, String bastionHostname)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.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.void delete(String resourceGroupName, String bastionHostname)
resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.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.void delete(String resourceGroupName, String bastionHostname, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<BastionHostInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String bastionHostname)
resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.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.Mono<BastionHostInner> getByResourceGroupAsync(String resourceGroupName, String bastionHostname)
getByResourceGroupAsync in interface InnerSupportsGet<BastionHostInner>resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.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.BastionHostInner getByResourceGroup(String resourceGroupName, String bastionHostname)
getByResourceGroup in interface InnerSupportsGet<BastionHostInner>resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.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.com.azure.core.http.rest.Response<BastionHostInner> getByResourceGroupWithResponse(String resourceGroupName, String bastionHostname, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String bastionHostname, BastionHostInner parameters)
resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.parameters - Parameters supplied to the create or update Bastion Host operation.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<BastionHostInner>,BastionHostInner> beginCreateOrUpdateAsync(String resourceGroupName, String bastionHostname, BastionHostInner parameters)
resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.parameters - Parameters supplied to the create or update Bastion Host operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BastionHostInner>,BastionHostInner> beginCreateOrUpdate(String resourceGroupName, String bastionHostname, BastionHostInner parameters)
resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.parameters - Parameters supplied to the create or update Bastion Host operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BastionHostInner>,BastionHostInner> beginCreateOrUpdate(String resourceGroupName, String bastionHostname, BastionHostInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.parameters - Parameters supplied to the create or update Bastion Host operation.context - The context to associate with this operation.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.Mono<BastionHostInner> createOrUpdateAsync(String resourceGroupName, String bastionHostname, BastionHostInner parameters)
resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.parameters - Parameters supplied to the create or update Bastion Host operation.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.BastionHostInner createOrUpdate(String resourceGroupName, String bastionHostname, BastionHostInner parameters)
resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.parameters - Parameters supplied to the create or update Bastion Host operation.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.BastionHostInner createOrUpdate(String resourceGroupName, String bastionHostname, BastionHostInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.bastionHostname - The name of the Bastion Host.parameters - Parameters supplied to the create or update Bastion Host operation.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<BastionHostInner> listAsync()
listAsync in interface InnerSupportsListing<BastionHostInner>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.com.azure.core.http.rest.PagedIterable<BastionHostInner> list()
list in interface InnerSupportsListing<BastionHostInner>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.com.azure.core.http.rest.PagedIterable<BastionHostInner> list(com.azure.core.util.Context context)
context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<BastionHostInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync in interface InnerSupportsListing<BastionHostInner>resourceGroupName - The name of the resource group.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.com.azure.core.http.rest.PagedIterable<BastionHostInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup in interface InnerSupportsListing<BastionHostInner>resourceGroupName - The name of the resource group.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.com.azure.core.http.rest.PagedIterable<BastionHostInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.context - The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.