BastionHostsClient Interface

Implements

public interface BastionHostsClient
extends InnerSupportsGet<BastionHostInner>, InnerSupportsListing<BastionHostInner>, InnerSupportsDelete<Void>

An instance of this class provides access to all the operations defined in BastionHostsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<BastionHostInner>,BastionHostInner> beginCreateOrUpdate(String resourceGroupName, String bastionHostname, BastionHostInner parameters)

Creates or updates the specified Bastion Host.

abstract SyncPoller<PollResult<BastionHostInner>,BastionHostInner> beginCreateOrUpdate(String resourceGroupName, String bastionHostname, BastionHostInner parameters, Context context)

Creates or updates the specified Bastion Host.

abstract PollerFlux<PollResult<BastionHostInner>,BastionHostInner> beginCreateOrUpdateAsync(String resourceGroupName, String bastionHostname, BastionHostInner parameters)

Creates or updates the specified Bastion Host.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String bastionHostname)

Deletes the specified Bastion Host.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String bastionHostname, Context context)

Deletes the specified Bastion Host.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String bastionHostname)

Deletes the specified Bastion Host.

abstract SyncPoller<PollResult<BastionHostInner>,BastionHostInner> beginUpdateTags(String resourceGroupName, String bastionHostname, TagsObject parameters)

Updates Tags for BastionHost resource.

abstract SyncPoller<PollResult<BastionHostInner>,BastionHostInner> beginUpdateTags(String resourceGroupName, String bastionHostname, TagsObject parameters, Context context)

Updates Tags for BastionHost resource.

abstract PollerFlux<PollResult<BastionHostInner>,BastionHostInner> beginUpdateTagsAsync(String resourceGroupName, String bastionHostname, TagsObject parameters)

Updates Tags for BastionHost resource.

abstract BastionHostInner createOrUpdate(String resourceGroupName, String bastionHostname, BastionHostInner parameters)

Creates or updates the specified Bastion Host.

abstract BastionHostInner createOrUpdate(String resourceGroupName, String bastionHostname, BastionHostInner parameters, Context context)

Creates or updates the specified Bastion Host.

abstract Mono<BastionHostInner> createOrUpdateAsync(String resourceGroupName, String bastionHostname, BastionHostInner parameters)

Creates or updates the specified Bastion Host.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String bastionHostname, BastionHostInner parameters)

Creates or updates the specified Bastion Host.

abstract void delete(String resourceGroupName, String bastionHostname)

Deletes the specified Bastion Host.

abstract void delete(String resourceGroupName, String bastionHostname, Context context)

Deletes the specified Bastion Host.

abstract Mono<Void> deleteAsync(String resourceGroupName, String bastionHostname)

Deletes the specified Bastion Host.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String bastionHostname)

Deletes the specified Bastion Host.

abstract BastionHostInner getByResourceGroup(String resourceGroupName, String bastionHostname)

Gets the specified Bastion Host.

abstract Mono<BastionHostInner> getByResourceGroupAsync(String resourceGroupName, String bastionHostname)

Gets the specified Bastion Host.

abstract Response<BastionHostInner> getByResourceGroupWithResponse(String resourceGroupName, String bastionHostname, Context context)

Gets the specified Bastion Host.

abstract Mono<Response<BastionHostInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String bastionHostname)

Gets the specified Bastion Host.

abstract PagedIterable<BastionHostInner> list()

Lists all Bastion Hosts in a subscription.

abstract PagedIterable<BastionHostInner> list(Context context)

Lists all Bastion Hosts in a subscription.

abstract PagedFlux<BastionHostInner> listAsync()

Lists all Bastion Hosts in a subscription.

abstract PagedIterable<BastionHostInner> listByResourceGroup(String resourceGroupName)

Lists all Bastion Hosts in a resource group.

abstract PagedIterable<BastionHostInner> listByResourceGroup(String resourceGroupName, Context context)

Lists all Bastion Hosts in a resource group.

abstract PagedFlux<BastionHostInner> listByResourceGroupAsync(String resourceGroupName)

Lists all Bastion Hosts in a resource group.

abstract BastionHostInner updateTags(String resourceGroupName, String bastionHostname, TagsObject parameters)

Updates Tags for BastionHost resource.

abstract BastionHostInner updateTags(String resourceGroupName, String bastionHostname, TagsObject parameters, Context context)

Updates Tags for BastionHost resource.

abstract Mono<BastionHostInner> updateTagsAsync(String resourceGroupName, String bastionHostname, TagsObject parameters)

Updates Tags for BastionHost resource.

abstract Mono<Response<Flux<ByteBuffer>>> updateTagsWithResponseAsync(String resourceGroupName, String bastionHostname, TagsObject parameters)

Updates Tags for BastionHost resource.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,BastionHostInner> beginCreateOrUpdate(String resourceGroupName, String bastionHostname, BastionHostInner parameters)

Creates or updates the specified Bastion Host.

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.

Returns:

the SyncPoller<T,U> for polling of bastion Host resource.

beginCreateOrUpdate

public abstract SyncPoller,BastionHostInner> beginCreateOrUpdate(String resourceGroupName, String bastionHostname, BastionHostInner parameters, Context context)

