sign_in_settings
Creates, updates, deletes, gets or lists a sign_in_settings
resource.
Overview
Name | sign_in_settings |
Type | Resource |
Id | azure.api_management.sign_in_settings |
Fields
- vw_sign_in_settings
- sign_in_settings
Name | Datatype | Description |
---|---|---|
enabled | text | field from the properties object |
resourceGroupName | text | field from the properties object |
serviceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Sign-in settings contract properties. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, serviceName, subscriptionId | Get Sign In Settings for the Portal |
create_or_update | INSERT | resourceGroupName, serviceName, subscriptionId | Create or Update Sign-In settings. |
update | UPDATE | If-Match, resourceGroupName, serviceName, subscriptionId | Update Sign-In settings. |
SELECT
examples
Get Sign In Settings for the Portal
- vw_sign_in_settings
- sign_in_settings
SELECT
enabled,
resourceGroupName,
serviceName,
subscriptionId
FROM azure.api_management.vw_sign_in_settings
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.api_management.sign_in_settings
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new sign_in_settings
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.api_management.sign_in_settings (
resourceGroupName,
serviceName,
subscriptionId,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: enabled
value: boolean
UPDATE
example
Updates a sign_in_settings
resource.
/*+ update */
UPDATE azure.api_management.sign_in_settings
SET
properties = '{{ properties }}'
WHERE
If-Match = '{{ If-Match }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';