I am writing some automation using the azure java sdk that takes action depending on the provisioning state of an Azure Template Deployment. However, I do not know all the valid values for the provisioning state.
Specifically in the azure java sdk provisioningState is just a String.
package com.microsoft.azure.management.resources
public interface Deployment extends
Indexable,
Refreshable<Deployment>,
Updatable<Deployment.Update>,
HasInner<DeploymentExtendedInner>,
HasManager<ResourceManager>,
HasName {
/**
* @return the state of the provisioning process of the resources being deployed
*/
String provisioningState();
}
I suspect this is because different services have different Deployment implementations and different ProvisioningState
classes.
Which ProvisioningState
class should I look at to determine the valid states for an Azure Template deployment?