container_host_mappings
Creates, updates, deletes, gets or lists a container_host_mappings resource.
Overview
| Name | container_host_mappings |
| Type | Resource |
| Id | azure_extras.devspaces.container_host_mappings |
Fields
The following fields are returned by SELECT queries:
- get_container_host_mapping
| Name | Datatype | Description |
|---|---|---|
containerHostResourceId | string | ARM ID of the Container Host resource. |
mappedControllerResourceId | string | ARM ID of the mapped Controller resource. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_container_host_mapping | select | resource_group_name, location, subscription_id | Returns container host mapping object for a container host resource ID if an associated controller exists. Returns container host mapping object for a container host resource ID if an associated controller exists. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
location | string | Location of the container host. Required. |
resource_group_name | string | Resource group to which the resource belongs. Required. |
subscription_id | string |
SELECT examples
- get_container_host_mapping
Returns container host mapping object for a container host resource ID if an associated controller exists. Returns container host mapping object for a container host resource ID if an associated controller exists.
SELECT
containerHostResourceId,
mappedControllerResourceId
FROM azure_extras.devspaces.container_host_mappings
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;