external_user
Creates, updates, deletes, gets or lists an external_user resource.
Overview
| Name | external_user |
| Type | Resource |
| Id | azure_isv.elastic.external_user |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
create_or_update | insert | resource_group_name, monitor_name, subscription_id | Create or update external user configurations for your Elastic monitor resource, enabling access and management by external users. Create or update external user configurations for your Elastic monitor resource, enabling access and management by external users. | |
create_or_update | replace | resource_group_name, monitor_name, subscription_id | Create or update external user configurations for your Elastic monitor resource, enabling access and management by external users. Create or update external user configurations for your Elastic monitor resource, enabling access and management by external users. |
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 |
|---|---|---|
monitor_name | string | Monitor resource name. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
INSERT examples
- create_or_update
- Manifest
Create or update external user configurations for your Elastic monitor resource, enabling access and management by external users. Create or update external user configurations for your Elastic monitor resource, enabling access and management by external users.
INSERT INTO azure_isv.elastic.external_user (
userName,
fullName,
password,
emailId,
roles,
resource_group_name,
monitor_name,
subscription_id
)
SELECT
'{{ userName }}',
'{{ fullName }}',
'{{ password }}',
'{{ emailId }}',
'{{ roles }}',
'{{ resource_group_name }}',
'{{ monitor_name }}',
'{{ subscription_id }}'
RETURNING
created
;
# Description fields are for documentation purposes
- name: external_user
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the external_user resource.
- name: monitor_name
value: "{{ monitor_name }}"
description: Required parameter for the external_user resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the external_user resource.
- name: userName
value: "{{ userName }}"
description: |
Username of the user to be created or updated.
- name: fullName
value: "{{ fullName }}"
description: |
Full name of the user to be created or updated.
- name: password
value: "{{ password }}"
description: |
Password of the user to be created or updated.
- name: emailId
value: "{{ emailId }}"
description: |
Email id of the user to be created or updated.
- name: roles
value:
- "{{ roles }}"
description: |
Roles to be assigned for created or updated user.
REPLACE examples
- create_or_update
Create or update external user configurations for your Elastic monitor resource, enabling access and management by external users. Create or update external user configurations for your Elastic monitor resource, enabling access and management by external users.
REPLACE azure_isv.elastic.external_user
SET
userName = '{{ userName }}',
fullName = '{{ fullName }}',
password = '{{ password }}',
emailId = '{{ emailId }}',
roles = '{{ roles }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND monitor_name = '{{ monitor_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
created;