BastionHostsOperations interface

Interface representing a BastionHosts operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdateTags
beginUpdateTagsAndWait
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.

updateTags

Updates Tags 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>

beginUpdateTags

Warning

This API is now deprecated.

use updateTags instead

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

Property Value

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

beginUpdateTagsAndWait

Warning

This API is now deprecated.

use updateTags instead

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

Property Value

(resourceGroupName: string, bastionHostName: string, parameters: TagsObject, options?: BastionHostsUpdateTagsOptionalParams) => 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>

updateTags

Updates Tags for BastionHost resource

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

Property Value

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