/// <summary> /// Initializes a new instance of the DeploymentProperties class. /// </summary> public DeploymentProperties(DeploymentMode?mode, object template = default(object), TemplateLink templateLink = default(TemplateLink), object parameters = default(object), ParametersLink parametersLink = default(ParametersLink), DebugSetting debugSetting = default(DebugSetting)) { Template = template; TemplateLink = templateLink; Parameters = parameters; ParametersLink = parametersLink; Mode = mode; DebugSetting = debugSetting; }
internal DeploymentPropertiesExtended(string provisioningState, string correlationId, DateTimeOffset?timestamp, object outputs, IReadOnlyList <Provider> providers, IReadOnlyList <Dependency> dependencies, object template, TemplateLink templateLink, object parameters, ParametersLink parametersLink, DeploymentMode?mode, DebugSetting debugSetting) { ProvisioningState = provisioningState; CorrelationId = correlationId; Timestamp = timestamp; Outputs = outputs; Providers = providers; Dependencies = dependencies; Template = template; TemplateLink = templateLink; Parameters = parameters; ParametersLink = parametersLink; Mode = mode; DebugSetting = debugSetting; }
/// <summary> /// Initializes a new instance of the DeploymentPropertiesExtended /// class. /// </summary> public DeploymentPropertiesExtended(string provisioningState = default(string), string correlationId = default(string), DateTime?timestamp = default(DateTime?), object outputs = default(object), IList <Provider> providers = default(IList <Provider>), IList <Dependency> dependencies = default(IList <Dependency>), object template = default(object), TemplateLink templateLink = default(TemplateLink), object parameters = default(object), ParametersLink parametersLink = default(ParametersLink), DeploymentMode?mode = default(DeploymentMode?), DebugSetting debugSetting = default(DebugSetting)) { ProvisioningState = provisioningState; CorrelationId = correlationId; Timestamp = timestamp; Outputs = outputs; Providers = providers; Dependencies = dependencies; Template = template; TemplateLink = templateLink; Parameters = parameters; ParametersLink = parametersLink; Mode = mode; DebugSetting = debugSetting; }
/// <summary> /// Initializes a new instance of the DeploymentPropertiesExtended /// class. /// </summary> /// <param name="provisioningState">The state of the /// provisioning.</param> /// <param name="correlationId">The correlation ID of the /// deployment.</param> /// <param name="timestamp">The timestamp of the template /// deployment.</param> /// <param name="duration">The duration of the template /// deployment.</param> /// <param name="outputs">Key/value pairs that represent deployment /// output.</param> /// <param name="providers">The list of resource providers needed for /// the deployment.</param> /// <param name="dependencies">The list of deployment /// dependencies.</param> /// <param name="template">The template content. Use only one of /// Template or TemplateLink.</param> /// <param name="templateLink">The URI referencing the template. Use /// only one of Template or TemplateLink.</param> /// <param name="parameters">Deployment parameters. Use only one of /// Parameters or ParametersLink.</param> /// <param name="parametersLink">The URI referencing the parameters. /// Use only one of Parameters or ParametersLink.</param> /// <param name="mode">The deployment mode. Possible values are /// Incremental and Complete. Possible values include: 'Incremental', /// 'Complete'</param> /// <param name="debugSetting">The debug setting of the /// deployment.</param> /// <param name="onErrorDeployment">The deployment on error /// behavior.</param> public DeploymentPropertiesExtended(string provisioningState = default(string), string correlationId = default(string), System.DateTime?timestamp = default(System.DateTime?), string duration = default(string), object outputs = default(object), IList <ProviderInner> providers = default(IList <ProviderInner>), IList <Dependency> dependencies = default(IList <Dependency>), object template = default(object), TemplateLink templateLink = default(TemplateLink), object parameters = default(object), ParametersLink parametersLink = default(ParametersLink), DeploymentMode?mode = default(DeploymentMode?), DebugSetting debugSetting = default(DebugSetting), OnErrorDeploymentExtended onErrorDeployment = default(OnErrorDeploymentExtended)) { ProvisioningState = provisioningState; CorrelationId = correlationId; Timestamp = timestamp; Duration = duration; Outputs = outputs; Providers = providers; Dependencies = dependencies; Template = template; TemplateLink = templateLink; Parameters = parameters; ParametersLink = parametersLink; Mode = mode; DebugSetting = debugSetting; OnErrorDeployment = onErrorDeployment; CustomInit(); }
internal DeploymentPropertiesExtended(string provisioningState, string correlationId, DateTimeOffset?timestamp, string duration, object outputs, IReadOnlyList <Provider> providers, IReadOnlyList <Dependency> dependencies, TemplateLink templateLink, object parameters, ParametersLink parametersLink, DeploymentMode?mode, DebugSetting debugSetting, OnErrorDeploymentExtended onErrorDeployment, string templateHash, IReadOnlyList <ResourceReference> outputResources, IReadOnlyList <ResourceReference> validatedResources, ErrorResponse error) { ProvisioningState = provisioningState; CorrelationId = correlationId; Timestamp = timestamp; Duration = duration; Outputs = outputs; Providers = providers; Dependencies = dependencies; TemplateLink = templateLink; Parameters = parameters; ParametersLink = parametersLink; Mode = mode; DebugSetting = debugSetting; OnErrorDeployment = onErrorDeployment; TemplateHash = templateHash; OutputResources = outputResources; ValidatedResources = validatedResources; Error = error; }
/// <summary> /// Initializes a new instance of the DeploymentPropertiesExtended /// class. /// </summary> /// <param name="provisioningState">Denotes the state of provisioning. /// Possible values include: 'NotSpecified', 'Accepted', 'Running', /// 'Ready', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', /// 'Failed', 'Succeeded', 'Updating'</param> /// <param name="correlationId">The correlation ID of the /// deployment.</param> /// <param name="timestamp">The timestamp of the template /// deployment.</param> /// <param name="duration">The duration of the template /// deployment.</param> /// <param name="outputs">Key/value pairs that represent deployment /// output.</param> /// <param name="providers">The list of resource providers needed for /// the deployment.</param> /// <param name="dependencies">The list of deployment /// dependencies.</param> /// <param name="templateLink">The URI referencing the /// template.</param> /// <param name="parameters">Deployment parameters. </param> /// <param name="parametersLink">The URI referencing the parameters. /// </param> /// <param name="mode">The deployment mode. Possible values are /// Incremental and Complete. Possible values include: 'Incremental', /// 'Complete'</param> /// <param name="debugSetting">The debug setting of the /// deployment.</param> /// <param name="onErrorDeployment">The deployment on error /// behavior.</param> /// <param name="templateHash">The hash produced for the /// template.</param> /// <param name="outputResources">Array of provisioned /// resources.</param> /// <param name="validatedResources">Array of validated /// resources.</param> /// <param name="error">The deployment error.</param> public DeploymentPropertiesExtended(ProvisioningState provisioningState = default(ProvisioningState), string correlationId = default(string), System.DateTime?timestamp = default(System.DateTime?), string duration = default(string), object outputs = default(object), IList <ProviderInner> providers = default(IList <ProviderInner>), IList <Dependency> dependencies = default(IList <Dependency>), TemplateLink templateLink = default(TemplateLink), object parameters = default(object), ParametersLink parametersLink = default(ParametersLink), DeploymentMode?mode = default(DeploymentMode?), DebugSetting debugSetting = default(DebugSetting), OnErrorDeploymentExtended onErrorDeployment = default(OnErrorDeploymentExtended), string templateHash = default(string), IList <ResourceReference> outputResources = default(IList <ResourceReference>), IList <ResourceReference> validatedResources = default(IList <ResourceReference>), ErrorResponse error = default(ErrorResponse)) { ProvisioningState = provisioningState; CorrelationId = correlationId; Timestamp = timestamp; Duration = duration; Outputs = outputs; Providers = providers; Dependencies = dependencies; TemplateLink = templateLink; Parameters = parameters; ParametersLink = parametersLink; Mode = mode; DebugSetting = debugSetting; OnErrorDeployment = onErrorDeployment; TemplateHash = templateHash; OutputResources = outputResources; ValidatedResources = validatedResources; Error = error; CustomInit(); }
internal static string ToSerializedValue(this DeploymentMode?value) { return(value == null ? null : ((DeploymentMode)value).ToSerializedValue()); }