kube_environments
Creates, updates, deletes, gets or lists a kube_environments
resource.
Overview
Name | kube_environments |
Type | Resource |
Id | azure.app_service.kube_environments |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
extendedLocation | object | Extended Location. |
kind | string | Kind of resource. |
location | string | Resource Location. |
properties | object | KubeEnvironment resource specific properties |
tags | object | Resource tags. |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | name, resourceGroupName, subscriptionId | Description for Get the properties of a Kubernetes Environment. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Description for Get all the Kubernetes Environments in a resource group. |
list_by_subscription | SELECT | subscriptionId | Description for Get all Kubernetes Environments for a subscription. |
create_or_update | INSERT | name, resourceGroupName, subscriptionId | Description for Creates or updates a Kubernetes Environment. |
delete | DELETE | name, resourceGroupName, subscriptionId | Description for Delete a Kubernetes Environment. |
update | UPDATE | name, resourceGroupName, subscriptionId | Description for Creates or updates a Kubernetes Environment. |
SELECT
examples
Description for Get all Kubernetes Environments for a subscription.
SELECT
id,
name,
extendedLocation,
kind,
location,
properties,
tags,
type
FROM azure.app_service.kube_environments
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new kube_environments
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.app_service.kube_environments (
name,
resourceGroupName,
subscriptionId,
kind,
location,
tags,
properties,
extendedLocation
)
SELECT
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ kind }}',
'{{ location }}',
'{{ tags }}',
'{{ properties }}',
'{{ extendedLocation }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: kind
value: string
- name: location
value: string
- name: type
value: string
- name: tags
value: object
- name: properties
value:
- name: provisioningState
value: string
- name: deploymentErrors
value: string
- name: internalLoadBalancerEnabled
value: boolean
- name: defaultDomain
value: string
- name: staticIp
value: string
- name: environmentType
value: string
- name: arcConfiguration
value:
- name: artifactsStorageType
value: string
- name: artifactStorageClassName
value: string
- name: artifactStorageMountPath
value: string
- name: artifactStorageNodeName
value: string
- name: artifactStorageAccessMode
value: string
- name: frontEndServiceConfiguration
value:
- name: kind
value: string
- name: kubeConfig
value: string
- name: appLogsConfiguration
value:
- name: destination
value: string
- name: logAnalyticsConfiguration
value:
- name: customerId
value: string
- name: sharedKey
value: string
- name: containerAppsConfiguration
value:
- name: daprAIInstrumentationKey
value: string
- name: platformReservedCidr
value: string
- name: platformReservedDnsIP
value: string
- name: controlPlaneSubnetResourceId
value: string
- name: appSubnetResourceId
value: string
- name: dockerBridgeCidr
value: string
- name: aksResourceID
value: string
- name: extendedLocation
value:
- name: name
value: string
- name: type
value: string
UPDATE
example
Updates a kube_environments
resource.
/*+ update */
UPDATE azure.app_service.kube_environments
SET
kind = '{{ kind }}',
properties = '{{ properties }}'
WHERE
name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified kube_environments
resource.
/*+ delete */
DELETE FROM azure.app_service.kube_environments
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';