Document: "bastionHost"
Bastion Host resource.
azure_bastion_host {
api_version => "api_version",
id => "id (optional)",
location => "location (optional)",
parameters => "parameters",
properties => $azure_bastion_host_properties_format
resource_group_name => "resource_group_name",
subscription_id => "subscription_id",
tags => "tags (optional)",
}
Name | Type | Required | Description |
---|---|---|---|
api_version | String | true | Client API version. |
id | String | false | Resource ID. |
location | String | false | Resource location. |
parameters | Hash | true | Parameters supplied to the create or update Bastion Host operation. |
properties | BastionHostPropertiesFormat | false | Represents the bastion host resource. |
resource_group_name | String | true | The name of the resource group. |
subscription_id | String | true | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
tags | Hash | false | Resource tags. |
Properties of the Bastion Host.
$azure_bastion_host_properties_format = {
dnsName => "dnsName (optional)",
ipConfigurations => $azure_bastion_host_ip_configuration
provisioningState => $azure_provisioning_state
}
Name | Type | Required | Description |
---|---|---|---|
dnsName | String | false | FQDN for the endpoint on which bastion host is accessible. |
ipConfigurations | BastionHostIPConfiguration | false | IP configuration of the Bastion Host resource. |
provisioningState | ProvisioningState | false | The provisioning state of the resource. |
IP configuration of an Bastion Host.
$azure_bastion_host_ip_configuration = {
id => "id (optional)",
name => "name (optional)",
properties => $azure_bastion_host_ip_configuration_properties_format
}
Name | Type | Required | Description |
---|---|---|---|
id | String | false | Resource ID. |
name | String | false | Name of the resource that is unique within a resource group. This name can be used to access the resource. |
properties | BastionHostIPConfigurationPropertiesFormat | false | Represents the ip configuration associated with the resource. |
Properties of IP configuration of an Bastion Host.
$azure_bastion_host_ip_configuration_properties_format = {
privateIPAllocationMethod => $azure_ip_allocation_method
provisioningState => $azure_provisioning_state
publicIPAddress => $azure_sub_resource
subnet => $azure_sub_resource
}
Name | Type | Required | Description |
---|---|---|---|
privateIPAllocationMethod | IPAllocationMethod | false | Private IP allocation method. |
provisioningState | ProvisioningState | false | The provisioning state of the resource. |
publicIPAddress | SubResource | true | Reference of the PublicIP resource. |
subnet | SubResource | true | Reference of the subnet resource. |
IP address allocation method.
$azure_ip_allocation_method = {
}
Name | Type | Required | Description |
---|
The current provisioning state.
$azure_provisioning_state = {
}
Name | Type | Required | Description |
---|
Reference to another subresource.
$azure_sub_resource = {
id => "id (optional)",
}
Name | Type | Required | Description |
---|---|---|---|
id | String | false | Resource ID. |
Here is a list of endpoints that we use to create, read, update and delete the BastionHost
Operation | Path | Verb | Description | OperationID |
---|---|---|---|---|
Create | /subscriptions/%{subscription_id}/resourceGroups/%{resource_group_name}/providers/Microsoft.Network/bastionHosts/%{bastion_host_name} |
Put | Creates or updates the specified Bastion Host. | BastionHosts_CreateOrUpdate |
List - list all | /subscriptions/%{subscription_id}/providers/Microsoft.Network/bastionHosts |
Get | Lists all Bastion Hosts in a subscription. | BastionHosts_List |
List - get one | /subscriptions/%{subscription_id}/resourceGroups/%{resource_group_name}/providers/Microsoft.Network/bastionHosts/%{bastion_host_name} |
Get | Gets the specified Bastion Host. | BastionHosts_Get |
List - get list using params | /subscriptions/%{subscription_id}/providers/Microsoft.Network/bastionHosts |
Get | Lists all Bastion Hosts in a subscription. | BastionHosts_List |
Update | /subscriptions/%{subscription_id}/resourceGroups/%{resource_group_name}/providers/Microsoft.Network/bastionHosts/%{bastion_host_name} |
Put | Creates or updates the specified Bastion Host. | BastionHosts_CreateOrUpdate |
Delete | /subscriptions/%{subscription_id}/resourceGroups/%{resource_group_name}/providers/Microsoft.Network/bastionHosts/%{bastion_host_name} |
Delete | Deletes the specified Bastion Host. | BastionHosts_Delete |