operations
Creates, updates, deletes, gets or lists an operations
resource.
Overview
Name | operations |
Type | Resource |
Id | azure.postgresql.operations |
Fields
The following fields are returned by SELECT
queries:
- list
Name | Datatype | Description |
---|---|---|
name | string | The name of the operation being performed on this particular object. |
display | object | The localized display information for this particular operation or action. |
isDataAction | boolean | Indicates whether the operation is a data action |
origin | string | The intended executor of the operation. |
properties | object | Additional descriptions for the operation. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | Lists all of the available REST API operations. | ||
check_migration_name_availability | exec | subscriptionId , resourceGroupName , targetDbServerName , name , type | This method checks whether a proposed migration name is valid and available. | |
check_name_availability_execute | exec | subscriptionId | Check the availability of name for resource | |
check_name_availability_with_location_execute | exec | subscriptionId , locationName | Check the availability of name for resource |
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 |
---|---|---|
locationName | string | The name of the location. |
resourceGroupName | string | The resource group name of the target database server. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
targetDbServerName | string | The name of the target database server. |
SELECT
examples
- list
Lists all of the available REST API operations.
SELECT
name,
display,
isDataAction,
origin,
properties
FROM azure.postgresql.operations
;
Lifecycle Methods
- check_migration_name_availability
- check_name_availability_execute
- check_name_availability_with_location_execute
This method checks whether a proposed migration name is valid and available.
EXEC azure.postgresql.operations.check_migration_name_availability
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@targetDbServerName='{{ targetDbServerName }}' --required
@@json=
'{
"name": "{{ name }}",
"type": "{{ type }}"
}'
;
Check the availability of name for resource
EXEC azure.postgresql.operations.check_name_availability_execute
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"name": "{{ name }}",
"type": "{{ type }}"
}'
;
Check the availability of name for resource
EXEC azure.postgresql.operations.check_name_availability_with_location_execute
@subscriptionId='{{ subscriptionId }}' --required,
@locationName='{{ locationName }}' --required
@@json=
'{
"name": "{{ name }}",
"type": "{{ type }}"
}'
;