Skip to content

[FEATURE REQ] resource management - DeploymentOperationProperties - missing 'provisioningOperation' attribute? #772

Description

I want to get provisioning operation (type) from deployment operation detail.
Azure portal shows the provisioning operation (Create, Action, Read etc.) in each operation detail.
This information is also availabile in REST response (via GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations/{operationId}?api-version=2019-05-01
).
However the provisioningOperation property is not exposed in java sdk class DeploymentOperationProperties.

Is your feature request related to a problem? Please describe.
In a client application, I need to deploy a resource template to an existing resource group. In order to distinguish resources created by that deployment from other resources in group I want to tag them with specific tag (order id).
My solution is to traverse deployment operations, pick those that are CREATE operations, and apply tag to Target Resource for each of them that are finished.
I want to ignore operations that do not create resource rather that read or action upon resources.
Therefore I want to know the provisioningOperation (Create, Action...) property for each of deployment operation.

Describe the solution you'd like
To have this property available in java class.

Describe alternatives you've considered
I use REST nowadays but I would rather like to use java resource management SDK.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions