basic_auths
Creates, updates, deletes, gets or lists a basic_auths
resource.
Overview
Name | basic_auths |
Type | Resource |
Id | azure.app_service.basic_auths |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
kind | string | Kind of resource. |
properties | object | StaticSiteBasicAuthPropertiesARMResource resource specific properties |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | basicAuthName, name, resourceGroupName, subscriptionId | Description for Gets the basic auth properties for a static site. |
list | SELECT | name, resourceGroupName, subscriptionId | Description for Gets the basic auth properties for a static site as a collection. |
create_or_update | INSERT | basicAuthName, name, resourceGroupName, subscriptionId | Description for Adds or updates basic auth for a static site. |
SELECT
examples
Description for Gets the basic auth properties for a static site as a collection.
SELECT
id,
name,
kind,
properties,
type
FROM azure.app_service.basic_auths
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new basic_auths
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.app_service.basic_auths (
basicAuthName,
name,
resourceGroupName,
subscriptionId,
kind,
properties
)
SELECT
'{{ basicAuthName }}',
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ kind }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: kind
value: string
- name: type
value: string
- name: properties
value:
- name: password
value: string
- name: secretUrl
value: string
- name: applicableEnvironmentsMode
value: string
- name: environments
value:
- string
- name: secretState
value: string