Creates or updates the specified Bastion Host.

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.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of bastion Host resource.

beginCreateOrUpdateAsync

public abstract PollerFlux,BastionHostInner> beginCreateOrUpdateAsync(String resourceGroupName, String bastionHostname, BastionHostInner parameters)

Creates or updates the specified Bastion Host.

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.

Returns:

the PollerFlux<T,U> for polling of bastion Host resource.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String bastionHostname)

Deletes the specified Bastion Host.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String bastionHostname, Context context)

Deletes the specified Bastion Host.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String bastionHostname)

Deletes the specified Bastion Host.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginUpdateTags

public abstract SyncPoller,BastionHostInner> beginUpdateTags(String resourceGroupName, String bastionHostname, TagsObject parameters)

Updates Tags for BastionHost resource.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.
parameters - Parameters supplied to update BastionHost tags.

Returns:

the SyncPoller<T,U> for polling of bastion Host resource.

beginUpdateTags

public abstract SyncPoller,BastionHostInner> beginUpdateTags(String resourceGroupName, String bastionHostname, TagsObject parameters, Context context)

Updates Tags for BastionHost resource.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.
parameters - Parameters supplied to update BastionHost tags.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of bastion Host resource.

beginUpdateTagsAsync

public abstract PollerFlux,BastionHostInner> beginUpdateTagsAsync(String resourceGroupName, String bastionHostname, TagsObject parameters)

Updates Tags for BastionHost resource.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.
parameters - Parameters supplied to update BastionHost tags.

Returns:

the PollerFlux<T,U> for polling of bastion Host resource.

createOrUpdate

public abstract BastionHostInner createOrUpdate(String resourceGroupName, String bastionHostname, BastionHostInner parameters)

Creates or updates the specified Bastion Host.

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.

Returns:

bastion Host resource.

createOrUpdate

public abstract BastionHostInner createOrUpdate(String resourceGroupName, String bastionHostname, BastionHostInner parameters, Context context)

Creates or updates the specified Bastion Host.

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.
context - The context to associate with this operation.

Returns:

bastion Host resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String bastionHostname, BastionHostInner parameters)

Creates or updates the specified Bastion Host.

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.

Returns:

bastion Host resource on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String bastionHostname, BastionHostInner parameters)

Creates or updates the specified Bastion Host.

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.

Returns:

bastion Host resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String bastionHostname)

Deletes the specified Bastion Host.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.

delete

public abstract void delete(String resourceGroupName, String bastionHostname, Context context)

Deletes the specified Bastion Host.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String bastionHostname)

Deletes the specified Bastion Host.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String bastionHostname)

Deletes the specified Bastion Host.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract BastionHostInner getByResourceGroup(String resourceGroupName, String bastionHostname)

Gets the specified Bastion Host.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.

Returns:

the specified Bastion Host.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String bastionHostname)

Gets the specified Bastion Host.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.

Returns:

the specified Bastion Host on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String bastionHostname, Context context)

Gets the specified Bastion Host.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.
context - The context to associate with this operation.

Returns:

the specified Bastion Host along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String bastionHostname)

Gets the specified Bastion Host.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.

Returns:

the specified Bastion Host along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Lists all Bastion Hosts in a subscription.

Returns:

response for ListBastionHosts API service call as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Lists all Bastion Hosts in a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

response for ListBastionHosts API service call as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Lists all Bastion Hosts in a subscription.

Returns:

response for ListBastionHosts API service call as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Lists all Bastion Hosts in a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

response for ListBastionHosts API service call as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Lists all Bastion Hosts in a resource group.

Parameters:

resourceGroupName - The name of the resource group.
context - The context to associate with this operation.

Returns:

response for ListBastionHosts API service call as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Lists all Bastion Hosts in a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

response for ListBastionHosts API service call as paginated response with PagedFlux<T>.

updateTags

public abstract BastionHostInner updateTags(String resourceGroupName, String bastionHostname, TagsObject parameters)

Updates Tags for BastionHost resource.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.
parameters - Parameters supplied to update BastionHost tags.

Returns:

bastion Host resource.

updateTags

public abstract BastionHostInner updateTags(String resourceGroupName, String bastionHostname, TagsObject parameters, Context context)

Updates Tags for BastionHost resource.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.
parameters - Parameters supplied to update BastionHost tags.
context - The context to associate with this operation.

Returns:

bastion Host resource.

updateTagsAsync

public abstract Mono updateTagsAsync(String resourceGroupName, String bastionHostname, TagsObject parameters)

Updates Tags for BastionHost resource.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.
parameters - Parameters supplied to update BastionHost tags.

Returns:

bastion Host resource on successful completion of Mono.

updateTagsWithResponseAsync

public abstract Mono>> updateTagsWithResponseAsync(String resourceGroupName, String bastionHostname, TagsObject parameters)

Updates Tags for BastionHost resource.

Parameters:

resourceGroupName - The name of the resource group.
bastionHostname - The name of the Bastion Host.
parameters - Parameters supplied to update BastionHost tags.

Returns:

bastion Host resource along with Response<T> on successful completion of Mono.

Applies to