object_data_types
Creates, updates, deletes, gets or lists an object_data_types resource.
Overview
| Name | object_data_types |
| Type | Resource |
| Id | azure.automation.object_data_types |
Fields
The following fields are returned by SELECT queries:
- list_fields_by_module_and_type
- list_fields_by_type
| Name | Datatype | Description |
|---|---|---|
name | string | Gets or sets the name of the field. |
type | string | Gets or sets the type of the field. |
| Name | Datatype | Description |
|---|---|---|
name | string | Gets or sets the name of the field. |
type | string | Gets or sets the type of the field. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_fields_by_module_and_type | select | resource_group_name, automation_account_name, module_name, type_name, subscription_id | Retrieve a list of fields of a given type identified by module name. | |
list_fields_by_type | select | resource_group_name, automation_account_name, type_name, subscription_id | Retrieve a list of fields of a given type across all accessible modules. |
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 |
|---|---|---|
automation_account_name | string | The name of the automation account. Required. |
module_name | string | The module name. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string | |
type_name | string | The name of type. Required. |
SELECT examples
- list_fields_by_module_and_type
- list_fields_by_type
Retrieve a list of fields of a given type identified by module name.
SELECT
name,
type
FROM azure.automation.object_data_types
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND automation_account_name = '{{ automation_account_name }}' -- required
AND module_name = '{{ module_name }}' -- required
AND type_name = '{{ type_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Retrieve a list of fields of a given type across all accessible modules.
SELECT
name,
type
FROM azure.automation.object_data_types
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND automation_account_name = '{{ automation_account_name }}' -- required
AND type_name = '{{ type_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;