BastionHostsOperations interface

Interface representing a BastionHosts operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
createOrUpdate

Creates or updates the specified Bastion Host.

delete

Deletes the specified Bastion Host.

get

Gets the specified Bastion Host.

list

Lists all Bastion Hosts in a subscription.

listByResourceGroup

Lists all Bastion Hosts in a resource group.

update

Updates Tags or identity for BastionHost resource

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

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

Property Value

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

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

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

Property Value

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

beginDelete

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginUpdate

Warning

This API is now deprecated.

use update instead

beginUpdate: (resourceGroupName: string, bastionHostName: string, parameters: BastionHostUpdate, options?: BastionHostsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<BastionHost>, BastionHost>>

Property Value

(resourceGroupName: string, bastionHostName: string, parameters: BastionHostUpdate, options?: BastionHostsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<BastionHost>, BastionHost>>

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

beginUpdateAndWait: (resourceGroupName: string, bastionHostName: string, parameters: BastionHostUpdate, options?: BastionHostsUpdateOptionalParams) => Promise<BastionHost>

Property Value

(resourceGroupName: string, bastionHostName: string, parameters: BastionHostUpdate, options?: BastionHostsUpdateOptionalParams) => Promise<BastionHost>

createOrUpdate

Creates or updates the specified Bastion Host.

createOrUpdate: (resourceGroupName: string, bastionHostName: string, parameters: BastionHost, options?: BastionHostsCreateOrUpdateOptionalParams) => PollerLike<OperationState<BastionHost>, BastionHost>

Property Value

(resourceGroupName: string, bastionHostName: string, parameters: BastionHost, options?: BastionHostsCreateOrUpdateOptionalParams) => PollerLike<OperationState<BastionHost>, BastionHost>

delete

Deletes the specified Bastion Host.

delete: (resourceGroupName: string, bastionHostName: string, options?: BastionHostsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, bastionHostName: string, options?: BastionHostsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets the specified Bastion Host.

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

Property Value

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

list

Lists all Bastion Hosts in a subscription.

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

Property Value

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

listByResourceGroup

Lists all Bastion Hosts in a resource group.

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

Property Value

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

update

Updates Tags or identity for BastionHost resource

update: (resourceGroupName: string, bastionHostName: string, parameters: BastionHostUpdate, options?: BastionHostsUpdateOptionalParams) => PollerLike<OperationState<BastionHost>, BastionHost>

Property Value

(resourceGroupName: string, bastionHostName: string, parameters: BastionHostUpdate, options?: BastionHostsUpdateOptionalParams) => PollerLike<OperationState<BastionHost>, BastionHost>