workspace_manager_members
Creates, updates, deletes, gets or lists a workspace_manager_members resource.
Overview
| Name | workspace_manager_members |
| Type | Resource |
| Id | azure.security_insight.workspace_manager_members |
Fields
The following fields are returned by SELECT queries:
- get
- list
| 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. |
etag | string | Resource Etag. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
targetWorkspaceResourceId | string | Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager. Required. |
targetWorkspaceTenantId | string | Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager. Required. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| 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. |
etag | string | Resource Etag. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
targetWorkspaceResourceId | string | Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager. Required. |
targetWorkspaceTenantId | string | Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager. Required. |
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 |
|---|---|---|---|---|
get | select | resource_group_name, workspace_name, workspace_manager_member_name, subscription_id | Gets a workspace manager member. | |
list | select | resource_group_name, workspace_name, subscription_id | $orderby, $top, $skipToken | Gets all workspace manager members that exist for the given Sentinel workspace manager. |
create_or_update | insert | resource_group_name, workspace_name, workspace_manager_member_name, subscription_id | Creates or updates a workspace manager member. | |
create_or_update | replace | resource_group_name, workspace_name, workspace_manager_member_name, subscription_id | Creates or updates a workspace manager member. | |
delete | delete | resource_group_name, workspace_name, workspace_manager_member_name, subscription_id | Deletes a workspace manager member. |
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 |
|---|---|---|
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string | |
workspace_manager_member_name | string | The name of the workspace manager member. Required. |
workspace_name | string | The name of the workspace. Required. |
$orderby | string | Sorts the results. Optional. Default value is None. |
$skipToken | string | Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional. Default value is None. |
$top | integer | Returns only the first n results. Optional. Default value is None. |
SELECT examples
- get
- list
Gets a workspace manager member.
SELECT
id,
name,
etag,
systemData,
targetWorkspaceResourceId,
targetWorkspaceTenantId,
type
FROM azure.security_insight.workspace_manager_members
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND workspace_manager_member_name = '{{ workspace_manager_member_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Gets all workspace manager members that exist for the given Sentinel workspace manager.
SELECT
id,
name,
etag,
systemData,
targetWorkspaceResourceId,
targetWorkspaceTenantId,
type
FROM azure.security_insight.workspace_manager_members
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $orderby = '{{ $orderby }}'
AND $top = '{{ $top }}'
AND $skipToken = '{{ $skipToken }}'
;
INSERT examples
- create_or_update
- Manifest
Creates or updates a workspace manager member.
INSERT INTO azure.security_insight.workspace_manager_members (
properties,
resource_group_name,
workspace_name,
workspace_manager_member_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ workspace_name }}',
'{{ workspace_manager_member_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
properties,
systemData,
type
;
# Description fields are for documentation purposes
- name: workspace_manager_members
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the workspace_manager_members resource.
- name: workspace_name
value: "{{ workspace_name }}"
description: Required parameter for the workspace_manager_members resource.
- name: workspace_manager_member_name
value: "{{ workspace_manager_member_name }}"
description: Required parameter for the workspace_manager_members resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the workspace_manager_members resource.
- name: properties
description: |
The workspace manager member object.
value:
targetWorkspaceResourceId: "{{ targetWorkspaceResourceId }}"
targetWorkspaceTenantId: "{{ targetWorkspaceTenantId }}"
REPLACE examples
- create_or_update
Creates or updates a workspace manager member.
REPLACE azure.security_insight.workspace_manager_members
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND workspace_name = '{{ workspace_name }}' --required
AND workspace_manager_member_name = '{{ workspace_manager_member_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
properties,
systemData,
type;
DELETE examples
- delete
Deletes a workspace manager member.
DELETE FROM azure.security_insight.workspace_manager_members
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND workspace_name = '{{ workspace_name }}' --required
AND workspace_manager_member_name = '{{ workspace_manager_member_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;