bastion_shareable_links
Creates, updates, deletes, gets or lists a bastion_shareable_links
resource.
Overview
Name | bastion_shareable_links |
Type | Resource |
Id | azure.network.bastion_shareable_links |
Fields
Name | Datatype | Description |
---|---|---|
bsl | string | The unique Bastion Shareable Link to the virtual machine. |
createdAt | string | The time when the link was created. |
message | string | Optional field indicating the warning or error message related to the vm in case of partial failure. |
vm | object | Describes a Virtual Machine. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | bastionHostName, resourceGroupName, subscriptionId | Return the Bastion Shareable Links for all the VMs specified in the request. |
delete | DELETE | bastionHostName, resourceGroupName, subscriptionId | Deletes the Bastion Shareable Links for all the VMs specified in the request. |
put | EXEC | bastionHostName, resourceGroupName, subscriptionId | Creates 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 }}';