/// <summary> /// Initializes a new instance of the RolloutPropertiesModel class. /// </summary> /// <param name="status">The current status of the rollout.</param> /// <param name="totalRetryAttempts">The cardinal count of total number /// of retries performed on the rollout at a given time.</param> /// <param name="operationInfo">Operational information of the /// rollout.</param> /// <param name="services">The detailed information on the services /// being deployed.</param> public RolloutPropertiesModel(string status = default(string), int?totalRetryAttempts = default(int?), RolloutOperationInfo operationInfo = default(RolloutOperationInfo), IList <Service> services = default(IList <Service>)) { Status = status; TotalRetryAttempts = totalRetryAttempts; OperationInfo = operationInfo; Services = services; CustomInit(); }
/// <summary> /// Initializes a new instance of the Rollout class. /// </summary> /// <param name="location">The geo-location where the resource /// lives</param> /// <param name="buildVersion">The version of the build being /// deployed.</param> /// <param name="targetServiceTopologyId">The resource Id of the /// service topology from which service units are being referenced in /// step groups to be deployed.</param> /// <param name="stepGroups">The list of step groups that define the /// orchestration.</param> /// <param name="id">Fully qualified resource Id for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param> /// <param name="name">The name of the resource</param> /// <param name="type">The type of the resource. Ex- /// Microsoft.Compute/virtualMachines or /// Microsoft.Storage/storageAccounts.</param> /// <param name="tags">Resource tags.</param> /// <param name="identity">Identity for the resource.</param> /// <param name="artifactSourceId">The reference to the artifact source /// resource Id where the payload is located.</param> /// <param name="status">The current status of the rollout.</param> /// <param name="totalRetryAttempts">The cardinal count of total number /// of retries performed on the rollout at a given time.</param> /// <param name="operationInfo">Operational information of the /// rollout.</param> /// <param name="services">The detailed information on the services /// being deployed.</param> public Rollout(string location, string buildVersion, string targetServiceTopologyId, IList <StepGroup> stepGroups, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Identity identity = default(Identity), string artifactSourceId = default(string), string status = default(string), int?totalRetryAttempts = default(int?), RolloutOperationInfo operationInfo = default(RolloutOperationInfo), IList <Service> services = default(IList <Service>)) : base(location, id, name, type, tags) { Identity = identity; BuildVersion = buildVersion; ArtifactSourceId = artifactSourceId; TargetServiceTopologyId = targetServiceTopologyId; StepGroups = stepGroups; Status = status; TotalRetryAttempts = totalRetryAttempts; OperationInfo = operationInfo; Services = services; CustomInit(); }