Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the WorkflowTrigger class.
 /// </summary>
 /// <param name="id">The resource id.</param>
 /// <param name="provisioningState">Gets the provisioning state.
 /// Possible values include: 'NotSpecified', 'Accepted', 'Running',
 /// 'Ready', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled',
 /// 'Failed', 'Succeeded', 'Moving', 'Updating', 'Registering',
 /// 'Registered', 'Unregistering', 'Unregistered', 'Completed'</param>
 /// <param name="createdTime">Gets the created time.</param>
 /// <param name="changedTime">Gets the changed time.</param>
 /// <param name="state">Gets the state. Possible values include:
 /// 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted',
 /// 'Suspended'</param>
 /// <param name="status">Gets the status. Possible values include:
 /// 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded',
 /// 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted',
 /// 'TimedOut', 'Aborted', 'Ignored'</param>
 /// <param name="lastExecutionTime">Gets the last execution
 /// time.</param>
 /// <param name="nextExecutionTime">Gets the next execution
 /// time.</param>
 /// <param name="recurrence">Gets the workflow trigger
 /// recurrence.</param>
 /// <param name="workflow">Gets the reference to workflow.</param>
 /// <param name="name">Gets the workflow trigger name.</param>
 /// <param name="type">Gets the workflow trigger type.</param>
 public WorkflowTrigger(string id = default(string), string provisioningState = default(string), System.DateTime?createdTime = default(System.DateTime?), System.DateTime?changedTime = default(System.DateTime?), string state = default(string), string status = default(string), System.DateTime?lastExecutionTime = default(System.DateTime?), System.DateTime?nextExecutionTime = default(System.DateTime?), WorkflowTriggerRecurrence recurrence = default(WorkflowTriggerRecurrence), ResourceReference workflow = default(ResourceReference), string name = default(string), string type = default(string))
     : base(id)
 {
     ProvisioningState = provisioningState;
     CreatedTime       = createdTime;
     ChangedTime       = changedTime;
     State             = state;
     Status            = status;
     LastExecutionTime = lastExecutionTime;
     NextExecutionTime = nextExecutionTime;
     Recurrence        = recurrence;
     Workflow          = workflow;
     Name = name;
     Type = type;
     CustomInit();
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the ApiReference class.
 /// </summary>
 /// <param name="id">The resource id.</param>
 /// <param name="name">Gets the resource name.</param>
 /// <param name="type">Gets the resource type.</param>
 /// <param name="displayName">The display name of the api.</param>
 /// <param name="description">The description of the api.</param>
 /// <param name="iconUri">The icon uri of the api.</param>
 /// <param name="swagger">The swagger of the api.</param>
 /// <param name="brandColor">The brand color of the api.</param>
 /// <param name="category">The tier. Possible values include:
 /// 'NotSpecified', 'Enterprise', 'Standard', 'Premium'</param>
 /// <param name="integrationServiceEnvironment">The integration service
 /// environment reference.</param>
 public ApiReference(string id = default(string), string name = default(string), string type = default(string), string displayName = default(string), string description = default(string), string iconUri = default(string), object swagger = default(object), string brandColor = default(string), string category = default(string), ResourceReference integrationServiceEnvironment = default(ResourceReference))
     : base(id, name, type)
 {
     DisplayName = displayName;
     Description = description;
     IconUri     = iconUri;
     Swagger     = swagger;
     BrandColor  = brandColor;
     Category    = category;
     IntegrationServiceEnvironment = integrationServiceEnvironment;
     CustomInit();
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the Workflow class.
 /// </summary>
 /// <param name="id">The resource id.</param>
 /// <param name="name">Gets the resource name.</param>
 /// <param name="type">Gets the resource type.</param>
 /// <param name="location">The resource location.</param>
 /// <param name="tags">The resource tags.</param>
 /// <param name="provisioningState">Gets the provisioning state.
 /// Possible values include: 'NotSpecified', 'Accepted', 'Running',
 /// 'Ready', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled',
 /// 'Failed', 'Succeeded', 'Moving', 'Updating', 'Registering',
 /// 'Registered', 'Unregistering', 'Unregistered', 'Completed'</param>
 /// <param name="createdTime">Gets the created time.</param>
 /// <param name="changedTime">Gets the changed time.</param>
 /// <param name="state">The state. Possible values include:
 /// 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted',
 /// 'Suspended'</param>
 /// <param name="version">Gets the version.</param>
 /// <param name="accessEndpoint">Gets the access endpoint.</param>
 /// <param name="sku">The sku.</param>
 /// <param name="integrationAccount">The integration account.</param>
 /// <param name="definition">The definition.</param>
 /// <param name="parameters">The parameters.</param>
 public Workflow(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string provisioningState = default(string), System.DateTime?createdTime = default(System.DateTime?), System.DateTime?changedTime = default(System.DateTime?), string state = default(string), string version = default(string), string accessEndpoint = default(string), Sku sku = default(Sku), ResourceReference integrationAccount = default(ResourceReference), object definition = default(object), IDictionary <string, WorkflowParameter> parameters = default(IDictionary <string, WorkflowParameter>))
     : base(id, name, type, location, tags)
 {
     ProvisioningState = provisioningState;
     CreatedTime       = createdTime;
     ChangedTime       = changedTime;
     State             = state;
     Version           = version;
     AccessEndpoint    = accessEndpoint;
     Sku = sku;
     IntegrationAccount = integrationAccount;
     Definition         = definition;
     Parameters         = parameters;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the WorkflowTriggerHistory class.
 /// </summary>
 /// <param name="id">The resource id.</param>
 /// <param name="startTime">Gets the start time.</param>
 /// <param name="endTime">Gets the end time.</param>
 /// <param name="status">Gets the status. Possible values include:
 /// 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded',
 /// 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted',
 /// 'TimedOut', 'Aborted', 'Ignored'</param>
 /// <param name="code">Gets the code.</param>
 /// <param name="error">Gets the error.</param>
 /// <param name="trackingId">Gets the tracking id.</param>
 /// <param name="correlation">The run correlation.</param>
 /// <param name="inputsLink">Gets the link to input parameters.</param>
 /// <param name="outputsLink">Gets the link to output
 /// parameters.</param>
 /// <param name="fired">Gets a value indicating whether trigger was
 /// fired.</param>
 /// <param name="run">Gets the reference to workflow run.</param>
 /// <param name="name">Gets the workflow trigger history name.</param>
 /// <param name="type">Gets the workflow trigger history type.</param>
 public WorkflowTriggerHistory(string id = default(string), System.DateTime?startTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), string status = default(string), string code = default(string), object error = default(object), string trackingId = default(string), Correlation correlation = default(Correlation), ContentLink inputsLink = default(ContentLink), ContentLink outputsLink = default(ContentLink), bool?fired = default(bool?), ResourceReference run = default(ResourceReference), string name = default(string), string type = default(string))
     : base(id)
 {
     StartTime   = startTime;
     EndTime     = endTime;
     Status      = status;
     Code        = code;
     Error       = error;
     TrackingId  = trackingId;
     Correlation = correlation;
     InputsLink  = inputsLink;
     OutputsLink = outputsLink;
     Fired       = fired;
     Run         = run;
     Name        = name;
     Type        = type;
     CustomInit();
 }
Beispiel #5
0
 /// <summary>
 /// Initializes a new instance of the Sku class.
 /// </summary>
 public Sku(SkuName?name = default(SkuName?), ResourceReference plan = default(ResourceReference))
 {
     Name = name;
     Plan = plan;
 }
Beispiel #6
0
 /// <summary>
 /// Initializes a new instance of the WorkflowRun class.
 /// </summary>
 public WorkflowRun(string id = default(string), DateTime?startTime = default(DateTime?), DateTime?endTime = default(DateTime?), WorkflowStatus?status = default(WorkflowStatus?), string code = default(string), object error = default(object), string correlationId = default(string), Correlation correlation = default(Correlation), ResourceReference workflow = default(ResourceReference), WorkflowRunTrigger trigger = default(WorkflowRunTrigger), IDictionary <string, WorkflowOutputParameter> outputs = default(IDictionary <string, WorkflowOutputParameter>), WorkflowRunTrigger response = default(WorkflowRunTrigger), string name = default(string), string type = default(string))
     : base(id)
 {
     StartTime     = startTime;
     EndTime       = endTime;
     Status        = status;
     Code          = code;
     Error         = error;
     CorrelationId = correlationId;
     Correlation   = correlation;
     Workflow      = workflow;
     Trigger       = trigger;
     Outputs       = outputs;
     Response      = response;
     Name          = name;
     Type          = type;
 }
Beispiel #7
0
 /// <summary>
 /// Initializes a new instance of the Sku class.
 /// </summary>
 /// <param name="name">The name. Possible values include:
 /// 'NotSpecified', 'Free', 'Shared', 'Basic', 'Standard',
 /// 'Premium'</param>
 /// <param name="plan">The reference to plan.</param>
 public Sku(string name, ResourceReference plan = default(ResourceReference))
 {
     Name = name;
     Plan = plan;
     CustomInit();
 }
Beispiel #8
0
 /// <summary>
 /// Initializes a new instance of the ApiResourceProperties class.
 /// </summary>
 /// <param name="name">The name</param>
 /// <param name="connectionParameters">The connection
 /// parameters.</param>
 /// <param name="metadata">The metadata.</param>
 /// <param name="runtimeUrls">The runtime urls.</param>
 /// <param name="generalInformation">The api general
 /// information.</param>
 /// <param name="capabilities">The capabilities.</param>
 /// <param name="backendService">The backend service.</param>
 /// <param name="policies">The policies for the API.</param>
 /// <param name="apiDefinitionUrl">The API definition.</param>
 /// <param name="apiDefinitions">The api definitions.</param>
 /// <param name="integrationServiceEnvironment">The integration service
 /// environment reference.</param>
 /// <param name="provisioningState">The provisioning state. Possible
 /// values include: 'NotSpecified', 'Accepted', 'Running', 'Ready',
 /// 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed',
 /// 'Succeeded', 'Moving', 'Updating', 'Registering', 'Registered',
 /// 'Unregistering', 'Unregistered', 'Completed'</param>
 /// <param name="category">The category. Possible values include:
 /// 'NotSpecified', 'Enterprise', 'Standard', 'Premium'</param>
 public ApiResourceProperties(string name = default(string), IDictionary <string, object> connectionParameters = default(IDictionary <string, object>), ApiResourceMetadata metadata = default(ApiResourceMetadata), IList <string> runtimeUrls = default(IList <string>), ApiResourceGeneralInformation generalInformation = default(ApiResourceGeneralInformation), IList <string> capabilities = default(IList <string>), ApiResourceBackendService backendService = default(ApiResourceBackendService), ApiResourcePolicies policies = default(ApiResourcePolicies), string apiDefinitionUrl = default(string), ApiResourceDefinitions apiDefinitions = default(ApiResourceDefinitions), ResourceReference integrationServiceEnvironment = default(ResourceReference), string provisioningState = default(string), string category = default(string))
 {
     Name = name;
     ConnectionParameters          = connectionParameters;
     Metadata                      = metadata;
     RuntimeUrls                   = runtimeUrls;
     GeneralInformation            = generalInformation;
     Capabilities                  = capabilities;
     BackendService                = backendService;
     Policies                      = policies;
     ApiDefinitionUrl              = apiDefinitionUrl;
     ApiDefinitions                = apiDefinitions;
     IntegrationServiceEnvironment = integrationServiceEnvironment;
     ProvisioningState             = provisioningState;
     Category                      = category;
     CustomInit();
 }