internal static string ToSerializedValue(this ProvisioningOperation value) { switch (value) { case ProvisioningOperation.NotSpecified: return("NotSpecified"); case ProvisioningOperation.Create: return("Create"); case ProvisioningOperation.Delete: return("Delete"); case ProvisioningOperation.Waiting: return("Waiting"); case ProvisioningOperation.AzureAsyncOperationWaiting: return("AzureAsyncOperationWaiting"); case ProvisioningOperation.ResourceCacheWaiting: return("ResourceCacheWaiting"); case ProvisioningOperation.Action: return("Action"); case ProvisioningOperation.Read: return("Read"); case ProvisioningOperation.EvaluateDeploymentOutput: return("EvaluateDeploymentOutput"); case ProvisioningOperation.DeploymentCleanup: return("DeploymentCleanup"); } return(null); }
public static string ToSerialString(this ProvisioningOperation value) => value switch {