Skip to main content

bastion_shareable_links

Creates, updates, deletes, gets or lists a bastion_shareable_links resource.

Overview

Namebastion_shareable_links
TypeResource
Idazure.network.bastion_shareable_links

Fields

NameDatatypeDescription
bslstringThe unique Bastion Shareable Link to the virtual machine.
createdAtstringThe time when the link was created.
messagestringOptional field indicating the warning or error message related to the vm in case of partial failure.
vmobjectDescribes a Virtual Machine.

Methods

NameAccessible byRequired ParamsDescription
getSELECTbastionHostName, resourceGroupName, subscriptionIdReturn the Bastion Shareable Links for all the VMs specified in the request.
deleteDELETEbastionHostName, resourceGroupName, subscriptionIdDeletes the Bastion Shareable Links for all the VMs specified in the request.
putEXECbastionHostName, resourceGroupName, subscriptionIdCreates a Bastion Shareable Links for all the VMs specified in the request.

SELECT examples

Return the Bastion Shareable Links for all the VMs specified in the request.

SELECT
bsl,
createdAt,
message,
vm
FROM azure.network.bastion_shareable_links
WHERE bastionHostName = '{{ bastionHostName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified bastion_shareable_links resource.

/*+ delete */
DELETE FROM azure.network.bastion_shareable_links
WHERE bastionHostName = '{{ bastionHostName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';