BastionHosts interface

Interface representing a BastionHosts.

Methods

beginCreateOrUpdate(string, string, BastionHost, BastionHostsCreateOrUpdateOptionalParams)

Creates or updates the specified Bastion Host.

beginCreateOrUpdateAndWait(string, string, BastionHost, BastionHostsCreateOrUpdateOptionalParams)

Creates or updates the specified Bastion Host.

beginDelete(string, string, BastionHostsDeleteOptionalParams)

Deletes the specified Bastion Host.

beginDeleteAndWait(string, string, BastionHostsDeleteOptionalParams)

Deletes the specified Bastion Host.

beginUpdateTags(string, string, TagsObject, BastionHostsUpdateTagsOptionalParams)

Updates Tags for BastionHost resource

beginUpdateTagsAndWait(string, string, TagsObject, BastionHostsUpdateTagsOptionalParams)

Updates Tags for BastionHost resource

get(string, string, BastionHostsGetOptionalParams)

Gets the specified Bastion Host.

list(BastionHostsListOptionalParams)

Lists all Bastion Hosts in a subscription.

listByResourceGroup(string, BastionHostsListByResourceGroupOptionalParams)

Lists all Bastion Hosts in a resource group.

Method Details

beginCreateOrUpdate(string, string, BastionHost, BastionHostsCreateOrUpdateOptionalParams)

Creates or updates the specified Bastion Host.

function beginCreateOrUpdate(resourceGroupName: string, bastionHostName: string, parameters: BastionHost, options?: BastionHostsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<BastionHost>, BastionHost>>

Parameters

resourceGroupName

string

The name of the resource group.

bastionHostName

string

The name of the Bastion Host.

parameters
BastionHost

Parameters supplied to the create or update Bastion Host operation.

options
BastionHostsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<BastionHost>, BastionHost>>

beginCreateOrUpdateAndWait(string, string, BastionHost, BastionHostsCreateOrUpdateOptionalParams)

Creates or updates the specified Bastion Host.

function beginCreateOrUpdateAndWait(resourceGroupName: string, bastionHostName: string, parameters: BastionHost, options?: BastionHostsCreateOrUpdateOptionalParams): Promise<BastionHost>

Parameters

resourceGroupName

string

The name of the resource group.

bastionHostName

string

The name of the Bastion Host.

parameters
BastionHost

Parameters supplied to the create or update Bastion Host operation.

options
BastionHostsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<BastionHost>

beginDelete(string, string, BastionHostsDeleteOptionalParams)

Deletes the specified Bastion Host.

function beginDelete(resourceGroupName: string, bastionHostName: string, options?: BastionHostsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

bastionHostName

string

The name of the Bastion Host.

options
BastionHostsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, BastionHostsDeleteOptionalParams)

Deletes the specified Bastion Host.

function beginDeleteAndWait(resourceGroupName: string, bastionHostName: string, options?: BastionHostsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

bastionHostName

string

The name of the Bastion Host.

options
BastionHostsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdateTags(string, string, TagsObject, BastionHostsUpdateTagsOptionalParams)

Updates Tags for BastionHost resource

function beginUpdateTags(resourceGroupName: string, bastionHostName: string, parameters: TagsObject, options?: BastionHostsUpdateTagsOptionalParams): Promise<SimplePollerLike<OperationState<BastionHost>, BastionHost>>

Parameters

resourceGroupName

string

The name of the resource group.

bastionHostName

string

The name of the Bastion Host.

parameters
TagsObject

Parameters supplied to update BastionHost tags.

options
BastionHostsUpdateTagsOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<BastionHost>, BastionHost>>

beginUpdateTagsAndWait(string, string, TagsObject, BastionHostsUpdateTagsOptionalParams)

Updates Tags for BastionHost resource

function beginUpdateTagsAndWait(resourceGroupName: string, bastionHostName: string, parameters: TagsObject, options?: BastionHostsUpdateTagsOptionalParams): Promise<BastionHost>

Parameters

resourceGroupName

string

The name of the resource group.

bastionHostName

string

The name of the Bastion Host.

parameters
TagsObject

Parameters supplied to update BastionHost tags.

options
BastionHostsUpdateTagsOptionalParams

The options parameters.

Returns

Promise<BastionHost>

get(string, string, BastionHostsGetOptionalParams)

Gets the specified Bastion Host.

function get(resourceGroupName: string, bastionHostName: string, options?: BastionHostsGetOptionalParams): Promise<BastionHost>

Parameters

resourceGroupName

string

The name of the resource group.

bastionHostName

string

The name of the Bastion Host.

options
BastionHostsGetOptionalParams

The options parameters.

Returns

Promise<BastionHost>

list(BastionHostsListOptionalParams)

Lists all Bastion Hosts in a subscription.

function list(options?: BastionHostsListOptionalParams): PagedAsyncIterableIterator<BastionHost, BastionHost[], PageSettings>

Parameters

options
BastionHostsListOptionalParams

The options parameters.

Returns

listByResourceGroup(string, BastionHostsListByResourceGroupOptionalParams)

Lists all Bastion Hosts in a resource group.

function listByResourceGroup(resourceGroupName: string, options?: BastionHostsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<BastionHost, BastionHost[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

options
BastionHostsListByResourceGroupOptionalParams

The options parameters.

Returns