container_services
Creates, updates, deletes, gets or lists a container_services resource.
Overview
| Name | container_services |
| Type | Resource |
| Id | azure_stack.container_service_admin.container_services |
Fields
The following fields are returned by SELECT queries:
- list
OK -- The list of managed clusters has been returned.
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscriptionId, location | Returns a list of managed clusters present in all tenant location. |
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 | The name of Azure region. |
subscriptionId | string | The ID of the target subscription. |
SELECT examples
- list
Returns a list of managed clusters present in all tenant location.
SELECT
id,
name,
type
FROM azure_stack.container_service_admin.container_services
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
;