Skip to main content

container_host_mappings

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

Overview

Namecontainer_host_mappings
TypeResource
Idazure_extras.devspaces.container_host_mappings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
containerHostResourceIdstringARM ID of the Container Host resource.
mappedControllerResourceIdstringARM ID of the mapped Controller resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_container_host_mappingselectresource_group_name, location, subscription_idReturns 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.

NameDatatypeDescription
locationstringLocation of the container host. Required.
resource_group_namestringResource group to which the resource belongs. Required.
subscription_idstring

SELECT examples

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
;