diff --git a/sdk/logic/arm-logic/README.md b/sdk/logic/arm-logic/README.md index d92ca1283f26..9e1dc391d491 100644 --- a/sdk/logic/arm-logic/README.md +++ b/sdk/logic/arm-logic/README.md @@ -98,6 +98,3 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to ## Related projects - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/logic/arm-logic/README.png) diff --git a/sdk/logic/arm-logic/lib/logicManagementClient.ts b/sdk/logic/arm-logic/lib/logicManagementClient.ts new file mode 100644 index 000000000000..15127ec106da --- /dev/null +++ b/sdk/logic/arm-logic/lib/logicManagementClient.ts @@ -0,0 +1,84 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "./models"; +import * as Mappers from "./models/mappers"; +import * as operations from "./operations"; +import { LogicManagementClientContext } from "./logicManagementClientContext"; + + +class LogicManagementClient extends LogicManagementClientContext { + // Operation groups + workflows: operations.Workflows; + workflowVersions: operations.WorkflowVersions; + workflowTriggers: operations.WorkflowTriggers; + workflowVersionTriggers: operations.WorkflowVersionTriggers; + workflowTriggerHistories: operations.WorkflowTriggerHistories; + workflowRuns: operations.WorkflowRuns; + workflowRunActions: operations.WorkflowRunActions; + workflowRunActionRepetitions: operations.WorkflowRunActionRepetitions; + workflowRunActionRepetitionsRequestHistories: operations.WorkflowRunActionRepetitionsRequestHistories; + workflowRunActionRequestHistories: operations.WorkflowRunActionRequestHistories; + workflowRunActionScopeRepetitions: operations.WorkflowRunActionScopeRepetitions; + workflowRunOperations: operations.WorkflowRunOperations; + integrationAccounts: operations.IntegrationAccounts; + integrationAccountAssemblies: operations.IntegrationAccountAssemblies; + integrationAccountBatchConfigurations: operations.IntegrationAccountBatchConfigurations; + integrationAccountSchemas: operations.IntegrationAccountSchemas; + integrationAccountMaps: operations.IntegrationAccountMaps; + integrationAccountPartners: operations.IntegrationAccountPartners; + integrationAccountAgreements: operations.IntegrationAccountAgreements; + integrationAccountCertificates: operations.IntegrationAccountCertificates; + integrationAccountSessions: operations.IntegrationAccountSessions; + operations: operations.Operations; + + /** + * Initializes a new instance of the LogicManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param subscriptionId The subscription id. + * @param [options] The parameter options + */ + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.LogicManagementClientOptions) { + super(credentials, subscriptionId, options); + this.workflows = new operations.Workflows(this); + this.workflowVersions = new operations.WorkflowVersions(this); + this.workflowTriggers = new operations.WorkflowTriggers(this); + this.workflowVersionTriggers = new operations.WorkflowVersionTriggers(this); + this.workflowTriggerHistories = new operations.WorkflowTriggerHistories(this); + this.workflowRuns = new operations.WorkflowRuns(this); + this.workflowRunActions = new operations.WorkflowRunActions(this); + this.workflowRunActionRepetitions = new operations.WorkflowRunActionRepetitions(this); + this.workflowRunActionRepetitionsRequestHistories = new operations.WorkflowRunActionRepetitionsRequestHistories(this); + this.workflowRunActionRequestHistories = new operations.WorkflowRunActionRequestHistories(this); + this.workflowRunActionScopeRepetitions = new operations.WorkflowRunActionScopeRepetitions(this); + this.workflowRunOperations = new operations.WorkflowRunOperations(this); + this.integrationAccounts = new operations.IntegrationAccounts(this); + this.integrationAccountAssemblies = new operations.IntegrationAccountAssemblies(this); + this.integrationAccountBatchConfigurations = new operations.IntegrationAccountBatchConfigurations(this); + this.integrationAccountSchemas = new operations.IntegrationAccountSchemas(this); + this.integrationAccountMaps = new operations.IntegrationAccountMaps(this); + this.integrationAccountPartners = new operations.IntegrationAccountPartners(this); + this.integrationAccountAgreements = new operations.IntegrationAccountAgreements(this); + this.integrationAccountCertificates = new operations.IntegrationAccountCertificates(this); + this.integrationAccountSessions = new operations.IntegrationAccountSessions(this); + this.operations = new operations.Operations(this); + } +} + +// Operation Specifications + +export { + LogicManagementClient, + LogicManagementClientContext, + Models as LogicManagementModels, + Mappers as LogicManagementMappers +}; +export * from "./operations"; diff --git a/sdk/logic/arm-logic/lib/logicManagementClientContext.ts b/sdk/logic/arm-logic/lib/logicManagementClientContext.ts new file mode 100644 index 000000000000..2245297d9b23 --- /dev/null +++ b/sdk/logic/arm-logic/lib/logicManagementClientContext.ts @@ -0,0 +1,62 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as Models from "./models"; +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; + +const packageName = "@azure/arm-logic"; +const packageVersion = "6.0.1"; + +export class LogicManagementClientContext extends msRestAzure.AzureServiceClient { + credentials: msRest.ServiceClientCredentials; + subscriptionId: string; + apiVersion?: string; + + /** + * Initializes a new instance of the LogicManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param subscriptionId The subscription id. + * @param [options] The parameter options + */ + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.LogicManagementClientOptions) { + if (credentials == undefined) { + throw new Error('\'credentials\' cannot be null.'); + } + if (subscriptionId == undefined) { + throw new Error('\'subscriptionId\' cannot be null.'); + } + + if (!options) { + options = {}; + } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + + super(credentials, options); + + this.apiVersion = '2018-07-01-preview'; + this.acceptLanguage = 'en-US'; + this.longRunningOperationRetryTimeout = 30; + this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; + this.requestContentType = "application/json; charset=utf-8"; + this.credentials = credentials; + this.subscriptionId = subscriptionId; + + if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + this.acceptLanguage = options.acceptLanguage; + } + if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; + } + } +} diff --git a/sdk/logic/arm-logic/lib/models/index.ts b/sdk/logic/arm-logic/lib/models/index.ts new file mode 100644 index 000000000000..21d2c1cbe0da --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/index.ts @@ -0,0 +1,6689 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; +import * as msRest from "@azure/ms-rest-js"; + +export { BaseResource, CloudError }; + + +/** + * @interface + * An interface representing Resource. + * The base resource type. + * + * @extends BaseResource + */ +export interface Resource extends BaseResource { + /** + * @member {string} [id] The resource id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly id?: string; + /** + * @member {string} [name] Gets the resource name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly name?: string; + /** + * @member {string} [type] Gets the resource type. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly type?: string; + /** + * @member {string} [location] The resource location. + */ + location?: string; + /** + * @member {{ [propertyName: string]: string }} [tags] The resource tags. + */ + tags?: { [propertyName: string]: string }; +} + +/** + * @interface + * An interface representing SubResource. + * The sub resource type. + * + * @extends BaseResource + */ +export interface SubResource extends BaseResource { + /** + * @member {string} [id] The resource id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly id?: string; +} + +/** + * @interface + * An interface representing ResourceReference. + * The resource reference. + * + */ +export interface ResourceReference { + /** + * @member {string} [id] The resource id. + */ + id?: string; + /** + * @member {string} [name] Gets the resource name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly name?: string; + /** + * @member {string} [type] Gets the resource type. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly type?: string; +} + +/** + * @interface + * An interface representing Sku. + * The sku type. + * + */ +export interface Sku { + /** + * @member {SkuName} name The name. Possible values include: 'NotSpecified', + * 'Free', 'Shared', 'Basic', 'Standard', 'Premium' + */ + name: SkuName; + /** + * @member {ResourceReference} [plan] The reference to plan. + */ + plan?: ResourceReference; +} + +/** + * @interface + * An interface representing WorkflowParameter. + * The workflow parameters. + * + */ +export interface WorkflowParameter { + /** + * @member {ParameterType} [type] The type. Possible values include: + * 'NotSpecified', 'String', 'SecureString', 'Int', 'Float', 'Bool', 'Array', + * 'Object', 'SecureObject' + */ + type?: ParameterType; + /** + * @member {any} [value] The value. + */ + value?: any; + /** + * @member {any} [metadata] The metadata. + */ + metadata?: any; + /** + * @member {string} [description] The description. + */ + description?: string; +} + +/** + * @interface + * An interface representing Workflow. + * The workflow type. + * + * @extends Resource + */ +export interface Workflow extends Resource { + /** + * @member {WorkflowProvisioningState} [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' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly provisioningState?: WorkflowProvisioningState; + /** + * @member {Date} [createdTime] Gets the created time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly createdTime?: Date; + /** + * @member {Date} [changedTime] Gets the changed time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly changedTime?: Date; + /** + * @member {WorkflowState} [state] The state. Possible values include: + * 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' + */ + state?: WorkflowState; + /** + * @member {string} [version] Gets the version. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly version?: string; + /** + * @member {string} [accessEndpoint] Gets the access endpoint. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly accessEndpoint?: string; + /** + * @member {Sku} [sku] The sku. + */ + sku?: Sku; + /** + * @member {ResourceReference} [integrationAccount] The integration account. + */ + integrationAccount?: ResourceReference; + /** + * @member {any} [definition] The definition. + */ + definition?: any; + /** + * @member {{ [propertyName: string]: WorkflowParameter }} [parameters] The + * parameters. + */ + parameters?: { [propertyName: string]: WorkflowParameter }; +} + +/** + * @interface + * An interface representing WorkflowFilter. + * The workflow filter. + * + */ +export interface WorkflowFilter { + /** + * @member {WorkflowState} [state] The state of workflows. Possible values + * include: 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', + * 'Suspended' + */ + state?: WorkflowState; +} + +/** + * @interface + * An interface representing WorkflowVersion. + * The workflow version. + * + * @extends Resource + */ +export interface WorkflowVersion extends Resource { + /** + * @member {Date} [createdTime] Gets the created time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly createdTime?: Date; + /** + * @member {Date} [changedTime] Gets the changed time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly changedTime?: Date; + /** + * @member {WorkflowState} [state] The state. Possible values include: + * 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' + */ + state?: WorkflowState; + /** + * @member {string} [version] Gets the version. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly version?: string; + /** + * @member {string} [accessEndpoint] Gets the access endpoint. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly accessEndpoint?: string; + /** + * @member {Sku} [sku] The sku. + */ + sku?: Sku; + /** + * @member {ResourceReference} [integrationAccount] The integration account. + */ + integrationAccount?: ResourceReference; + /** + * @member {any} [definition] The definition. + */ + definition?: any; + /** + * @member {{ [propertyName: string]: WorkflowParameter }} [parameters] The + * parameters. + */ + parameters?: { [propertyName: string]: WorkflowParameter }; +} + +/** + * @interface + * An interface representing RecurrenceScheduleOccurrence. + * The recurrence schedule occurrence. + * + */ +export interface RecurrenceScheduleOccurrence { + /** + * @member {DayOfWeek} [day] The day of the week. Possible values include: + * 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', + * 'Saturday' + */ + day?: DayOfWeek; + /** + * @member {number} [occurrence] The occurrence. + */ + occurrence?: number; +} + +/** + * @interface + * An interface representing RecurrenceSchedule. + * The recurrence schedule. + * + */ +export interface RecurrenceSchedule { + /** + * @member {number[]} [minutes] The minutes. + */ + minutes?: number[]; + /** + * @member {number[]} [hours] The hours. + */ + hours?: number[]; + /** + * @member {DaysOfWeek[]} [weekDays] The days of the week. + */ + weekDays?: DaysOfWeek[]; + /** + * @member {number[]} [monthDays] The month days. + */ + monthDays?: number[]; + /** + * @member {RecurrenceScheduleOccurrence[]} [monthlyOccurrences] The monthly + * occurrences. + */ + monthlyOccurrences?: RecurrenceScheduleOccurrence[]; +} + +/** + * @interface + * An interface representing WorkflowTriggerRecurrence. + * The workflow trigger recurrence. + * + */ +export interface WorkflowTriggerRecurrence { + /** + * @member {RecurrenceFrequency} [frequency] The frequency. Possible values + * include: 'NotSpecified', 'Second', 'Minute', 'Hour', 'Day', 'Week', + * 'Month', 'Year' + */ + frequency?: RecurrenceFrequency; + /** + * @member {number} [interval] The interval. + */ + interval?: number; + /** + * @member {string} [startTime] The start time. + */ + startTime?: string; + /** + * @member {string} [endTime] The end time. + */ + endTime?: string; + /** + * @member {string} [timeZone] The time zone. + */ + timeZone?: string; + /** + * @member {RecurrenceSchedule} [schedule] The recurrence schedule. + */ + schedule?: RecurrenceSchedule; +} + +/** + * @interface + * An interface representing WorkflowTrigger. + * The workflow trigger. + * + * @extends SubResource + */ +export interface WorkflowTrigger extends SubResource { + /** + * @member {WorkflowTriggerProvisioningState} [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' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly provisioningState?: WorkflowTriggerProvisioningState; + /** + * @member {Date} [createdTime] Gets the created time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly createdTime?: Date; + /** + * @member {Date} [changedTime] Gets the changed time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly changedTime?: Date; + /** + * @member {WorkflowState} [state] Gets the state. Possible values include: + * 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', 'Suspended' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly state?: WorkflowState; + /** + * @member {WorkflowStatus} [status] Gets the status. Possible values + * include: 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', + * 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', + * 'Aborted', 'Ignored' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly status?: WorkflowStatus; + /** + * @member {Date} [lastExecutionTime] Gets the last execution time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly lastExecutionTime?: Date; + /** + * @member {Date} [nextExecutionTime] Gets the next execution time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly nextExecutionTime?: Date; + /** + * @member {WorkflowTriggerRecurrence} [recurrence] Gets the workflow trigger + * recurrence. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly recurrence?: WorkflowTriggerRecurrence; + /** + * @member {ResourceReference} [workflow] Gets the reference to workflow. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly workflow?: ResourceReference; + /** + * @member {string} [name] Gets the workflow trigger name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly name?: string; + /** + * @member {string} [type] Gets the workflow trigger type. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly type?: string; +} + +/** + * @interface + * An interface representing WorkflowTriggerFilter. + * The workflow trigger filter. + * + */ +export interface WorkflowTriggerFilter { + /** + * @member {WorkflowState} [state] The state of workflow trigger. Possible + * values include: 'NotSpecified', 'Completed', 'Enabled', 'Disabled', + * 'Deleted', 'Suspended' + */ + state?: WorkflowState; +} + +/** + * @interface + * An interface representing WorkflowTriggerListCallbackUrlQueries. + * Gets the workflow trigger callback URL query parameters. + * + */ +export interface WorkflowTriggerListCallbackUrlQueries { + /** + * @member {string} [apiVersion] The api version. + */ + apiVersion?: string; + /** + * @member {string} [sp] The SAS permissions. + */ + sp?: string; + /** + * @member {string} [sv] The SAS version. + */ + sv?: string; + /** + * @member {string} [sig] The SAS signature. + */ + sig?: string; + /** + * @member {string} [se] The SAS timestamp. + */ + se?: string; +} + +/** + * @interface + * An interface representing WorkflowTriggerCallbackUrl. + * The workflow trigger callback URL. + * + */ +export interface WorkflowTriggerCallbackUrl { + /** + * @member {string} [value] Gets the workflow trigger callback URL. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly value?: string; + /** + * @member {string} [method] Gets the workflow trigger callback URL HTTP + * method. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly method?: string; + /** + * @member {string} [basePath] Gets the workflow trigger callback URL base + * path. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly basePath?: string; + /** + * @member {string} [relativePath] Gets the workflow trigger callback URL + * relative path. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly relativePath?: string; + /** + * @member {string[]} [relativePathParameters] Gets the workflow trigger + * callback URL relative path parameters. + */ + relativePathParameters?: string[]; + /** + * @member {WorkflowTriggerListCallbackUrlQueries} [queries] Gets the + * workflow trigger callback URL query parameters. + */ + queries?: WorkflowTriggerListCallbackUrlQueries; +} + +/** + * @interface + * An interface representing Correlation. + * The correlation property. + * + */ +export interface Correlation { + /** + * @member {string} [clientTrackingId] The client tracking id. + */ + clientTrackingId?: string; +} + +/** + * @interface + * An interface representing ContentHash. + * The content hash. + * + */ +export interface ContentHash { + /** + * @member {string} [algorithm] The algorithm of the content hash. + */ + algorithm?: string; + /** + * @member {string} [value] The value of the content hash. + */ + value?: string; +} + +/** + * @interface + * An interface representing ContentLink. + * The content link. + * + */ +export interface ContentLink { + /** + * @member {string} [uri] The content link URI. + */ + uri?: string; + /** + * @member {string} [contentVersion] The content version. + */ + contentVersion?: string; + /** + * @member {number} [contentSize] The content size. + */ + contentSize?: number; + /** + * @member {ContentHash} [contentHash] The content hash. + */ + contentHash?: ContentHash; + /** + * @member {any} [metadata] The metadata. + */ + metadata?: any; +} + +/** + * @interface + * An interface representing WorkflowTriggerHistory. + * The workflow trigger history. + * + * @extends SubResource + */ +export interface WorkflowTriggerHistory extends SubResource { + /** + * @member {Date} [startTime] Gets the start time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly startTime?: Date; + /** + * @member {Date} [endTime] Gets the end time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly endTime?: Date; + /** + * @member {WorkflowStatus} [status] Gets the status. Possible values + * include: 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', + * 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', + * 'Aborted', 'Ignored' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly status?: WorkflowStatus; + /** + * @member {string} [code] Gets the code. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly code?: string; + /** + * @member {any} [error] Gets the error. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly error?: any; + /** + * @member {string} [trackingId] Gets the tracking id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly trackingId?: string; + /** + * @member {Correlation} [correlation] The run correlation. + */ + correlation?: Correlation; + /** + * @member {ContentLink} [inputsLink] Gets the link to input parameters. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly inputsLink?: ContentLink; + /** + * @member {ContentLink} [outputsLink] Gets the link to output parameters. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly outputsLink?: ContentLink; + /** + * @member {boolean} [fired] Gets a value indicating whether trigger was + * fired. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly fired?: boolean; + /** + * @member {ResourceReference} [run] Gets the reference to workflow run. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly run?: ResourceReference; + /** + * @member {string} [name] Gets the workflow trigger history name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly name?: string; + /** + * @member {string} [type] Gets the workflow trigger history type. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly type?: string; +} + +/** + * @interface + * An interface representing WorkflowTriggerHistoryFilter. + * The workflow trigger history filter. + * + */ +export interface WorkflowTriggerHistoryFilter { + /** + * @member {WorkflowStatus} [status] The status of workflow trigger history. + * Possible values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', + * 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', + * 'TimedOut', 'Aborted', 'Ignored' + */ + status?: WorkflowStatus; +} + +/** + * @interface + * An interface representing WorkflowRunTrigger. + * The workflow run trigger. + * + */ +export interface WorkflowRunTrigger { + /** + * @member {string} [name] Gets the name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly name?: string; + /** + * @member {any} [inputs] Gets the inputs. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly inputs?: any; + /** + * @member {ContentLink} [inputsLink] Gets the link to inputs. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly inputsLink?: ContentLink; + /** + * @member {any} [outputs] Gets the outputs. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly outputs?: any; + /** + * @member {ContentLink} [outputsLink] Gets the link to outputs. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly outputsLink?: ContentLink; + /** + * @member {Date} [scheduledTime] Gets the scheduled time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly scheduledTime?: Date; + /** + * @member {Date} [startTime] Gets the start time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly startTime?: Date; + /** + * @member {Date} [endTime] Gets the end time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly endTime?: Date; + /** + * @member {string} [trackingId] Gets the tracking id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly trackingId?: string; + /** + * @member {Correlation} [correlation] The run correlation. + */ + correlation?: Correlation; + /** + * @member {string} [code] Gets the code. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly code?: string; + /** + * @member {WorkflowStatus} [status] Gets the status. Possible values + * include: 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', + * 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', + * 'Aborted', 'Ignored' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly status?: WorkflowStatus; + /** + * @member {any} [error] Gets the error. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly error?: any; + /** + * @member {any} [trackedProperties] Gets the tracked properties. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly trackedProperties?: any; +} + +/** + * @interface + * An interface representing WorkflowOutputParameter. + * The workflow output parameter. + * + * @extends WorkflowParameter + */ +export interface WorkflowOutputParameter extends WorkflowParameter { + /** + * @member {any} [error] Gets the error. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly error?: any; +} + +/** + * @interface + * An interface representing WorkflowRun. + * The workflow run. + * + * @extends SubResource + */ +export interface WorkflowRun extends SubResource { + /** + * @member {Date} [waitEndTime] Gets the wait end time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly waitEndTime?: Date; + /** + * @member {Date} [startTime] Gets the start time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly startTime?: Date; + /** + * @member {Date} [endTime] Gets the end time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly endTime?: Date; + /** + * @member {WorkflowStatus} [status] Gets the status. Possible values + * include: 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', + * 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', + * 'Aborted', 'Ignored' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly status?: WorkflowStatus; + /** + * @member {string} [code] Gets the code. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly code?: string; + /** + * @member {any} [error] Gets the error. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly error?: any; + /** + * @member {string} [correlationId] Gets the correlation id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly correlationId?: string; + /** + * @member {Correlation} [correlation] The run correlation. + */ + correlation?: Correlation; + /** + * @member {ResourceReference} [workflow] Gets the reference to workflow + * version. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly workflow?: ResourceReference; + /** + * @member {WorkflowRunTrigger} [trigger] Gets the fired trigger. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly trigger?: WorkflowRunTrigger; + /** + * @member {{ [propertyName: string]: WorkflowOutputParameter }} [outputs] + * Gets the outputs. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly outputs?: { [propertyName: string]: WorkflowOutputParameter }; + /** + * @member {WorkflowRunTrigger} [response] Gets the response of the flow run. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly response?: WorkflowRunTrigger; + /** + * @member {string} [name] Gets the workflow run name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly name?: string; + /** + * @member {string} [type] Gets the workflow run type. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly type?: string; +} + +/** + * @interface + * An interface representing WorkflowRunFilter. + * The workflow run filter. + * + */ +export interface WorkflowRunFilter { + /** + * @member {WorkflowStatus} [status] The status of workflow run. Possible + * values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', + * 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', + * 'TimedOut', 'Aborted', 'Ignored' + */ + status?: WorkflowStatus; +} + +/** + * @interface + * An interface representing ErrorProperties. + * Error properties indicate why the Logic service was not able to process the + * incoming request. The reason is provided in the error message. + * + */ +export interface ErrorProperties { + /** + * @member {string} [code] Error code. + */ + code?: string; + /** + * @member {string} [message] Error message indicating why the operation + * failed. + */ + message?: string; +} + +/** + * @interface + * An interface representing ErrorResponse. + * Error response indicates Logic service is not able to process the incoming + * request. The error property contains the error details. + * + */ +export interface ErrorResponse { + /** + * @member {ErrorProperties} [error] The error properties. + */ + error?: ErrorProperties; +} + +/** + * @interface + * An interface representing RetryHistory. + * The retry history. + * + */ +export interface RetryHistory { + /** + * @member {Date} [startTime] Gets the start time. + */ + startTime?: Date; + /** + * @member {Date} [endTime] Gets the end time. + */ + endTime?: Date; + /** + * @member {string} [code] Gets the status code. + */ + code?: string; + /** + * @member {string} [clientRequestId] Gets the client request Id. + */ + clientRequestId?: string; + /** + * @member {string} [serviceRequestId] Gets the service request Id. + */ + serviceRequestId?: string; + /** + * @member {ErrorResponse} [error] Gets the error response. + */ + error?: ErrorResponse; +} + +/** + * @interface + * An interface representing WorkflowRunAction. + * The workflow run action. + * + * @extends SubResource + */ +export interface WorkflowRunAction extends SubResource { + /** + * @member {Date} [startTime] Gets the start time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly startTime?: Date; + /** + * @member {Date} [endTime] Gets the end time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly endTime?: Date; + /** + * @member {WorkflowStatus} [status] Gets the status. Possible values + * include: 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', + * 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', + * 'Aborted', 'Ignored' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly status?: WorkflowStatus; + /** + * @member {string} [code] Gets the code. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly code?: string; + /** + * @member {any} [error] Gets the error. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly error?: any; + /** + * @member {string} [trackingId] Gets the tracking id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly trackingId?: string; + /** + * @member {Correlation} [correlation] The correlation properties. + */ + correlation?: Correlation; + /** + * @member {ContentLink} [inputsLink] Gets the link to inputs. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly inputsLink?: ContentLink; + /** + * @member {ContentLink} [outputsLink] Gets the link to outputs. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly outputsLink?: ContentLink; + /** + * @member {any} [trackedProperties] Gets the tracked properties. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly trackedProperties?: any; + /** + * @member {RetryHistory[]} [retryHistory] Gets the retry histories. + */ + retryHistory?: RetryHistory[]; + /** + * @member {string} [name] Gets the workflow run action name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly name?: string; + /** + * @member {string} [type] Gets the workflow run action type. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly type?: string; +} + +/** + * @interface + * An interface representing WorkflowRunActionFilter. + * The workflow run action filter. + * + */ +export interface WorkflowRunActionFilter { + /** + * @member {WorkflowStatus} [status] The status of workflow run action. + * Possible values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', + * 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', + * 'TimedOut', 'Aborted', 'Ignored' + */ + status?: WorkflowStatus; +} + +/** + * @interface + * An interface representing RegenerateActionParameter. + * The access key regenerate action content. + * + */ +export interface RegenerateActionParameter { + /** + * @member {KeyType} [keyType] The key type. Possible values include: + * 'NotSpecified', 'Primary', 'Secondary' + */ + keyType?: KeyType; +} + +/** + * @interface + * An interface representing GenerateUpgradedDefinitionParameters. + * The parameters to generate upgraded definition. + * + */ +export interface GenerateUpgradedDefinitionParameters { + /** + * @member {string} [targetSchemaVersion] The target schema version. + */ + targetSchemaVersion?: string; +} + +/** + * @interface + * An interface representing IntegrationAccountSku. + * The integration account sku. + * + */ +export interface IntegrationAccountSku { + /** + * @member {IntegrationAccountSkuName} name The sku name. Possible values + * include: 'NotSpecified', 'Free', 'Basic', 'Standard' + */ + name: IntegrationAccountSkuName; +} + +/** + * @interface + * An interface representing IntegrationAccount. + * The integration account. + * + * @extends Resource + */ +export interface IntegrationAccount extends Resource { + /** + * @member {any} [properties] The integration account properties. + */ + properties?: any; + /** + * @member {IntegrationAccountSku} [sku] The sku. + */ + sku?: IntegrationAccountSku; +} + +/** + * @interface + * An interface representing GetCallbackUrlParameters. + * The callback url parameters. + * + */ +export interface GetCallbackUrlParameters { + /** + * @member {Date} [notAfter] The expiry time. + */ + notAfter?: Date; + /** + * @member {KeyType} [keyType] The key type. Possible values include: + * 'NotSpecified', 'Primary', 'Secondary' + */ + keyType?: KeyType; +} + +/** + * @interface + * An interface representing CallbackUrl. + * The callback url. + * + */ +export interface CallbackUrl { + /** + * @member {string} [value] The URL value. + */ + value?: string; +} + +/** + * @interface + * An interface representing IntegrationAccountSchema. + * The integration account schema. + * + * @extends Resource + */ +export interface IntegrationAccountSchema extends Resource { + /** + * @member {SchemaType} schemaType The schema type. Possible values include: + * 'NotSpecified', 'Xml' + */ + schemaType: SchemaType; + /** + * @member {string} [targetNamespace] The target namespace of the schema. + */ + targetNamespace?: string; + /** + * @member {string} [documentName] The document name. + */ + documentName?: string; + /** + * @member {string} [fileName] The file name. + */ + fileName?: string; + /** + * @member {Date} [createdTime] The created time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly createdTime?: Date; + /** + * @member {Date} [changedTime] The changed time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly changedTime?: Date; + /** + * @member {any} [metadata] The metadata. + */ + metadata?: any; + /** + * @member {string} [content] The content. + */ + content?: string; + /** + * @member {string} [contentType] The content type. + */ + contentType?: string; + /** + * @member {ContentLink} [contentLink] The content link. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly contentLink?: ContentLink; +} + +/** + * @interface + * An interface representing IntegrationAccountSchemaFilter. + * The integration account schema filter for odata query. + * + */ +export interface IntegrationAccountSchemaFilter { + /** + * @member {SchemaType} schemaType The schema type of integration account + * schema. Possible values include: 'NotSpecified', 'Xml' + */ + schemaType: SchemaType; +} + +/** + * @interface + * An interface representing IntegrationAccountMapPropertiesParametersSchema. + * The parameters schema of integration account map. + * + */ +export interface IntegrationAccountMapPropertiesParametersSchema { + /** + * @member {string} [ref] The reference name. + */ + ref?: string; +} + +/** + * @interface + * An interface representing IntegrationAccountMap. + * The integration account map. + * + * @extends Resource + */ +export interface IntegrationAccountMap extends Resource { + /** + * @member {MapType} mapType The map type. Possible values include: + * 'NotSpecified', 'Xslt', 'Xslt20', 'Xslt30', 'Liquid' + */ + mapType: MapType; + /** + * @member {IntegrationAccountMapPropertiesParametersSchema} + * [parametersSchema] The parameters schema of integration account map. + */ + parametersSchema?: IntegrationAccountMapPropertiesParametersSchema; + /** + * @member {Date} [createdTime] The created time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly createdTime?: Date; + /** + * @member {Date} [changedTime] The changed time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly changedTime?: Date; + /** + * @member {string} [content] The content. + */ + content?: string; + /** + * @member {string} [contentType] The content type. + */ + contentType?: string; + /** + * @member {ContentLink} [contentLink] The content link. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly contentLink?: ContentLink; + /** + * @member {any} [metadata] The metadata. + */ + metadata?: any; +} + +/** + * @interface + * An interface representing IntegrationAccountMapFilter. + * The integration account map filter for odata query. + * + */ +export interface IntegrationAccountMapFilter { + /** + * @member {MapType} mapType The map type of integration account map. + * Possible values include: 'NotSpecified', 'Xslt', 'Xslt20', 'Xslt30', + * 'Liquid' + */ + mapType: MapType; +} + +/** + * @interface + * An interface representing BusinessIdentity. + * The integration account partner's business identity. + * + */ +export interface BusinessIdentity { + /** + * @member {string} qualifier The business identity qualifier e.g. + * as2identity, ZZ, ZZZ, 31, 32 + */ + qualifier: string; + /** + * @member {string} value The user defined business identity value. + */ + value: string; +} + +/** + * @interface + * An interface representing B2BPartnerContent. + * The B2B partner content. + * + */ +export interface B2BPartnerContent { + /** + * @member {BusinessIdentity[]} [businessIdentities] The list of partner + * business identities. + */ + businessIdentities?: BusinessIdentity[]; +} + +/** + * @interface + * An interface representing PartnerContent. + * The integration account partner content. + * + */ +export interface PartnerContent { + /** + * @member {B2BPartnerContent} [b2b] The B2B partner content. + */ + b2b?: B2BPartnerContent; +} + +/** + * @interface + * An interface representing IntegrationAccountPartner. + * The integration account partner. + * + * @extends Resource + */ +export interface IntegrationAccountPartner extends Resource { + /** + * @member {PartnerType} partnerType The partner type. Possible values + * include: 'NotSpecified', 'B2B' + */ + partnerType: PartnerType; + /** + * @member {Date} [createdTime] The created time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly createdTime?: Date; + /** + * @member {Date} [changedTime] The changed time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly changedTime?: Date; + /** + * @member {any} [metadata] The metadata. + */ + metadata?: any; + /** + * @member {PartnerContent} content The partner content. + */ + content: PartnerContent; +} + +/** + * @interface + * An interface representing IntegrationAccountPartnerFilter. + * The integration account partner filter for odata query. + * + */ +export interface IntegrationAccountPartnerFilter { + /** + * @member {PartnerType} partnerType The partner type of integration account + * partner. Possible values include: 'NotSpecified', 'B2B' + */ + partnerType: PartnerType; +} + +/** + * @interface + * An interface representing AS2MessageConnectionSettings. + * The AS2 agreement message connection settings. + * + */ +export interface AS2MessageConnectionSettings { + /** + * @member {boolean} ignoreCertificateNameMismatch The value indicating + * whether to ignore mismatch in certificate name. + */ + ignoreCertificateNameMismatch: boolean; + /** + * @member {boolean} supportHttpStatusCodeContinue The value indicating + * whether to support HTTP status code 'CONTINUE'. + */ + supportHttpStatusCodeContinue: boolean; + /** + * @member {boolean} keepHttpConnectionAlive The value indicating whether to + * keep the connection alive. + */ + keepHttpConnectionAlive: boolean; + /** + * @member {boolean} unfoldHttpHeaders The value indicating whether to unfold + * the HTTP headers. + */ + unfoldHttpHeaders: boolean; +} + +/** + * @interface + * An interface representing AS2AcknowledgementConnectionSettings. + * The AS2 agreement acknowledgement connection settings. + * + */ +export interface AS2AcknowledgementConnectionSettings { + /** + * @member {boolean} ignoreCertificateNameMismatch The value indicating + * whether to ignore mismatch in certificate name. + */ + ignoreCertificateNameMismatch: boolean; + /** + * @member {boolean} supportHttpStatusCodeContinue The value indicating + * whether to support HTTP status code 'CONTINUE'. + */ + supportHttpStatusCodeContinue: boolean; + /** + * @member {boolean} keepHttpConnectionAlive The value indicating whether to + * keep the connection alive. + */ + keepHttpConnectionAlive: boolean; + /** + * @member {boolean} unfoldHttpHeaders The value indicating whether to unfold + * the HTTP headers. + */ + unfoldHttpHeaders: boolean; +} + +/** + * @interface + * An interface representing AS2MdnSettings. + * The AS2 agreement mdn settings. + * + */ +export interface AS2MdnSettings { + /** + * @member {boolean} needMDN The value indicating whether to send or request + * a MDN. + */ + needMDN: boolean; + /** + * @member {boolean} signMDN The value indicating whether the MDN needs to be + * signed or not. + */ + signMDN: boolean; + /** + * @member {boolean} sendMDNAsynchronously The value indicating whether to + * send the asynchronous MDN. + */ + sendMDNAsynchronously: boolean; + /** + * @member {string} [receiptDeliveryUrl] The receipt delivery URL. + */ + receiptDeliveryUrl?: string; + /** + * @member {string} [dispositionNotificationTo] The disposition notification + * to header value. + */ + dispositionNotificationTo?: string; + /** + * @member {boolean} signOutboundMDNIfOptional The value indicating whether + * to sign the outbound MDN if optional. + */ + signOutboundMDNIfOptional: boolean; + /** + * @member {string} [mdnText] The MDN text. + */ + mdnText?: string; + /** + * @member {boolean} sendInboundMDNToMessageBox The value indicating whether + * to send inbound MDN to message box. + */ + sendInboundMDNToMessageBox: boolean; + /** + * @member {HashingAlgorithm} micHashingAlgorithm The signing or hashing + * algorithm. Possible values include: 'NotSpecified', 'None', 'MD5', 'SHA1', + * 'SHA2256', 'SHA2384', 'SHA2512' + */ + micHashingAlgorithm: HashingAlgorithm; +} + +/** + * @interface + * An interface representing AS2SecuritySettings. + * The AS2 agreement security settings. + * + */ +export interface AS2SecuritySettings { + /** + * @member {boolean} overrideGroupSigningCertificate The value indicating + * whether to send or request a MDN. + */ + overrideGroupSigningCertificate: boolean; + /** + * @member {string} [signingCertificateName] The name of the signing + * certificate. + */ + signingCertificateName?: string; + /** + * @member {string} [encryptionCertificateName] The name of the encryption + * certificate. + */ + encryptionCertificateName?: string; + /** + * @member {boolean} enableNRRForInboundEncodedMessages The value indicating + * whether to enable NRR for inbound encoded messages. + */ + enableNRRForInboundEncodedMessages: boolean; + /** + * @member {boolean} enableNRRForInboundDecodedMessages The value indicating + * whether to enable NRR for inbound decoded messages. + */ + enableNRRForInboundDecodedMessages: boolean; + /** + * @member {boolean} enableNRRForOutboundMDN The value indicating whether to + * enable NRR for outbound MDN. + */ + enableNRRForOutboundMDN: boolean; + /** + * @member {boolean} enableNRRForOutboundEncodedMessages The value indicating + * whether to enable NRR for outbound encoded messages. + */ + enableNRRForOutboundEncodedMessages: boolean; + /** + * @member {boolean} enableNRRForOutboundDecodedMessages The value indicating + * whether to enable NRR for outbound decoded messages. + */ + enableNRRForOutboundDecodedMessages: boolean; + /** + * @member {boolean} enableNRRForInboundMDN The value indicating whether to + * enable NRR for inbound MDN. + */ + enableNRRForInboundMDN: boolean; + /** + * @member {string} [sha2AlgorithmFormat] The Sha2 algorithm format. Valid + * values are Sha2, ShaHashSize, ShaHyphenHashSize, Sha2UnderscoreHashSize. + */ + sha2AlgorithmFormat?: string; +} + +/** + * @interface + * An interface representing AS2ValidationSettings. + * The AS2 agreement validation settings. + * + */ +export interface AS2ValidationSettings { + /** + * @member {boolean} overrideMessageProperties The value indicating whether + * to override incoming message properties with those in agreement. + */ + overrideMessageProperties: boolean; + /** + * @member {boolean} encryptMessage The value indicating whether the message + * has to be encrypted. + */ + encryptMessage: boolean; + /** + * @member {boolean} signMessage The value indicating whether the message has + * to be signed. + */ + signMessage: boolean; + /** + * @member {boolean} compressMessage The value indicating whether the message + * has to be compressed. + */ + compressMessage: boolean; + /** + * @member {boolean} checkDuplicateMessage The value indicating whether to + * check for duplicate message. + */ + checkDuplicateMessage: boolean; + /** + * @member {number} interchangeDuplicatesValidityDays The number of days to + * look back for duplicate interchange. + */ + interchangeDuplicatesValidityDays: number; + /** + * @member {boolean} checkCertificateRevocationListOnSend The value + * indicating whether to check for certificate revocation list on send. + */ + checkCertificateRevocationListOnSend: boolean; + /** + * @member {boolean} checkCertificateRevocationListOnReceive The value + * indicating whether to check for certificate revocation list on receive. + */ + checkCertificateRevocationListOnReceive: boolean; + /** + * @member {EncryptionAlgorithm} encryptionAlgorithm The encryption + * algorithm. Possible values include: 'NotSpecified', 'None', 'DES3', 'RC2', + * 'AES128', 'AES192', 'AES256' + */ + encryptionAlgorithm: EncryptionAlgorithm; + /** + * @member {SigningAlgorithm} [signingAlgorithm] The signing algorithm. + * Possible values include: 'NotSpecified', 'Default', 'SHA1', 'SHA2256', + * 'SHA2384', 'SHA2512' + */ + signingAlgorithm?: SigningAlgorithm; +} + +/** + * @interface + * An interface representing AS2EnvelopeSettings. + * The AS2 agreement envelope settings. + * + */ +export interface AS2EnvelopeSettings { + /** + * @member {string} messageContentType The message content type. + */ + messageContentType: string; + /** + * @member {boolean} transmitFileNameInMimeHeader The value indicating + * whether to transmit file name in mime header. + */ + transmitFileNameInMimeHeader: boolean; + /** + * @member {string} fileNameTemplate The template for file name. + */ + fileNameTemplate: string; + /** + * @member {boolean} suspendMessageOnFileNameGenerationError The value + * indicating whether to suspend message on file name generation error. + */ + suspendMessageOnFileNameGenerationError: boolean; + /** + * @member {boolean} autogenerateFileName The value indicating whether to + * auto generate file name. + */ + autogenerateFileName: boolean; +} + +/** + * @interface + * An interface representing AS2ErrorSettings. + * The AS2 agreement error settings. + * + */ +export interface AS2ErrorSettings { + /** + * @member {boolean} suspendDuplicateMessage The value indicating whether to + * suspend duplicate message. + */ + suspendDuplicateMessage: boolean; + /** + * @member {boolean} resendIfMDNNotReceived The value indicating whether to + * resend message If MDN is not received. + */ + resendIfMDNNotReceived: boolean; +} + +/** + * @interface + * An interface representing AS2ProtocolSettings. + * The AS2 agreement protocol settings. + * + */ +export interface AS2ProtocolSettings { + /** + * @member {AS2MessageConnectionSettings} messageConnectionSettings The + * message connection settings. + */ + messageConnectionSettings: AS2MessageConnectionSettings; + /** + * @member {AS2AcknowledgementConnectionSettings} + * acknowledgementConnectionSettings The acknowledgement connection settings. + */ + acknowledgementConnectionSettings: AS2AcknowledgementConnectionSettings; + /** + * @member {AS2MdnSettings} mdnSettings The MDN settings. + */ + mdnSettings: AS2MdnSettings; + /** + * @member {AS2SecuritySettings} securitySettings The security settings. + */ + securitySettings: AS2SecuritySettings; + /** + * @member {AS2ValidationSettings} validationSettings The validation + * settings. + */ + validationSettings: AS2ValidationSettings; + /** + * @member {AS2EnvelopeSettings} envelopeSettings The envelope settings. + */ + envelopeSettings: AS2EnvelopeSettings; + /** + * @member {AS2ErrorSettings} errorSettings The error settings. + */ + errorSettings: AS2ErrorSettings; +} + +/** + * @interface + * An interface representing AS2OneWayAgreement. + * The integration account AS2 one-way agreement. + * + */ +export interface AS2OneWayAgreement { + /** + * @member {BusinessIdentity} senderBusinessIdentity The sender business + * identity + */ + senderBusinessIdentity: BusinessIdentity; + /** + * @member {BusinessIdentity} receiverBusinessIdentity The receiver business + * identity + */ + receiverBusinessIdentity: BusinessIdentity; + /** + * @member {AS2ProtocolSettings} protocolSettings The AS2 protocol settings. + */ + protocolSettings: AS2ProtocolSettings; +} + +/** + * @interface + * An interface representing AS2AgreementContent. + * The integration account AS2 agreement content. + * + */ +export interface AS2AgreementContent { + /** + * @member {AS2OneWayAgreement} receiveAgreement The AS2 one-way receive + * agreement. + */ + receiveAgreement: AS2OneWayAgreement; + /** + * @member {AS2OneWayAgreement} sendAgreement The AS2 one-way send agreement. + */ + sendAgreement: AS2OneWayAgreement; +} + +/** + * @interface + * An interface representing X12ValidationSettings. + * The X12 agreement validation settings. + * + */ +export interface X12ValidationSettings { + /** + * @member {boolean} validateCharacterSet The value indicating whether to + * validate character set in the message. + */ + validateCharacterSet: boolean; + /** + * @member {boolean} checkDuplicateInterchangeControlNumber The value + * indicating whether to check for duplicate interchange control number. + */ + checkDuplicateInterchangeControlNumber: boolean; + /** + * @member {number} interchangeControlNumberValidityDays The validity period + * of interchange control number. + */ + interchangeControlNumberValidityDays: number; + /** + * @member {boolean} checkDuplicateGroupControlNumber The value indicating + * whether to check for duplicate group control number. + */ + checkDuplicateGroupControlNumber: boolean; + /** + * @member {boolean} checkDuplicateTransactionSetControlNumber The value + * indicating whether to check for duplicate transaction set control number. + */ + checkDuplicateTransactionSetControlNumber: boolean; + /** + * @member {boolean} validateEDITypes The value indicating whether to Whether + * to validate EDI types. + */ + validateEDITypes: boolean; + /** + * @member {boolean} validateXSDTypes The value indicating whether to Whether + * to validate XSD types. + */ + validateXSDTypes: boolean; + /** + * @member {boolean} allowLeadingAndTrailingSpacesAndZeroes The value + * indicating whether to allow leading and trailing spaces and zeroes. + */ + allowLeadingAndTrailingSpacesAndZeroes: boolean; + /** + * @member {boolean} trimLeadingAndTrailingSpacesAndZeroes The value + * indicating whether to trim leading and trailing spaces and zeroes. + */ + trimLeadingAndTrailingSpacesAndZeroes: boolean; + /** + * @member {TrailingSeparatorPolicy} trailingSeparatorPolicy The trailing + * separator policy. Possible values include: 'NotSpecified', 'NotAllowed', + * 'Optional', 'Mandatory' + */ + trailingSeparatorPolicy: TrailingSeparatorPolicy; +} + +/** + * @interface + * An interface representing X12FramingSettings. + * The X12 agreement framing settings. + * + */ +export interface X12FramingSettings { + /** + * @member {number} dataElementSeparator The data element separator. + */ + dataElementSeparator: number; + /** + * @member {number} componentSeparator The component separator. + */ + componentSeparator: number; + /** + * @member {boolean} replaceSeparatorsInPayload The value indicating whether + * to replace separators in payload. + */ + replaceSeparatorsInPayload: boolean; + /** + * @member {number} replaceCharacter The replacement character. + */ + replaceCharacter: number; + /** + * @member {number} segmentTerminator The segment terminator. + */ + segmentTerminator: number; + /** + * @member {X12CharacterSet} characterSet The X12 character set. Possible + * values include: 'NotSpecified', 'Basic', 'Extended', 'UTF8' + */ + characterSet: X12CharacterSet; + /** + * @member {SegmentTerminatorSuffix} segmentTerminatorSuffix The segment + * terminator suffix. Possible values include: 'NotSpecified', 'None', 'CR', + * 'LF', 'CRLF' + */ + segmentTerminatorSuffix: SegmentTerminatorSuffix; +} + +/** + * @interface + * An interface representing X12EnvelopeSettings. + * The X12 agreement envelope settings. + * + */ +export interface X12EnvelopeSettings { + /** + * @member {number} controlStandardsId The controls standards id. + */ + controlStandardsId: number; + /** + * @member {boolean} useControlStandardsIdAsRepetitionCharacter The value + * indicating whether to use control standards id as repetition character. + */ + useControlStandardsIdAsRepetitionCharacter: boolean; + /** + * @member {string} senderApplicationId The sender application id. + */ + senderApplicationId: string; + /** + * @member {string} receiverApplicationId The receiver application id. + */ + receiverApplicationId: string; + /** + * @member {string} controlVersionNumber The control version number. + */ + controlVersionNumber: string; + /** + * @member {number} interchangeControlNumberLowerBound The interchange + * control number lower bound. + */ + interchangeControlNumberLowerBound: number; + /** + * @member {number} interchangeControlNumberUpperBound The interchange + * control number upper bound. + */ + interchangeControlNumberUpperBound: number; + /** + * @member {boolean} rolloverInterchangeControlNumber The value indicating + * whether to rollover interchange control number. + */ + rolloverInterchangeControlNumber: boolean; + /** + * @member {boolean} enableDefaultGroupHeaders The value indicating whether + * to enable default group headers. + */ + enableDefaultGroupHeaders: boolean; + /** + * @member {string} [functionalGroupId] The functional group id. + */ + functionalGroupId?: string; + /** + * @member {number} groupControlNumberLowerBound The group control number + * lower bound. + */ + groupControlNumberLowerBound: number; + /** + * @member {number} groupControlNumberUpperBound The group control number + * upper bound. + */ + groupControlNumberUpperBound: number; + /** + * @member {boolean} rolloverGroupControlNumber The value indicating whether + * to rollover group control number. + */ + rolloverGroupControlNumber: boolean; + /** + * @member {string} groupHeaderAgencyCode The group header agency code. + */ + groupHeaderAgencyCode: string; + /** + * @member {string} groupHeaderVersion The group header version. + */ + groupHeaderVersion: string; + /** + * @member {number} transactionSetControlNumberLowerBound The transaction set + * control number lower bound. + */ + transactionSetControlNumberLowerBound: number; + /** + * @member {number} transactionSetControlNumberUpperBound The transaction set + * control number upper bound. + */ + transactionSetControlNumberUpperBound: number; + /** + * @member {boolean} rolloverTransactionSetControlNumber The value indicating + * whether to rollover transaction set control number. + */ + rolloverTransactionSetControlNumber: boolean; + /** + * @member {string} [transactionSetControlNumberPrefix] The transaction set + * control number prefix. + */ + transactionSetControlNumberPrefix?: string; + /** + * @member {string} [transactionSetControlNumberSuffix] The transaction set + * control number suffix. + */ + transactionSetControlNumberSuffix?: string; + /** + * @member {boolean} overwriteExistingTransactionSetControlNumber The value + * indicating whether to overwrite existing transaction set control number. + */ + overwriteExistingTransactionSetControlNumber: boolean; + /** + * @member {X12DateFormat} groupHeaderDateFormat The group header date + * format. Possible values include: 'NotSpecified', 'CCYYMMDD', 'YYMMDD' + */ + groupHeaderDateFormat: X12DateFormat; + /** + * @member {X12TimeFormat} groupHeaderTimeFormat The group header time + * format. Possible values include: 'NotSpecified', 'HHMM', 'HHMMSS', + * 'HHMMSSdd', 'HHMMSSd' + */ + groupHeaderTimeFormat: X12TimeFormat; + /** + * @member {UsageIndicator} usageIndicator The usage indicator. Possible + * values include: 'NotSpecified', 'Test', 'Information', 'Production' + */ + usageIndicator: UsageIndicator; +} + +/** + * @interface + * An interface representing X12AcknowledgementSettings. + * The X12 agreement acknowledgement settings. + * + */ +export interface X12AcknowledgementSettings { + /** + * @member {boolean} needTechnicalAcknowledgement The value indicating + * whether technical acknowledgement is needed. + */ + needTechnicalAcknowledgement: boolean; + /** + * @member {boolean} batchTechnicalAcknowledgements The value indicating + * whether to batch the technical acknowledgements. + */ + batchTechnicalAcknowledgements: boolean; + /** + * @member {boolean} needFunctionalAcknowledgement The value indicating + * whether functional acknowledgement is needed. + */ + needFunctionalAcknowledgement: boolean; + /** + * @member {string} [functionalAcknowledgementVersion] The functional + * acknowledgement version. + */ + functionalAcknowledgementVersion?: string; + /** + * @member {boolean} batchFunctionalAcknowledgements The value indicating + * whether to batch functional acknowledgements. + */ + batchFunctionalAcknowledgements: boolean; + /** + * @member {boolean} needImplementationAcknowledgement The value indicating + * whether implementation acknowledgement is needed. + */ + needImplementationAcknowledgement: boolean; + /** + * @member {string} [implementationAcknowledgementVersion] The implementation + * acknowledgement version. + */ + implementationAcknowledgementVersion?: string; + /** + * @member {boolean} batchImplementationAcknowledgements The value indicating + * whether to batch implementation acknowledgements. + */ + batchImplementationAcknowledgements: boolean; + /** + * @member {boolean} needLoopForValidMessages The value indicating whether a + * loop is needed for valid messages. + */ + needLoopForValidMessages: boolean; + /** + * @member {boolean} sendSynchronousAcknowledgement The value indicating + * whether to send synchronous acknowledgement. + */ + sendSynchronousAcknowledgement: boolean; + /** + * @member {string} [acknowledgementControlNumberPrefix] The acknowledgement + * control number prefix. + */ + acknowledgementControlNumberPrefix?: string; + /** + * @member {string} [acknowledgementControlNumberSuffix] The acknowledgement + * control number suffix. + */ + acknowledgementControlNumberSuffix?: string; + /** + * @member {number} acknowledgementControlNumberLowerBound The + * acknowledgement control number lower bound. + */ + acknowledgementControlNumberLowerBound: number; + /** + * @member {number} acknowledgementControlNumberUpperBound The + * acknowledgement control number upper bound. + */ + acknowledgementControlNumberUpperBound: number; + /** + * @member {boolean} rolloverAcknowledgementControlNumber The value + * indicating whether to rollover acknowledgement control number. + */ + rolloverAcknowledgementControlNumber: boolean; +} + +/** + * @interface + * An interface representing X12MessageFilter. + * The X12 message filter for odata query. + * + */ +export interface X12MessageFilter { + /** + * @member {MessageFilterType} messageFilterType The message filter type. + * Possible values include: 'NotSpecified', 'Include', 'Exclude' + */ + messageFilterType: MessageFilterType; +} + +/** + * @interface + * An interface representing X12SecuritySettings. + * The X12 agreement security settings. + * + */ +export interface X12SecuritySettings { + /** + * @member {string} authorizationQualifier The authorization qualifier. + */ + authorizationQualifier: string; + /** + * @member {string} [authorizationValue] The authorization value. + */ + authorizationValue?: string; + /** + * @member {string} securityQualifier The security qualifier. + */ + securityQualifier: string; + /** + * @member {string} [passwordValue] The password value. + */ + passwordValue?: string; +} + +/** + * @interface + * An interface representing X12ProcessingSettings. + * The X12 processing settings. + * + */ +export interface X12ProcessingSettings { + /** + * @member {boolean} maskSecurityInfo The value indicating whether to mask + * security information. + */ + maskSecurityInfo: boolean; + /** + * @member {boolean} convertImpliedDecimal The value indicating whether to + * convert numerical type to implied decimal. + */ + convertImpliedDecimal: boolean; + /** + * @member {boolean} preserveInterchange The value indicating whether to + * preserve interchange. + */ + preserveInterchange: boolean; + /** + * @member {boolean} suspendInterchangeOnError The value indicating whether + * to suspend interchange on error. + */ + suspendInterchangeOnError: boolean; + /** + * @member {boolean} createEmptyXmlTagsForTrailingSeparators The value + * indicating whether to create empty xml tags for trailing separators. + */ + createEmptyXmlTagsForTrailingSeparators: boolean; + /** + * @member {boolean} useDotAsDecimalSeparator The value indicating whether to + * use dot as decimal separator. + */ + useDotAsDecimalSeparator: boolean; +} + +/** + * @interface + * An interface representing X12EnvelopeOverride. + * The X12 envelope override settings. + * + */ +export interface X12EnvelopeOverride { + /** + * @member {string} targetNamespace The target namespace on which this + * envelope settings has to be applied. + */ + targetNamespace: string; + /** + * @member {string} protocolVersion The protocol version on which this + * envelope settings has to be applied. + */ + protocolVersion: string; + /** + * @member {string} messageId The message id on which this envelope settings + * has to be applied. + */ + messageId: string; + /** + * @member {string} responsibleAgencyCode The responsible agency code. + */ + responsibleAgencyCode: string; + /** + * @member {string} headerVersion The header version. + */ + headerVersion: string; + /** + * @member {string} senderApplicationId The sender application id. + */ + senderApplicationId: string; + /** + * @member {string} receiverApplicationId The receiver application id. + */ + receiverApplicationId: string; + /** + * @member {string} [functionalIdentifierCode] The functional identifier + * code. + */ + functionalIdentifierCode?: string; + /** + * @member {X12DateFormat} dateFormat The date format. Possible values + * include: 'NotSpecified', 'CCYYMMDD', 'YYMMDD' + */ + dateFormat: X12DateFormat; + /** + * @member {X12TimeFormat} timeFormat The time format. Possible values + * include: 'NotSpecified', 'HHMM', 'HHMMSS', 'HHMMSSdd', 'HHMMSSd' + */ + timeFormat: X12TimeFormat; +} + +/** + * @interface + * An interface representing X12ValidationOverride. + * The X12 validation override settings. + * + */ +export interface X12ValidationOverride { + /** + * @member {string} messageId The message id on which the validation settings + * has to be applied. + */ + messageId: string; + /** + * @member {boolean} validateEDITypes The value indicating whether to + * validate EDI types. + */ + validateEDITypes: boolean; + /** + * @member {boolean} validateXSDTypes The value indicating whether to + * validate XSD types. + */ + validateXSDTypes: boolean; + /** + * @member {boolean} allowLeadingAndTrailingSpacesAndZeroes The value + * indicating whether to allow leading and trailing spaces and zeroes. + */ + allowLeadingAndTrailingSpacesAndZeroes: boolean; + /** + * @member {boolean} validateCharacterSet The value indicating whether to + * validate character Set. + */ + validateCharacterSet: boolean; + /** + * @member {boolean} trimLeadingAndTrailingSpacesAndZeroes The value + * indicating whether to trim leading and trailing spaces and zeroes. + */ + trimLeadingAndTrailingSpacesAndZeroes: boolean; + /** + * @member {TrailingSeparatorPolicy} trailingSeparatorPolicy The trailing + * separator policy. Possible values include: 'NotSpecified', 'NotAllowed', + * 'Optional', 'Mandatory' + */ + trailingSeparatorPolicy: TrailingSeparatorPolicy; +} + +/** + * @interface + * An interface representing X12MessageIdentifier. + * The X12 message identifier. + * + */ +export interface X12MessageIdentifier { + /** + * @member {string} messageId The message id. + */ + messageId: string; +} + +/** + * @interface + * An interface representing X12SchemaReference. + * The X12 schema reference. + * + */ +export interface X12SchemaReference { + /** + * @member {string} messageId The message id. + */ + messageId: string; + /** + * @member {string} [senderApplicationId] The sender application id. + */ + senderApplicationId?: string; + /** + * @member {string} schemaVersion The schema version. + */ + schemaVersion: string; + /** + * @member {string} schemaName The schema name. + */ + schemaName: string; +} + +/** + * @interface + * An interface representing X12DelimiterOverrides. + * The X12 delimiter override settings. + * + */ +export interface X12DelimiterOverrides { + /** + * @member {string} [protocolVersion] The protocol version. + */ + protocolVersion?: string; + /** + * @member {string} [messageId] The message id. + */ + messageId?: string; + /** + * @member {number} dataElementSeparator The data element separator. + */ + dataElementSeparator: number; + /** + * @member {number} componentSeparator The component separator. + */ + componentSeparator: number; + /** + * @member {number} segmentTerminator The segment terminator. + */ + segmentTerminator: number; + /** + * @member {SegmentTerminatorSuffix} segmentTerminatorSuffix The segment + * terminator suffix. Possible values include: 'NotSpecified', 'None', 'CR', + * 'LF', 'CRLF' + */ + segmentTerminatorSuffix: SegmentTerminatorSuffix; + /** + * @member {number} replaceCharacter The replacement character. + */ + replaceCharacter: number; + /** + * @member {boolean} replaceSeparatorsInPayload The value indicating whether + * to replace separators in payload. + */ + replaceSeparatorsInPayload: boolean; + /** + * @member {string} [targetNamespace] The target namespace on which this + * delimiter settings has to be applied. + */ + targetNamespace?: string; +} + +/** + * @interface + * An interface representing X12ProtocolSettings. + * The X12 agreement protocol settings. + * + */ +export interface X12ProtocolSettings { + /** + * @member {X12ValidationSettings} validationSettings The X12 validation + * settings. + */ + validationSettings: X12ValidationSettings; + /** + * @member {X12FramingSettings} framingSettings The X12 framing settings. + */ + framingSettings: X12FramingSettings; + /** + * @member {X12EnvelopeSettings} envelopeSettings The X12 envelope settings. + */ + envelopeSettings: X12EnvelopeSettings; + /** + * @member {X12AcknowledgementSettings} acknowledgementSettings The X12 + * acknowledgment settings. + */ + acknowledgementSettings: X12AcknowledgementSettings; + /** + * @member {X12MessageFilter} messageFilter The X12 message filter. + */ + messageFilter: X12MessageFilter; + /** + * @member {X12SecuritySettings} securitySettings The X12 security settings. + */ + securitySettings: X12SecuritySettings; + /** + * @member {X12ProcessingSettings} processingSettings The X12 processing + * settings. + */ + processingSettings: X12ProcessingSettings; + /** + * @member {X12EnvelopeOverride[]} [envelopeOverrides] The X12 envelope + * override settings. + */ + envelopeOverrides?: X12EnvelopeOverride[]; + /** + * @member {X12ValidationOverride[]} [validationOverrides] The X12 validation + * override settings. + */ + validationOverrides?: X12ValidationOverride[]; + /** + * @member {X12MessageIdentifier[]} [messageFilterList] The X12 message + * filter list. + */ + messageFilterList?: X12MessageIdentifier[]; + /** + * @member {X12SchemaReference[]} schemaReferences The X12 schema references. + */ + schemaReferences: X12SchemaReference[]; + /** + * @member {X12DelimiterOverrides[]} [x12DelimiterOverrides] The X12 + * delimiter override settings. + */ + x12DelimiterOverrides?: X12DelimiterOverrides[]; +} + +/** + * @interface + * An interface representing X12OneWayAgreement. + * The X12 one-way agreement. + * + */ +export interface X12OneWayAgreement { + /** + * @member {BusinessIdentity} senderBusinessIdentity The sender business + * identity + */ + senderBusinessIdentity: BusinessIdentity; + /** + * @member {BusinessIdentity} receiverBusinessIdentity The receiver business + * identity + */ + receiverBusinessIdentity: BusinessIdentity; + /** + * @member {X12ProtocolSettings} protocolSettings The X12 protocol settings. + */ + protocolSettings: X12ProtocolSettings; +} + +/** + * @interface + * An interface representing X12AgreementContent. + * The X12 agreement content. + * + */ +export interface X12AgreementContent { + /** + * @member {X12OneWayAgreement} receiveAgreement The X12 one-way receive + * agreement. + */ + receiveAgreement: X12OneWayAgreement; + /** + * @member {X12OneWayAgreement} sendAgreement The X12 one-way send agreement. + */ + sendAgreement: X12OneWayAgreement; +} + +/** + * @interface + * An interface representing EdifactValidationSettings. + * The Edifact agreement validation settings. + * + */ +export interface EdifactValidationSettings { + /** + * @member {boolean} validateCharacterSet The value indicating whether to + * validate character set in the message. + */ + validateCharacterSet: boolean; + /** + * @member {boolean} checkDuplicateInterchangeControlNumber The value + * indicating whether to check for duplicate interchange control number. + */ + checkDuplicateInterchangeControlNumber: boolean; + /** + * @member {number} interchangeControlNumberValidityDays The validity period + * of interchange control number. + */ + interchangeControlNumberValidityDays: number; + /** + * @member {boolean} checkDuplicateGroupControlNumber The value indicating + * whether to check for duplicate group control number. + */ + checkDuplicateGroupControlNumber: boolean; + /** + * @member {boolean} checkDuplicateTransactionSetControlNumber The value + * indicating whether to check for duplicate transaction set control number. + */ + checkDuplicateTransactionSetControlNumber: boolean; + /** + * @member {boolean} validateEDITypes The value indicating whether to Whether + * to validate EDI types. + */ + validateEDITypes: boolean; + /** + * @member {boolean} validateXSDTypes The value indicating whether to Whether + * to validate XSD types. + */ + validateXSDTypes: boolean; + /** + * @member {boolean} allowLeadingAndTrailingSpacesAndZeroes The value + * indicating whether to allow leading and trailing spaces and zeroes. + */ + allowLeadingAndTrailingSpacesAndZeroes: boolean; + /** + * @member {boolean} trimLeadingAndTrailingSpacesAndZeroes The value + * indicating whether to trim leading and trailing spaces and zeroes. + */ + trimLeadingAndTrailingSpacesAndZeroes: boolean; + /** + * @member {TrailingSeparatorPolicy} trailingSeparatorPolicy The trailing + * separator policy. Possible values include: 'NotSpecified', 'NotAllowed', + * 'Optional', 'Mandatory' + */ + trailingSeparatorPolicy: TrailingSeparatorPolicy; +} + +/** + * @interface + * An interface representing EdifactFramingSettings. + * The Edifact agreement framing settings. + * + */ +export interface EdifactFramingSettings { + /** + * @member {string} [serviceCodeListDirectoryVersion] The service code list + * directory version. + */ + serviceCodeListDirectoryVersion?: string; + /** + * @member {string} [characterEncoding] The character encoding. + */ + characterEncoding?: string; + /** + * @member {number} protocolVersion The protocol version. + */ + protocolVersion: number; + /** + * @member {number} dataElementSeparator The data element separator. + */ + dataElementSeparator: number; + /** + * @member {number} componentSeparator The component separator. + */ + componentSeparator: number; + /** + * @member {number} segmentTerminator The segment terminator. + */ + segmentTerminator: number; + /** + * @member {number} releaseIndicator The release indicator. + */ + releaseIndicator: number; + /** + * @member {number} repetitionSeparator The repetition separator. + */ + repetitionSeparator: number; + /** + * @member {EdifactCharacterSet} characterSet The EDIFACT frame setting + * characterSet. Possible values include: 'NotSpecified', 'UNOB', 'UNOA', + * 'UNOC', 'UNOD', 'UNOE', 'UNOF', 'UNOG', 'UNOH', 'UNOI', 'UNOJ', 'UNOK', + * 'UNOX', 'UNOY', 'KECA' + */ + characterSet: EdifactCharacterSet; + /** + * @member {EdifactDecimalIndicator} decimalPointIndicator The EDIFACT frame + * setting decimal indicator. Possible values include: 'NotSpecified', + * 'Comma', 'Decimal' + */ + decimalPointIndicator: EdifactDecimalIndicator; + /** + * @member {SegmentTerminatorSuffix} segmentTerminatorSuffix The EDIFACT + * frame setting segment terminator suffix. Possible values include: + * 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' + */ + segmentTerminatorSuffix: SegmentTerminatorSuffix; +} + +/** + * @interface + * An interface representing EdifactEnvelopeSettings. + * The Edifact agreement envelope settings. + * + */ +export interface EdifactEnvelopeSettings { + /** + * @member {string} [groupAssociationAssignedCode] The group association + * assigned code. + */ + groupAssociationAssignedCode?: string; + /** + * @member {string} [communicationAgreementId] The communication agreement + * id. + */ + communicationAgreementId?: string; + /** + * @member {boolean} applyDelimiterStringAdvice The value indicating whether + * to apply delimiter string advice. + */ + applyDelimiterStringAdvice: boolean; + /** + * @member {boolean} createGroupingSegments The value indicating whether to + * create grouping segments. + */ + createGroupingSegments: boolean; + /** + * @member {boolean} enableDefaultGroupHeaders The value indicating whether + * to enable default group headers. + */ + enableDefaultGroupHeaders: boolean; + /** + * @member {string} [recipientReferencePasswordValue] The recipient reference + * password value. + */ + recipientReferencePasswordValue?: string; + /** + * @member {string} [recipientReferencePasswordQualifier] The recipient + * reference password qualifier. + */ + recipientReferencePasswordQualifier?: string; + /** + * @member {string} [applicationReferenceId] The application reference id. + */ + applicationReferenceId?: string; + /** + * @member {string} [processingPriorityCode] The processing priority code. + */ + processingPriorityCode?: string; + /** + * @member {number} interchangeControlNumberLowerBound The interchange + * control number lower bound. + */ + interchangeControlNumberLowerBound: number; + /** + * @member {number} interchangeControlNumberUpperBound The interchange + * control number upper bound. + */ + interchangeControlNumberUpperBound: number; + /** + * @member {boolean} rolloverInterchangeControlNumber The value indicating + * whether to rollover interchange control number. + */ + rolloverInterchangeControlNumber: boolean; + /** + * @member {string} [interchangeControlNumberPrefix] The interchange control + * number prefix. + */ + interchangeControlNumberPrefix?: string; + /** + * @member {string} [interchangeControlNumberSuffix] The interchange control + * number suffix. + */ + interchangeControlNumberSuffix?: string; + /** + * @member {string} [senderReverseRoutingAddress] The sender reverse routing + * address. + */ + senderReverseRoutingAddress?: string; + /** + * @member {string} [receiverReverseRoutingAddress] The receiver reverse + * routing address. + */ + receiverReverseRoutingAddress?: string; + /** + * @member {string} [functionalGroupId] The functional group id. + */ + functionalGroupId?: string; + /** + * @member {string} [groupControllingAgencyCode] The group controlling agency + * code. + */ + groupControllingAgencyCode?: string; + /** + * @member {string} [groupMessageVersion] The group message version. + */ + groupMessageVersion?: string; + /** + * @member {string} [groupMessageRelease] The group message release. + */ + groupMessageRelease?: string; + /** + * @member {number} groupControlNumberLowerBound The group control number + * lower bound. + */ + groupControlNumberLowerBound: number; + /** + * @member {number} groupControlNumberUpperBound The group control number + * upper bound. + */ + groupControlNumberUpperBound: number; + /** + * @member {boolean} rolloverGroupControlNumber The value indicating whether + * to rollover group control number. + */ + rolloverGroupControlNumber: boolean; + /** + * @member {string} [groupControlNumberPrefix] The group control number + * prefix. + */ + groupControlNumberPrefix?: string; + /** + * @member {string} [groupControlNumberSuffix] The group control number + * suffix. + */ + groupControlNumberSuffix?: string; + /** + * @member {string} [groupApplicationReceiverQualifier] The group application + * receiver qualifier. + */ + groupApplicationReceiverQualifier?: string; + /** + * @member {string} [groupApplicationReceiverId] The group application + * receiver id. + */ + groupApplicationReceiverId?: string; + /** + * @member {string} [groupApplicationSenderQualifier] The group application + * sender qualifier. + */ + groupApplicationSenderQualifier?: string; + /** + * @member {string} [groupApplicationSenderId] The group application sender + * id. + */ + groupApplicationSenderId?: string; + /** + * @member {string} [groupApplicationPassword] The group application + * password. + */ + groupApplicationPassword?: string; + /** + * @member {boolean} overwriteExistingTransactionSetControlNumber The value + * indicating whether to overwrite existing transaction set control number. + */ + overwriteExistingTransactionSetControlNumber: boolean; + /** + * @member {string} [transactionSetControlNumberPrefix] The transaction set + * control number prefix. + */ + transactionSetControlNumberPrefix?: string; + /** + * @member {string} [transactionSetControlNumberSuffix] The transaction set + * control number suffix. + */ + transactionSetControlNumberSuffix?: string; + /** + * @member {number} transactionSetControlNumberLowerBound The transaction set + * control number lower bound. + */ + transactionSetControlNumberLowerBound: number; + /** + * @member {number} transactionSetControlNumberUpperBound The transaction set + * control number upper bound. + */ + transactionSetControlNumberUpperBound: number; + /** + * @member {boolean} rolloverTransactionSetControlNumber The value indicating + * whether to rollover transaction set control number. + */ + rolloverTransactionSetControlNumber: boolean; + /** + * @member {boolean} isTestInterchange The value indicating whether the + * message is a test interchange. + */ + isTestInterchange: boolean; + /** + * @member {string} [senderInternalIdentification] The sender internal + * identification. + */ + senderInternalIdentification?: string; + /** + * @member {string} [senderInternalSubIdentification] The sender internal sub + * identification. + */ + senderInternalSubIdentification?: string; + /** + * @member {string} [receiverInternalIdentification] The receiver internal + * identification. + */ + receiverInternalIdentification?: string; + /** + * @member {string} [receiverInternalSubIdentification] The receiver internal + * sub identification. + */ + receiverInternalSubIdentification?: string; +} + +/** + * @interface + * An interface representing EdifactAcknowledgementSettings. + * The Edifact agreement acknowledgement settings. + * + */ +export interface EdifactAcknowledgementSettings { + /** + * @member {boolean} needTechnicalAcknowledgement The value indicating + * whether technical acknowledgement is needed. + */ + needTechnicalAcknowledgement: boolean; + /** + * @member {boolean} batchTechnicalAcknowledgements The value indicating + * whether to batch the technical acknowledgements. + */ + batchTechnicalAcknowledgements: boolean; + /** + * @member {boolean} needFunctionalAcknowledgement The value indicating + * whether functional acknowledgement is needed. + */ + needFunctionalAcknowledgement: boolean; + /** + * @member {boolean} batchFunctionalAcknowledgements The value indicating + * whether to batch functional acknowledgements. + */ + batchFunctionalAcknowledgements: boolean; + /** + * @member {boolean} needLoopForValidMessages The value indicating whether a + * loop is needed for valid messages. + */ + needLoopForValidMessages: boolean; + /** + * @member {boolean} sendSynchronousAcknowledgement The value indicating + * whether to send synchronous acknowledgement. + */ + sendSynchronousAcknowledgement: boolean; + /** + * @member {string} [acknowledgementControlNumberPrefix] The acknowledgement + * control number prefix. + */ + acknowledgementControlNumberPrefix?: string; + /** + * @member {string} [acknowledgementControlNumberSuffix] The acknowledgement + * control number suffix. + */ + acknowledgementControlNumberSuffix?: string; + /** + * @member {number} acknowledgementControlNumberLowerBound The + * acknowledgement control number lower bound. + */ + acknowledgementControlNumberLowerBound: number; + /** + * @member {number} acknowledgementControlNumberUpperBound The + * acknowledgement control number upper bound. + */ + acknowledgementControlNumberUpperBound: number; + /** + * @member {boolean} rolloverAcknowledgementControlNumber The value + * indicating whether to rollover acknowledgement control number. + */ + rolloverAcknowledgementControlNumber: boolean; +} + +/** + * @interface + * An interface representing EdifactMessageFilter. + * The Edifact message filter for odata query. + * + */ +export interface EdifactMessageFilter { + /** + * @member {MessageFilterType} messageFilterType The message filter type. + * Possible values include: 'NotSpecified', 'Include', 'Exclude' + */ + messageFilterType: MessageFilterType; +} + +/** + * @interface + * An interface representing EdifactProcessingSettings. + * The Edifact agreement protocol settings. + * + */ +export interface EdifactProcessingSettings { + /** + * @member {boolean} maskSecurityInfo The value indicating whether to mask + * security information. + */ + maskSecurityInfo: boolean; + /** + * @member {boolean} preserveInterchange The value indicating whether to + * preserve interchange. + */ + preserveInterchange: boolean; + /** + * @member {boolean} suspendInterchangeOnError The value indicating whether + * to suspend interchange on error. + */ + suspendInterchangeOnError: boolean; + /** + * @member {boolean} createEmptyXmlTagsForTrailingSeparators The value + * indicating whether to create empty xml tags for trailing separators. + */ + createEmptyXmlTagsForTrailingSeparators: boolean; + /** + * @member {boolean} useDotAsDecimalSeparator The value indicating whether to + * use dot as decimal separator. + */ + useDotAsDecimalSeparator: boolean; +} + +/** + * @interface + * An interface representing EdifactEnvelopeOverride. + * The Edifact envelope override settings. + * + */ +export interface EdifactEnvelopeOverride { + /** + * @member {string} [messageId] The message id on which this envelope + * settings has to be applied. + */ + messageId?: string; + /** + * @member {string} [messageVersion] The message version on which this + * envelope settings has to be applied. + */ + messageVersion?: string; + /** + * @member {string} [messageRelease] The message release version on which + * this envelope settings has to be applied. + */ + messageRelease?: string; + /** + * @member {string} [messageAssociationAssignedCode] The message association + * assigned code. + */ + messageAssociationAssignedCode?: string; + /** + * @member {string} [targetNamespace] The target namespace on which this + * envelope settings has to be applied. + */ + targetNamespace?: string; + /** + * @member {string} [functionalGroupId] The functional group id. + */ + functionalGroupId?: string; + /** + * @member {string} [senderApplicationQualifier] The sender application + * qualifier. + */ + senderApplicationQualifier?: string; + /** + * @member {string} [senderApplicationId] The sender application id. + */ + senderApplicationId?: string; + /** + * @member {string} [receiverApplicationQualifier] The receiver application + * qualifier. + */ + receiverApplicationQualifier?: string; + /** + * @member {string} [receiverApplicationId] The receiver application id. + */ + receiverApplicationId?: string; + /** + * @member {string} [controllingAgencyCode] The controlling agency code. + */ + controllingAgencyCode?: string; + /** + * @member {string} [groupHeaderMessageVersion] The group header message + * version. + */ + groupHeaderMessageVersion?: string; + /** + * @member {string} [groupHeaderMessageRelease] The group header message + * release. + */ + groupHeaderMessageRelease?: string; + /** + * @member {string} [associationAssignedCode] The association assigned code. + */ + associationAssignedCode?: string; + /** + * @member {string} [applicationPassword] The application password. + */ + applicationPassword?: string; +} + +/** + * @interface + * An interface representing EdifactMessageIdentifier. + * The Edifact message identifier. + * + */ +export interface EdifactMessageIdentifier { + /** + * @member {string} messageId The message id on which this envelope settings + * has to be applied. + */ + messageId: string; +} + +/** + * @interface + * An interface representing EdifactSchemaReference. + * The Edifact schema reference. + * + */ +export interface EdifactSchemaReference { + /** + * @member {string} messageId The message id. + */ + messageId: string; + /** + * @member {string} messageVersion The message version. + */ + messageVersion: string; + /** + * @member {string} messageRelease The message release version. + */ + messageRelease: string; + /** + * @member {string} [senderApplicationId] The sender application id. + */ + senderApplicationId?: string; + /** + * @member {string} [senderApplicationQualifier] The sender application + * qualifier. + */ + senderApplicationQualifier?: string; + /** + * @member {string} [associationAssignedCode] The association assigned code. + */ + associationAssignedCode?: string; + /** + * @member {string} schemaName The schema name. + */ + schemaName: string; +} + +/** + * @interface + * An interface representing EdifactValidationOverride. + * The Edifact validation override settings. + * + */ +export interface EdifactValidationOverride { + /** + * @member {string} messageId The message id on which the validation settings + * has to be applied. + */ + messageId: string; + /** + * @member {boolean} enforceCharacterSet The value indicating whether to + * validate character Set. + */ + enforceCharacterSet: boolean; + /** + * @member {boolean} validateEDITypes The value indicating whether to + * validate EDI types. + */ + validateEDITypes: boolean; + /** + * @member {boolean} validateXSDTypes The value indicating whether to + * validate XSD types. + */ + validateXSDTypes: boolean; + /** + * @member {boolean} allowLeadingAndTrailingSpacesAndZeroes The value + * indicating whether to allow leading and trailing spaces and zeroes. + */ + allowLeadingAndTrailingSpacesAndZeroes: boolean; + /** + * @member {TrailingSeparatorPolicy} trailingSeparatorPolicy The trailing + * separator policy. Possible values include: 'NotSpecified', 'NotAllowed', + * 'Optional', 'Mandatory' + */ + trailingSeparatorPolicy: TrailingSeparatorPolicy; + /** + * @member {boolean} trimLeadingAndTrailingSpacesAndZeroes The value + * indicating whether to trim leading and trailing spaces and zeroes. + */ + trimLeadingAndTrailingSpacesAndZeroes: boolean; +} + +/** + * @interface + * An interface representing EdifactDelimiterOverride. + * The Edifact delimiter override settings. + * + */ +export interface EdifactDelimiterOverride { + /** + * @member {string} [messageId] The message id. + */ + messageId?: string; + /** + * @member {string} [messageVersion] The message version. + */ + messageVersion?: string; + /** + * @member {string} [messageRelease] The message release. + */ + messageRelease?: string; + /** + * @member {number} dataElementSeparator The data element separator. + */ + dataElementSeparator: number; + /** + * @member {number} componentSeparator The component separator. + */ + componentSeparator: number; + /** + * @member {number} segmentTerminator The segment terminator. + */ + segmentTerminator: number; + /** + * @member {number} repetitionSeparator The repetition separator. + */ + repetitionSeparator: number; + /** + * @member {SegmentTerminatorSuffix} segmentTerminatorSuffix The segment + * terminator suffix. Possible values include: 'NotSpecified', 'None', 'CR', + * 'LF', 'CRLF' + */ + segmentTerminatorSuffix: SegmentTerminatorSuffix; + /** + * @member {EdifactDecimalIndicator} decimalPointIndicator The decimal point + * indicator. Possible values include: 'NotSpecified', 'Comma', 'Decimal' + */ + decimalPointIndicator: EdifactDecimalIndicator; + /** + * @member {number} releaseIndicator The release indicator. + */ + releaseIndicator: number; + /** + * @member {string} [messageAssociationAssignedCode] The message association + * assigned code. + */ + messageAssociationAssignedCode?: string; + /** + * @member {string} [targetNamespace] The target namespace on which this + * delimiter settings has to be applied. + */ + targetNamespace?: string; +} + +/** + * @interface + * An interface representing EdifactProtocolSettings. + * The Edifact agreement protocol settings. + * + */ +export interface EdifactProtocolSettings { + /** + * @member {EdifactValidationSettings} validationSettings The EDIFACT + * validation settings. + */ + validationSettings: EdifactValidationSettings; + /** + * @member {EdifactFramingSettings} framingSettings The EDIFACT framing + * settings. + */ + framingSettings: EdifactFramingSettings; + /** + * @member {EdifactEnvelopeSettings} envelopeSettings The EDIFACT envelope + * settings. + */ + envelopeSettings: EdifactEnvelopeSettings; + /** + * @member {EdifactAcknowledgementSettings} acknowledgementSettings The + * EDIFACT acknowledgement settings. + */ + acknowledgementSettings: EdifactAcknowledgementSettings; + /** + * @member {EdifactMessageFilter} messageFilter The EDIFACT message filter. + */ + messageFilter: EdifactMessageFilter; + /** + * @member {EdifactProcessingSettings} processingSettings The EDIFACT + * processing Settings. + */ + processingSettings: EdifactProcessingSettings; + /** + * @member {EdifactEnvelopeOverride[]} [envelopeOverrides] The EDIFACT + * envelope override settings. + */ + envelopeOverrides?: EdifactEnvelopeOverride[]; + /** + * @member {EdifactMessageIdentifier[]} [messageFilterList] The EDIFACT + * message filter list. + */ + messageFilterList?: EdifactMessageIdentifier[]; + /** + * @member {EdifactSchemaReference[]} schemaReferences The EDIFACT schema + * references. + */ + schemaReferences: EdifactSchemaReference[]; + /** + * @member {EdifactValidationOverride[]} [validationOverrides] The EDIFACT + * validation override settings. + */ + validationOverrides?: EdifactValidationOverride[]; + /** + * @member {EdifactDelimiterOverride[]} [edifactDelimiterOverrides] The + * EDIFACT delimiter override settings. + */ + edifactDelimiterOverrides?: EdifactDelimiterOverride[]; +} + +/** + * @interface + * An interface representing EdifactOneWayAgreement. + * The Edifact one way agreement. + * + */ +export interface EdifactOneWayAgreement { + /** + * @member {BusinessIdentity} senderBusinessIdentity The sender business + * identity + */ + senderBusinessIdentity: BusinessIdentity; + /** + * @member {BusinessIdentity} receiverBusinessIdentity The receiver business + * identity + */ + receiverBusinessIdentity: BusinessIdentity; + /** + * @member {EdifactProtocolSettings} protocolSettings The EDIFACT protocol + * settings. + */ + protocolSettings: EdifactProtocolSettings; +} + +/** + * @interface + * An interface representing EdifactAgreementContent. + * The Edifact agreement content. + * + */ +export interface EdifactAgreementContent { + /** + * @member {EdifactOneWayAgreement} receiveAgreement The EDIFACT one-way + * receive agreement. + */ + receiveAgreement: EdifactOneWayAgreement; + /** + * @member {EdifactOneWayAgreement} sendAgreement The EDIFACT one-way send + * agreement. + */ + sendAgreement: EdifactOneWayAgreement; +} + +/** + * @interface + * An interface representing AgreementContent. + * The integration account agreement content. + * + */ +export interface AgreementContent { + /** + * @member {AS2AgreementContent} [aS2] The AS2 agreement content. + */ + aS2?: AS2AgreementContent; + /** + * @member {X12AgreementContent} [x12] The X12 agreement content. + */ + x12?: X12AgreementContent; + /** + * @member {EdifactAgreementContent} [edifact] The EDIFACT agreement content. + */ + edifact?: EdifactAgreementContent; +} + +/** + * @interface + * An interface representing IntegrationAccountAgreement. + * The integration account agreement. + * + * @extends Resource + */ +export interface IntegrationAccountAgreement extends Resource { + /** + * @member {Date} [createdTime] The created time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly createdTime?: Date; + /** + * @member {Date} [changedTime] The changed time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly changedTime?: Date; + /** + * @member {any} [metadata] The metadata. + */ + metadata?: any; + /** + * @member {AgreementType} agreementType The agreement type. Possible values + * include: 'NotSpecified', 'AS2', 'X12', 'Edifact' + */ + agreementType: AgreementType; + /** + * @member {string} hostPartner The integration account partner that is set + * as host partner for this agreement. + */ + hostPartner: string; + /** + * @member {string} guestPartner The integration account partner that is set + * as guest partner for this agreement. + */ + guestPartner: string; + /** + * @member {BusinessIdentity} hostIdentity The business identity of the host + * partner. + */ + hostIdentity: BusinessIdentity; + /** + * @member {BusinessIdentity} guestIdentity The business identity of the + * guest partner. + */ + guestIdentity: BusinessIdentity; + /** + * @member {AgreementContent} content The agreement content. + */ + content: AgreementContent; +} + +/** + * @interface + * An interface representing IntegrationAccountAgreementFilter. + * The integration account agreement filter for odata query. + * + */ +export interface IntegrationAccountAgreementFilter { + /** + * @member {AgreementType} agreementType The agreement type of integration + * account agreement. Possible values include: 'NotSpecified', 'AS2', 'X12', + * 'Edifact' + */ + agreementType: AgreementType; +} + +/** + * @interface + * An interface representing KeyVaultKeyReferenceKeyVault. + * The key vault reference. + * + */ +export interface KeyVaultKeyReferenceKeyVault { + /** + * @member {string} [id] The resource id. + */ + id?: string; + /** + * @member {string} [name] The resource name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly name?: string; + /** + * @member {string} [type] The resource type. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly type?: string; +} + +/** + * @interface + * An interface representing KeyVaultKeyReference. + * The reference to the key vault key. + * + */ +export interface KeyVaultKeyReference { + /** + * @member {KeyVaultKeyReferenceKeyVault} keyVault The key vault reference. + */ + keyVault: KeyVaultKeyReferenceKeyVault; + /** + * @member {string} keyName The private key name in key vault. + */ + keyName: string; + /** + * @member {string} [keyVersion] The private key version in key vault. + */ + keyVersion?: string; +} + +/** + * @interface + * An interface representing IntegrationAccountCertificate. + * The integration account certificate. + * + * @extends Resource + */ +export interface IntegrationAccountCertificate extends Resource { + /** + * @member {Date} [createdTime] The created time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly createdTime?: Date; + /** + * @member {Date} [changedTime] The changed time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly changedTime?: Date; + /** + * @member {any} [metadata] The metadata. + */ + metadata?: any; + /** + * @member {KeyVaultKeyReference} [key] The key details in the key vault. + */ + key?: KeyVaultKeyReference; + /** + * @member {string} [publicCertificate] The public certificate. + */ + publicCertificate?: string; +} + +/** + * @interface + * An interface representing IntegrationAccountSessionFilter. + * The integration account session filter. + * + */ +export interface IntegrationAccountSessionFilter { + /** + * @member {Date} changedTime The changed time of integration account + * sessions. + */ + changedTime: Date; +} + +/** + * @interface + * An interface representing IntegrationAccountSession. + * The integration account session. + * + * @extends Resource + */ +export interface IntegrationAccountSession extends Resource { + /** + * @member {Date} [createdTime] The created time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly createdTime?: Date; + /** + * @member {Date} [changedTime] The changed time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly changedTime?: Date; + /** + * @member {any} [content] The session content. + */ + content?: any; +} + +/** + * @interface + * An interface representing OperationDisplay. + * The object that represents the operation. + * + */ +export interface OperationDisplay { + /** + * @member {string} [provider] Service provider: Microsoft.Logic + */ + provider?: string; + /** + * @member {string} [resource] Resource on which the operation is performed: + * Profile, endpoint, etc. + */ + resource?: string; + /** + * @member {string} [operation] Operation type: Read, write, delete, etc. + */ + operation?: string; +} + +/** + * @interface + * An interface representing Operation. + * Logic REST API operation + * + */ +export interface Operation { + /** + * @member {string} [name] Operation name: {provider}/{resource}/{operation} + */ + name?: string; + /** + * @member {OperationDisplay} [display] The object that represents the + * operation. + */ + display?: OperationDisplay; +} + +/** + * @interface + * An interface representing KeyVaultReference. + * The key vault reference. + * + * @extends ResourceReference + */ +export interface KeyVaultReference extends ResourceReference { +} + +/** + * @interface + * An interface representing ListKeyVaultKeysDefinition. + * The list key vault keys definition. + * + */ +export interface ListKeyVaultKeysDefinition { + /** + * @member {KeyVaultReference} keyVault The key vault reference. + */ + keyVault: KeyVaultReference; + /** + * @member {string} [skipToken] The skip token. + */ + skipToken?: string; +} + +/** + * @interface + * An interface representing KeyVaultKeyAttributes. + * The key attributes. + * + */ +export interface KeyVaultKeyAttributes { + /** + * @member {boolean} [enabled] Whether the key is enabled or not. + */ + enabled?: boolean; + /** + * @member {number} [created] When the key was created. + */ + created?: number; + /** + * @member {number} [updated] When the key was updated. + */ + updated?: number; +} + +/** + * @interface + * An interface representing KeyVaultKey. + * The key vault key. + * + */ +export interface KeyVaultKey { + /** + * @member {string} [kid] The key id. + */ + kid?: string; + /** + * @member {KeyVaultKeyAttributes} [attributes] The key attributes. + */ + attributes?: KeyVaultKeyAttributes; +} + +/** + * @interface + * An interface representing TrackingEventErrorInfo. + */ +export interface TrackingEventErrorInfo { + /** + * @member {string} [message] + */ + message?: string; + /** + * @member {string} [code] + */ + code?: string; +} + +/** + * @interface + * An interface representing TrackingEvent. + */ +export interface TrackingEvent { + /** + * @member {EventLevel} eventLevel Possible values include: 'LogAlways', + * 'Critical', 'Error', 'Warning', 'Informational', 'Verbose' + */ + eventLevel: EventLevel; + /** + * @member {Date} eventTime + */ + eventTime: Date; + /** + * @member {TrackingRecordType} recordType Possible values include: + * 'NotSpecified', 'Custom', 'AS2Message', 'AS2MDN', 'X12Interchange', + * 'X12FunctionalGroup', 'X12TransactionSet', 'X12InterchangeAcknowledgment', + * 'X12FunctionalGroupAcknowledgment', 'X12TransactionSetAcknowledgment', + * 'EdifactInterchange', 'EdifactFunctionalGroup', 'EdifactTransactionSet', + * 'EdifactInterchangeAcknowledgment', + * 'EdifactFunctionalGroupAcknowledgment', + * 'EdifactTransactionSetAcknowledgment' + */ + recordType: TrackingRecordType; + /** + * @member {TrackingEventErrorInfo} [error] + */ + error?: TrackingEventErrorInfo; +} + +/** + * @interface + * An interface representing TrackingEventsDefinition. + */ +export interface TrackingEventsDefinition { + /** + * @member {string} sourceType + */ + sourceType: string; + /** + * @member {TrackEventsOperationOptions} [trackEventsOptions] Possible values + * include: 'None', 'DisableSourceInfoEnrich' + */ + trackEventsOptions?: TrackEventsOperationOptions; + /** + * @member {TrackingEvent[]} events + */ + events: TrackingEvent[]; +} + +/** + * @interface + * An interface representing SetTriggerStateActionDefinition. + */ +export interface SetTriggerStateActionDefinition { + /** + * @member {WorkflowTrigger} source + */ + source: WorkflowTrigger; +} + +/** + * @interface + * An interface representing Expression. + */ +export interface Expression { + /** + * @member {string} [text] + */ + text?: string; + /** + * @member {any} [value] + */ + value?: any; + /** + * @member {Expression[]} [subexpressions] + */ + subexpressions?: Expression[]; + /** + * @member {AzureResourceErrorInfo} [error] + */ + error?: AzureResourceErrorInfo; +} + +/** + * @interface + * An interface representing ExpressionRoot. + * @extends Expression + */ +export interface ExpressionRoot extends Expression { + /** + * @member {string} [path] The path. + */ + path?: string; +} + +/** + * @interface + * An interface representing ErrorInfo. + * The error info. + * + */ +export interface ErrorInfo { + /** + * @member {string} code The error code. + */ + code: string; +} + +/** + * @interface + * An interface representing AzureResourceErrorInfo. + * The azure resource error info. + * + * @extends ErrorInfo + */ +export interface AzureResourceErrorInfo extends ErrorInfo { + /** + * @member {string} message The error message. + */ + message: string; + /** + * @member {AzureResourceErrorInfo[]} [details] The error details. + */ + details?: AzureResourceErrorInfo[]; +} + +/** + * @interface + * An interface representing RepetitionIndex. + * The workflow run action repetition index. + * + */ +export interface RepetitionIndex { + /** + * @member {string} [scopeName] The scope. + */ + scopeName?: string; + /** + * @member {number} itemIndex The index. + */ + itemIndex: number; +} + +/** + * @interface + * An interface representing WorkflowRunActionRepetitionDefinition. + * The workflow run action repetition definition. + * + * @extends Resource + */ +export interface WorkflowRunActionRepetitionDefinition extends Resource { + /** + * @member {Date} [startTime] The start time of the workflow scope + * repetition. + */ + startTime?: Date; + /** + * @member {Date} [endTime] The end time of the workflow scope repetition. + */ + endTime?: Date; + /** + * @member {RunActionCorrelation} [correlation] The correlation properties. + */ + correlation?: RunActionCorrelation; + /** + * @member {WorkflowStatus} [status] The status of the workflow scope + * repetition. Possible values include: 'NotSpecified', 'Paused', 'Running', + * 'Waiting', 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', + * 'Faulted', 'TimedOut', 'Aborted', 'Ignored' + */ + status?: WorkflowStatus; + /** + * @member {string} [code] The workflow scope repetition code. + */ + code?: string; + /** + * @member {any} [error] + */ + error?: any; + /** + * @member {string} [trackingId] Gets the tracking id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly trackingId?: string; + /** + * @member {any} [inputs] Gets the inputs. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly inputs?: any; + /** + * @member {ContentLink} [inputsLink] Gets the link to inputs. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly inputsLink?: ContentLink; + /** + * @member {any} [outputs] Gets the outputs. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly outputs?: any; + /** + * @member {ContentLink} [outputsLink] Gets the link to outputs. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly outputsLink?: ContentLink; + /** + * @member {any} [trackedProperties] Gets the tracked properties. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly trackedProperties?: any; + /** + * @member {RetryHistory[]} [retryHistory] Gets the retry histories. + */ + retryHistory?: RetryHistory[]; + /** + * @member {number} [iterationCount] + */ + iterationCount?: number; + /** + * @member {RepetitionIndex[]} [repetitionIndexes] The repetition indexes. + */ + repetitionIndexes?: RepetitionIndex[]; +} + +/** + * @interface + * An interface representing OperationResultProperties. + * The run operation result properties. + * + */ +export interface OperationResultProperties { + /** + * @member {Date} [startTime] The start time of the workflow scope + * repetition. + */ + startTime?: Date; + /** + * @member {Date} [endTime] The end time of the workflow scope repetition. + */ + endTime?: Date; + /** + * @member {RunActionCorrelation} [correlation] The correlation properties. + */ + correlation?: RunActionCorrelation; + /** + * @member {WorkflowStatus} [status] The status of the workflow scope + * repetition. Possible values include: 'NotSpecified', 'Paused', 'Running', + * 'Waiting', 'Succeeded', 'Skipped', 'Suspended', 'Cancelled', 'Failed', + * 'Faulted', 'TimedOut', 'Aborted', 'Ignored' + */ + status?: WorkflowStatus; + /** + * @member {string} [code] The workflow scope repetition code. + */ + code?: string; + /** + * @member {any} [error] + */ + error?: any; +} + +/** + * @interface + * An interface representing OperationResult. + * The operation result definition. + * + * @extends OperationResultProperties + */ +export interface OperationResult extends OperationResultProperties { + /** + * @member {string} [trackingId] Gets the tracking id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly trackingId?: string; + /** + * @member {any} [inputs] Gets the inputs. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly inputs?: any; + /** + * @member {ContentLink} [inputsLink] Gets the link to inputs. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly inputsLink?: ContentLink; + /** + * @member {any} [outputs] Gets the outputs. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly outputs?: any; + /** + * @member {ContentLink} [outputsLink] Gets the link to outputs. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly outputsLink?: ContentLink; + /** + * @member {any} [trackedProperties] Gets the tracked properties. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly trackedProperties?: any; + /** + * @member {RetryHistory[]} [retryHistory] Gets the retry histories. + */ + retryHistory?: RetryHistory[]; + /** + * @member {number} [iterationCount] + */ + iterationCount?: number; +} + +/** + * @interface + * An interface representing RunCorrelation. + * The correlation properties. + * + */ +export interface RunCorrelation { + /** + * @member {string} [clientTrackingId] The client tracking identifier. + */ + clientTrackingId?: string; + /** + * @member {string[]} [clientKeywords] The client keywords. + */ + clientKeywords?: string[]; +} + +/** + * @interface + * An interface representing RunActionCorrelation. + * The workflow run action correlation properties. + * + * @extends RunCorrelation + */ +export interface RunActionCorrelation extends RunCorrelation { + /** + * @member {string} [actionTrackingId] The action tracking identifier. + */ + actionTrackingId?: string; +} + +/** + * @interface + * An interface representing JsonSchema. + * The JSON schema. + * + */ +export interface JsonSchema { + /** + * @member {string} [title] The JSON title. + */ + title?: string; + /** + * @member {string} [content] The JSON content. + */ + content?: string; +} + +/** + * @interface + * An interface representing ArtifactProperties. + * The artifact properties definition. + * + */ +export interface ArtifactProperties { + /** + * @member {Date} [createdTime] The artifact creation time. + */ + createdTime?: Date; + /** + * @member {Date} [changedTime] The artifact changed time. + */ + changedTime?: Date; + /** + * @member {any} [metadata] + */ + metadata?: any; +} + +/** + * @interface + * An interface representing ArtifactContentPropertiesDefinition. + * The artifact content properties definition. + * + * @extends ArtifactProperties + */ +export interface ArtifactContentPropertiesDefinition extends ArtifactProperties { + /** + * @member {any} [content] + */ + content?: any; + /** + * @member {string} [contentType] The content type. + */ + contentType?: string; + /** + * @member {ContentLink} [contentLink] The content link. + */ + contentLink?: ContentLink; +} + +/** + * @interface + * An interface representing AssemblyProperties. + * The assembly properties definition. + * + * @extends ArtifactContentPropertiesDefinition + */ +export interface AssemblyProperties extends ArtifactContentPropertiesDefinition { + /** + * @member {string} assemblyName The assembly name. + */ + assemblyName: string; + /** + * @member {string} [assemblyVersion] The assembly version. + */ + assemblyVersion?: string; + /** + * @member {string} [assemblyCulture] The assembly culture. + */ + assemblyCulture?: string; + /** + * @member {string} [assemblyPublicKeyToken] The assembly public key token. + */ + assemblyPublicKeyToken?: string; +} + +/** + * @interface + * An interface representing AssemblyDefinition. + * The assembly definition. + * + * @extends Resource + */ +export interface AssemblyDefinition extends Resource { + /** + * @member {AssemblyProperties} properties The assembly properties. + */ + properties: AssemblyProperties; +} + +/** + * @interface + * An interface representing BatchReleaseCriteria. + * The batch release criteria. + * + */ +export interface BatchReleaseCriteria { + /** + * @member {number} [messageCount] The message count. + */ + messageCount?: number; + /** + * @member {number} [batchSize] The batch size in bytes. + */ + batchSize?: number; + /** + * @member {WorkflowTriggerRecurrence} [recurrence] The recurrence. + */ + recurrence?: WorkflowTriggerRecurrence; +} + +/** + * @interface + * An interface representing BatchConfigurationProperties. + * The batch configuration properties definition. + * + * @extends ArtifactProperties + */ +export interface BatchConfigurationProperties extends ArtifactProperties { + /** + * @member {string} batchGroupName The name of the batch group. + */ + batchGroupName: string; + /** + * @member {BatchReleaseCriteria} releaseCriteria The batch release criteria. + */ + releaseCriteria: BatchReleaseCriteria; +} + +/** + * @interface + * An interface representing BatchConfiguration. + * The batch configuration resource definition. + * + * @extends Resource + */ +export interface BatchConfiguration extends Resource { + /** + * @member {BatchConfigurationProperties} properties The batch configuration + * properties. + */ + properties: BatchConfigurationProperties; +} + +/** + * @interface + * An interface representing Request. + * A request. + * + */ +export interface Request { + /** + * @member {any} [headers] A list of all the headers attached to the request. + */ + headers?: any; + /** + * @member {string} [uri] The destination for the request. + */ + uri?: string; + /** + * @member {string} [method] The HTTP method used for the request. + */ + method?: string; +} + +/** + * @interface + * An interface representing Response. + * A response. + * + */ +export interface Response { + /** + * @member {any} [headers] A list of all the headers attached to the + * response. + */ + headers?: any; + /** + * @member {number} [statusCode] The status code of the response. + */ + statusCode?: number; + /** + * @member {ContentLink} [bodyLink] Details on the location of the body + * content. + */ + bodyLink?: ContentLink; +} + +/** + * @interface + * An interface representing RequestHistoryProperties. + * The request history. + * + */ +export interface RequestHistoryProperties { + /** + * @member {Date} [startTime] The time the request started. + */ + startTime?: Date; + /** + * @member {Date} [endTime] The time the request ended. + */ + endTime?: Date; + /** + * @member {Request} [request] The request. + */ + request?: Request; + /** + * @member {Response} [response] The response. + */ + response?: Response; +} + +/** + * @interface + * An interface representing RequestHistory. + * The request history. + * + * @extends Resource + */ +export interface RequestHistory extends Resource { + /** + * @member {RequestHistoryProperties} [properties] The request history + * properties. + */ + properties?: RequestHistoryProperties; +} + +/** + * @interface + * An interface representing WorkflowsListBySubscriptionOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface WorkflowsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {number} [top] The number of items to be included in the result. + */ + top?: number; + /** + * @member {string} [filter] The filter to apply on the operation. Options + * for filters include: State, Trigger, and ReferencedResourceId. + */ + filter?: string; +} + +/** + * @interface + * An interface representing WorkflowsListByResourceGroupOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface WorkflowsListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {number} [top] The number of items to be included in the result. + */ + top?: number; + /** + * @member {string} [filter] The filter to apply on the operation. Options + * for filters include: State, Trigger, and ReferencedResourceId. + */ + filter?: string; +} + +/** + * @interface + * An interface representing WorkflowVersionsListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface WorkflowVersionsListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {number} [top] The number of items to be included in the result. + */ + top?: number; +} + +/** + * @interface + * An interface representing WorkflowTriggersListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface WorkflowTriggersListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {number} [top] The number of items to be included in the result. + */ + top?: number; + /** + * @member {string} [filter] The filter to apply on the operation. + */ + filter?: string; +} + +/** + * @interface + * An interface representing WorkflowVersionTriggersListCallbackUrlOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface WorkflowVersionTriggersListCallbackUrlOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {GetCallbackUrlParameters} [parameters] The callback URL + * parameters. + */ + parameters?: GetCallbackUrlParameters; +} + +/** + * @interface + * An interface representing WorkflowTriggerHistoriesListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface WorkflowTriggerHistoriesListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {number} [top] The number of items to be included in the result. + */ + top?: number; + /** + * @member {string} [filter] The filter to apply on the operation. Options + * for filters include: Status, StartTime, and ClientTrackingId. + */ + filter?: string; +} + +/** + * @interface + * An interface representing WorkflowRunsListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface WorkflowRunsListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {number} [top] The number of items to be included in the result. + */ + top?: number; + /** + * @member {string} [filter] The filter to apply on the operation. Options + * for filters include: Status, StartTime, and ClientTrackingId. + */ + filter?: string; +} + +/** + * @interface + * An interface representing WorkflowRunActionsListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface WorkflowRunActionsListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {number} [top] The number of items to be included in the result. + */ + top?: number; + /** + * @member {string} [filter] The filter to apply on the operation. Options + * for filters include: Status. + */ + filter?: string; +} + +/** + * @interface + * An interface representing IntegrationAccountsListBySubscriptionOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface IntegrationAccountsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {number} [top] The number of items to be included in the result. + */ + top?: number; +} + +/** + * @interface + * An interface representing IntegrationAccountsListByResourceGroupOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface IntegrationAccountsListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {number} [top] The number of items to be included in the result. + */ + top?: number; +} + +/** + * @interface + * An interface representing IntegrationAccountSchemasListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface IntegrationAccountSchemasListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {number} [top] The number of items to be included in the result. + */ + top?: number; + /** + * @member {string} [filter] The filter to apply on the operation. Options + * for filters include: SchemaType. + */ + filter?: string; +} + +/** + * @interface + * An interface representing IntegrationAccountMapsListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface IntegrationAccountMapsListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {number} [top] The number of items to be included in the result. + */ + top?: number; + /** + * @member {string} [filter] The filter to apply on the operation. Options + * for filters include: MapType. + */ + filter?: string; +} + +/** + * @interface + * An interface representing IntegrationAccountPartnersListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface IntegrationAccountPartnersListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {number} [top] The number of items to be included in the result. + */ + top?: number; + /** + * @member {string} [filter] The filter to apply on the operation. Options + * for filters include: PartnerType. + */ + filter?: string; +} + +/** + * @interface + * An interface representing IntegrationAccountAgreementsListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface IntegrationAccountAgreementsListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {number} [top] The number of items to be included in the result. + */ + top?: number; + /** + * @member {string} [filter] The filter to apply on the operation. Options + * for filters include: AgreementType. + */ + filter?: string; +} + +/** + * @interface + * An interface representing IntegrationAccountCertificatesListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface IntegrationAccountCertificatesListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {number} [top] The number of items to be included in the result. + */ + top?: number; +} + +/** + * @interface + * An interface representing IntegrationAccountSessionsListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface IntegrationAccountSessionsListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {number} [top] The number of items to be included in the result. + */ + top?: number; + /** + * @member {string} [filter] The filter to apply on the operation. Options + * for filters include: ChangedTime. + */ + filter?: string; +} + +/** + * @interface + * An interface representing LogicManagementClientOptions. + * @extends AzureServiceClientOptions + */ +export interface LogicManagementClientOptions extends AzureServiceClientOptions { + /** + * @member {string} [baseUri] + */ + baseUri?: string; +} + + +/** + * @interface + * An interface representing the WorkflowListResult. + * The list of workflows. + * + * @extends Array + */ +export interface WorkflowListResult extends Array { + /** + * @member {string} [nextLink] The URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the WorkflowVersionListResult. + * The list of workflow versions. + * + * @extends Array + */ +export interface WorkflowVersionListResult extends Array { + /** + * @member {string} [nextLink] The URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the WorkflowTriggerListResult. + * The list of workflow triggers. + * + * @extends Array + */ +export interface WorkflowTriggerListResult extends Array { + /** + * @member {string} [nextLink] The URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the WorkflowTriggerHistoryListResult. + * The list of workflow trigger histories. + * + * @extends Array + */ +export interface WorkflowTriggerHistoryListResult extends Array { + /** + * @member {string} [nextLink] The URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the WorkflowRunListResult. + * The list of workflow runs. + * + * @extends Array + */ +export interface WorkflowRunListResult extends Array { + /** + * @member {string} [nextLink] The URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the WorkflowRunActionListResult. + * The list of workflow run actions. + * + * @extends Array + */ +export interface WorkflowRunActionListResult extends Array { + /** + * @member {string} [nextLink] The URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the ExpressionTraces. + * @extends Array + */ +export interface ExpressionTraces extends Array { + /** + * @member {ExpressionRoot[]} [inputs] + */ + inputs?: ExpressionRoot[]; +} + +/** + * @interface + * An interface representing the WorkflowRunActionRepetitionDefinitionCollection. + * A collection of workflow run action repetitions. + * + * @extends Array + */ +export interface WorkflowRunActionRepetitionDefinitionCollection extends Array { +} + +/** + * @interface + * An interface representing the RequestHistoryListResult. + * The list of workflow request histories. + * + * @extends Array + */ +export interface RequestHistoryListResult extends Array { + /** + * @member {string} [nextLink] The URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the IntegrationAccountListResult. + * The list of integration accounts. + * + * @extends Array + */ +export interface IntegrationAccountListResult extends Array { + /** + * @member {string} [nextLink] The URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the KeyVaultKeyCollection. + * Collection of key vault keys. + * + * @extends Array + */ +export interface KeyVaultKeyCollection extends Array { + /** + * @member {string} [skipToken] The skip token. + */ + skipToken?: string; +} + +/** + * @interface + * An interface representing the AssemblyCollection. + * A collection of assembly definitions. + * + * @extends Array + */ +export interface AssemblyCollection extends Array { +} + +/** + * @interface + * An interface representing the BatchConfigurationCollection. + * A collection of batch configurations. + * + * @extends Array + */ +export interface BatchConfigurationCollection extends Array { +} + +/** + * @interface + * An interface representing the IntegrationAccountSchemaListResult. + * The list of integration account schemas. + * + * @extends Array + */ +export interface IntegrationAccountSchemaListResult extends Array { + /** + * @member {string} [nextLink] The URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the IntegrationAccountMapListResult. + * The list of integration account maps. + * + * @extends Array + */ +export interface IntegrationAccountMapListResult extends Array { + /** + * @member {string} [nextLink] The URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the IntegrationAccountPartnerListResult. + * The list of integration account partners. + * + * @extends Array + */ +export interface IntegrationAccountPartnerListResult extends Array { + /** + * @member {string} [nextLink] The URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the IntegrationAccountAgreementListResult. + * The list of integration account agreements. + * + * @extends Array + */ +export interface IntegrationAccountAgreementListResult extends Array { + /** + * @member {string} [nextLink] The URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the IntegrationAccountCertificateListResult. + * The list of integration account certificates. + * + * @extends Array + */ +export interface IntegrationAccountCertificateListResult extends Array { + /** + * @member {string} [nextLink] The URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the IntegrationAccountSessionListResult. + * The list of integration account sessions. + * + * @extends Array + */ +export interface IntegrationAccountSessionListResult extends Array { + /** + * @member {string} [nextLink] The URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the OperationListResult. + * Result of the request to list Logic operations. It contains a list of + * operations and a URL link to get the next set of results. + * + * @extends Array + */ +export interface OperationListResult extends Array { + /** + * @member {string} [nextLink] URL to get the next set of operation list + * results if there are any. + */ + nextLink?: string; +} + +/** + * Defines values for WorkflowProvisioningState. + * Possible values include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', 'Created', + * 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Moving', 'Updating', 'Registering', + * 'Registered', 'Unregistering', 'Unregistered', 'Completed' + * @readonly + * @enum {string} + */ +export type WorkflowProvisioningState = 'NotSpecified' | 'Accepted' | 'Running' | 'Ready' | 'Creating' | 'Created' | 'Deleting' | 'Deleted' | 'Canceled' | 'Failed' | 'Succeeded' | 'Moving' | 'Updating' | 'Registering' | 'Registered' | 'Unregistering' | 'Unregistered' | 'Completed'; + +/** + * Defines values for WorkflowState. + * Possible values include: 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', + * 'Suspended' + * @readonly + * @enum {string} + */ +export type WorkflowState = 'NotSpecified' | 'Completed' | 'Enabled' | 'Disabled' | 'Deleted' | 'Suspended'; + +/** + * Defines values for SkuName. + * Possible values include: 'NotSpecified', 'Free', 'Shared', 'Basic', 'Standard', 'Premium' + * @readonly + * @enum {string} + */ +export type SkuName = 'NotSpecified' | 'Free' | 'Shared' | 'Basic' | 'Standard' | 'Premium'; + +/** + * Defines values for ParameterType. + * Possible values include: 'NotSpecified', 'String', 'SecureString', 'Int', 'Float', 'Bool', + * 'Array', 'Object', 'SecureObject' + * @readonly + * @enum {string} + */ +export type ParameterType = 'NotSpecified' | 'String' | 'SecureString' | 'Int' | 'Float' | 'Bool' | 'Array' | 'Object' | 'SecureObject'; + +/** + * Defines values for WorkflowTriggerProvisioningState. + * Possible values include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', 'Created', + * 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Moving', 'Updating', 'Registering', + * 'Registered', 'Unregistering', 'Unregistered', 'Completed' + * @readonly + * @enum {string} + */ +export type WorkflowTriggerProvisioningState = 'NotSpecified' | 'Accepted' | 'Running' | 'Ready' | 'Creating' | 'Created' | 'Deleting' | 'Deleted' | 'Canceled' | 'Failed' | 'Succeeded' | 'Moving' | 'Updating' | 'Registering' | 'Registered' | 'Unregistering' | 'Unregistered' | 'Completed'; + +/** + * Defines values for WorkflowStatus. + * Possible values include: 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', 'Skipped', + * 'Suspended', 'Cancelled', 'Failed', 'Faulted', 'TimedOut', 'Aborted', 'Ignored' + * @readonly + * @enum {string} + */ +export type WorkflowStatus = 'NotSpecified' | 'Paused' | 'Running' | 'Waiting' | 'Succeeded' | 'Skipped' | 'Suspended' | 'Cancelled' | 'Failed' | 'Faulted' | 'TimedOut' | 'Aborted' | 'Ignored'; + +/** + * Defines values for RecurrenceFrequency. + * Possible values include: 'NotSpecified', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', + * 'Year' + * @readonly + * @enum {string} + */ +export type RecurrenceFrequency = 'NotSpecified' | 'Second' | 'Minute' | 'Hour' | 'Day' | 'Week' | 'Month' | 'Year'; + +/** + * Defines values for DaysOfWeek. + * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', + * 'Saturday' + * @readonly + * @enum {string} + */ +export type DaysOfWeek = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'; + +/** + * Defines values for DayOfWeek. + * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', + * 'Saturday' + * @readonly + * @enum {string} + */ +export type DayOfWeek = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'; + +/** + * Defines values for KeyType. + * Possible values include: 'NotSpecified', 'Primary', 'Secondary' + * @readonly + * @enum {string} + */ +export type KeyType = 'NotSpecified' | 'Primary' | 'Secondary'; + +/** + * Defines values for IntegrationAccountSkuName. + * Possible values include: 'NotSpecified', 'Free', 'Basic', 'Standard' + * @readonly + * @enum {string} + */ +export type IntegrationAccountSkuName = 'NotSpecified' | 'Free' | 'Basic' | 'Standard'; + +/** + * Defines values for SchemaType. + * Possible values include: 'NotSpecified', 'Xml' + * @readonly + * @enum {string} + */ +export type SchemaType = 'NotSpecified' | 'Xml'; + +/** + * Defines values for MapType. + * Possible values include: 'NotSpecified', 'Xslt', 'Xslt20', 'Xslt30', 'Liquid' + * @readonly + * @enum {string} + */ +export type MapType = 'NotSpecified' | 'Xslt' | 'Xslt20' | 'Xslt30' | 'Liquid'; + +/** + * Defines values for PartnerType. + * Possible values include: 'NotSpecified', 'B2B' + * @readonly + * @enum {string} + */ +export type PartnerType = 'NotSpecified' | 'B2B'; + +/** + * Defines values for AgreementType. + * Possible values include: 'NotSpecified', 'AS2', 'X12', 'Edifact' + * @readonly + * @enum {string} + */ +export type AgreementType = 'NotSpecified' | 'AS2' | 'X12' | 'Edifact'; + +/** + * Defines values for HashingAlgorithm. + * Possible values include: 'NotSpecified', 'None', 'MD5', 'SHA1', 'SHA2256', 'SHA2384', 'SHA2512' + * @readonly + * @enum {string} + */ +export type HashingAlgorithm = 'NotSpecified' | 'None' | 'MD5' | 'SHA1' | 'SHA2256' | 'SHA2384' | 'SHA2512'; + +/** + * Defines values for EncryptionAlgorithm. + * Possible values include: 'NotSpecified', 'None', 'DES3', 'RC2', 'AES128', 'AES192', 'AES256' + * @readonly + * @enum {string} + */ +export type EncryptionAlgorithm = 'NotSpecified' | 'None' | 'DES3' | 'RC2' | 'AES128' | 'AES192' | 'AES256'; + +/** + * Defines values for SigningAlgorithm. + * Possible values include: 'NotSpecified', 'Default', 'SHA1', 'SHA2256', 'SHA2384', 'SHA2512' + * @readonly + * @enum {string} + */ +export type SigningAlgorithm = 'NotSpecified' | 'Default' | 'SHA1' | 'SHA2256' | 'SHA2384' | 'SHA2512'; + +/** + * Defines values for TrailingSeparatorPolicy. + * Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', 'Mandatory' + * @readonly + * @enum {string} + */ +export type TrailingSeparatorPolicy = 'NotSpecified' | 'NotAllowed' | 'Optional' | 'Mandatory'; + +/** + * Defines values for X12CharacterSet. + * Possible values include: 'NotSpecified', 'Basic', 'Extended', 'UTF8' + * @readonly + * @enum {string} + */ +export type X12CharacterSet = 'NotSpecified' | 'Basic' | 'Extended' | 'UTF8'; + +/** + * Defines values for SegmentTerminatorSuffix. + * Possible values include: 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' + * @readonly + * @enum {string} + */ +export type SegmentTerminatorSuffix = 'NotSpecified' | 'None' | 'CR' | 'LF' | 'CRLF'; + +/** + * Defines values for X12DateFormat. + * Possible values include: 'NotSpecified', 'CCYYMMDD', 'YYMMDD' + * @readonly + * @enum {string} + */ +export type X12DateFormat = 'NotSpecified' | 'CCYYMMDD' | 'YYMMDD'; + +/** + * Defines values for X12TimeFormat. + * Possible values include: 'NotSpecified', 'HHMM', 'HHMMSS', 'HHMMSSdd', 'HHMMSSd' + * @readonly + * @enum {string} + */ +export type X12TimeFormat = 'NotSpecified' | 'HHMM' | 'HHMMSS' | 'HHMMSSdd' | 'HHMMSSd'; + +/** + * Defines values for UsageIndicator. + * Possible values include: 'NotSpecified', 'Test', 'Information', 'Production' + * @readonly + * @enum {string} + */ +export type UsageIndicator = 'NotSpecified' | 'Test' | 'Information' | 'Production'; + +/** + * Defines values for MessageFilterType. + * Possible values include: 'NotSpecified', 'Include', 'Exclude' + * @readonly + * @enum {string} + */ +export type MessageFilterType = 'NotSpecified' | 'Include' | 'Exclude'; + +/** + * Defines values for EdifactCharacterSet. + * Possible values include: 'NotSpecified', 'UNOB', 'UNOA', 'UNOC', 'UNOD', 'UNOE', 'UNOF', 'UNOG', + * 'UNOH', 'UNOI', 'UNOJ', 'UNOK', 'UNOX', 'UNOY', 'KECA' + * @readonly + * @enum {string} + */ +export type EdifactCharacterSet = 'NotSpecified' | 'UNOB' | 'UNOA' | 'UNOC' | 'UNOD' | 'UNOE' | 'UNOF' | 'UNOG' | 'UNOH' | 'UNOI' | 'UNOJ' | 'UNOK' | 'UNOX' | 'UNOY' | 'KECA'; + +/** + * Defines values for EdifactDecimalIndicator. + * Possible values include: 'NotSpecified', 'Comma', 'Decimal' + * @readonly + * @enum {string} + */ +export type EdifactDecimalIndicator = 'NotSpecified' | 'Comma' | 'Decimal'; + +/** + * Defines values for TrackEventsOperationOptions. + * Possible values include: 'None', 'DisableSourceInfoEnrich' + * @readonly + * @enum {string} + */ +export type TrackEventsOperationOptions = 'None' | 'DisableSourceInfoEnrich'; + +/** + * Defines values for EventLevel. + * Possible values include: 'LogAlways', 'Critical', 'Error', 'Warning', 'Informational', 'Verbose' + * @readonly + * @enum {string} + */ +export type EventLevel = 'LogAlways' | 'Critical' | 'Error' | 'Warning' | 'Informational' | 'Verbose'; + +/** + * Defines values for TrackingRecordType. + * Possible values include: 'NotSpecified', 'Custom', 'AS2Message', 'AS2MDN', 'X12Interchange', + * 'X12FunctionalGroup', 'X12TransactionSet', 'X12InterchangeAcknowledgment', + * 'X12FunctionalGroupAcknowledgment', 'X12TransactionSetAcknowledgment', 'EdifactInterchange', + * 'EdifactFunctionalGroup', 'EdifactTransactionSet', 'EdifactInterchangeAcknowledgment', + * 'EdifactFunctionalGroupAcknowledgment', 'EdifactTransactionSetAcknowledgment' + * @readonly + * @enum {string} + */ +export type TrackingRecordType = 'NotSpecified' | 'Custom' | 'AS2Message' | 'AS2MDN' | 'X12Interchange' | 'X12FunctionalGroup' | 'X12TransactionSet' | 'X12InterchangeAcknowledgment' | 'X12FunctionalGroupAcknowledgment' | 'X12TransactionSetAcknowledgment' | 'EdifactInterchange' | 'EdifactFunctionalGroup' | 'EdifactTransactionSet' | 'EdifactInterchangeAcknowledgment' | 'EdifactFunctionalGroupAcknowledgment' | 'EdifactTransactionSetAcknowledgment'; + +/** + * Contains response data for the listBySubscription operation. + */ +export type WorkflowsListBySubscriptionResponse = WorkflowListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type WorkflowsListByResourceGroupResponse = WorkflowListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type WorkflowsGetResponse = Workflow & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Workflow; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type WorkflowsCreateOrUpdateResponse = Workflow & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Workflow; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type WorkflowsUpdateResponse = Workflow & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Workflow; + }; +}; + +/** + * Contains response data for the generateUpgradedDefinition operation. + */ +export type WorkflowsGenerateUpgradedDefinitionResponse = { + /** + * The parsed response body. + */ + body: any; + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; +}; + +/** + * Contains response data for the listCallbackUrl operation. + */ +export type WorkflowsListCallbackUrlResponse = WorkflowTriggerCallbackUrl & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowTriggerCallbackUrl; + }; +}; + +/** + * Contains response data for the listSwagger operation. + */ +export type WorkflowsListSwaggerResponse = { + /** + * The parsed response body. + */ + body: any; + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; +}; + +/** + * Contains response data for the listBySubscriptionNext operation. + */ +export type WorkflowsListBySubscriptionNextResponse = WorkflowListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type WorkflowsListByResourceGroupNextResponse = WorkflowListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type WorkflowVersionsListResponse = WorkflowVersionListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowVersionListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type WorkflowVersionsGetResponse = WorkflowVersion & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowVersion; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type WorkflowVersionsListNextResponse = WorkflowVersionListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowVersionListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type WorkflowTriggersListResponse = WorkflowTriggerListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowTriggerListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type WorkflowTriggersGetResponse = WorkflowTrigger & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowTrigger; + }; +}; + +/** + * Contains response data for the run operation. + */ +export type WorkflowTriggersRunResponse = { + /** + * The parsed response body. + */ + body: any; + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; +}; + +/** + * Contains response data for the getSchemaJson operation. + */ +export type WorkflowTriggersGetSchemaJsonResponse = JsonSchema & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: JsonSchema; + }; +}; + +/** + * Contains response data for the listCallbackUrl operation. + */ +export type WorkflowTriggersListCallbackUrlResponse = WorkflowTriggerCallbackUrl & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowTriggerCallbackUrl; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type WorkflowTriggersListNextResponse = WorkflowTriggerListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowTriggerListResult; + }; +}; + +/** + * Contains response data for the listCallbackUrl operation. + */ +export type WorkflowVersionTriggersListCallbackUrlResponse = WorkflowTriggerCallbackUrl & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowTriggerCallbackUrl; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type WorkflowTriggerHistoriesListResponse = WorkflowTriggerHistoryListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowTriggerHistoryListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type WorkflowTriggerHistoriesGetResponse = WorkflowTriggerHistory & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowTriggerHistory; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type WorkflowTriggerHistoriesListNextResponse = WorkflowTriggerHistoryListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowTriggerHistoryListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type WorkflowRunsListResponse = WorkflowRunListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowRunListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type WorkflowRunsGetResponse = WorkflowRun & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowRun; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type WorkflowRunsListNextResponse = WorkflowRunListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowRunListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type WorkflowRunActionsListResponse = WorkflowRunActionListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowRunActionListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type WorkflowRunActionsGetResponse = WorkflowRunAction & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowRunAction; + }; +}; + +/** + * Contains response data for the listExpressionTraces operation. + */ +export type WorkflowRunActionsListExpressionTracesResponse = ExpressionTraces & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExpressionTraces; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type WorkflowRunActionsListNextResponse = WorkflowRunActionListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowRunActionListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type WorkflowRunActionRepetitionsListResponse = WorkflowRunActionRepetitionDefinitionCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowRunActionRepetitionDefinitionCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type WorkflowRunActionRepetitionsGetResponse = WorkflowRunActionRepetitionDefinition & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowRunActionRepetitionDefinition; + }; +}; + +/** + * Contains response data for the listExpressionTraces operation. + */ +export type WorkflowRunActionRepetitionsListExpressionTracesResponse = ExpressionTraces & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExpressionTraces; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type WorkflowRunActionRepetitionsRequestHistoriesListResponse = RequestHistoryListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RequestHistoryListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type WorkflowRunActionRepetitionsRequestHistoriesGetResponse = RequestHistory & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RequestHistory; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type WorkflowRunActionRepetitionsRequestHistoriesListNextResponse = RequestHistoryListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RequestHistoryListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type WorkflowRunActionRequestHistoriesListResponse = RequestHistoryListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RequestHistoryListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type WorkflowRunActionRequestHistoriesGetResponse = RequestHistory & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RequestHistory; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type WorkflowRunActionRequestHistoriesListNextResponse = RequestHistoryListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RequestHistoryListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type WorkflowRunActionScopeRepetitionsListResponse = WorkflowRunActionRepetitionDefinitionCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowRunActionRepetitionDefinitionCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type WorkflowRunActionScopeRepetitionsGetResponse = WorkflowRunActionRepetitionDefinition & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowRunActionRepetitionDefinition; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type WorkflowRunOperationsGetResponse = WorkflowRun & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowRun; + }; +}; + +/** + * Contains response data for the listBySubscription operation. + */ +export type IntegrationAccountsListBySubscriptionResponse = IntegrationAccountListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type IntegrationAccountsListByResourceGroupResponse = IntegrationAccountListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type IntegrationAccountsGetResponse = IntegrationAccount & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccount; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type IntegrationAccountsCreateOrUpdateResponse = IntegrationAccount & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccount; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type IntegrationAccountsUpdateResponse = IntegrationAccount & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccount; + }; +}; + +/** + * Contains response data for the listCallbackUrl operation. + */ +export type IntegrationAccountsListCallbackUrlResponse = CallbackUrl & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: CallbackUrl; + }; +}; + +/** + * Contains response data for the listKeyVaultKeys operation. + */ +export type IntegrationAccountsListKeyVaultKeysResponse = KeyVaultKeyCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: KeyVaultKeyCollection; + }; +}; + +/** + * Contains response data for the regenerateAccessKey operation. + */ +export type IntegrationAccountsRegenerateAccessKeyResponse = IntegrationAccount & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccount; + }; +}; + +/** + * Contains response data for the listBySubscriptionNext operation. + */ +export type IntegrationAccountsListBySubscriptionNextResponse = IntegrationAccountListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type IntegrationAccountsListByResourceGroupNextResponse = IntegrationAccountListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type IntegrationAccountAssembliesListResponse = AssemblyCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: AssemblyCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type IntegrationAccountAssembliesGetResponse = AssemblyDefinition & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: AssemblyDefinition; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type IntegrationAccountAssembliesCreateOrUpdateResponse = AssemblyDefinition & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: AssemblyDefinition; + }; +}; + +/** + * Contains response data for the listContentCallbackUrl operation. + */ +export type IntegrationAccountAssembliesListContentCallbackUrlResponse = WorkflowTriggerCallbackUrl & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowTriggerCallbackUrl; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type IntegrationAccountBatchConfigurationsListResponse = BatchConfigurationCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: BatchConfigurationCollection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type IntegrationAccountBatchConfigurationsGetResponse = BatchConfiguration & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: BatchConfiguration; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type IntegrationAccountBatchConfigurationsCreateOrUpdateResponse = BatchConfiguration & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: BatchConfiguration; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type IntegrationAccountSchemasListResponse = IntegrationAccountSchemaListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountSchemaListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type IntegrationAccountSchemasGetResponse = IntegrationAccountSchema & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountSchema; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type IntegrationAccountSchemasCreateOrUpdateResponse = IntegrationAccountSchema & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountSchema; + }; +}; + +/** + * Contains response data for the listContentCallbackUrl operation. + */ +export type IntegrationAccountSchemasListContentCallbackUrlResponse = WorkflowTriggerCallbackUrl & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowTriggerCallbackUrl; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type IntegrationAccountSchemasListNextResponse = IntegrationAccountSchemaListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountSchemaListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type IntegrationAccountMapsListResponse = IntegrationAccountMapListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountMapListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type IntegrationAccountMapsGetResponse = IntegrationAccountMap & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountMap; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type IntegrationAccountMapsCreateOrUpdateResponse = IntegrationAccountMap & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountMap; + }; +}; + +/** + * Contains response data for the listContentCallbackUrl operation. + */ +export type IntegrationAccountMapsListContentCallbackUrlResponse = WorkflowTriggerCallbackUrl & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowTriggerCallbackUrl; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type IntegrationAccountMapsListNextResponse = IntegrationAccountMapListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountMapListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type IntegrationAccountPartnersListResponse = IntegrationAccountPartnerListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountPartnerListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type IntegrationAccountPartnersGetResponse = IntegrationAccountPartner & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountPartner; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type IntegrationAccountPartnersCreateOrUpdateResponse = IntegrationAccountPartner & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountPartner; + }; +}; + +/** + * Contains response data for the listContentCallbackUrl operation. + */ +export type IntegrationAccountPartnersListContentCallbackUrlResponse = WorkflowTriggerCallbackUrl & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowTriggerCallbackUrl; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type IntegrationAccountPartnersListNextResponse = IntegrationAccountPartnerListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountPartnerListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type IntegrationAccountAgreementsListResponse = IntegrationAccountAgreementListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountAgreementListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type IntegrationAccountAgreementsGetResponse = IntegrationAccountAgreement & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountAgreement; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type IntegrationAccountAgreementsCreateOrUpdateResponse = IntegrationAccountAgreement & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountAgreement; + }; +}; + +/** + * Contains response data for the listContentCallbackUrl operation. + */ +export type IntegrationAccountAgreementsListContentCallbackUrlResponse = WorkflowTriggerCallbackUrl & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkflowTriggerCallbackUrl; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type IntegrationAccountAgreementsListNextResponse = IntegrationAccountAgreementListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountAgreementListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type IntegrationAccountCertificatesListResponse = IntegrationAccountCertificateListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountCertificateListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type IntegrationAccountCertificatesGetResponse = IntegrationAccountCertificate & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountCertificate; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type IntegrationAccountCertificatesCreateOrUpdateResponse = IntegrationAccountCertificate & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountCertificate; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type IntegrationAccountCertificatesListNextResponse = IntegrationAccountCertificateListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountCertificateListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type IntegrationAccountSessionsListResponse = IntegrationAccountSessionListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountSessionListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type IntegrationAccountSessionsGetResponse = IntegrationAccountSession & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountSession; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type IntegrationAccountSessionsCreateOrUpdateResponse = IntegrationAccountSession & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountSession; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type IntegrationAccountSessionsListNextResponse = IntegrationAccountSessionListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IntegrationAccountSessionListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type OperationsListResponse = OperationListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationListResult; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type OperationsListNextResponse = OperationListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationListResult; + }; +}; diff --git a/sdk/logic/arm-logic/lib/models/integrationAccountAgreementsMappers.ts b/sdk/logic/arm-logic/lib/models/integrationAccountAgreementsMappers.ts new file mode 100644 index 000000000000..ef357537f003 --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/integrationAccountAgreementsMappers.ts @@ -0,0 +1,111 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + IntegrationAccountAgreementListResult, + IntegrationAccountAgreement, + Resource, + BaseResource, + BusinessIdentity, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + CloudError, + GetCallbackUrlParameters, + WorkflowTriggerCallbackUrl, + WorkflowTriggerListCallbackUrlQueries, + SubResource, + Workflow, + Sku, + ResourceReference, + WorkflowParameter, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowTriggerHistory, + Correlation, + ContentLink, + ContentHash, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + WorkflowRunAction, + RetryHistory, + ErrorResponse, + ErrorProperties, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + KeyVaultReference, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/integrationAccountAssembliesMappers.ts b/sdk/logic/arm-logic/lib/models/integrationAccountAssembliesMappers.ts new file mode 100644 index 000000000000..508d49c7bd42 --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/integrationAccountAssembliesMappers.ts @@ -0,0 +1,110 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + AssemblyCollection, + AssemblyDefinition, + Resource, + BaseResource, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + ContentLink, + ContentHash, + CloudError, + WorkflowTriggerCallbackUrl, + WorkflowTriggerListCallbackUrlQueries, + SubResource, + Workflow, + Sku, + ResourceReference, + WorkflowParameter, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowTriggerHistory, + Correlation, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + WorkflowRunAction, + RetryHistory, + ErrorResponse, + ErrorProperties, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + KeyVaultReference, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/integrationAccountBatchConfigurationsMappers.ts b/sdk/logic/arm-logic/lib/models/integrationAccountBatchConfigurationsMappers.ts new file mode 100644 index 000000000000..3e5393ef86ca --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/integrationAccountBatchConfigurationsMappers.ts @@ -0,0 +1,108 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + BatchConfigurationCollection, + BatchConfiguration, + Resource, + BaseResource, + BatchConfigurationProperties, + ArtifactProperties, + BatchReleaseCriteria, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + CloudError, + SubResource, + Workflow, + Sku, + ResourceReference, + WorkflowParameter, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerHistory, + Correlation, + ContentLink, + ContentHash, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + WorkflowRunAction, + RetryHistory, + ErrorResponse, + ErrorProperties, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + KeyVaultReference, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/integrationAccountCertificatesMappers.ts b/sdk/logic/arm-logic/lib/models/integrationAccountCertificatesMappers.ts new file mode 100644 index 000000000000..693a5b0337bd --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/integrationAccountCertificatesMappers.ts @@ -0,0 +1,108 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + IntegrationAccountCertificateListResult, + IntegrationAccountCertificate, + Resource, + BaseResource, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + CloudError, + SubResource, + Workflow, + Sku, + ResourceReference, + WorkflowParameter, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowTriggerHistory, + Correlation, + ContentLink, + ContentHash, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + WorkflowRunAction, + RetryHistory, + ErrorResponse, + ErrorProperties, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountSession, + KeyVaultReference, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/integrationAccountMapsMappers.ts b/sdk/logic/arm-logic/lib/models/integrationAccountMapsMappers.ts new file mode 100644 index 000000000000..612a82590c57 --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/integrationAccountMapsMappers.ts @@ -0,0 +1,111 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + IntegrationAccountMapListResult, + IntegrationAccountMap, + Resource, + BaseResource, + IntegrationAccountMapPropertiesParametersSchema, + ContentLink, + ContentHash, + CloudError, + GetCallbackUrlParameters, + WorkflowTriggerCallbackUrl, + WorkflowTriggerListCallbackUrlQueries, + SubResource, + Workflow, + Sku, + ResourceReference, + WorkflowParameter, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowTriggerHistory, + Correlation, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + WorkflowRunAction, + RetryHistory, + ErrorResponse, + ErrorProperties, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + KeyVaultReference, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/integrationAccountPartnersMappers.ts b/sdk/logic/arm-logic/lib/models/integrationAccountPartnersMappers.ts new file mode 100644 index 000000000000..8772c214afbc --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/integrationAccountPartnersMappers.ts @@ -0,0 +1,111 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + IntegrationAccountPartnerListResult, + IntegrationAccountPartner, + Resource, + BaseResource, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + CloudError, + GetCallbackUrlParameters, + WorkflowTriggerCallbackUrl, + WorkflowTriggerListCallbackUrlQueries, + SubResource, + Workflow, + Sku, + ResourceReference, + WorkflowParameter, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowTriggerHistory, + Correlation, + ContentLink, + ContentHash, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + WorkflowRunAction, + RetryHistory, + ErrorResponse, + ErrorProperties, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + KeyVaultReference, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/integrationAccountSchemasMappers.ts b/sdk/logic/arm-logic/lib/models/integrationAccountSchemasMappers.ts new file mode 100644 index 000000000000..3b1ec26a020d --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/integrationAccountSchemasMappers.ts @@ -0,0 +1,111 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + IntegrationAccountSchemaListResult, + IntegrationAccountSchema, + Resource, + BaseResource, + ContentLink, + ContentHash, + CloudError, + GetCallbackUrlParameters, + WorkflowTriggerCallbackUrl, + WorkflowTriggerListCallbackUrlQueries, + SubResource, + Workflow, + Sku, + ResourceReference, + WorkflowParameter, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowTriggerHistory, + Correlation, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + WorkflowRunAction, + RetryHistory, + ErrorResponse, + ErrorProperties, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + KeyVaultReference, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/integrationAccountSessionsMappers.ts b/sdk/logic/arm-logic/lib/models/integrationAccountSessionsMappers.ts new file mode 100644 index 000000000000..b889b766d01e --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/integrationAccountSessionsMappers.ts @@ -0,0 +1,108 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + IntegrationAccountSessionListResult, + IntegrationAccountSession, + Resource, + BaseResource, + CloudError, + SubResource, + Workflow, + Sku, + ResourceReference, + WorkflowParameter, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowTriggerHistory, + Correlation, + ContentLink, + ContentHash, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + WorkflowRunAction, + RetryHistory, + ErrorResponse, + ErrorProperties, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + KeyVaultReference, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/integrationAccountsMappers.ts b/sdk/logic/arm-logic/lib/models/integrationAccountsMappers.ts new file mode 100644 index 000000000000..b7022af2762e --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/integrationAccountsMappers.ts @@ -0,0 +1,118 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + IntegrationAccountListResult, + IntegrationAccount, + Resource, + BaseResource, + IntegrationAccountSku, + CloudError, + GetCallbackUrlParameters, + CallbackUrl, + ListKeyVaultKeysDefinition, + KeyVaultReference, + ResourceReference, + KeyVaultKeyCollection, + KeyVaultKey, + KeyVaultKeyAttributes, + TrackingEventsDefinition, + TrackingEvent, + TrackingEventErrorInfo, + RegenerateActionParameter, + SubResource, + Workflow, + Sku, + WorkflowParameter, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowTriggerHistory, + Correlation, + ContentLink, + ContentHash, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + WorkflowRunAction, + RetryHistory, + ErrorResponse, + ErrorProperties, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/mappers.ts b/sdk/logic/arm-logic/lib/models/mappers.ts new file mode 100644 index 000000000000..e4c5112ad1c0 --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/mappers.ts @@ -0,0 +1,6215 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; +import * as msRest from "@azure/ms-rest-js"; + +export const CloudError = CloudErrorMapper; +export const BaseResource = BaseResourceMapper; + +export const Resource: msRest.CompositeMapper = { + serializedName: "Resource", + type: { + name: "Composite", + className: "Resource", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const SubResource: msRest.CompositeMapper = { + serializedName: "SubResource", + type: { + name: "Composite", + className: "SubResource", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const ResourceReference: msRest.CompositeMapper = { + serializedName: "ResourceReference", + type: { + name: "Composite", + className: "ResourceReference", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const Sku: msRest.CompositeMapper = { + serializedName: "Sku", + type: { + name: "Composite", + className: "Sku", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + plan: { + serializedName: "plan", + type: { + name: "Composite", + className: "ResourceReference" + } + } + } + } +}; + +export const WorkflowParameter: msRest.CompositeMapper = { + serializedName: "WorkflowParameter", + type: { + name: "Composite", + className: "WorkflowParameter", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "Object" + } + }, + metadata: { + serializedName: "metadata", + type: { + name: "Object" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + } + } + } +}; + +export const Workflow: msRest.CompositeMapper = { + serializedName: "Workflow", + type: { + name: "Composite", + className: "Workflow", + modelProperties: { + ...Resource.type.modelProperties, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + createdTime: { + readOnly: true, + serializedName: "properties.createdTime", + type: { + name: "DateTime" + } + }, + changedTime: { + readOnly: true, + serializedName: "properties.changedTime", + type: { + name: "DateTime" + } + }, + state: { + serializedName: "properties.state", + type: { + name: "String" + } + }, + version: { + readOnly: true, + serializedName: "properties.version", + type: { + name: "String" + } + }, + accessEndpoint: { + readOnly: true, + serializedName: "properties.accessEndpoint", + type: { + name: "String" + } + }, + sku: { + serializedName: "properties.sku", + type: { + name: "Composite", + className: "Sku" + } + }, + integrationAccount: { + serializedName: "properties.integrationAccount", + type: { + name: "Composite", + className: "ResourceReference" + } + }, + definition: { + serializedName: "properties.definition", + type: { + name: "Object" + } + }, + parameters: { + serializedName: "properties.parameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "WorkflowParameter" + } + } + } + } + } + } +}; + +export const WorkflowFilter: msRest.CompositeMapper = { + serializedName: "WorkflowFilter", + type: { + name: "Composite", + className: "WorkflowFilter", + modelProperties: { + state: { + serializedName: "state", + type: { + name: "String" + } + } + } + } +}; + +export const WorkflowVersion: msRest.CompositeMapper = { + serializedName: "WorkflowVersion", + type: { + name: "Composite", + className: "WorkflowVersion", + modelProperties: { + ...Resource.type.modelProperties, + createdTime: { + readOnly: true, + serializedName: "properties.createdTime", + type: { + name: "DateTime" + } + }, + changedTime: { + readOnly: true, + serializedName: "properties.changedTime", + type: { + name: "DateTime" + } + }, + state: { + serializedName: "properties.state", + type: { + name: "String" + } + }, + version: { + readOnly: true, + serializedName: "properties.version", + type: { + name: "String" + } + }, + accessEndpoint: { + readOnly: true, + serializedName: "properties.accessEndpoint", + type: { + name: "String" + } + }, + sku: { + serializedName: "properties.sku", + type: { + name: "Composite", + className: "Sku" + } + }, + integrationAccount: { + serializedName: "properties.integrationAccount", + type: { + name: "Composite", + className: "ResourceReference" + } + }, + definition: { + serializedName: "properties.definition", + type: { + name: "Object" + } + }, + parameters: { + serializedName: "properties.parameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "WorkflowParameter" + } + } + } + } + } + } +}; + +export const RecurrenceScheduleOccurrence: msRest.CompositeMapper = { + serializedName: "RecurrenceScheduleOccurrence", + type: { + name: "Composite", + className: "RecurrenceScheduleOccurrence", + modelProperties: { + day: { + serializedName: "day", + type: { + name: "Enum", + allowedValues: [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + } + }, + occurrence: { + serializedName: "occurrence", + type: { + name: "Number" + } + } + } + } +}; + +export const RecurrenceSchedule: msRest.CompositeMapper = { + serializedName: "RecurrenceSchedule", + type: { + name: "Composite", + className: "RecurrenceSchedule", + modelProperties: { + minutes: { + serializedName: "minutes", + type: { + name: "Sequence", + element: { + type: { + name: "Number" + } + } + } + }, + hours: { + serializedName: "hours", + type: { + name: "Sequence", + element: { + type: { + name: "Number" + } + } + } + }, + weekDays: { + serializedName: "weekDays", + type: { + name: "Sequence", + element: { + type: { + name: "Enum", + allowedValues: [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + } + } + } + }, + monthDays: { + serializedName: "monthDays", + type: { + name: "Sequence", + element: { + type: { + name: "Number" + } + } + } + }, + monthlyOccurrences: { + serializedName: "monthlyOccurrences", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecurrenceScheduleOccurrence" + } + } + } + } + } + } +}; + +export const WorkflowTriggerRecurrence: msRest.CompositeMapper = { + serializedName: "WorkflowTriggerRecurrence", + type: { + name: "Composite", + className: "WorkflowTriggerRecurrence", + modelProperties: { + frequency: { + serializedName: "frequency", + type: { + name: "String" + } + }, + interval: { + serializedName: "interval", + type: { + name: "Number" + } + }, + startTime: { + serializedName: "startTime", + type: { + name: "String" + } + }, + endTime: { + serializedName: "endTime", + type: { + name: "String" + } + }, + timeZone: { + serializedName: "timeZone", + type: { + name: "String" + } + }, + schedule: { + serializedName: "schedule", + type: { + name: "Composite", + className: "RecurrenceSchedule" + } + } + } + } +}; + +export const WorkflowTrigger: msRest.CompositeMapper = { + serializedName: "WorkflowTrigger", + type: { + name: "Composite", + className: "WorkflowTrigger", + modelProperties: { + ...SubResource.type.modelProperties, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + createdTime: { + readOnly: true, + serializedName: "properties.createdTime", + type: { + name: "DateTime" + } + }, + changedTime: { + readOnly: true, + serializedName: "properties.changedTime", + type: { + name: "DateTime" + } + }, + state: { + readOnly: true, + serializedName: "properties.state", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + lastExecutionTime: { + readOnly: true, + serializedName: "properties.lastExecutionTime", + type: { + name: "DateTime" + } + }, + nextExecutionTime: { + readOnly: true, + serializedName: "properties.nextExecutionTime", + type: { + name: "DateTime" + } + }, + recurrence: { + readOnly: true, + serializedName: "properties.recurrence", + type: { + name: "Composite", + className: "WorkflowTriggerRecurrence" + } + }, + workflow: { + readOnly: true, + serializedName: "properties.workflow", + type: { + name: "Composite", + className: "ResourceReference" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const WorkflowTriggerFilter: msRest.CompositeMapper = { + serializedName: "WorkflowTriggerFilter", + type: { + name: "Composite", + className: "WorkflowTriggerFilter", + modelProperties: { + state: { + serializedName: "state", + type: { + name: "String" + } + } + } + } +}; + +export const WorkflowTriggerListCallbackUrlQueries: msRest.CompositeMapper = { + serializedName: "WorkflowTriggerListCallbackUrlQueries", + type: { + name: "Composite", + className: "WorkflowTriggerListCallbackUrlQueries", + modelProperties: { + apiVersion: { + serializedName: "api-version", + type: { + name: "String" + } + }, + sp: { + serializedName: "sp", + type: { + name: "String" + } + }, + sv: { + serializedName: "sv", + type: { + name: "String" + } + }, + sig: { + serializedName: "sig", + type: { + name: "String" + } + }, + se: { + serializedName: "se", + type: { + name: "String" + } + } + } + } +}; + +export const WorkflowTriggerCallbackUrl: msRest.CompositeMapper = { + serializedName: "WorkflowTriggerCallbackUrl", + type: { + name: "Composite", + className: "WorkflowTriggerCallbackUrl", + modelProperties: { + value: { + readOnly: true, + serializedName: "value", + type: { + name: "String" + } + }, + method: { + readOnly: true, + serializedName: "method", + type: { + name: "String" + } + }, + basePath: { + readOnly: true, + serializedName: "basePath", + type: { + name: "String" + } + }, + relativePath: { + readOnly: true, + serializedName: "relativePath", + type: { + name: "String" + } + }, + relativePathParameters: { + serializedName: "relativePathParameters", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + queries: { + serializedName: "queries", + type: { + name: "Composite", + className: "WorkflowTriggerListCallbackUrlQueries" + } + } + } + } +}; + +export const Correlation: msRest.CompositeMapper = { + serializedName: "Correlation", + type: { + name: "Composite", + className: "Correlation", + modelProperties: { + clientTrackingId: { + serializedName: "clientTrackingId", + type: { + name: "String" + } + } + } + } +}; + +export const ContentHash: msRest.CompositeMapper = { + serializedName: "ContentHash", + type: { + name: "Composite", + className: "ContentHash", + modelProperties: { + algorithm: { + serializedName: "algorithm", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const ContentLink: msRest.CompositeMapper = { + serializedName: "ContentLink", + type: { + name: "Composite", + className: "ContentLink", + modelProperties: { + uri: { + serializedName: "uri", + type: { + name: "String" + } + }, + contentVersion: { + serializedName: "contentVersion", + type: { + name: "String" + } + }, + contentSize: { + serializedName: "contentSize", + type: { + name: "Number" + } + }, + contentHash: { + serializedName: "contentHash", + type: { + name: "Composite", + className: "ContentHash" + } + }, + metadata: { + serializedName: "metadata", + type: { + name: "Object" + } + } + } + } +}; + +export const WorkflowTriggerHistory: msRest.CompositeMapper = { + serializedName: "WorkflowTriggerHistory", + type: { + name: "Composite", + className: "WorkflowTriggerHistory", + modelProperties: { + ...SubResource.type.modelProperties, + startTime: { + readOnly: true, + serializedName: "properties.startTime", + type: { + name: "DateTime" + } + }, + endTime: { + readOnly: true, + serializedName: "properties.endTime", + type: { + name: "DateTime" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + code: { + readOnly: true, + serializedName: "properties.code", + type: { + name: "String" + } + }, + error: { + readOnly: true, + serializedName: "properties.error", + type: { + name: "Object" + } + }, + trackingId: { + readOnly: true, + serializedName: "properties.trackingId", + type: { + name: "String" + } + }, + correlation: { + serializedName: "properties.correlation", + type: { + name: "Composite", + className: "Correlation" + } + }, + inputsLink: { + readOnly: true, + serializedName: "properties.inputsLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, + outputsLink: { + readOnly: true, + serializedName: "properties.outputsLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, + fired: { + readOnly: true, + serializedName: "properties.fired", + type: { + name: "Boolean" + } + }, + run: { + readOnly: true, + serializedName: "properties.run", + type: { + name: "Composite", + className: "ResourceReference" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const WorkflowTriggerHistoryFilter: msRest.CompositeMapper = { + serializedName: "WorkflowTriggerHistoryFilter", + type: { + name: "Composite", + className: "WorkflowTriggerHistoryFilter", + modelProperties: { + status: { + serializedName: "status", + type: { + name: "String" + } + } + } + } +}; + +export const WorkflowRunTrigger: msRest.CompositeMapper = { + serializedName: "WorkflowRunTrigger", + type: { + name: "Composite", + className: "WorkflowRunTrigger", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + inputs: { + readOnly: true, + serializedName: "inputs", + type: { + name: "Object" + } + }, + inputsLink: { + readOnly: true, + serializedName: "inputsLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, + outputs: { + readOnly: true, + serializedName: "outputs", + type: { + name: "Object" + } + }, + outputsLink: { + readOnly: true, + serializedName: "outputsLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, + scheduledTime: { + readOnly: true, + serializedName: "scheduledTime", + type: { + name: "DateTime" + } + }, + startTime: { + readOnly: true, + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + readOnly: true, + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + trackingId: { + readOnly: true, + serializedName: "trackingId", + type: { + name: "String" + } + }, + correlation: { + serializedName: "correlation", + type: { + name: "Composite", + className: "Correlation" + } + }, + code: { + readOnly: true, + serializedName: "code", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } + }, + error: { + readOnly: true, + serializedName: "error", + type: { + name: "Object" + } + }, + trackedProperties: { + readOnly: true, + serializedName: "trackedProperties", + type: { + name: "Object" + } + } + } + } +}; + +export const WorkflowOutputParameter: msRest.CompositeMapper = { + serializedName: "WorkflowOutputParameter", + type: { + name: "Composite", + className: "WorkflowOutputParameter", + modelProperties: { + ...WorkflowParameter.type.modelProperties, + error: { + readOnly: true, + serializedName: "error", + type: { + name: "Object" + } + } + } + } +}; + +export const WorkflowRun: msRest.CompositeMapper = { + serializedName: "WorkflowRun", + type: { + name: "Composite", + className: "WorkflowRun", + modelProperties: { + ...SubResource.type.modelProperties, + waitEndTime: { + readOnly: true, + serializedName: "properties.waitEndTime", + type: { + name: "DateTime" + } + }, + startTime: { + readOnly: true, + serializedName: "properties.startTime", + type: { + name: "DateTime" + } + }, + endTime: { + readOnly: true, + serializedName: "properties.endTime", + type: { + name: "DateTime" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + code: { + readOnly: true, + serializedName: "properties.code", + type: { + name: "String" + } + }, + error: { + readOnly: true, + serializedName: "properties.error", + type: { + name: "Object" + } + }, + correlationId: { + readOnly: true, + serializedName: "properties.correlationId", + type: { + name: "String" + } + }, + correlation: { + serializedName: "properties.correlation", + type: { + name: "Composite", + className: "Correlation" + } + }, + workflow: { + readOnly: true, + serializedName: "properties.workflow", + type: { + name: "Composite", + className: "ResourceReference" + } + }, + trigger: { + readOnly: true, + serializedName: "properties.trigger", + type: { + name: "Composite", + className: "WorkflowRunTrigger" + } + }, + outputs: { + readOnly: true, + serializedName: "properties.outputs", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "WorkflowOutputParameter" + } + } + } + }, + response: { + readOnly: true, + serializedName: "properties.response", + type: { + name: "Composite", + className: "WorkflowRunTrigger" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const WorkflowRunFilter: msRest.CompositeMapper = { + serializedName: "WorkflowRunFilter", + type: { + name: "Composite", + className: "WorkflowRunFilter", + modelProperties: { + status: { + serializedName: "status", + type: { + name: "String" + } + } + } + } +}; + +export const ErrorProperties: msRest.CompositeMapper = { + serializedName: "ErrorProperties", + type: { + name: "Composite", + className: "ErrorProperties", + modelProperties: { + code: { + serializedName: "code", + type: { + name: "String" + } + }, + message: { + serializedName: "message", + type: { + name: "String" + } + } + } + } +}; + +export const ErrorResponse: msRest.CompositeMapper = { + serializedName: "ErrorResponse", + type: { + name: "Composite", + className: "ErrorResponse", + modelProperties: { + error: { + serializedName: "error", + type: { + name: "Composite", + className: "ErrorProperties" + } + } + } + } +}; + +export const RetryHistory: msRest.CompositeMapper = { + serializedName: "RetryHistory", + type: { + name: "Composite", + className: "RetryHistory", + modelProperties: { + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + code: { + serializedName: "code", + type: { + name: "String" + } + }, + clientRequestId: { + serializedName: "clientRequestId", + type: { + name: "String" + } + }, + serviceRequestId: { + serializedName: "serviceRequestId", + type: { + name: "String" + } + }, + error: { + serializedName: "error", + type: { + name: "Composite", + className: "ErrorResponse" + } + } + } + } +}; + +export const WorkflowRunAction: msRest.CompositeMapper = { + serializedName: "WorkflowRunAction", + type: { + name: "Composite", + className: "WorkflowRunAction", + modelProperties: { + ...SubResource.type.modelProperties, + startTime: { + readOnly: true, + serializedName: "properties.startTime", + type: { + name: "DateTime" + } + }, + endTime: { + readOnly: true, + serializedName: "properties.endTime", + type: { + name: "DateTime" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + code: { + readOnly: true, + serializedName: "properties.code", + type: { + name: "String" + } + }, + error: { + readOnly: true, + serializedName: "properties.error", + type: { + name: "Object" + } + }, + trackingId: { + readOnly: true, + serializedName: "properties.trackingId", + type: { + name: "String" + } + }, + correlation: { + serializedName: "properties.correlation", + type: { + name: "Composite", + className: "Correlation" + } + }, + inputsLink: { + readOnly: true, + serializedName: "properties.inputsLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, + outputsLink: { + readOnly: true, + serializedName: "properties.outputsLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, + trackedProperties: { + readOnly: true, + serializedName: "properties.trackedProperties", + type: { + name: "Object" + } + }, + retryHistory: { + serializedName: "properties.retryHistory", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RetryHistory" + } + } + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const WorkflowRunActionFilter: msRest.CompositeMapper = { + serializedName: "WorkflowRunActionFilter", + type: { + name: "Composite", + className: "WorkflowRunActionFilter", + modelProperties: { + status: { + serializedName: "status", + type: { + name: "String" + } + } + } + } +}; + +export const RegenerateActionParameter: msRest.CompositeMapper = { + serializedName: "RegenerateActionParameter", + type: { + name: "Composite", + className: "RegenerateActionParameter", + modelProperties: { + keyType: { + serializedName: "keyType", + type: { + name: "String" + } + } + } + } +}; + +export const GenerateUpgradedDefinitionParameters: msRest.CompositeMapper = { + serializedName: "GenerateUpgradedDefinitionParameters", + type: { + name: "Composite", + className: "GenerateUpgradedDefinitionParameters", + modelProperties: { + targetSchemaVersion: { + serializedName: "targetSchemaVersion", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationAccountSku: msRest.CompositeMapper = { + serializedName: "IntegrationAccountSku", + type: { + name: "Composite", + className: "IntegrationAccountSku", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationAccount: msRest.CompositeMapper = { + serializedName: "IntegrationAccount", + type: { + name: "Composite", + className: "IntegrationAccount", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Object" + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "IntegrationAccountSku" + } + } + } + } +}; + +export const GetCallbackUrlParameters: msRest.CompositeMapper = { + serializedName: "GetCallbackUrlParameters", + type: { + name: "Composite", + className: "GetCallbackUrlParameters", + modelProperties: { + notAfter: { + serializedName: "notAfter", + type: { + name: "DateTime" + } + }, + keyType: { + serializedName: "keyType", + type: { + name: "String" + } + } + } + } +}; + +export const CallbackUrl: msRest.CompositeMapper = { + serializedName: "CallbackUrl", + type: { + name: "Composite", + className: "CallbackUrl", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationAccountSchema: msRest.CompositeMapper = { + serializedName: "IntegrationAccountSchema", + type: { + name: "Composite", + className: "IntegrationAccountSchema", + modelProperties: { + ...Resource.type.modelProperties, + schemaType: { + required: true, + serializedName: "properties.schemaType", + type: { + name: "String" + } + }, + targetNamespace: { + serializedName: "properties.targetNamespace", + type: { + name: "String" + } + }, + documentName: { + serializedName: "properties.documentName", + type: { + name: "String" + } + }, + fileName: { + serializedName: "properties.fileName", + type: { + name: "String" + } + }, + createdTime: { + readOnly: true, + serializedName: "properties.createdTime", + type: { + name: "DateTime" + } + }, + changedTime: { + readOnly: true, + serializedName: "properties.changedTime", + type: { + name: "DateTime" + } + }, + metadata: { + serializedName: "properties.metadata", + type: { + name: "Object" + } + }, + content: { + serializedName: "properties.content", + type: { + name: "String" + } + }, + contentType: { + serializedName: "properties.contentType", + type: { + name: "String" + } + }, + contentLink: { + readOnly: true, + serializedName: "properties.contentLink", + type: { + name: "Composite", + className: "ContentLink" + } + } + } + } +}; + +export const IntegrationAccountSchemaFilter: msRest.CompositeMapper = { + serializedName: "IntegrationAccountSchemaFilter", + type: { + name: "Composite", + className: "IntegrationAccountSchemaFilter", + modelProperties: { + schemaType: { + required: true, + serializedName: "schemaType", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationAccountMapPropertiesParametersSchema: msRest.CompositeMapper = { + serializedName: "IntegrationAccountMapProperties_parametersSchema", + type: { + name: "Composite", + className: "IntegrationAccountMapPropertiesParametersSchema", + modelProperties: { + ref: { + serializedName: "ref", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationAccountMap: msRest.CompositeMapper = { + serializedName: "IntegrationAccountMap", + type: { + name: "Composite", + className: "IntegrationAccountMap", + modelProperties: { + ...Resource.type.modelProperties, + mapType: { + required: true, + serializedName: "properties.mapType", + type: { + name: "String" + } + }, + parametersSchema: { + serializedName: "properties.parametersSchema", + type: { + name: "Composite", + className: "IntegrationAccountMapPropertiesParametersSchema" + } + }, + createdTime: { + readOnly: true, + serializedName: "properties.createdTime", + type: { + name: "DateTime" + } + }, + changedTime: { + readOnly: true, + serializedName: "properties.changedTime", + type: { + name: "DateTime" + } + }, + content: { + serializedName: "properties.content", + type: { + name: "String" + } + }, + contentType: { + serializedName: "properties.contentType", + type: { + name: "String" + } + }, + contentLink: { + readOnly: true, + serializedName: "properties.contentLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, + metadata: { + serializedName: "properties.metadata", + type: { + name: "Object" + } + } + } + } +}; + +export const IntegrationAccountMapFilter: msRest.CompositeMapper = { + serializedName: "IntegrationAccountMapFilter", + type: { + name: "Composite", + className: "IntegrationAccountMapFilter", + modelProperties: { + mapType: { + required: true, + serializedName: "mapType", + type: { + name: "String" + } + } + } + } +}; + +export const BusinessIdentity: msRest.CompositeMapper = { + serializedName: "BusinessIdentity", + type: { + name: "Composite", + className: "BusinessIdentity", + modelProperties: { + qualifier: { + required: true, + serializedName: "qualifier", + type: { + name: "String" + } + }, + value: { + required: true, + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const B2BPartnerContent: msRest.CompositeMapper = { + serializedName: "B2BPartnerContent", + type: { + name: "Composite", + className: "B2BPartnerContent", + modelProperties: { + businessIdentities: { + serializedName: "businessIdentities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BusinessIdentity" + } + } + } + } + } + } +}; + +export const PartnerContent: msRest.CompositeMapper = { + serializedName: "PartnerContent", + type: { + name: "Composite", + className: "PartnerContent", + modelProperties: { + b2b: { + serializedName: "b2b", + type: { + name: "Composite", + className: "B2BPartnerContent" + } + } + } + } +}; + +export const IntegrationAccountPartner: msRest.CompositeMapper = { + serializedName: "IntegrationAccountPartner", + type: { + name: "Composite", + className: "IntegrationAccountPartner", + modelProperties: { + ...Resource.type.modelProperties, + partnerType: { + required: true, + serializedName: "properties.partnerType", + type: { + name: "String" + } + }, + createdTime: { + readOnly: true, + serializedName: "properties.createdTime", + type: { + name: "DateTime" + } + }, + changedTime: { + readOnly: true, + serializedName: "properties.changedTime", + type: { + name: "DateTime" + } + }, + metadata: { + serializedName: "properties.metadata", + type: { + name: "Object" + } + }, + content: { + required: true, + serializedName: "properties.content", + type: { + name: "Composite", + className: "PartnerContent" + } + } + } + } +}; + +export const IntegrationAccountPartnerFilter: msRest.CompositeMapper = { + serializedName: "IntegrationAccountPartnerFilter", + type: { + name: "Composite", + className: "IntegrationAccountPartnerFilter", + modelProperties: { + partnerType: { + required: true, + serializedName: "partnerType", + type: { + name: "String" + } + } + } + } +}; + +export const AS2MessageConnectionSettings: msRest.CompositeMapper = { + serializedName: "AS2MessageConnectionSettings", + type: { + name: "Composite", + className: "AS2MessageConnectionSettings", + modelProperties: { + ignoreCertificateNameMismatch: { + required: true, + serializedName: "ignoreCertificateNameMismatch", + type: { + name: "Boolean" + } + }, + supportHttpStatusCodeContinue: { + required: true, + serializedName: "supportHttpStatusCodeContinue", + type: { + name: "Boolean" + } + }, + keepHttpConnectionAlive: { + required: true, + serializedName: "keepHttpConnectionAlive", + type: { + name: "Boolean" + } + }, + unfoldHttpHeaders: { + required: true, + serializedName: "unfoldHttpHeaders", + type: { + name: "Boolean" + } + } + } + } +}; + +export const AS2AcknowledgementConnectionSettings: msRest.CompositeMapper = { + serializedName: "AS2AcknowledgementConnectionSettings", + type: { + name: "Composite", + className: "AS2AcknowledgementConnectionSettings", + modelProperties: { + ignoreCertificateNameMismatch: { + required: true, + serializedName: "ignoreCertificateNameMismatch", + type: { + name: "Boolean" + } + }, + supportHttpStatusCodeContinue: { + required: true, + serializedName: "supportHttpStatusCodeContinue", + type: { + name: "Boolean" + } + }, + keepHttpConnectionAlive: { + required: true, + serializedName: "keepHttpConnectionAlive", + type: { + name: "Boolean" + } + }, + unfoldHttpHeaders: { + required: true, + serializedName: "unfoldHttpHeaders", + type: { + name: "Boolean" + } + } + } + } +}; + +export const AS2MdnSettings: msRest.CompositeMapper = { + serializedName: "AS2MdnSettings", + type: { + name: "Composite", + className: "AS2MdnSettings", + modelProperties: { + needMDN: { + required: true, + serializedName: "needMDN", + type: { + name: "Boolean" + } + }, + signMDN: { + required: true, + serializedName: "signMDN", + type: { + name: "Boolean" + } + }, + sendMDNAsynchronously: { + required: true, + serializedName: "sendMDNAsynchronously", + type: { + name: "Boolean" + } + }, + receiptDeliveryUrl: { + serializedName: "receiptDeliveryUrl", + type: { + name: "String" + } + }, + dispositionNotificationTo: { + serializedName: "dispositionNotificationTo", + type: { + name: "String" + } + }, + signOutboundMDNIfOptional: { + required: true, + serializedName: "signOutboundMDNIfOptional", + type: { + name: "Boolean" + } + }, + mdnText: { + serializedName: "mdnText", + type: { + name: "String" + } + }, + sendInboundMDNToMessageBox: { + required: true, + serializedName: "sendInboundMDNToMessageBox", + type: { + name: "Boolean" + } + }, + micHashingAlgorithm: { + required: true, + serializedName: "micHashingAlgorithm", + type: { + name: "String" + } + } + } + } +}; + +export const AS2SecuritySettings: msRest.CompositeMapper = { + serializedName: "AS2SecuritySettings", + type: { + name: "Composite", + className: "AS2SecuritySettings", + modelProperties: { + overrideGroupSigningCertificate: { + required: true, + serializedName: "overrideGroupSigningCertificate", + type: { + name: "Boolean" + } + }, + signingCertificateName: { + serializedName: "signingCertificateName", + type: { + name: "String" + } + }, + encryptionCertificateName: { + serializedName: "encryptionCertificateName", + type: { + name: "String" + } + }, + enableNRRForInboundEncodedMessages: { + required: true, + serializedName: "enableNRRForInboundEncodedMessages", + type: { + name: "Boolean" + } + }, + enableNRRForInboundDecodedMessages: { + required: true, + serializedName: "enableNRRForInboundDecodedMessages", + type: { + name: "Boolean" + } + }, + enableNRRForOutboundMDN: { + required: true, + serializedName: "enableNRRForOutboundMDN", + type: { + name: "Boolean" + } + }, + enableNRRForOutboundEncodedMessages: { + required: true, + serializedName: "enableNRRForOutboundEncodedMessages", + type: { + name: "Boolean" + } + }, + enableNRRForOutboundDecodedMessages: { + required: true, + serializedName: "enableNRRForOutboundDecodedMessages", + type: { + name: "Boolean" + } + }, + enableNRRForInboundMDN: { + required: true, + serializedName: "enableNRRForInboundMDN", + type: { + name: "Boolean" + } + }, + sha2AlgorithmFormat: { + serializedName: "sha2AlgorithmFormat", + type: { + name: "String" + } + } + } + } +}; + +export const AS2ValidationSettings: msRest.CompositeMapper = { + serializedName: "AS2ValidationSettings", + type: { + name: "Composite", + className: "AS2ValidationSettings", + modelProperties: { + overrideMessageProperties: { + required: true, + serializedName: "overrideMessageProperties", + type: { + name: "Boolean" + } + }, + encryptMessage: { + required: true, + serializedName: "encryptMessage", + type: { + name: "Boolean" + } + }, + signMessage: { + required: true, + serializedName: "signMessage", + type: { + name: "Boolean" + } + }, + compressMessage: { + required: true, + serializedName: "compressMessage", + type: { + name: "Boolean" + } + }, + checkDuplicateMessage: { + required: true, + serializedName: "checkDuplicateMessage", + type: { + name: "Boolean" + } + }, + interchangeDuplicatesValidityDays: { + required: true, + serializedName: "interchangeDuplicatesValidityDays", + type: { + name: "Number" + } + }, + checkCertificateRevocationListOnSend: { + required: true, + serializedName: "checkCertificateRevocationListOnSend", + type: { + name: "Boolean" + } + }, + checkCertificateRevocationListOnReceive: { + required: true, + serializedName: "checkCertificateRevocationListOnReceive", + type: { + name: "Boolean" + } + }, + encryptionAlgorithm: { + required: true, + serializedName: "encryptionAlgorithm", + type: { + name: "String" + } + }, + signingAlgorithm: { + serializedName: "signingAlgorithm", + type: { + name: "String" + } + } + } + } +}; + +export const AS2EnvelopeSettings: msRest.CompositeMapper = { + serializedName: "AS2EnvelopeSettings", + type: { + name: "Composite", + className: "AS2EnvelopeSettings", + modelProperties: { + messageContentType: { + required: true, + serializedName: "messageContentType", + type: { + name: "String" + } + }, + transmitFileNameInMimeHeader: { + required: true, + serializedName: "transmitFileNameInMimeHeader", + type: { + name: "Boolean" + } + }, + fileNameTemplate: { + required: true, + serializedName: "fileNameTemplate", + type: { + name: "String" + } + }, + suspendMessageOnFileNameGenerationError: { + required: true, + serializedName: "suspendMessageOnFileNameGenerationError", + type: { + name: "Boolean" + } + }, + autogenerateFileName: { + required: true, + serializedName: "autogenerateFileName", + type: { + name: "Boolean" + } + } + } + } +}; + +export const AS2ErrorSettings: msRest.CompositeMapper = { + serializedName: "AS2ErrorSettings", + type: { + name: "Composite", + className: "AS2ErrorSettings", + modelProperties: { + suspendDuplicateMessage: { + required: true, + serializedName: "suspendDuplicateMessage", + type: { + name: "Boolean" + } + }, + resendIfMDNNotReceived: { + required: true, + serializedName: "resendIfMDNNotReceived", + type: { + name: "Boolean" + } + } + } + } +}; + +export const AS2ProtocolSettings: msRest.CompositeMapper = { + serializedName: "AS2ProtocolSettings", + type: { + name: "Composite", + className: "AS2ProtocolSettings", + modelProperties: { + messageConnectionSettings: { + required: true, + serializedName: "messageConnectionSettings", + type: { + name: "Composite", + className: "AS2MessageConnectionSettings" + } + }, + acknowledgementConnectionSettings: { + required: true, + serializedName: "acknowledgementConnectionSettings", + type: { + name: "Composite", + className: "AS2AcknowledgementConnectionSettings" + } + }, + mdnSettings: { + required: true, + serializedName: "mdnSettings", + type: { + name: "Composite", + className: "AS2MdnSettings" + } + }, + securitySettings: { + required: true, + serializedName: "securitySettings", + type: { + name: "Composite", + className: "AS2SecuritySettings" + } + }, + validationSettings: { + required: true, + serializedName: "validationSettings", + type: { + name: "Composite", + className: "AS2ValidationSettings" + } + }, + envelopeSettings: { + required: true, + serializedName: "envelopeSettings", + type: { + name: "Composite", + className: "AS2EnvelopeSettings" + } + }, + errorSettings: { + required: true, + serializedName: "errorSettings", + type: { + name: "Composite", + className: "AS2ErrorSettings" + } + } + } + } +}; + +export const AS2OneWayAgreement: msRest.CompositeMapper = { + serializedName: "AS2OneWayAgreement", + type: { + name: "Composite", + className: "AS2OneWayAgreement", + modelProperties: { + senderBusinessIdentity: { + required: true, + serializedName: "senderBusinessIdentity", + type: { + name: "Composite", + className: "BusinessIdentity" + } + }, + receiverBusinessIdentity: { + required: true, + serializedName: "receiverBusinessIdentity", + type: { + name: "Composite", + className: "BusinessIdentity" + } + }, + protocolSettings: { + required: true, + serializedName: "protocolSettings", + type: { + name: "Composite", + className: "AS2ProtocolSettings" + } + } + } + } +}; + +export const AS2AgreementContent: msRest.CompositeMapper = { + serializedName: "AS2AgreementContent", + type: { + name: "Composite", + className: "AS2AgreementContent", + modelProperties: { + receiveAgreement: { + required: true, + serializedName: "receiveAgreement", + type: { + name: "Composite", + className: "AS2OneWayAgreement" + } + }, + sendAgreement: { + required: true, + serializedName: "sendAgreement", + type: { + name: "Composite", + className: "AS2OneWayAgreement" + } + } + } + } +}; + +export const X12ValidationSettings: msRest.CompositeMapper = { + serializedName: "X12ValidationSettings", + type: { + name: "Composite", + className: "X12ValidationSettings", + modelProperties: { + validateCharacterSet: { + required: true, + serializedName: "validateCharacterSet", + type: { + name: "Boolean" + } + }, + checkDuplicateInterchangeControlNumber: { + required: true, + serializedName: "checkDuplicateInterchangeControlNumber", + type: { + name: "Boolean" + } + }, + interchangeControlNumberValidityDays: { + required: true, + serializedName: "interchangeControlNumberValidityDays", + type: { + name: "Number" + } + }, + checkDuplicateGroupControlNumber: { + required: true, + serializedName: "checkDuplicateGroupControlNumber", + type: { + name: "Boolean" + } + }, + checkDuplicateTransactionSetControlNumber: { + required: true, + serializedName: "checkDuplicateTransactionSetControlNumber", + type: { + name: "Boolean" + } + }, + validateEDITypes: { + required: true, + serializedName: "validateEDITypes", + type: { + name: "Boolean" + } + }, + validateXSDTypes: { + required: true, + serializedName: "validateXSDTypes", + type: { + name: "Boolean" + } + }, + allowLeadingAndTrailingSpacesAndZeroes: { + required: true, + serializedName: "allowLeadingAndTrailingSpacesAndZeroes", + type: { + name: "Boolean" + } + }, + trimLeadingAndTrailingSpacesAndZeroes: { + required: true, + serializedName: "trimLeadingAndTrailingSpacesAndZeroes", + type: { + name: "Boolean" + } + }, + trailingSeparatorPolicy: { + required: true, + serializedName: "trailingSeparatorPolicy", + type: { + name: "String" + } + } + } + } +}; + +export const X12FramingSettings: msRest.CompositeMapper = { + serializedName: "X12FramingSettings", + type: { + name: "Composite", + className: "X12FramingSettings", + modelProperties: { + dataElementSeparator: { + required: true, + serializedName: "dataElementSeparator", + type: { + name: "Number" + } + }, + componentSeparator: { + required: true, + serializedName: "componentSeparator", + type: { + name: "Number" + } + }, + replaceSeparatorsInPayload: { + required: true, + serializedName: "replaceSeparatorsInPayload", + type: { + name: "Boolean" + } + }, + replaceCharacter: { + required: true, + serializedName: "replaceCharacter", + type: { + name: "Number" + } + }, + segmentTerminator: { + required: true, + serializedName: "segmentTerminator", + type: { + name: "Number" + } + }, + characterSet: { + required: true, + serializedName: "characterSet", + type: { + name: "String" + } + }, + segmentTerminatorSuffix: { + required: true, + serializedName: "segmentTerminatorSuffix", + type: { + name: "Enum", + allowedValues: [ + "NotSpecified", + "None", + "CR", + "LF", + "CRLF" + ] + } + } + } + } +}; + +export const X12EnvelopeSettings: msRest.CompositeMapper = { + serializedName: "X12EnvelopeSettings", + type: { + name: "Composite", + className: "X12EnvelopeSettings", + modelProperties: { + controlStandardsId: { + required: true, + serializedName: "controlStandardsId", + type: { + name: "Number" + } + }, + useControlStandardsIdAsRepetitionCharacter: { + required: true, + serializedName: "useControlStandardsIdAsRepetitionCharacter", + type: { + name: "Boolean" + } + }, + senderApplicationId: { + required: true, + serializedName: "senderApplicationId", + type: { + name: "String" + } + }, + receiverApplicationId: { + required: true, + serializedName: "receiverApplicationId", + type: { + name: "String" + } + }, + controlVersionNumber: { + required: true, + serializedName: "controlVersionNumber", + type: { + name: "String" + } + }, + interchangeControlNumberLowerBound: { + required: true, + serializedName: "interchangeControlNumberLowerBound", + type: { + name: "Number" + } + }, + interchangeControlNumberUpperBound: { + required: true, + serializedName: "interchangeControlNumberUpperBound", + type: { + name: "Number" + } + }, + rolloverInterchangeControlNumber: { + required: true, + serializedName: "rolloverInterchangeControlNumber", + type: { + name: "Boolean" + } + }, + enableDefaultGroupHeaders: { + required: true, + serializedName: "enableDefaultGroupHeaders", + type: { + name: "Boolean" + } + }, + functionalGroupId: { + serializedName: "functionalGroupId", + type: { + name: "String" + } + }, + groupControlNumberLowerBound: { + required: true, + serializedName: "groupControlNumberLowerBound", + type: { + name: "Number" + } + }, + groupControlNumberUpperBound: { + required: true, + serializedName: "groupControlNumberUpperBound", + type: { + name: "Number" + } + }, + rolloverGroupControlNumber: { + required: true, + serializedName: "rolloverGroupControlNumber", + type: { + name: "Boolean" + } + }, + groupHeaderAgencyCode: { + required: true, + serializedName: "groupHeaderAgencyCode", + type: { + name: "String" + } + }, + groupHeaderVersion: { + required: true, + serializedName: "groupHeaderVersion", + type: { + name: "String" + } + }, + transactionSetControlNumberLowerBound: { + required: true, + serializedName: "transactionSetControlNumberLowerBound", + type: { + name: "Number" + } + }, + transactionSetControlNumberUpperBound: { + required: true, + serializedName: "transactionSetControlNumberUpperBound", + type: { + name: "Number" + } + }, + rolloverTransactionSetControlNumber: { + required: true, + serializedName: "rolloverTransactionSetControlNumber", + type: { + name: "Boolean" + } + }, + transactionSetControlNumberPrefix: { + serializedName: "transactionSetControlNumberPrefix", + type: { + name: "String" + } + }, + transactionSetControlNumberSuffix: { + serializedName: "transactionSetControlNumberSuffix", + type: { + name: "String" + } + }, + overwriteExistingTransactionSetControlNumber: { + required: true, + serializedName: "overwriteExistingTransactionSetControlNumber", + type: { + name: "Boolean" + } + }, + groupHeaderDateFormat: { + required: true, + serializedName: "groupHeaderDateFormat", + type: { + name: "String" + } + }, + groupHeaderTimeFormat: { + required: true, + serializedName: "groupHeaderTimeFormat", + type: { + name: "String" + } + }, + usageIndicator: { + required: true, + serializedName: "usageIndicator", + type: { + name: "String" + } + } + } + } +}; + +export const X12AcknowledgementSettings: msRest.CompositeMapper = { + serializedName: "X12AcknowledgementSettings", + type: { + name: "Composite", + className: "X12AcknowledgementSettings", + modelProperties: { + needTechnicalAcknowledgement: { + required: true, + serializedName: "needTechnicalAcknowledgement", + type: { + name: "Boolean" + } + }, + batchTechnicalAcknowledgements: { + required: true, + serializedName: "batchTechnicalAcknowledgements", + type: { + name: "Boolean" + } + }, + needFunctionalAcknowledgement: { + required: true, + serializedName: "needFunctionalAcknowledgement", + type: { + name: "Boolean" + } + }, + functionalAcknowledgementVersion: { + serializedName: "functionalAcknowledgementVersion", + type: { + name: "String" + } + }, + batchFunctionalAcknowledgements: { + required: true, + serializedName: "batchFunctionalAcknowledgements", + type: { + name: "Boolean" + } + }, + needImplementationAcknowledgement: { + required: true, + serializedName: "needImplementationAcknowledgement", + type: { + name: "Boolean" + } + }, + implementationAcknowledgementVersion: { + serializedName: "implementationAcknowledgementVersion", + type: { + name: "String" + } + }, + batchImplementationAcknowledgements: { + required: true, + serializedName: "batchImplementationAcknowledgements", + type: { + name: "Boolean" + } + }, + needLoopForValidMessages: { + required: true, + serializedName: "needLoopForValidMessages", + type: { + name: "Boolean" + } + }, + sendSynchronousAcknowledgement: { + required: true, + serializedName: "sendSynchronousAcknowledgement", + type: { + name: "Boolean" + } + }, + acknowledgementControlNumberPrefix: { + serializedName: "acknowledgementControlNumberPrefix", + type: { + name: "String" + } + }, + acknowledgementControlNumberSuffix: { + serializedName: "acknowledgementControlNumberSuffix", + type: { + name: "String" + } + }, + acknowledgementControlNumberLowerBound: { + required: true, + serializedName: "acknowledgementControlNumberLowerBound", + type: { + name: "Number" + } + }, + acknowledgementControlNumberUpperBound: { + required: true, + serializedName: "acknowledgementControlNumberUpperBound", + type: { + name: "Number" + } + }, + rolloverAcknowledgementControlNumber: { + required: true, + serializedName: "rolloverAcknowledgementControlNumber", + type: { + name: "Boolean" + } + } + } + } +}; + +export const X12MessageFilter: msRest.CompositeMapper = { + serializedName: "X12MessageFilter", + type: { + name: "Composite", + className: "X12MessageFilter", + modelProperties: { + messageFilterType: { + required: true, + serializedName: "messageFilterType", + type: { + name: "String" + } + } + } + } +}; + +export const X12SecuritySettings: msRest.CompositeMapper = { + serializedName: "X12SecuritySettings", + type: { + name: "Composite", + className: "X12SecuritySettings", + modelProperties: { + authorizationQualifier: { + required: true, + serializedName: "authorizationQualifier", + type: { + name: "String" + } + }, + authorizationValue: { + serializedName: "authorizationValue", + type: { + name: "String" + } + }, + securityQualifier: { + required: true, + serializedName: "securityQualifier", + type: { + name: "String" + } + }, + passwordValue: { + serializedName: "passwordValue", + type: { + name: "String" + } + } + } + } +}; + +export const X12ProcessingSettings: msRest.CompositeMapper = { + serializedName: "X12ProcessingSettings", + type: { + name: "Composite", + className: "X12ProcessingSettings", + modelProperties: { + maskSecurityInfo: { + required: true, + serializedName: "maskSecurityInfo", + type: { + name: "Boolean" + } + }, + convertImpliedDecimal: { + required: true, + serializedName: "convertImpliedDecimal", + type: { + name: "Boolean" + } + }, + preserveInterchange: { + required: true, + serializedName: "preserveInterchange", + type: { + name: "Boolean" + } + }, + suspendInterchangeOnError: { + required: true, + serializedName: "suspendInterchangeOnError", + type: { + name: "Boolean" + } + }, + createEmptyXmlTagsForTrailingSeparators: { + required: true, + serializedName: "createEmptyXmlTagsForTrailingSeparators", + type: { + name: "Boolean" + } + }, + useDotAsDecimalSeparator: { + required: true, + serializedName: "useDotAsDecimalSeparator", + type: { + name: "Boolean" + } + } + } + } +}; + +export const X12EnvelopeOverride: msRest.CompositeMapper = { + serializedName: "X12EnvelopeOverride", + type: { + name: "Composite", + className: "X12EnvelopeOverride", + modelProperties: { + targetNamespace: { + required: true, + serializedName: "targetNamespace", + type: { + name: "String" + } + }, + protocolVersion: { + required: true, + serializedName: "protocolVersion", + type: { + name: "String" + } + }, + messageId: { + required: true, + serializedName: "messageId", + type: { + name: "String" + } + }, + responsibleAgencyCode: { + required: true, + serializedName: "responsibleAgencyCode", + type: { + name: "String" + } + }, + headerVersion: { + required: true, + serializedName: "headerVersion", + type: { + name: "String" + } + }, + senderApplicationId: { + required: true, + serializedName: "senderApplicationId", + type: { + name: "String" + } + }, + receiverApplicationId: { + required: true, + serializedName: "receiverApplicationId", + type: { + name: "String" + } + }, + functionalIdentifierCode: { + serializedName: "functionalIdentifierCode", + type: { + name: "String" + } + }, + dateFormat: { + required: true, + serializedName: "dateFormat", + type: { + name: "String" + } + }, + timeFormat: { + required: true, + serializedName: "timeFormat", + type: { + name: "String" + } + } + } + } +}; + +export const X12ValidationOverride: msRest.CompositeMapper = { + serializedName: "X12ValidationOverride", + type: { + name: "Composite", + className: "X12ValidationOverride", + modelProperties: { + messageId: { + required: true, + serializedName: "messageId", + type: { + name: "String" + } + }, + validateEDITypes: { + required: true, + serializedName: "validateEDITypes", + type: { + name: "Boolean" + } + }, + validateXSDTypes: { + required: true, + serializedName: "validateXSDTypes", + type: { + name: "Boolean" + } + }, + allowLeadingAndTrailingSpacesAndZeroes: { + required: true, + serializedName: "allowLeadingAndTrailingSpacesAndZeroes", + type: { + name: "Boolean" + } + }, + validateCharacterSet: { + required: true, + serializedName: "validateCharacterSet", + type: { + name: "Boolean" + } + }, + trimLeadingAndTrailingSpacesAndZeroes: { + required: true, + serializedName: "trimLeadingAndTrailingSpacesAndZeroes", + type: { + name: "Boolean" + } + }, + trailingSeparatorPolicy: { + required: true, + serializedName: "trailingSeparatorPolicy", + type: { + name: "String" + } + } + } + } +}; + +export const X12MessageIdentifier: msRest.CompositeMapper = { + serializedName: "X12MessageIdentifier", + type: { + name: "Composite", + className: "X12MessageIdentifier", + modelProperties: { + messageId: { + required: true, + serializedName: "messageId", + type: { + name: "String" + } + } + } + } +}; + +export const X12SchemaReference: msRest.CompositeMapper = { + serializedName: "X12SchemaReference", + type: { + name: "Composite", + className: "X12SchemaReference", + modelProperties: { + messageId: { + required: true, + serializedName: "messageId", + type: { + name: "String" + } + }, + senderApplicationId: { + serializedName: "senderApplicationId", + type: { + name: "String" + } + }, + schemaVersion: { + required: true, + serializedName: "schemaVersion", + type: { + name: "String" + } + }, + schemaName: { + required: true, + serializedName: "schemaName", + type: { + name: "String" + } + } + } + } +}; + +export const X12DelimiterOverrides: msRest.CompositeMapper = { + serializedName: "X12DelimiterOverrides", + type: { + name: "Composite", + className: "X12DelimiterOverrides", + modelProperties: { + protocolVersion: { + serializedName: "protocolVersion", + type: { + name: "String" + } + }, + messageId: { + serializedName: "messageId", + type: { + name: "String" + } + }, + dataElementSeparator: { + required: true, + serializedName: "dataElementSeparator", + type: { + name: "Number" + } + }, + componentSeparator: { + required: true, + serializedName: "componentSeparator", + type: { + name: "Number" + } + }, + segmentTerminator: { + required: true, + serializedName: "segmentTerminator", + type: { + name: "Number" + } + }, + segmentTerminatorSuffix: { + required: true, + serializedName: "segmentTerminatorSuffix", + type: { + name: "Enum", + allowedValues: [ + "NotSpecified", + "None", + "CR", + "LF", + "CRLF" + ] + } + }, + replaceCharacter: { + required: true, + serializedName: "replaceCharacter", + type: { + name: "Number" + } + }, + replaceSeparatorsInPayload: { + required: true, + serializedName: "replaceSeparatorsInPayload", + type: { + name: "Boolean" + } + }, + targetNamespace: { + serializedName: "targetNamespace", + type: { + name: "String" + } + } + } + } +}; + +export const X12ProtocolSettings: msRest.CompositeMapper = { + serializedName: "X12ProtocolSettings", + type: { + name: "Composite", + className: "X12ProtocolSettings", + modelProperties: { + validationSettings: { + required: true, + serializedName: "validationSettings", + type: { + name: "Composite", + className: "X12ValidationSettings" + } + }, + framingSettings: { + required: true, + serializedName: "framingSettings", + type: { + name: "Composite", + className: "X12FramingSettings" + } + }, + envelopeSettings: { + required: true, + serializedName: "envelopeSettings", + type: { + name: "Composite", + className: "X12EnvelopeSettings" + } + }, + acknowledgementSettings: { + required: true, + serializedName: "acknowledgementSettings", + type: { + name: "Composite", + className: "X12AcknowledgementSettings" + } + }, + messageFilter: { + required: true, + serializedName: "messageFilter", + type: { + name: "Composite", + className: "X12MessageFilter" + } + }, + securitySettings: { + required: true, + serializedName: "securitySettings", + type: { + name: "Composite", + className: "X12SecuritySettings" + } + }, + processingSettings: { + required: true, + serializedName: "processingSettings", + type: { + name: "Composite", + className: "X12ProcessingSettings" + } + }, + envelopeOverrides: { + serializedName: "envelopeOverrides", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "X12EnvelopeOverride" + } + } + } + }, + validationOverrides: { + serializedName: "validationOverrides", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "X12ValidationOverride" + } + } + } + }, + messageFilterList: { + serializedName: "messageFilterList", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "X12MessageIdentifier" + } + } + } + }, + schemaReferences: { + required: true, + serializedName: "schemaReferences", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "X12SchemaReference" + } + } + } + }, + x12DelimiterOverrides: { + serializedName: "x12DelimiterOverrides", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "X12DelimiterOverrides" + } + } + } + } + } + } +}; + +export const X12OneWayAgreement: msRest.CompositeMapper = { + serializedName: "X12OneWayAgreement", + type: { + name: "Composite", + className: "X12OneWayAgreement", + modelProperties: { + senderBusinessIdentity: { + required: true, + serializedName: "senderBusinessIdentity", + type: { + name: "Composite", + className: "BusinessIdentity" + } + }, + receiverBusinessIdentity: { + required: true, + serializedName: "receiverBusinessIdentity", + type: { + name: "Composite", + className: "BusinessIdentity" + } + }, + protocolSettings: { + required: true, + serializedName: "protocolSettings", + type: { + name: "Composite", + className: "X12ProtocolSettings" + } + } + } + } +}; + +export const X12AgreementContent: msRest.CompositeMapper = { + serializedName: "X12AgreementContent", + type: { + name: "Composite", + className: "X12AgreementContent", + modelProperties: { + receiveAgreement: { + required: true, + serializedName: "receiveAgreement", + type: { + name: "Composite", + className: "X12OneWayAgreement" + } + }, + sendAgreement: { + required: true, + serializedName: "sendAgreement", + type: { + name: "Composite", + className: "X12OneWayAgreement" + } + } + } + } +}; + +export const EdifactValidationSettings: msRest.CompositeMapper = { + serializedName: "EdifactValidationSettings", + type: { + name: "Composite", + className: "EdifactValidationSettings", + modelProperties: { + validateCharacterSet: { + required: true, + serializedName: "validateCharacterSet", + type: { + name: "Boolean" + } + }, + checkDuplicateInterchangeControlNumber: { + required: true, + serializedName: "checkDuplicateInterchangeControlNumber", + type: { + name: "Boolean" + } + }, + interchangeControlNumberValidityDays: { + required: true, + serializedName: "interchangeControlNumberValidityDays", + type: { + name: "Number" + } + }, + checkDuplicateGroupControlNumber: { + required: true, + serializedName: "checkDuplicateGroupControlNumber", + type: { + name: "Boolean" + } + }, + checkDuplicateTransactionSetControlNumber: { + required: true, + serializedName: "checkDuplicateTransactionSetControlNumber", + type: { + name: "Boolean" + } + }, + validateEDITypes: { + required: true, + serializedName: "validateEDITypes", + type: { + name: "Boolean" + } + }, + validateXSDTypes: { + required: true, + serializedName: "validateXSDTypes", + type: { + name: "Boolean" + } + }, + allowLeadingAndTrailingSpacesAndZeroes: { + required: true, + serializedName: "allowLeadingAndTrailingSpacesAndZeroes", + type: { + name: "Boolean" + } + }, + trimLeadingAndTrailingSpacesAndZeroes: { + required: true, + serializedName: "trimLeadingAndTrailingSpacesAndZeroes", + type: { + name: "Boolean" + } + }, + trailingSeparatorPolicy: { + required: true, + serializedName: "trailingSeparatorPolicy", + type: { + name: "String" + } + } + } + } +}; + +export const EdifactFramingSettings: msRest.CompositeMapper = { + serializedName: "EdifactFramingSettings", + type: { + name: "Composite", + className: "EdifactFramingSettings", + modelProperties: { + serviceCodeListDirectoryVersion: { + serializedName: "serviceCodeListDirectoryVersion", + type: { + name: "String" + } + }, + characterEncoding: { + serializedName: "characterEncoding", + type: { + name: "String" + } + }, + protocolVersion: { + required: true, + serializedName: "protocolVersion", + type: { + name: "Number" + } + }, + dataElementSeparator: { + required: true, + serializedName: "dataElementSeparator", + type: { + name: "Number" + } + }, + componentSeparator: { + required: true, + serializedName: "componentSeparator", + type: { + name: "Number" + } + }, + segmentTerminator: { + required: true, + serializedName: "segmentTerminator", + type: { + name: "Number" + } + }, + releaseIndicator: { + required: true, + serializedName: "releaseIndicator", + type: { + name: "Number" + } + }, + repetitionSeparator: { + required: true, + serializedName: "repetitionSeparator", + type: { + name: "Number" + } + }, + characterSet: { + required: true, + serializedName: "characterSet", + type: { + name: "String" + } + }, + decimalPointIndicator: { + required: true, + serializedName: "decimalPointIndicator", + type: { + name: "Enum", + allowedValues: [ + "NotSpecified", + "Comma", + "Decimal" + ] + } + }, + segmentTerminatorSuffix: { + required: true, + serializedName: "segmentTerminatorSuffix", + type: { + name: "Enum", + allowedValues: [ + "NotSpecified", + "None", + "CR", + "LF", + "CRLF" + ] + } + } + } + } +}; + +export const EdifactEnvelopeSettings: msRest.CompositeMapper = { + serializedName: "EdifactEnvelopeSettings", + type: { + name: "Composite", + className: "EdifactEnvelopeSettings", + modelProperties: { + groupAssociationAssignedCode: { + serializedName: "groupAssociationAssignedCode", + type: { + name: "String" + } + }, + communicationAgreementId: { + serializedName: "communicationAgreementId", + type: { + name: "String" + } + }, + applyDelimiterStringAdvice: { + required: true, + serializedName: "applyDelimiterStringAdvice", + type: { + name: "Boolean" + } + }, + createGroupingSegments: { + required: true, + serializedName: "createGroupingSegments", + type: { + name: "Boolean" + } + }, + enableDefaultGroupHeaders: { + required: true, + serializedName: "enableDefaultGroupHeaders", + type: { + name: "Boolean" + } + }, + recipientReferencePasswordValue: { + serializedName: "recipientReferencePasswordValue", + type: { + name: "String" + } + }, + recipientReferencePasswordQualifier: { + serializedName: "recipientReferencePasswordQualifier", + type: { + name: "String" + } + }, + applicationReferenceId: { + serializedName: "applicationReferenceId", + type: { + name: "String" + } + }, + processingPriorityCode: { + serializedName: "processingPriorityCode", + type: { + name: "String" + } + }, + interchangeControlNumberLowerBound: { + required: true, + serializedName: "interchangeControlNumberLowerBound", + type: { + name: "Number" + } + }, + interchangeControlNumberUpperBound: { + required: true, + serializedName: "interchangeControlNumberUpperBound", + type: { + name: "Number" + } + }, + rolloverInterchangeControlNumber: { + required: true, + serializedName: "rolloverInterchangeControlNumber", + type: { + name: "Boolean" + } + }, + interchangeControlNumberPrefix: { + serializedName: "interchangeControlNumberPrefix", + type: { + name: "String" + } + }, + interchangeControlNumberSuffix: { + serializedName: "interchangeControlNumberSuffix", + type: { + name: "String" + } + }, + senderReverseRoutingAddress: { + serializedName: "senderReverseRoutingAddress", + type: { + name: "String" + } + }, + receiverReverseRoutingAddress: { + serializedName: "receiverReverseRoutingAddress", + type: { + name: "String" + } + }, + functionalGroupId: { + serializedName: "functionalGroupId", + type: { + name: "String" + } + }, + groupControllingAgencyCode: { + serializedName: "groupControllingAgencyCode", + type: { + name: "String" + } + }, + groupMessageVersion: { + serializedName: "groupMessageVersion", + type: { + name: "String" + } + }, + groupMessageRelease: { + serializedName: "groupMessageRelease", + type: { + name: "String" + } + }, + groupControlNumberLowerBound: { + required: true, + serializedName: "groupControlNumberLowerBound", + type: { + name: "Number" + } + }, + groupControlNumberUpperBound: { + required: true, + serializedName: "groupControlNumberUpperBound", + type: { + name: "Number" + } + }, + rolloverGroupControlNumber: { + required: true, + serializedName: "rolloverGroupControlNumber", + type: { + name: "Boolean" + } + }, + groupControlNumberPrefix: { + serializedName: "groupControlNumberPrefix", + type: { + name: "String" + } + }, + groupControlNumberSuffix: { + serializedName: "groupControlNumberSuffix", + type: { + name: "String" + } + }, + groupApplicationReceiverQualifier: { + serializedName: "groupApplicationReceiverQualifier", + type: { + name: "String" + } + }, + groupApplicationReceiverId: { + serializedName: "groupApplicationReceiverId", + type: { + name: "String" + } + }, + groupApplicationSenderQualifier: { + serializedName: "groupApplicationSenderQualifier", + type: { + name: "String" + } + }, + groupApplicationSenderId: { + serializedName: "groupApplicationSenderId", + type: { + name: "String" + } + }, + groupApplicationPassword: { + serializedName: "groupApplicationPassword", + type: { + name: "String" + } + }, + overwriteExistingTransactionSetControlNumber: { + required: true, + serializedName: "overwriteExistingTransactionSetControlNumber", + type: { + name: "Boolean" + } + }, + transactionSetControlNumberPrefix: { + serializedName: "transactionSetControlNumberPrefix", + type: { + name: "String" + } + }, + transactionSetControlNumberSuffix: { + serializedName: "transactionSetControlNumberSuffix", + type: { + name: "String" + } + }, + transactionSetControlNumberLowerBound: { + required: true, + serializedName: "transactionSetControlNumberLowerBound", + type: { + name: "Number" + } + }, + transactionSetControlNumberUpperBound: { + required: true, + serializedName: "transactionSetControlNumberUpperBound", + type: { + name: "Number" + } + }, + rolloverTransactionSetControlNumber: { + required: true, + serializedName: "rolloverTransactionSetControlNumber", + type: { + name: "Boolean" + } + }, + isTestInterchange: { + required: true, + serializedName: "isTestInterchange", + type: { + name: "Boolean" + } + }, + senderInternalIdentification: { + serializedName: "senderInternalIdentification", + type: { + name: "String" + } + }, + senderInternalSubIdentification: { + serializedName: "senderInternalSubIdentification", + type: { + name: "String" + } + }, + receiverInternalIdentification: { + serializedName: "receiverInternalIdentification", + type: { + name: "String" + } + }, + receiverInternalSubIdentification: { + serializedName: "receiverInternalSubIdentification", + type: { + name: "String" + } + } + } + } +}; + +export const EdifactAcknowledgementSettings: msRest.CompositeMapper = { + serializedName: "EdifactAcknowledgementSettings", + type: { + name: "Composite", + className: "EdifactAcknowledgementSettings", + modelProperties: { + needTechnicalAcknowledgement: { + required: true, + serializedName: "needTechnicalAcknowledgement", + type: { + name: "Boolean" + } + }, + batchTechnicalAcknowledgements: { + required: true, + serializedName: "batchTechnicalAcknowledgements", + type: { + name: "Boolean" + } + }, + needFunctionalAcknowledgement: { + required: true, + serializedName: "needFunctionalAcknowledgement", + type: { + name: "Boolean" + } + }, + batchFunctionalAcknowledgements: { + required: true, + serializedName: "batchFunctionalAcknowledgements", + type: { + name: "Boolean" + } + }, + needLoopForValidMessages: { + required: true, + serializedName: "needLoopForValidMessages", + type: { + name: "Boolean" + } + }, + sendSynchronousAcknowledgement: { + required: true, + serializedName: "sendSynchronousAcknowledgement", + type: { + name: "Boolean" + } + }, + acknowledgementControlNumberPrefix: { + serializedName: "acknowledgementControlNumberPrefix", + type: { + name: "String" + } + }, + acknowledgementControlNumberSuffix: { + serializedName: "acknowledgementControlNumberSuffix", + type: { + name: "String" + } + }, + acknowledgementControlNumberLowerBound: { + required: true, + serializedName: "acknowledgementControlNumberLowerBound", + type: { + name: "Number" + } + }, + acknowledgementControlNumberUpperBound: { + required: true, + serializedName: "acknowledgementControlNumberUpperBound", + type: { + name: "Number" + } + }, + rolloverAcknowledgementControlNumber: { + required: true, + serializedName: "rolloverAcknowledgementControlNumber", + type: { + name: "Boolean" + } + } + } + } +}; + +export const EdifactMessageFilter: msRest.CompositeMapper = { + serializedName: "EdifactMessageFilter", + type: { + name: "Composite", + className: "EdifactMessageFilter", + modelProperties: { + messageFilterType: { + required: true, + serializedName: "messageFilterType", + type: { + name: "String" + } + } + } + } +}; + +export const EdifactProcessingSettings: msRest.CompositeMapper = { + serializedName: "EdifactProcessingSettings", + type: { + name: "Composite", + className: "EdifactProcessingSettings", + modelProperties: { + maskSecurityInfo: { + required: true, + serializedName: "maskSecurityInfo", + type: { + name: "Boolean" + } + }, + preserveInterchange: { + required: true, + serializedName: "preserveInterchange", + type: { + name: "Boolean" + } + }, + suspendInterchangeOnError: { + required: true, + serializedName: "suspendInterchangeOnError", + type: { + name: "Boolean" + } + }, + createEmptyXmlTagsForTrailingSeparators: { + required: true, + serializedName: "createEmptyXmlTagsForTrailingSeparators", + type: { + name: "Boolean" + } + }, + useDotAsDecimalSeparator: { + required: true, + serializedName: "useDotAsDecimalSeparator", + type: { + name: "Boolean" + } + } + } + } +}; + +export const EdifactEnvelopeOverride: msRest.CompositeMapper = { + serializedName: "EdifactEnvelopeOverride", + type: { + name: "Composite", + className: "EdifactEnvelopeOverride", + modelProperties: { + messageId: { + serializedName: "messageId", + type: { + name: "String" + } + }, + messageVersion: { + serializedName: "messageVersion", + type: { + name: "String" + } + }, + messageRelease: { + serializedName: "messageRelease", + type: { + name: "String" + } + }, + messageAssociationAssignedCode: { + serializedName: "messageAssociationAssignedCode", + type: { + name: "String" + } + }, + targetNamespace: { + serializedName: "targetNamespace", + type: { + name: "String" + } + }, + functionalGroupId: { + serializedName: "functionalGroupId", + type: { + name: "String" + } + }, + senderApplicationQualifier: { + serializedName: "senderApplicationQualifier", + type: { + name: "String" + } + }, + senderApplicationId: { + serializedName: "senderApplicationId", + type: { + name: "String" + } + }, + receiverApplicationQualifier: { + serializedName: "receiverApplicationQualifier", + type: { + name: "String" + } + }, + receiverApplicationId: { + serializedName: "receiverApplicationId", + type: { + name: "String" + } + }, + controllingAgencyCode: { + serializedName: "controllingAgencyCode", + type: { + name: "String" + } + }, + groupHeaderMessageVersion: { + serializedName: "groupHeaderMessageVersion", + type: { + name: "String" + } + }, + groupHeaderMessageRelease: { + serializedName: "groupHeaderMessageRelease", + type: { + name: "String" + } + }, + associationAssignedCode: { + serializedName: "associationAssignedCode", + type: { + name: "String" + } + }, + applicationPassword: { + serializedName: "applicationPassword", + type: { + name: "String" + } + } + } + } +}; + +export const EdifactMessageIdentifier: msRest.CompositeMapper = { + serializedName: "EdifactMessageIdentifier", + type: { + name: "Composite", + className: "EdifactMessageIdentifier", + modelProperties: { + messageId: { + required: true, + serializedName: "messageId", + type: { + name: "String" + } + } + } + } +}; + +export const EdifactSchemaReference: msRest.CompositeMapper = { + serializedName: "EdifactSchemaReference", + type: { + name: "Composite", + className: "EdifactSchemaReference", + modelProperties: { + messageId: { + required: true, + serializedName: "messageId", + type: { + name: "String" + } + }, + messageVersion: { + required: true, + serializedName: "messageVersion", + type: { + name: "String" + } + }, + messageRelease: { + required: true, + serializedName: "messageRelease", + type: { + name: "String" + } + }, + senderApplicationId: { + serializedName: "senderApplicationId", + type: { + name: "String" + } + }, + senderApplicationQualifier: { + serializedName: "senderApplicationQualifier", + type: { + name: "String" + } + }, + associationAssignedCode: { + serializedName: "associationAssignedCode", + type: { + name: "String" + } + }, + schemaName: { + required: true, + serializedName: "schemaName", + type: { + name: "String" + } + } + } + } +}; + +export const EdifactValidationOverride: msRest.CompositeMapper = { + serializedName: "EdifactValidationOverride", + type: { + name: "Composite", + className: "EdifactValidationOverride", + modelProperties: { + messageId: { + required: true, + serializedName: "messageId", + type: { + name: "String" + } + }, + enforceCharacterSet: { + required: true, + serializedName: "enforceCharacterSet", + type: { + name: "Boolean" + } + }, + validateEDITypes: { + required: true, + serializedName: "validateEDITypes", + type: { + name: "Boolean" + } + }, + validateXSDTypes: { + required: true, + serializedName: "validateXSDTypes", + type: { + name: "Boolean" + } + }, + allowLeadingAndTrailingSpacesAndZeroes: { + required: true, + serializedName: "allowLeadingAndTrailingSpacesAndZeroes", + type: { + name: "Boolean" + } + }, + trailingSeparatorPolicy: { + required: true, + serializedName: "trailingSeparatorPolicy", + type: { + name: "String" + } + }, + trimLeadingAndTrailingSpacesAndZeroes: { + required: true, + serializedName: "trimLeadingAndTrailingSpacesAndZeroes", + type: { + name: "Boolean" + } + } + } + } +}; + +export const EdifactDelimiterOverride: msRest.CompositeMapper = { + serializedName: "EdifactDelimiterOverride", + type: { + name: "Composite", + className: "EdifactDelimiterOverride", + modelProperties: { + messageId: { + serializedName: "messageId", + type: { + name: "String" + } + }, + messageVersion: { + serializedName: "messageVersion", + type: { + name: "String" + } + }, + messageRelease: { + serializedName: "messageRelease", + type: { + name: "String" + } + }, + dataElementSeparator: { + required: true, + serializedName: "dataElementSeparator", + type: { + name: "Number" + } + }, + componentSeparator: { + required: true, + serializedName: "componentSeparator", + type: { + name: "Number" + } + }, + segmentTerminator: { + required: true, + serializedName: "segmentTerminator", + type: { + name: "Number" + } + }, + repetitionSeparator: { + required: true, + serializedName: "repetitionSeparator", + type: { + name: "Number" + } + }, + segmentTerminatorSuffix: { + required: true, + serializedName: "segmentTerminatorSuffix", + type: { + name: "Enum", + allowedValues: [ + "NotSpecified", + "None", + "CR", + "LF", + "CRLF" + ] + } + }, + decimalPointIndicator: { + required: true, + serializedName: "decimalPointIndicator", + type: { + name: "Enum", + allowedValues: [ + "NotSpecified", + "Comma", + "Decimal" + ] + } + }, + releaseIndicator: { + required: true, + serializedName: "releaseIndicator", + type: { + name: "Number" + } + }, + messageAssociationAssignedCode: { + serializedName: "messageAssociationAssignedCode", + type: { + name: "String" + } + }, + targetNamespace: { + serializedName: "targetNamespace", + type: { + name: "String" + } + } + } + } +}; + +export const EdifactProtocolSettings: msRest.CompositeMapper = { + serializedName: "EdifactProtocolSettings", + type: { + name: "Composite", + className: "EdifactProtocolSettings", + modelProperties: { + validationSettings: { + required: true, + serializedName: "validationSettings", + type: { + name: "Composite", + className: "EdifactValidationSettings" + } + }, + framingSettings: { + required: true, + serializedName: "framingSettings", + type: { + name: "Composite", + className: "EdifactFramingSettings" + } + }, + envelopeSettings: { + required: true, + serializedName: "envelopeSettings", + type: { + name: "Composite", + className: "EdifactEnvelopeSettings" + } + }, + acknowledgementSettings: { + required: true, + serializedName: "acknowledgementSettings", + type: { + name: "Composite", + className: "EdifactAcknowledgementSettings" + } + }, + messageFilter: { + required: true, + serializedName: "messageFilter", + type: { + name: "Composite", + className: "EdifactMessageFilter" + } + }, + processingSettings: { + required: true, + serializedName: "processingSettings", + type: { + name: "Composite", + className: "EdifactProcessingSettings" + } + }, + envelopeOverrides: { + serializedName: "envelopeOverrides", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EdifactEnvelopeOverride" + } + } + } + }, + messageFilterList: { + serializedName: "messageFilterList", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EdifactMessageIdentifier" + } + } + } + }, + schemaReferences: { + required: true, + serializedName: "schemaReferences", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EdifactSchemaReference" + } + } + } + }, + validationOverrides: { + serializedName: "validationOverrides", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EdifactValidationOverride" + } + } + } + }, + edifactDelimiterOverrides: { + serializedName: "edifactDelimiterOverrides", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EdifactDelimiterOverride" + } + } + } + } + } + } +}; + +export const EdifactOneWayAgreement: msRest.CompositeMapper = { + serializedName: "EdifactOneWayAgreement", + type: { + name: "Composite", + className: "EdifactOneWayAgreement", + modelProperties: { + senderBusinessIdentity: { + required: true, + serializedName: "senderBusinessIdentity", + type: { + name: "Composite", + className: "BusinessIdentity" + } + }, + receiverBusinessIdentity: { + required: true, + serializedName: "receiverBusinessIdentity", + type: { + name: "Composite", + className: "BusinessIdentity" + } + }, + protocolSettings: { + required: true, + serializedName: "protocolSettings", + type: { + name: "Composite", + className: "EdifactProtocolSettings" + } + } + } + } +}; + +export const EdifactAgreementContent: msRest.CompositeMapper = { + serializedName: "EdifactAgreementContent", + type: { + name: "Composite", + className: "EdifactAgreementContent", + modelProperties: { + receiveAgreement: { + required: true, + serializedName: "receiveAgreement", + type: { + name: "Composite", + className: "EdifactOneWayAgreement" + } + }, + sendAgreement: { + required: true, + serializedName: "sendAgreement", + type: { + name: "Composite", + className: "EdifactOneWayAgreement" + } + } + } + } +}; + +export const AgreementContent: msRest.CompositeMapper = { + serializedName: "AgreementContent", + type: { + name: "Composite", + className: "AgreementContent", + modelProperties: { + aS2: { + serializedName: "aS2", + type: { + name: "Composite", + className: "AS2AgreementContent" + } + }, + x12: { + serializedName: "x12", + type: { + name: "Composite", + className: "X12AgreementContent" + } + }, + edifact: { + serializedName: "edifact", + type: { + name: "Composite", + className: "EdifactAgreementContent" + } + } + } + } +}; + +export const IntegrationAccountAgreement: msRest.CompositeMapper = { + serializedName: "IntegrationAccountAgreement", + type: { + name: "Composite", + className: "IntegrationAccountAgreement", + modelProperties: { + ...Resource.type.modelProperties, + createdTime: { + readOnly: true, + serializedName: "properties.createdTime", + type: { + name: "DateTime" + } + }, + changedTime: { + readOnly: true, + serializedName: "properties.changedTime", + type: { + name: "DateTime" + } + }, + metadata: { + serializedName: "properties.metadata", + type: { + name: "Object" + } + }, + agreementType: { + required: true, + serializedName: "properties.agreementType", + type: { + name: "Enum", + allowedValues: [ + "NotSpecified", + "AS2", + "X12", + "Edifact" + ] + } + }, + hostPartner: { + required: true, + serializedName: "properties.hostPartner", + type: { + name: "String" + } + }, + guestPartner: { + required: true, + serializedName: "properties.guestPartner", + type: { + name: "String" + } + }, + hostIdentity: { + required: true, + serializedName: "properties.hostIdentity", + type: { + name: "Composite", + className: "BusinessIdentity" + } + }, + guestIdentity: { + required: true, + serializedName: "properties.guestIdentity", + type: { + name: "Composite", + className: "BusinessIdentity" + } + }, + content: { + required: true, + serializedName: "properties.content", + type: { + name: "Composite", + className: "AgreementContent" + } + } + } + } +}; + +export const IntegrationAccountAgreementFilter: msRest.CompositeMapper = { + serializedName: "IntegrationAccountAgreementFilter", + type: { + name: "Composite", + className: "IntegrationAccountAgreementFilter", + modelProperties: { + agreementType: { + required: true, + serializedName: "agreementType", + type: { + name: "Enum", + allowedValues: [ + "NotSpecified", + "AS2", + "X12", + "Edifact" + ] + } + } + } + } +}; + +export const KeyVaultKeyReferenceKeyVault: msRest.CompositeMapper = { + serializedName: "KeyVaultKeyReference_keyVault", + type: { + name: "Composite", + className: "KeyVaultKeyReferenceKeyVault", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const KeyVaultKeyReference: msRest.CompositeMapper = { + serializedName: "KeyVaultKeyReference", + type: { + name: "Composite", + className: "KeyVaultKeyReference", + modelProperties: { + keyVault: { + required: true, + serializedName: "keyVault", + type: { + name: "Composite", + className: "KeyVaultKeyReferenceKeyVault" + } + }, + keyName: { + required: true, + serializedName: "keyName", + type: { + name: "String" + } + }, + keyVersion: { + serializedName: "keyVersion", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationAccountCertificate: msRest.CompositeMapper = { + serializedName: "IntegrationAccountCertificate", + type: { + name: "Composite", + className: "IntegrationAccountCertificate", + modelProperties: { + ...Resource.type.modelProperties, + createdTime: { + readOnly: true, + serializedName: "properties.createdTime", + type: { + name: "DateTime" + } + }, + changedTime: { + readOnly: true, + serializedName: "properties.changedTime", + type: { + name: "DateTime" + } + }, + metadata: { + serializedName: "properties.metadata", + type: { + name: "Object" + } + }, + key: { + serializedName: "properties.key", + type: { + name: "Composite", + className: "KeyVaultKeyReference" + } + }, + publicCertificate: { + serializedName: "properties.publicCertificate", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationAccountSessionFilter: msRest.CompositeMapper = { + serializedName: "IntegrationAccountSessionFilter", + type: { + name: "Composite", + className: "IntegrationAccountSessionFilter", + modelProperties: { + changedTime: { + required: true, + serializedName: "changedTime", + type: { + name: "DateTime" + } + } + } + } +}; + +export const IntegrationAccountSession: msRest.CompositeMapper = { + serializedName: "IntegrationAccountSession", + type: { + name: "Composite", + className: "IntegrationAccountSession", + modelProperties: { + ...Resource.type.modelProperties, + createdTime: { + readOnly: true, + serializedName: "properties.createdTime", + type: { + name: "DateTime" + } + }, + changedTime: { + readOnly: true, + serializedName: "properties.changedTime", + type: { + name: "DateTime" + } + }, + content: { + serializedName: "properties.content", + type: { + name: "Object" + } + } + } + } +}; + +export const OperationDisplay: msRest.CompositeMapper = { + serializedName: "Operation_display", + type: { + name: "Composite", + className: "OperationDisplay", + modelProperties: { + provider: { + serializedName: "provider", + type: { + name: "String" + } + }, + resource: { + serializedName: "resource", + type: { + name: "String" + } + }, + operation: { + serializedName: "operation", + type: { + name: "String" + } + } + } + } +}; + +export const Operation: msRest.CompositeMapper = { + serializedName: "Operation", + type: { + name: "Composite", + className: "Operation", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + display: { + serializedName: "display", + type: { + name: "Composite", + className: "OperationDisplay" + } + } + } + } +}; + +export const KeyVaultReference: msRest.CompositeMapper = { + serializedName: "KeyVaultReference", + type: { + name: "Composite", + className: "KeyVaultReference", + modelProperties: { + ...ResourceReference.type.modelProperties + } + } +}; + +export const ListKeyVaultKeysDefinition: msRest.CompositeMapper = { + serializedName: "ListKeyVaultKeysDefinition", + type: { + name: "Composite", + className: "ListKeyVaultKeysDefinition", + modelProperties: { + keyVault: { + required: true, + serializedName: "keyVault", + type: { + name: "Composite", + className: "KeyVaultReference" + } + }, + skipToken: { + serializedName: "skipToken", + type: { + name: "String" + } + } + } + } +}; + +export const KeyVaultKeyAttributes: msRest.CompositeMapper = { + serializedName: "KeyVaultKey_attributes", + type: { + name: "Composite", + className: "KeyVaultKeyAttributes", + modelProperties: { + enabled: { + serializedName: "enabled", + type: { + name: "Boolean" + } + }, + created: { + serializedName: "created", + type: { + name: "Number" + } + }, + updated: { + serializedName: "updated", + type: { + name: "Number" + } + } + } + } +}; + +export const KeyVaultKey: msRest.CompositeMapper = { + serializedName: "KeyVaultKey", + type: { + name: "Composite", + className: "KeyVaultKey", + modelProperties: { + kid: { + serializedName: "kid", + type: { + name: "String" + } + }, + attributes: { + serializedName: "attributes", + type: { + name: "Composite", + className: "KeyVaultKeyAttributes" + } + } + } + } +}; + +export const TrackingEventErrorInfo: msRest.CompositeMapper = { + serializedName: "TrackingEventErrorInfo", + type: { + name: "Composite", + className: "TrackingEventErrorInfo", + modelProperties: { + message: { + serializedName: "message", + type: { + name: "String" + } + }, + code: { + serializedName: "code", + type: { + name: "String" + } + } + } + } +}; + +export const TrackingEvent: msRest.CompositeMapper = { + serializedName: "TrackingEvent", + type: { + name: "Composite", + className: "TrackingEvent", + modelProperties: { + eventLevel: { + required: true, + serializedName: "eventLevel", + type: { + name: "Enum", + allowedValues: [ + "LogAlways", + "Critical", + "Error", + "Warning", + "Informational", + "Verbose" + ] + } + }, + eventTime: { + required: true, + serializedName: "eventTime", + type: { + name: "DateTime" + } + }, + recordType: { + required: true, + serializedName: "recordType", + type: { + name: "String" + } + }, + error: { + serializedName: "error", + type: { + name: "Composite", + className: "TrackingEventErrorInfo" + } + } + } + } +}; + +export const TrackingEventsDefinition: msRest.CompositeMapper = { + serializedName: "TrackingEventsDefinition", + type: { + name: "Composite", + className: "TrackingEventsDefinition", + modelProperties: { + sourceType: { + required: true, + serializedName: "sourceType", + type: { + name: "String" + } + }, + trackEventsOptions: { + serializedName: "trackEventsOptions", + type: { + name: "String" + } + }, + events: { + required: true, + serializedName: "events", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TrackingEvent" + } + } + } + } + } + } +}; + +export const SetTriggerStateActionDefinition: msRest.CompositeMapper = { + serializedName: "SetTriggerStateActionDefinition", + type: { + name: "Composite", + className: "SetTriggerStateActionDefinition", + modelProperties: { + source: { + required: true, + serializedName: "source", + type: { + name: "Composite", + className: "WorkflowTrigger" + } + } + } + } +}; + +export const Expression: msRest.CompositeMapper = { + serializedName: "Expression", + type: { + name: "Composite", + className: "Expression", + modelProperties: { + text: { + serializedName: "text", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "Object" + } + }, + subexpressions: { + serializedName: "subexpressions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Expression" + } + } + } + }, + error: { + serializedName: "error", + type: { + name: "Composite", + className: "AzureResourceErrorInfo" + } + } + } + } +}; + +export const ExpressionRoot: msRest.CompositeMapper = { + serializedName: "ExpressionRoot", + type: { + name: "Composite", + className: "ExpressionRoot", + modelProperties: { + ...Expression.type.modelProperties, + path: { + serializedName: "path", + type: { + name: "String" + } + } + } + } +}; + +export const ErrorInfo: msRest.CompositeMapper = { + serializedName: "ErrorInfo", + type: { + name: "Composite", + className: "ErrorInfo", + modelProperties: { + code: { + required: true, + serializedName: "code", + type: { + name: "String" + } + } + } + } +}; + +export const AzureResourceErrorInfo: msRest.CompositeMapper = { + serializedName: "AzureResourceErrorInfo", + type: { + name: "Composite", + className: "AzureResourceErrorInfo", + modelProperties: { + ...ErrorInfo.type.modelProperties, + message: { + required: true, + serializedName: "message", + type: { + name: "String" + } + }, + details: { + serializedName: "details", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AzureResourceErrorInfo" + } + } + } + } + } + } +}; + +export const RepetitionIndex: msRest.CompositeMapper = { + serializedName: "RepetitionIndex", + type: { + name: "Composite", + className: "RepetitionIndex", + modelProperties: { + scopeName: { + serializedName: "scopeName", + type: { + name: "String" + } + }, + itemIndex: { + required: true, + serializedName: "itemIndex", + type: { + name: "Number" + } + } + } + } +}; + +export const WorkflowRunActionRepetitionDefinition: msRest.CompositeMapper = { + serializedName: "WorkflowRunActionRepetitionDefinition", + type: { + name: "Composite", + className: "WorkflowRunActionRepetitionDefinition", + modelProperties: { + ...Resource.type.modelProperties, + startTime: { + serializedName: "properties.startTime", + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "properties.endTime", + type: { + name: "DateTime" + } + }, + correlation: { + serializedName: "properties.correlation", + type: { + name: "Composite", + className: "RunActionCorrelation" + } + }, + status: { + serializedName: "properties.status", + type: { + name: "String" + } + }, + code: { + serializedName: "properties.code", + type: { + name: "String" + } + }, + error: { + serializedName: "properties.error", + type: { + name: "Object" + } + }, + trackingId: { + readOnly: true, + serializedName: "properties.trackingId", + type: { + name: "String" + } + }, + inputs: { + readOnly: true, + serializedName: "properties.inputs", + type: { + name: "Object" + } + }, + inputsLink: { + readOnly: true, + serializedName: "properties.inputsLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, + outputs: { + readOnly: true, + serializedName: "properties.outputs", + type: { + name: "Object" + } + }, + outputsLink: { + readOnly: true, + serializedName: "properties.outputsLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, + trackedProperties: { + readOnly: true, + serializedName: "properties.trackedProperties", + type: { + name: "Object" + } + }, + retryHistory: { + serializedName: "properties.retryHistory", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RetryHistory" + } + } + } + }, + iterationCount: { + serializedName: "properties.iterationCount", + type: { + name: "Number" + } + }, + repetitionIndexes: { + serializedName: "properties.repetitionIndexes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RepetitionIndex" + } + } + } + } + } + } +}; + +export const OperationResultProperties: msRest.CompositeMapper = { + serializedName: "OperationResultProperties", + type: { + name: "Composite", + className: "OperationResultProperties", + modelProperties: { + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + correlation: { + serializedName: "correlation", + type: { + name: "Composite", + className: "RunActionCorrelation" + } + }, + status: { + serializedName: "status", + type: { + name: "String" + } + }, + code: { + serializedName: "code", + type: { + name: "String" + } + }, + error: { + serializedName: "error", + type: { + name: "Object" + } + } + } + } +}; + +export const OperationResult: msRest.CompositeMapper = { + serializedName: "OperationResult", + type: { + name: "Composite", + className: "OperationResult", + modelProperties: { + ...OperationResultProperties.type.modelProperties, + trackingId: { + readOnly: true, + serializedName: "trackingId", + type: { + name: "String" + } + }, + inputs: { + readOnly: true, + serializedName: "inputs", + type: { + name: "Object" + } + }, + inputsLink: { + readOnly: true, + serializedName: "inputsLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, + outputs: { + readOnly: true, + serializedName: "outputs", + type: { + name: "Object" + } + }, + outputsLink: { + readOnly: true, + serializedName: "outputsLink", + type: { + name: "Composite", + className: "ContentLink" + } + }, + trackedProperties: { + readOnly: true, + serializedName: "trackedProperties", + type: { + name: "Object" + } + }, + retryHistory: { + serializedName: "retryHistory", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RetryHistory" + } + } + } + }, + iterationCount: { + serializedName: "iterationCount", + type: { + name: "Number" + } + } + } + } +}; + +export const RunCorrelation: msRest.CompositeMapper = { + serializedName: "RunCorrelation", + type: { + name: "Composite", + className: "RunCorrelation", + modelProperties: { + clientTrackingId: { + serializedName: "clientTrackingId", + type: { + name: "String" + } + }, + clientKeywords: { + serializedName: "clientKeywords", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const RunActionCorrelation: msRest.CompositeMapper = { + serializedName: "RunActionCorrelation", + type: { + name: "Composite", + className: "RunActionCorrelation", + modelProperties: { + ...RunCorrelation.type.modelProperties, + actionTrackingId: { + serializedName: "actionTrackingId", + type: { + name: "String" + } + } + } + } +}; + +export const JsonSchema: msRest.CompositeMapper = { + serializedName: "JsonSchema", + type: { + name: "Composite", + className: "JsonSchema", + modelProperties: { + title: { + serializedName: "title", + type: { + name: "String" + } + }, + content: { + serializedName: "content", + type: { + name: "String" + } + } + } + } +}; + +export const ArtifactProperties: msRest.CompositeMapper = { + serializedName: "ArtifactProperties", + type: { + name: "Composite", + className: "ArtifactProperties", + modelProperties: { + createdTime: { + serializedName: "createdTime", + type: { + name: "DateTime" + } + }, + changedTime: { + serializedName: "changedTime", + type: { + name: "DateTime" + } + }, + metadata: { + serializedName: "metadata", + type: { + name: "Object" + } + } + } + } +}; + +export const ArtifactContentPropertiesDefinition: msRest.CompositeMapper = { + serializedName: "ArtifactContentPropertiesDefinition", + type: { + name: "Composite", + className: "ArtifactContentPropertiesDefinition", + modelProperties: { + ...ArtifactProperties.type.modelProperties, + content: { + serializedName: "content", + type: { + name: "Object" + } + }, + contentType: { + serializedName: "contentType", + type: { + name: "String" + } + }, + contentLink: { + serializedName: "contentLink", + type: { + name: "Composite", + className: "ContentLink" + } + } + } + } +}; + +export const AssemblyProperties: msRest.CompositeMapper = { + serializedName: "AssemblyProperties", + type: { + name: "Composite", + className: "AssemblyProperties", + modelProperties: { + ...ArtifactContentPropertiesDefinition.type.modelProperties, + assemblyName: { + required: true, + serializedName: "assemblyName", + type: { + name: "String" + } + }, + assemblyVersion: { + serializedName: "assemblyVersion", + type: { + name: "String" + } + }, + assemblyCulture: { + serializedName: "assemblyCulture", + type: { + name: "String" + } + }, + assemblyPublicKeyToken: { + serializedName: "assemblyPublicKeyToken", + type: { + name: "String" + } + } + } + } +}; + +export const AssemblyDefinition: msRest.CompositeMapper = { + serializedName: "AssemblyDefinition", + type: { + name: "Composite", + className: "AssemblyDefinition", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "AssemblyProperties" + } + } + } + } +}; + +export const BatchReleaseCriteria: msRest.CompositeMapper = { + serializedName: "BatchReleaseCriteria", + type: { + name: "Composite", + className: "BatchReleaseCriteria", + modelProperties: { + messageCount: { + serializedName: "messageCount", + type: { + name: "Number" + } + }, + batchSize: { + serializedName: "batchSize", + type: { + name: "Number" + } + }, + recurrence: { + serializedName: "recurrence", + type: { + name: "Composite", + className: "WorkflowTriggerRecurrence" + } + } + } + } +}; + +export const BatchConfigurationProperties: msRest.CompositeMapper = { + serializedName: "BatchConfigurationProperties", + type: { + name: "Composite", + className: "BatchConfigurationProperties", + modelProperties: { + ...ArtifactProperties.type.modelProperties, + batchGroupName: { + required: true, + serializedName: "batchGroupName", + type: { + name: "String" + } + }, + releaseCriteria: { + required: true, + serializedName: "releaseCriteria", + type: { + name: "Composite", + className: "BatchReleaseCriteria" + } + } + } + } +}; + +export const BatchConfiguration: msRest.CompositeMapper = { + serializedName: "BatchConfiguration", + type: { + name: "Composite", + className: "BatchConfiguration", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "BatchConfigurationProperties" + } + } + } + } +}; + +export const Request: msRest.CompositeMapper = { + serializedName: "Request", + type: { + name: "Composite", + className: "Request", + modelProperties: { + headers: { + serializedName: "headers", + type: { + name: "Object" + } + }, + uri: { + serializedName: "uri", + type: { + name: "String" + } + }, + method: { + serializedName: "method", + type: { + name: "String" + } + } + } + } +}; + +export const Response: msRest.CompositeMapper = { + serializedName: "Response", + type: { + name: "Composite", + className: "Response", + modelProperties: { + headers: { + serializedName: "headers", + type: { + name: "Object" + } + }, + statusCode: { + serializedName: "statusCode", + type: { + name: "Number" + } + }, + bodyLink: { + serializedName: "bodyLink", + type: { + name: "Composite", + className: "ContentLink" + } + } + } + } +}; + +export const RequestHistoryProperties: msRest.CompositeMapper = { + serializedName: "RequestHistoryProperties", + type: { + name: "Composite", + className: "RequestHistoryProperties", + modelProperties: { + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + request: { + serializedName: "request", + type: { + name: "Composite", + className: "Request" + } + }, + response: { + serializedName: "response", + type: { + name: "Composite", + className: "Response" + } + } + } + } +}; + +export const RequestHistory: msRest.CompositeMapper = { + serializedName: "RequestHistory", + type: { + name: "Composite", + className: "RequestHistory", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "RequestHistoryProperties" + } + } + } + } +}; + +export const WorkflowListResult: msRest.CompositeMapper = { + serializedName: "WorkflowListResult", + type: { + name: "Composite", + className: "WorkflowListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Workflow" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const WorkflowVersionListResult: msRest.CompositeMapper = { + serializedName: "WorkflowVersionListResult", + type: { + name: "Composite", + className: "WorkflowVersionListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkflowVersion" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const WorkflowTriggerListResult: msRest.CompositeMapper = { + serializedName: "WorkflowTriggerListResult", + type: { + name: "Composite", + className: "WorkflowTriggerListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkflowTrigger" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const WorkflowTriggerHistoryListResult: msRest.CompositeMapper = { + serializedName: "WorkflowTriggerHistoryListResult", + type: { + name: "Composite", + className: "WorkflowTriggerHistoryListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkflowTriggerHistory" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const WorkflowRunListResult: msRest.CompositeMapper = { + serializedName: "WorkflowRunListResult", + type: { + name: "Composite", + className: "WorkflowRunListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkflowRun" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const WorkflowRunActionListResult: msRest.CompositeMapper = { + serializedName: "WorkflowRunActionListResult", + type: { + name: "Composite", + className: "WorkflowRunActionListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkflowRunAction" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ExpressionTraces: msRest.CompositeMapper = { + serializedName: "ExpressionTraces", + type: { + name: "Composite", + className: "ExpressionTraces", + modelProperties: { + inputs: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExpressionRoot" + } + } + } + } + } + } +}; + +export const WorkflowRunActionRepetitionDefinitionCollection: msRest.CompositeMapper = { + serializedName: "WorkflowRunActionRepetitionDefinitionCollection", + type: { + name: "Composite", + className: "WorkflowRunActionRepetitionDefinitionCollection", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkflowRunActionRepetitionDefinition" + } + } + } + } + } + } +}; + +export const RequestHistoryListResult: msRest.CompositeMapper = { + serializedName: "RequestHistoryListResult", + type: { + name: "Composite", + className: "RequestHistoryListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RequestHistory" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationAccountListResult: msRest.CompositeMapper = { + serializedName: "IntegrationAccountListResult", + type: { + name: "Composite", + className: "IntegrationAccountListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IntegrationAccount" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const KeyVaultKeyCollection: msRest.CompositeMapper = { + serializedName: "KeyVaultKeyCollection", + type: { + name: "Composite", + className: "KeyVaultKeyCollection", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "KeyVaultKey" + } + } + } + }, + skipToken: { + serializedName: "skipToken", + type: { + name: "String" + } + } + } + } +}; + +export const AssemblyCollection: msRest.CompositeMapper = { + serializedName: "AssemblyCollection", + type: { + name: "Composite", + className: "AssemblyCollection", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AssemblyDefinition" + } + } + } + } + } + } +}; + +export const BatchConfigurationCollection: msRest.CompositeMapper = { + serializedName: "BatchConfigurationCollection", + type: { + name: "Composite", + className: "BatchConfigurationCollection", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "BatchConfiguration" + } + } + } + } + } + } +}; + +export const IntegrationAccountSchemaListResult: msRest.CompositeMapper = { + serializedName: "IntegrationAccountSchemaListResult", + type: { + name: "Composite", + className: "IntegrationAccountSchemaListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IntegrationAccountSchema" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationAccountMapListResult: msRest.CompositeMapper = { + serializedName: "IntegrationAccountMapListResult", + type: { + name: "Composite", + className: "IntegrationAccountMapListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IntegrationAccountMap" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationAccountPartnerListResult: msRest.CompositeMapper = { + serializedName: "IntegrationAccountPartnerListResult", + type: { + name: "Composite", + className: "IntegrationAccountPartnerListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IntegrationAccountPartner" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationAccountAgreementListResult: msRest.CompositeMapper = { + serializedName: "IntegrationAccountAgreementListResult", + type: { + name: "Composite", + className: "IntegrationAccountAgreementListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IntegrationAccountAgreement" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationAccountCertificateListResult: msRest.CompositeMapper = { + serializedName: "IntegrationAccountCertificateListResult", + type: { + name: "Composite", + className: "IntegrationAccountCertificateListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IntegrationAccountCertificate" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationAccountSessionListResult: msRest.CompositeMapper = { + serializedName: "IntegrationAccountSessionListResult", + type: { + name: "Composite", + className: "IntegrationAccountSessionListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IntegrationAccountSession" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const OperationListResult: msRest.CompositeMapper = { + serializedName: "OperationListResult", + type: { + name: "Composite", + className: "OperationListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Operation" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; diff --git a/sdk/logic/arm-logic/lib/models/operationsMappers.ts b/sdk/logic/arm-logic/lib/models/operationsMappers.ts new file mode 100644 index 000000000000..6220c17fa72b --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/operationsMappers.ts @@ -0,0 +1,18 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + OperationListResult, + Operation, + OperationDisplay, + ErrorResponse, + ErrorProperties +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/parameters.ts b/sdk/logic/arm-logic/lib/models/parameters.ts new file mode 100644 index 000000000000..f1e9d4487b54 --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/parameters.ts @@ -0,0 +1,277 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; + +export const acceptLanguage: msRest.OperationParameter = { + parameterPath: "acceptLanguage", + mapper: { + serializedName: "accept-language", + defaultValue: 'en-US', + type: { + name: "String" + } + } +}; +export const actionName: msRest.OperationURLParameter = { + parameterPath: "actionName", + mapper: { + required: true, + serializedName: "actionName", + type: { + name: "String" + } + } +}; +export const agreementName: msRest.OperationURLParameter = { + parameterPath: "agreementName", + mapper: { + required: true, + serializedName: "agreementName", + type: { + name: "String" + } + } +}; +export const apiVersion: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + serializedName: "api-version", + type: { + name: "String" + } + } +}; +export const assemblyArtifactName: msRest.OperationURLParameter = { + parameterPath: "assemblyArtifactName", + mapper: { + required: true, + serializedName: "assemblyArtifactName", + type: { + name: "String" + } + } +}; +export const batchConfigurationName: msRest.OperationURLParameter = { + parameterPath: "batchConfigurationName", + mapper: { + required: true, + serializedName: "batchConfigurationName", + type: { + name: "String" + } + } +}; +export const certificateName: msRest.OperationURLParameter = { + parameterPath: "certificateName", + mapper: { + required: true, + serializedName: "certificateName", + type: { + name: "String" + } + } +}; +export const filter: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "filter" + ], + mapper: { + serializedName: "$filter", + type: { + name: "String" + } + } +}; +export const historyName: msRest.OperationURLParameter = { + parameterPath: "historyName", + mapper: { + required: true, + serializedName: "historyName", + type: { + name: "String" + } + } +}; +export const integrationAccountName: msRest.OperationURLParameter = { + parameterPath: "integrationAccountName", + mapper: { + required: true, + serializedName: "integrationAccountName", + type: { + name: "String" + } + } +}; +export const location: msRest.OperationURLParameter = { + parameterPath: "location", + mapper: { + required: true, + serializedName: "location", + type: { + name: "String" + } + } +}; +export const mapName: msRest.OperationURLParameter = { + parameterPath: "mapName", + mapper: { + required: true, + serializedName: "mapName", + type: { + name: "String" + } + } +}; +export const nextPageLink: msRest.OperationURLParameter = { + parameterPath: "nextPageLink", + mapper: { + required: true, + serializedName: "nextLink", + type: { + name: "String" + } + }, + skipEncoding: true +}; +export const operationId: msRest.OperationURLParameter = { + parameterPath: "operationId", + mapper: { + required: true, + serializedName: "operationId", + type: { + name: "String" + } + } +}; +export const partnerName: msRest.OperationURLParameter = { + parameterPath: "partnerName", + mapper: { + required: true, + serializedName: "partnerName", + type: { + name: "String" + } + } +}; +export const repetitionName: msRest.OperationURLParameter = { + parameterPath: "repetitionName", + mapper: { + required: true, + serializedName: "repetitionName", + type: { + name: "String" + } + } +}; +export const requestHistoryName: msRest.OperationURLParameter = { + parameterPath: "requestHistoryName", + mapper: { + required: true, + serializedName: "requestHistoryName", + type: { + name: "String" + } + } +}; +export const resourceGroupName: msRest.OperationURLParameter = { + parameterPath: "resourceGroupName", + mapper: { + required: true, + serializedName: "resourceGroupName", + type: { + name: "String" + } + } +}; +export const runName: msRest.OperationURLParameter = { + parameterPath: "runName", + mapper: { + required: true, + serializedName: "runName", + type: { + name: "String" + } + } +}; +export const schemaName: msRest.OperationURLParameter = { + parameterPath: "schemaName", + mapper: { + required: true, + serializedName: "schemaName", + type: { + name: "String" + } + } +}; +export const sessionName: msRest.OperationURLParameter = { + parameterPath: "sessionName", + mapper: { + required: true, + serializedName: "sessionName", + type: { + name: "String" + } + } +}; +export const subscriptionId: msRest.OperationURLParameter = { + parameterPath: "subscriptionId", + mapper: { + required: true, + serializedName: "subscriptionId", + type: { + name: "String" + } + } +}; +export const top: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "top" + ], + mapper: { + serializedName: "$top", + type: { + name: "Number" + } + } +}; +export const triggerName: msRest.OperationURLParameter = { + parameterPath: "triggerName", + mapper: { + required: true, + serializedName: "triggerName", + type: { + name: "String" + } + } +}; +export const versionId: msRest.OperationURLParameter = { + parameterPath: "versionId", + mapper: { + required: true, + serializedName: "versionId", + type: { + name: "String" + } + } +}; +export const workflowName: msRest.OperationURLParameter = { + parameterPath: "workflowName", + mapper: { + required: true, + serializedName: "workflowName", + type: { + name: "String" + } + } +}; diff --git a/sdk/logic/arm-logic/lib/models/workflowRunActionRepetitionsMappers.ts b/sdk/logic/arm-logic/lib/models/workflowRunActionRepetitionsMappers.ts new file mode 100644 index 000000000000..cd95bba6a166 --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/workflowRunActionRepetitionsMappers.ts @@ -0,0 +1,113 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + WorkflowRunActionRepetitionDefinitionCollection, + WorkflowRunActionRepetitionDefinition, + Resource, + BaseResource, + RunActionCorrelation, + RunCorrelation, + ContentLink, + ContentHash, + RetryHistory, + ErrorResponse, + ErrorProperties, + RepetitionIndex, + CloudError, + ExpressionTraces, + ExpressionRoot, + Expression, + AzureResourceErrorInfo, + ErrorInfo, + SubResource, + Workflow, + Sku, + ResourceReference, + WorkflowParameter, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowTriggerHistory, + Correlation, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + WorkflowRunAction, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + KeyVaultReference, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/workflowRunActionRepetitionsRequestHistoriesMappers.ts b/sdk/logic/arm-logic/lib/models/workflowRunActionRepetitionsRequestHistoriesMappers.ts new file mode 100644 index 000000000000..487eab35f120 --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/workflowRunActionRepetitionsRequestHistoriesMappers.ts @@ -0,0 +1,107 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + RequestHistoryListResult, + RequestHistory, + Resource, + BaseResource, + RequestHistoryProperties, + Request, + Response, + ContentLink, + ContentHash, + ErrorResponse, + ErrorProperties, + SubResource, + Workflow, + Sku, + ResourceReference, + WorkflowParameter, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowTriggerHistory, + Correlation, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + WorkflowRunAction, + RetryHistory, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + KeyVaultReference, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/workflowRunActionRequestHistoriesMappers.ts b/sdk/logic/arm-logic/lib/models/workflowRunActionRequestHistoriesMappers.ts new file mode 100644 index 000000000000..487eab35f120 --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/workflowRunActionRequestHistoriesMappers.ts @@ -0,0 +1,107 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + RequestHistoryListResult, + RequestHistory, + Resource, + BaseResource, + RequestHistoryProperties, + Request, + Response, + ContentLink, + ContentHash, + ErrorResponse, + ErrorProperties, + SubResource, + Workflow, + Sku, + ResourceReference, + WorkflowParameter, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowTriggerHistory, + Correlation, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + WorkflowRunAction, + RetryHistory, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + KeyVaultReference, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/workflowRunActionScopeRepetitionsMappers.ts b/sdk/logic/arm-logic/lib/models/workflowRunActionScopeRepetitionsMappers.ts new file mode 100644 index 000000000000..146d90c562c6 --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/workflowRunActionScopeRepetitionsMappers.ts @@ -0,0 +1,108 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + WorkflowRunActionRepetitionDefinitionCollection, + WorkflowRunActionRepetitionDefinition, + Resource, + BaseResource, + RunActionCorrelation, + RunCorrelation, + ContentLink, + ContentHash, + RetryHistory, + ErrorResponse, + ErrorProperties, + RepetitionIndex, + CloudError, + SubResource, + Workflow, + Sku, + ResourceReference, + WorkflowParameter, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowTriggerHistory, + Correlation, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + WorkflowRunAction, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + KeyVaultReference, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/workflowRunActionsMappers.ts b/sdk/logic/arm-logic/lib/models/workflowRunActionsMappers.ts new file mode 100644 index 000000000000..29d78ebb6f65 --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/workflowRunActionsMappers.ts @@ -0,0 +1,113 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + WorkflowRunActionListResult, + WorkflowRunAction, + SubResource, + BaseResource, + Correlation, + ContentLink, + ContentHash, + RetryHistory, + ErrorResponse, + ErrorProperties, + CloudError, + ExpressionTraces, + ExpressionRoot, + Expression, + AzureResourceErrorInfo, + ErrorInfo, + Resource, + Workflow, + Sku, + ResourceReference, + WorkflowParameter, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowTriggerHistory, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + KeyVaultReference, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/workflowRunOperationsMappers.ts b/sdk/logic/arm-logic/lib/models/workflowRunOperationsMappers.ts new file mode 100644 index 000000000000..7d5b07dafb23 --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/workflowRunOperationsMappers.ts @@ -0,0 +1,107 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + WorkflowRun, + SubResource, + BaseResource, + Correlation, + ResourceReference, + WorkflowRunTrigger, + ContentLink, + ContentHash, + WorkflowOutputParameter, + WorkflowParameter, + CloudError, + Resource, + Workflow, + Sku, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowTriggerHistory, + WorkflowRunAction, + RetryHistory, + ErrorResponse, + ErrorProperties, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + KeyVaultReference, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/workflowRunsMappers.ts b/sdk/logic/arm-logic/lib/models/workflowRunsMappers.ts new file mode 100644 index 000000000000..8dc4a2971a55 --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/workflowRunsMappers.ts @@ -0,0 +1,108 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + WorkflowRunListResult, + WorkflowRun, + SubResource, + BaseResource, + Correlation, + ResourceReference, + WorkflowRunTrigger, + ContentLink, + ContentHash, + WorkflowOutputParameter, + WorkflowParameter, + CloudError, + Resource, + Workflow, + Sku, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowTriggerHistory, + WorkflowRunAction, + RetryHistory, + ErrorResponse, + ErrorProperties, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + KeyVaultReference, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/workflowTriggerHistoriesMappers.ts b/sdk/logic/arm-logic/lib/models/workflowTriggerHistoriesMappers.ts new file mode 100644 index 000000000000..0e8f0c9aea95 --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/workflowTriggerHistoriesMappers.ts @@ -0,0 +1,108 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + WorkflowTriggerHistoryListResult, + WorkflowTriggerHistory, + SubResource, + BaseResource, + Correlation, + ContentLink, + ContentHash, + ResourceReference, + CloudError, + Resource, + Workflow, + Sku, + WorkflowParameter, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + WorkflowRunAction, + RetryHistory, + ErrorResponse, + ErrorProperties, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + KeyVaultReference, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/workflowTriggersMappers.ts b/sdk/logic/arm-logic/lib/models/workflowTriggersMappers.ts new file mode 100644 index 000000000000..9de06db817cb --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/workflowTriggersMappers.ts @@ -0,0 +1,112 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + WorkflowTriggerListResult, + WorkflowTrigger, + SubResource, + BaseResource, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + ResourceReference, + CloudError, + JsonSchema, + SetTriggerStateActionDefinition, + WorkflowTriggerCallbackUrl, + WorkflowTriggerListCallbackUrlQueries, + Resource, + Workflow, + Sku, + WorkflowParameter, + WorkflowVersion, + WorkflowTriggerHistory, + Correlation, + ContentLink, + ContentHash, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + WorkflowRunAction, + RetryHistory, + ErrorResponse, + ErrorProperties, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + KeyVaultReference, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/workflowVersionTriggersMappers.ts b/sdk/logic/arm-logic/lib/models/workflowVersionTriggersMappers.ts new file mode 100644 index 000000000000..c70ebc0fa46f --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/workflowVersionTriggersMappers.ts @@ -0,0 +1,17 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + GetCallbackUrlParameters, + WorkflowTriggerCallbackUrl, + WorkflowTriggerListCallbackUrlQueries, + CloudError +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/workflowVersionsMappers.ts b/sdk/logic/arm-logic/lib/models/workflowVersionsMappers.ts new file mode 100644 index 000000000000..6b0c14e69d6a --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/workflowVersionsMappers.ts @@ -0,0 +1,108 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + WorkflowVersionListResult, + WorkflowVersion, + Resource, + BaseResource, + Sku, + ResourceReference, + WorkflowParameter, + CloudError, + SubResource, + Workflow, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowTriggerHistory, + Correlation, + ContentLink, + ContentHash, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + WorkflowRunAction, + RetryHistory, + ErrorResponse, + ErrorProperties, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + KeyVaultReference, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/models/workflowsMappers.ts b/sdk/logic/arm-logic/lib/models/workflowsMappers.ts new file mode 100644 index 000000000000..3521ccd195c8 --- /dev/null +++ b/sdk/logic/arm-logic/lib/models/workflowsMappers.ts @@ -0,0 +1,113 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + WorkflowListResult, + Workflow, + Resource, + BaseResource, + Sku, + ResourceReference, + WorkflowParameter, + CloudError, + GenerateUpgradedDefinitionParameters, + GetCallbackUrlParameters, + WorkflowTriggerCallbackUrl, + WorkflowTriggerListCallbackUrlQueries, + RegenerateActionParameter, + SubResource, + WorkflowVersion, + WorkflowTrigger, + WorkflowTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WorkflowTriggerHistory, + Correlation, + ContentLink, + ContentHash, + WorkflowOutputParameter, + WorkflowRun, + WorkflowRunTrigger, + WorkflowRunAction, + RetryHistory, + ErrorResponse, + ErrorProperties, + IntegrationAccount, + IntegrationAccountSku, + IntegrationAccountSchema, + IntegrationAccountMap, + IntegrationAccountMapPropertiesParametersSchema, + IntegrationAccountPartner, + PartnerContent, + B2BPartnerContent, + BusinessIdentity, + IntegrationAccountAgreement, + AgreementContent, + AS2AgreementContent, + AS2OneWayAgreement, + AS2ProtocolSettings, + AS2MessageConnectionSettings, + AS2AcknowledgementConnectionSettings, + AS2MdnSettings, + AS2SecuritySettings, + AS2ValidationSettings, + AS2EnvelopeSettings, + AS2ErrorSettings, + X12AgreementContent, + X12OneWayAgreement, + X12ProtocolSettings, + X12ValidationSettings, + X12FramingSettings, + X12EnvelopeSettings, + X12AcknowledgementSettings, + X12MessageFilter, + X12SecuritySettings, + X12ProcessingSettings, + X12EnvelopeOverride, + X12ValidationOverride, + X12MessageIdentifier, + X12SchemaReference, + X12DelimiterOverrides, + EdifactAgreementContent, + EdifactOneWayAgreement, + EdifactProtocolSettings, + EdifactValidationSettings, + EdifactFramingSettings, + EdifactEnvelopeSettings, + EdifactAcknowledgementSettings, + EdifactMessageFilter, + EdifactProcessingSettings, + EdifactEnvelopeOverride, + EdifactMessageIdentifier, + EdifactSchemaReference, + EdifactValidationOverride, + EdifactDelimiterOverride, + IntegrationAccountCertificate, + KeyVaultKeyReference, + KeyVaultKeyReferenceKeyVault, + IntegrationAccountSession, + KeyVaultReference, + WorkflowRunActionRepetitionDefinition, + RunActionCorrelation, + RunCorrelation, + RepetitionIndex, + AssemblyDefinition, + AssemblyProperties, + ArtifactContentPropertiesDefinition, + ArtifactProperties, + BatchConfigurationProperties, + BatchReleaseCriteria, + BatchConfiguration, + RequestHistory, + RequestHistoryProperties, + Request, + Response +} from "../models/mappers"; + diff --git a/sdk/logic/arm-logic/lib/operations/index.ts b/sdk/logic/arm-logic/lib/operations/index.ts new file mode 100644 index 000000000000..f36d6f4f9a67 --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/index.ts @@ -0,0 +1,32 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export * from "./workflows"; +export * from "./workflowVersions"; +export * from "./workflowTriggers"; +export * from "./workflowVersionTriggers"; +export * from "./workflowTriggerHistories"; +export * from "./workflowRuns"; +export * from "./workflowRunActions"; +export * from "./workflowRunActionRepetitions"; +export * from "./workflowRunActionRepetitionsRequestHistories"; +export * from "./workflowRunActionRequestHistories"; +export * from "./workflowRunActionScopeRepetitions"; +export * from "./workflowRunOperations"; +export * from "./integrationAccounts"; +export * from "./integrationAccountAssemblies"; +export * from "./integrationAccountBatchConfigurations"; +export * from "./integrationAccountSchemas"; +export * from "./integrationAccountMaps"; +export * from "./integrationAccountPartners"; +export * from "./integrationAccountAgreements"; +export * from "./integrationAccountCertificates"; +export * from "./integrationAccountSessions"; +export * from "./operations"; diff --git a/sdk/logic/arm-logic/lib/operations/integrationAccountAgreements.ts b/sdk/logic/arm-logic/lib/operations/integrationAccountAgreements.ts new file mode 100644 index 000000000000..36da1800e26f --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/integrationAccountAgreements.ts @@ -0,0 +1,410 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/integrationAccountAgreementsMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a IntegrationAccountAgreements. */ +export class IntegrationAccountAgreements { + private readonly client: LogicManagementClientContext; + + /** + * Create a IntegrationAccountAgreements. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * Gets a list of integration account agreements. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountAgreementsListOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param callback The callback + */ + list(resourceGroupName: string, integrationAccountName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, integrationAccountName: string, options: Models.IntegrationAccountAgreementsListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountAgreementsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets an integration account agreement. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param agreementName The integration account agreement name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, integrationAccountName: string, agreementName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param agreementName The integration account agreement name. + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, agreementName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param agreementName The integration account agreement name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, agreementName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, integrationAccountName: string, agreementName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + agreementName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates an integration account agreement. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param agreementName The integration account agreement name. + * @param agreement The integration account agreement. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, agreementName: string, agreement: Models.IntegrationAccountAgreement, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param agreementName The integration account agreement name. + * @param agreement The integration account agreement. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, agreementName: string, agreement: Models.IntegrationAccountAgreement, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param agreementName The integration account agreement name. + * @param agreement The integration account agreement. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, agreementName: string, agreement: Models.IntegrationAccountAgreement, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, integrationAccountName: string, agreementName: string, agreement: Models.IntegrationAccountAgreement, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + agreementName, + agreement, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Deletes an integration account agreement. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param agreementName The integration account agreement name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, agreementName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param agreementName The integration account agreement name. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, agreementName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param agreementName The integration account agreement name. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, agreementName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, integrationAccountName: string, agreementName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + agreementName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Get the content callback url. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param agreementName The integration account agreement name. + * @param listContentCallbackUrlParameter + * @param [options] The optional parameters + * @returns Promise + */ + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, agreementName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param agreementName The integration account agreement name. + * @param listContentCallbackUrlParameter + * @param callback The callback + */ + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, agreementName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param agreementName The integration account agreement name. + * @param listContentCallbackUrlParameter + * @param options The optional parameters + * @param callback The callback + */ + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, agreementName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, agreementName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + agreementName, + listContentCallbackUrlParameter, + options + }, + listContentCallbackUrlOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of integration account agreements. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountAgreementListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements/{agreementName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.agreementName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountAgreement + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements/{agreementName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.agreementName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "agreement", + mapper: { + ...Mappers.IntegrationAccountAgreement, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountAgreement + }, + 201: { + bodyMapper: Mappers.IntegrationAccountAgreement + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements/{agreementName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.agreementName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listContentCallbackUrlOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements/{agreementName}/listContentCallbackUrl", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.agreementName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "listContentCallbackUrlParameter", + mapper: { + ...Mappers.GetCallbackUrlParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkflowTriggerCallbackUrl + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountAgreementListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/integrationAccountAssemblies.ts b/sdk/logic/arm-logic/lib/operations/integrationAccountAssemblies.ts new file mode 100644 index 000000000000..1fabdbf99098 --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/integrationAccountAssemblies.ts @@ -0,0 +1,348 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/integrationAccountAssembliesMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a IntegrationAccountAssemblies. */ +export class IntegrationAccountAssemblies { + private readonly client: LogicManagementClientContext; + + /** + * Create a IntegrationAccountAssemblies. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * List the assemblies for an integration account. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, integrationAccountName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param callback The callback + */ + list(resourceGroupName: string, integrationAccountName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, integrationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, integrationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get an assembly for an integration account. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param assemblyArtifactName The assembly artifact name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param assemblyArtifactName The assembly artifact name. + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param assemblyArtifactName The assembly artifact name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + assemblyArtifactName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Create or update an assembly for an integration account. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param assemblyArtifactName The assembly artifact name. + * @param assemblyArtifact The assembly artifact. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, assemblyArtifact: Models.AssemblyDefinition, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param assemblyArtifactName The assembly artifact name. + * @param assemblyArtifact The assembly artifact. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, assemblyArtifact: Models.AssemblyDefinition, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param assemblyArtifactName The assembly artifact name. + * @param assemblyArtifact The assembly artifact. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, assemblyArtifact: Models.AssemblyDefinition, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, assemblyArtifact: Models.AssemblyDefinition, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + assemblyArtifactName, + assemblyArtifact, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Delete an assembly for an integration account. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param assemblyArtifactName The assembly artifact name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param assemblyArtifactName The assembly artifact name. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param assemblyArtifactName The assembly artifact name. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + assemblyArtifactName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Get the content callback url for an integration account assembly. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param assemblyArtifactName The assembly artifact name. + * @param [options] The optional parameters + * @returns Promise + */ + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param assemblyArtifactName The assembly artifact name. + * @param callback The callback + */ + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param assemblyArtifactName The assembly artifact name. + * @param options The optional parameters + * @param callback The callback + */ + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, assemblyArtifactName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + assemblyArtifactName, + options + }, + listContentCallbackUrlOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/assemblies", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.AssemblyCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/assemblies/{assemblyArtifactName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.assemblyArtifactName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.AssemblyDefinition + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/assemblies/{assemblyArtifactName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.assemblyArtifactName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "assemblyArtifact", + mapper: { + ...Mappers.AssemblyDefinition, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.AssemblyDefinition + }, + 201: { + bodyMapper: Mappers.AssemblyDefinition + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/assemblies/{assemblyArtifactName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.assemblyArtifactName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listContentCallbackUrlOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/assemblies/{assemblyArtifactName}/listContentCallbackUrl", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.assemblyArtifactName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowTriggerCallbackUrl + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/integrationAccountBatchConfigurations.ts b/sdk/logic/arm-logic/lib/operations/integrationAccountBatchConfigurations.ts new file mode 100644 index 000000000000..492d52ef44aa --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/integrationAccountBatchConfigurations.ts @@ -0,0 +1,286 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/integrationAccountBatchConfigurationsMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a IntegrationAccountBatchConfigurations. */ +export class IntegrationAccountBatchConfigurations { + private readonly client: LogicManagementClientContext; + + /** + * Create a IntegrationAccountBatchConfigurations. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * List the batch configurations for an integration account. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, integrationAccountName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param callback The callback + */ + list(resourceGroupName: string, integrationAccountName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, integrationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, integrationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get a batch configuration for an integration account. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param batchConfigurationName The batch configuration name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param batchConfigurationName The batch configuration name. + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param batchConfigurationName The batch configuration name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + batchConfigurationName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Create or update a batch configuration for an integration account. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param batchConfigurationName The batch configuration name. + * @param batchConfiguration The batch configuration. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, batchConfiguration: Models.BatchConfiguration, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param batchConfigurationName The batch configuration name. + * @param batchConfiguration The batch configuration. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, batchConfiguration: Models.BatchConfiguration, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param batchConfigurationName The batch configuration name. + * @param batchConfiguration The batch configuration. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, batchConfiguration: Models.BatchConfiguration, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, batchConfiguration: Models.BatchConfiguration, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + batchConfigurationName, + batchConfiguration, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Delete a batch configuration for an integration account. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param batchConfigurationName The batch configuration name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param batchConfigurationName The batch configuration name. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param batchConfigurationName The batch configuration name. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, integrationAccountName: string, batchConfigurationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + batchConfigurationName, + options + }, + deleteMethodOperationSpec, + callback); + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/batchConfigurations", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.BatchConfigurationCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/batchConfigurations/{batchConfigurationName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.batchConfigurationName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.BatchConfiguration + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/batchConfigurations/{batchConfigurationName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.batchConfigurationName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "batchConfiguration", + mapper: { + ...Mappers.BatchConfiguration, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.BatchConfiguration + }, + 201: { + bodyMapper: Mappers.BatchConfiguration + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/batchConfigurations/{batchConfigurationName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.batchConfigurationName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/integrationAccountCertificates.ts b/sdk/logic/arm-logic/lib/operations/integrationAccountCertificates.ts new file mode 100644 index 000000000000..c609806be8e2 --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/integrationAccountCertificates.ts @@ -0,0 +1,336 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/integrationAccountCertificatesMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a IntegrationAccountCertificates. */ +export class IntegrationAccountCertificates { + private readonly client: LogicManagementClientContext; + + /** + * Create a IntegrationAccountCertificates. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * Gets a list of integration account certificates. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountCertificatesListOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param callback The callback + */ + list(resourceGroupName: string, integrationAccountName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, integrationAccountName: string, options: Models.IntegrationAccountCertificatesListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountCertificatesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets an integration account certificate. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param certificateName The integration account certificate name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, integrationAccountName: string, certificateName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param certificateName The integration account certificate name. + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, certificateName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param certificateName The integration account certificate name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, integrationAccountName: string, certificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + certificateName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates an integration account certificate. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param certificateName The integration account certificate name. + * @param certificate The integration account certificate. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, certificateName: string, certificate: Models.IntegrationAccountCertificate, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param certificateName The integration account certificate name. + * @param certificate The integration account certificate. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, certificateName: string, certificate: Models.IntegrationAccountCertificate, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param certificateName The integration account certificate name. + * @param certificate The integration account certificate. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, certificateName: string, certificate: Models.IntegrationAccountCertificate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, integrationAccountName: string, certificateName: string, certificate: Models.IntegrationAccountCertificate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + certificateName, + certificate, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Deletes an integration account certificate. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param certificateName The integration account certificate name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, certificateName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param certificateName The integration account certificate name. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, certificateName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param certificateName The integration account certificate name. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, integrationAccountName: string, certificateName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + certificateName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Gets a list of integration account certificates. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.top + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountCertificateListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates/{certificateName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.certificateName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountCertificate + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates/{certificateName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.certificateName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "certificate", + mapper: { + ...Mappers.IntegrationAccountCertificate, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountCertificate + }, + 201: { + bodyMapper: Mappers.IntegrationAccountCertificate + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates/{certificateName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.certificateName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountCertificateListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/integrationAccountMaps.ts b/sdk/logic/arm-logic/lib/operations/integrationAccountMaps.ts new file mode 100644 index 000000000000..2dce039eaee2 --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/integrationAccountMaps.ts @@ -0,0 +1,410 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/integrationAccountMapsMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a IntegrationAccountMaps. */ +export class IntegrationAccountMaps { + private readonly client: LogicManagementClientContext; + + /** + * Create a IntegrationAccountMaps. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * Gets a list of integration account maps. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountMapsListOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param callback The callback + */ + list(resourceGroupName: string, integrationAccountName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, integrationAccountName: string, options: Models.IntegrationAccountMapsListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountMapsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets an integration account map. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param mapName The integration account map name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, integrationAccountName: string, mapName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param mapName The integration account map name. + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, mapName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param mapName The integration account map name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, mapName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, integrationAccountName: string, mapName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + mapName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates an integration account map. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param mapName The integration account map name. + * @param map The integration account map. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, mapName: string, map: Models.IntegrationAccountMap, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param mapName The integration account map name. + * @param map The integration account map. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, mapName: string, map: Models.IntegrationAccountMap, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param mapName The integration account map name. + * @param map The integration account map. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, mapName: string, map: Models.IntegrationAccountMap, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, integrationAccountName: string, mapName: string, map: Models.IntegrationAccountMap, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + mapName, + map, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Deletes an integration account map. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param mapName The integration account map name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, mapName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param mapName The integration account map name. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, mapName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param mapName The integration account map name. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, mapName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, integrationAccountName: string, mapName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + mapName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Get the content callback url. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param mapName The integration account map name. + * @param listContentCallbackUrlParameter + * @param [options] The optional parameters + * @returns Promise + */ + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, mapName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param mapName The integration account map name. + * @param listContentCallbackUrlParameter + * @param callback The callback + */ + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, mapName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param mapName The integration account map name. + * @param listContentCallbackUrlParameter + * @param options The optional parameters + * @param callback The callback + */ + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, mapName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, mapName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + mapName, + listContentCallbackUrlParameter, + options + }, + listContentCallbackUrlOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of integration account maps. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountMapListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps/{mapName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.mapName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountMap + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps/{mapName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.mapName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "map", + mapper: { + ...Mappers.IntegrationAccountMap, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountMap + }, + 201: { + bodyMapper: Mappers.IntegrationAccountMap + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps/{mapName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.mapName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listContentCallbackUrlOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps/{mapName}/listContentCallbackUrl", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.mapName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "listContentCallbackUrlParameter", + mapper: { + ...Mappers.GetCallbackUrlParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkflowTriggerCallbackUrl + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountMapListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/integrationAccountPartners.ts b/sdk/logic/arm-logic/lib/operations/integrationAccountPartners.ts new file mode 100644 index 000000000000..b0008cfbbc58 --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/integrationAccountPartners.ts @@ -0,0 +1,410 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/integrationAccountPartnersMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a IntegrationAccountPartners. */ +export class IntegrationAccountPartners { + private readonly client: LogicManagementClientContext; + + /** + * Create a IntegrationAccountPartners. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * Gets a list of integration account partners. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountPartnersListOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param callback The callback + */ + list(resourceGroupName: string, integrationAccountName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, integrationAccountName: string, options: Models.IntegrationAccountPartnersListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountPartnersListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets an integration account partner. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param partnerName The integration account partner name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, integrationAccountName: string, partnerName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param partnerName The integration account partner name. + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, partnerName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param partnerName The integration account partner name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, partnerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, integrationAccountName: string, partnerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + partnerName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates an integration account partner. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param partnerName The integration account partner name. + * @param partner The integration account partner. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, partnerName: string, partner: Models.IntegrationAccountPartner, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param partnerName The integration account partner name. + * @param partner The integration account partner. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, partnerName: string, partner: Models.IntegrationAccountPartner, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param partnerName The integration account partner name. + * @param partner The integration account partner. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, partnerName: string, partner: Models.IntegrationAccountPartner, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, integrationAccountName: string, partnerName: string, partner: Models.IntegrationAccountPartner, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + partnerName, + partner, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Deletes an integration account partner. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param partnerName The integration account partner name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, partnerName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param partnerName The integration account partner name. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, partnerName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param partnerName The integration account partner name. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, partnerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, integrationAccountName: string, partnerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + partnerName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Get the content callback url. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param partnerName The integration account partner name. + * @param listContentCallbackUrlParameter + * @param [options] The optional parameters + * @returns Promise + */ + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, partnerName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param partnerName The integration account partner name. + * @param listContentCallbackUrlParameter + * @param callback The callback + */ + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, partnerName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param partnerName The integration account partner name. + * @param listContentCallbackUrlParameter + * @param options The optional parameters + * @param callback The callback + */ + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, partnerName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, partnerName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + partnerName, + listContentCallbackUrlParameter, + options + }, + listContentCallbackUrlOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of integration account partners. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountPartnerListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.partnerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountPartner + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.partnerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "partner", + mapper: { + ...Mappers.IntegrationAccountPartner, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountPartner + }, + 201: { + bodyMapper: Mappers.IntegrationAccountPartner + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.partnerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listContentCallbackUrlOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}/listContentCallbackUrl", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.partnerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "listContentCallbackUrlParameter", + mapper: { + ...Mappers.GetCallbackUrlParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkflowTriggerCallbackUrl + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountPartnerListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/integrationAccountSchemas.ts b/sdk/logic/arm-logic/lib/operations/integrationAccountSchemas.ts new file mode 100644 index 000000000000..3e3ad4e08da5 --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/integrationAccountSchemas.ts @@ -0,0 +1,410 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/integrationAccountSchemasMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a IntegrationAccountSchemas. */ +export class IntegrationAccountSchemas { + private readonly client: LogicManagementClientContext; + + /** + * Create a IntegrationAccountSchemas. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * Gets a list of integration account schemas. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountSchemasListOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param callback The callback + */ + list(resourceGroupName: string, integrationAccountName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, integrationAccountName: string, options: Models.IntegrationAccountSchemasListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountSchemasListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets an integration account schema. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param schemaName The integration account schema name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, integrationAccountName: string, schemaName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param schemaName The integration account schema name. + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, schemaName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param schemaName The integration account schema name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, schemaName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, integrationAccountName: string, schemaName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + schemaName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates an integration account schema. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param schemaName The integration account schema name. + * @param schema The integration account schema. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, schemaName: string, schema: Models.IntegrationAccountSchema, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param schemaName The integration account schema name. + * @param schema The integration account schema. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, schemaName: string, schema: Models.IntegrationAccountSchema, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param schemaName The integration account schema name. + * @param schema The integration account schema. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, schemaName: string, schema: Models.IntegrationAccountSchema, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, integrationAccountName: string, schemaName: string, schema: Models.IntegrationAccountSchema, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + schemaName, + schema, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Deletes an integration account schema. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param schemaName The integration account schema name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, schemaName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param schemaName The integration account schema name. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, schemaName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param schemaName The integration account schema name. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, schemaName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, integrationAccountName: string, schemaName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + schemaName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Get the content callback url. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param schemaName The integration account schema name. + * @param listContentCallbackUrlParameter + * @param [options] The optional parameters + * @returns Promise + */ + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, schemaName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param schemaName The integration account schema name. + * @param listContentCallbackUrlParameter + * @param callback The callback + */ + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, schemaName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param schemaName The integration account schema name. + * @param listContentCallbackUrlParameter + * @param options The optional parameters + * @param callback The callback + */ + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, schemaName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listContentCallbackUrl(resourceGroupName: string, integrationAccountName: string, schemaName: string, listContentCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + schemaName, + listContentCallbackUrlParameter, + options + }, + listContentCallbackUrlOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of integration account schemas. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountSchemaListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas/{schemaName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.schemaName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountSchema + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas/{schemaName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.schemaName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "schema", + mapper: { + ...Mappers.IntegrationAccountSchema, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountSchema + }, + 201: { + bodyMapper: Mappers.IntegrationAccountSchema + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas/{schemaName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.schemaName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listContentCallbackUrlOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas/{schemaName}/listContentCallbackUrl", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.schemaName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "listContentCallbackUrlParameter", + mapper: { + ...Mappers.GetCallbackUrlParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkflowTriggerCallbackUrl + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountSchemaListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/integrationAccountSessions.ts b/sdk/logic/arm-logic/lib/operations/integrationAccountSessions.ts new file mode 100644 index 000000000000..92ff734dffff --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/integrationAccountSessions.ts @@ -0,0 +1,337 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/integrationAccountSessionsMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a IntegrationAccountSessions. */ +export class IntegrationAccountSessions { + private readonly client: LogicManagementClientContext; + + /** + * Create a IntegrationAccountSessions. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * Gets a list of integration account sessions. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountSessionsListOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param callback The callback + */ + list(resourceGroupName: string, integrationAccountName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, integrationAccountName: string, options: Models.IntegrationAccountSessionsListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, integrationAccountName: string, options?: Models.IntegrationAccountSessionsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets an integration account session. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param sessionName The integration account session name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, integrationAccountName: string, sessionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param sessionName The integration account session name. + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, sessionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param sessionName The integration account session name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, sessionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, integrationAccountName: string, sessionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + sessionName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates an integration account session. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param sessionName The integration account session name. + * @param session The integration account session. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, sessionName: string, session: Models.IntegrationAccountSession, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param sessionName The integration account session name. + * @param session The integration account session. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, sessionName: string, session: Models.IntegrationAccountSession, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param sessionName The integration account session name. + * @param session The integration account session. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, sessionName: string, session: Models.IntegrationAccountSession, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, integrationAccountName: string, sessionName: string, session: Models.IntegrationAccountSession, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + sessionName, + session, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Deletes an integration account session. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param sessionName The integration account session name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, sessionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param sessionName The integration account session name. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, sessionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param sessionName The integration account session name. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, sessionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, integrationAccountName: string, sessionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + sessionName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Gets a list of integration account sessions. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/sessions", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountSessionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/sessions/{sessionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.sessionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountSession + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/sessions/{sessionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.sessionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "session", + mapper: { + ...Mappers.IntegrationAccountSession, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountSession + }, + 201: { + bodyMapper: Mappers.IntegrationAccountSession + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/sessions/{sessionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName, + Parameters.sessionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountSessionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/integrationAccounts.ts b/sdk/logic/arm-logic/lib/operations/integrationAccounts.ts new file mode 100644 index 000000000000..027e7d3fb636 --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/integrationAccounts.ts @@ -0,0 +1,751 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/integrationAccountsMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a IntegrationAccounts. */ +export class IntegrationAccounts { + private readonly client: LogicManagementClientContext; + + /** + * Create a IntegrationAccounts. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * Gets a list of integration accounts by subscription. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: Models.IntegrationAccountsListBySubscriptionOptionalParams): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: Models.IntegrationAccountsListBySubscriptionOptionalParams, callback: msRest.ServiceCallback): void; + listBySubscription(options?: Models.IntegrationAccountsListBySubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of integration accounts by resource group. + * @param resourceGroupName The resource group name. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: Models.IntegrationAccountsListByResourceGroupOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: Models.IntegrationAccountsListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: Models.IntegrationAccountsListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Gets an integration account. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, integrationAccountName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, integrationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, integrationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates an integration account. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param integrationAccount The integration account. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, integrationAccount: Models.IntegrationAccount, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param integrationAccount The integration account. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, integrationAccount: Models.IntegrationAccount, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param integrationAccount The integration account. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, integrationAccountName: string, integrationAccount: Models.IntegrationAccount, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, integrationAccountName: string, integrationAccount: Models.IntegrationAccount, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + integrationAccount, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Updates an integration account. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param integrationAccount The integration account. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, integrationAccountName: string, integrationAccount: Models.IntegrationAccount, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param integrationAccount The integration account. + * @param callback The callback + */ + update(resourceGroupName: string, integrationAccountName: string, integrationAccount: Models.IntegrationAccount, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param integrationAccount The integration account. + * @param options The optional parameters + * @param callback The callback + */ + update(resourceGroupName: string, integrationAccountName: string, integrationAccount: Models.IntegrationAccount, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, integrationAccountName: string, integrationAccount: Models.IntegrationAccount, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + integrationAccount, + options + }, + updateOperationSpec, + callback) as Promise; + } + + /** + * Deletes an integration account. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, integrationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, integrationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Gets the integration account callback URL. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param parameters The callback URL parameters. + * @param [options] The optional parameters + * @returns Promise + */ + listCallbackUrl(resourceGroupName: string, integrationAccountName: string, parameters: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param parameters The callback URL parameters. + * @param callback The callback + */ + listCallbackUrl(resourceGroupName: string, integrationAccountName: string, parameters: Models.GetCallbackUrlParameters, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param parameters The callback URL parameters. + * @param options The optional parameters + * @param callback The callback + */ + listCallbackUrl(resourceGroupName: string, integrationAccountName: string, parameters: Models.GetCallbackUrlParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listCallbackUrl(resourceGroupName: string, integrationAccountName: string, parameters: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + parameters, + options + }, + listCallbackUrlOperationSpec, + callback) as Promise; + } + + /** + * Gets the integration account's Key Vault keys. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param listKeyVaultKeysParameter The key vault parameters. + * @param [options] The optional parameters + * @returns Promise + */ + listKeyVaultKeys(resourceGroupName: string, integrationAccountName: string, listKeyVaultKeysParameter: Models.ListKeyVaultKeysDefinition, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param listKeyVaultKeysParameter The key vault parameters. + * @param callback The callback + */ + listKeyVaultKeys(resourceGroupName: string, integrationAccountName: string, listKeyVaultKeysParameter: Models.ListKeyVaultKeysDefinition, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param listKeyVaultKeysParameter The key vault parameters. + * @param options The optional parameters + * @param callback The callback + */ + listKeyVaultKeys(resourceGroupName: string, integrationAccountName: string, listKeyVaultKeysParameter: Models.ListKeyVaultKeysDefinition, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listKeyVaultKeys(resourceGroupName: string, integrationAccountName: string, listKeyVaultKeysParameter: Models.ListKeyVaultKeysDefinition, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + listKeyVaultKeysParameter, + options + }, + listKeyVaultKeysOperationSpec, + callback) as Promise; + } + + /** + * Logs the integration account's tracking events. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param logTrackingEventsParameter The callback URL parameters. + * @param [options] The optional parameters + * @returns Promise + */ + logTrackingEvents(resourceGroupName: string, integrationAccountName: string, logTrackingEventsParameter: Models.TrackingEventsDefinition, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param logTrackingEventsParameter The callback URL parameters. + * @param callback The callback + */ + logTrackingEvents(resourceGroupName: string, integrationAccountName: string, logTrackingEventsParameter: Models.TrackingEventsDefinition, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param logTrackingEventsParameter The callback URL parameters. + * @param options The optional parameters + * @param callback The callback + */ + logTrackingEvents(resourceGroupName: string, integrationAccountName: string, logTrackingEventsParameter: Models.TrackingEventsDefinition, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + logTrackingEvents(resourceGroupName: string, integrationAccountName: string, logTrackingEventsParameter: Models.TrackingEventsDefinition, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + logTrackingEventsParameter, + options + }, + logTrackingEventsOperationSpec, + callback); + } + + /** + * Regenerates the integration account access key. + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param regenerateAccessKeyParameter The access key type. + * @param [options] The optional parameters + * @returns Promise + */ + regenerateAccessKey(resourceGroupName: string, integrationAccountName: string, regenerateAccessKeyParameter: Models.RegenerateActionParameter, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param regenerateAccessKeyParameter The access key type. + * @param callback The callback + */ + regenerateAccessKey(resourceGroupName: string, integrationAccountName: string, regenerateAccessKeyParameter: Models.RegenerateActionParameter, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param integrationAccountName The integration account name. + * @param regenerateAccessKeyParameter The access key type. + * @param options The optional parameters + * @param callback The callback + */ + regenerateAccessKey(resourceGroupName: string, integrationAccountName: string, regenerateAccessKeyParameter: Models.RegenerateActionParameter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + regenerateAccessKey(resourceGroupName: string, integrationAccountName: string, regenerateAccessKeyParameter: Models.RegenerateActionParameter, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + integrationAccountName, + regenerateAccessKeyParameter, + options + }, + regenerateAccessKeyOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of integration accounts by subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of integration accounts by resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Logic/integrationAccounts", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.top + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.top + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccount + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "integrationAccount", + mapper: { + ...Mappers.IntegrationAccount, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccount + }, + 201: { + bodyMapper: Mappers.IntegrationAccount + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "integrationAccount", + mapper: { + ...Mappers.IntegrationAccount, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccount + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listCallbackUrlOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/listCallbackUrl", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.GetCallbackUrlParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.CallbackUrl + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listKeyVaultKeysOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/listKeyVaultKeys", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "listKeyVaultKeysParameter", + mapper: { + ...Mappers.ListKeyVaultKeysDefinition, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.KeyVaultKeyCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const logTrackingEventsOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/logTrackingEvents", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "logTrackingEventsParameter", + mapper: { + ...Mappers.TrackingEventsDefinition, + required: true + } + }, + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const regenerateAccessKeyOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/regenerateAccessKey", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.integrationAccountName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "regenerateAccessKeyParameter", + mapper: { + ...Mappers.RegenerateActionParameter, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccount + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationAccountListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/operations.ts b/sdk/logic/arm-logic/lib/operations/operations.ts new file mode 100644 index 000000000000..f9fe6f12ceb2 --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/operations.ts @@ -0,0 +1,123 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/operationsMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a Operations. */ +export class Operations { + private readonly client: LogicManagementClientContext; + + /** + * Create a Operations. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * Lists all of the available Logic REST API operations. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Lists all of the available Logic REST API operations. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "providers/Microsoft.Logic/operations", + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OperationListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OperationListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/workflowRunActionRepetitions.ts b/sdk/logic/arm-logic/lib/operations/workflowRunActionRepetitions.ts new file mode 100644 index 000000000000..704d646fc81d --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/workflowRunActionRepetitions.ts @@ -0,0 +1,241 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workflowRunActionRepetitionsMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a WorkflowRunActionRepetitions. */ +export class WorkflowRunActionRepetitions { + private readonly client: LogicManagementClientContext; + + /** + * Create a WorkflowRunActionRepetitions. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * Get all of a workflow run action repetitions. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + runName, + actionName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get a workflow run action repetition. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param repetitionName The workflow repetition. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param repetitionName The workflow repetition. + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param repetitionName The workflow repetition. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + runName, + actionName, + repetitionName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists a workflow run expression trace. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param repetitionName The workflow repetition. + * @param [options] The optional parameters + * @returns Promise + */ + listExpressionTraces(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param repetitionName The workflow repetition. + * @param callback The callback + */ + listExpressionTraces(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param repetitionName The workflow repetition. + * @param options The optional parameters + * @param callback The callback + */ + listExpressionTraces(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listExpressionTraces(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + runName, + actionName, + repetitionName, + options + }, + listExpressionTracesOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.runName, + Parameters.actionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowRunActionRepetitionDefinitionCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.runName, + Parameters.actionName, + Parameters.repetitionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowRunActionRepetitionDefinition + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listExpressionTracesOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/listExpressionTraces", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.runName, + Parameters.actionName, + Parameters.repetitionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ExpressionTraces + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/workflowRunActionRepetitionsRequestHistories.ts b/sdk/logic/arm-logic/lib/operations/workflowRunActionRepetitionsRequestHistories.ts new file mode 100644 index 000000000000..c4515afbc845 --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/workflowRunActionRepetitionsRequestHistories.ts @@ -0,0 +1,228 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workflowRunActionRepetitionsRequestHistoriesMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a WorkflowRunActionRepetitionsRequestHistories. */ +export class WorkflowRunActionRepetitionsRequestHistories { + private readonly client: LogicManagementClientContext; + + /** + * Create a WorkflowRunActionRepetitionsRequestHistories. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * List a workflow run repetition request history. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param repetitionName The workflow repetition. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param repetitionName The workflow repetition. + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param repetitionName The workflow repetition. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + runName, + actionName, + repetitionName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets a workflow run repetition request history. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param repetitionName The workflow repetition. + * @param requestHistoryName The request history name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, requestHistoryName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param repetitionName The workflow repetition. + * @param requestHistoryName The request history name. + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, requestHistoryName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param repetitionName The workflow repetition. + * @param requestHistoryName The request history name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, requestHistoryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, requestHistoryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + runName, + actionName, + repetitionName, + requestHistoryName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * List a workflow run repetition request history. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.runName, + Parameters.actionName, + Parameters.repetitionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RequestHistoryListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories/{requestHistoryName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.runName, + Parameters.actionName, + Parameters.repetitionName, + Parameters.requestHistoryName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RequestHistory + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RequestHistoryListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/workflowRunActionRequestHistories.ts b/sdk/logic/arm-logic/lib/operations/workflowRunActionRequestHistories.ts new file mode 100644 index 000000000000..1bb67cb64254 --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/workflowRunActionRequestHistories.ts @@ -0,0 +1,218 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workflowRunActionRequestHistoriesMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a WorkflowRunActionRequestHistories. */ +export class WorkflowRunActionRequestHistories { + private readonly client: LogicManagementClientContext; + + /** + * Create a WorkflowRunActionRequestHistories. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * List a workflow run request history. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + runName, + actionName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets a workflow run request history. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param requestHistoryName The request history name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, requestHistoryName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param requestHistoryName The request history name. + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, requestHistoryName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param requestHistoryName The request history name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, requestHistoryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, requestHistoryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + runName, + actionName, + requestHistoryName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * List a workflow run request history. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/requestHistories", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.runName, + Parameters.actionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RequestHistoryListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/requestHistories/{requestHistoryName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.runName, + Parameters.actionName, + Parameters.requestHistoryName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RequestHistory + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RequestHistoryListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/workflowRunActionScopeRepetitions.ts b/sdk/logic/arm-logic/lib/operations/workflowRunActionScopeRepetitions.ts new file mode 100644 index 000000000000..a68595404ee8 --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/workflowRunActionScopeRepetitions.ts @@ -0,0 +1,169 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workflowRunActionScopeRepetitionsMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a WorkflowRunActionScopeRepetitions. */ +export class WorkflowRunActionScopeRepetitions { + private readonly client: LogicManagementClientContext; + + /** + * Create a WorkflowRunActionScopeRepetitions. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * List the workflow run action scoped repetitions. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + runName, + actionName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get a workflow run action scoped repetition. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param repetitionName The workflow repetition. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param repetitionName The workflow repetition. + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param repetitionName The workflow repetition. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, repetitionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + runName, + actionName, + repetitionName, + options + }, + getOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.runName, + Parameters.actionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowRunActionRepetitionDefinitionCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions/{repetitionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.runName, + Parameters.actionName, + Parameters.repetitionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowRunActionRepetitionDefinition + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/workflowRunActions.ts b/sdk/logic/arm-logic/lib/operations/workflowRunActions.ts new file mode 100644 index 000000000000..4a00187c5ad4 --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/workflowRunActions.ts @@ -0,0 +1,277 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workflowRunActionsMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a WorkflowRunActions. */ +export class WorkflowRunActions { + private readonly client: LogicManagementClientContext; + + /** + * Create a WorkflowRunActions. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * Gets a list of workflow run actions. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, workflowName: string, runName: string, options?: Models.WorkflowRunActionsListOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, runName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, runName: string, options: Models.WorkflowRunActionsListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workflowName: string, runName: string, options?: Models.WorkflowRunActionsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + runName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets a workflow run action. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + runName, + actionName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists a workflow run expression trace. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param [options] The optional parameters + * @returns Promise + */ + listExpressionTraces(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param callback The callback + */ + listExpressionTraces(resourceGroupName: string, workflowName: string, runName: string, actionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param actionName The workflow action name. + * @param options The optional parameters + * @param callback The callback + */ + listExpressionTraces(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listExpressionTraces(resourceGroupName: string, workflowName: string, runName: string, actionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + runName, + actionName, + options + }, + listExpressionTracesOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of workflow run actions. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.runName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowRunActionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.runName, + Parameters.actionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowRunAction + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listExpressionTracesOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/listExpressionTraces", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.runName, + Parameters.actionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ExpressionTraces + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowRunActionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/workflowRunOperations.ts b/sdk/logic/arm-logic/lib/operations/workflowRunOperations.ts new file mode 100644 index 000000000000..15d2d4fd4f0a --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/workflowRunOperations.ts @@ -0,0 +1,97 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workflowRunOperationsMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a WorkflowRunOperations. */ +export class WorkflowRunOperations { + private readonly client: LogicManagementClientContext; + + /** + * Create a WorkflowRunOperations. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * Gets an operation for a run. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param operationId The workflow operation id. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workflowName: string, runName: string, operationId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param operationId The workflow operation id. + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, runName: string, operationId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param operationId The workflow operation id. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, runName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workflowName: string, runName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + runName, + operationId, + options + }, + getOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/operations/{operationId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.runName, + Parameters.operationId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowRun + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/workflowRuns.ts b/sdk/logic/arm-logic/lib/operations/workflowRuns.ts new file mode 100644 index 000000000000..3404150fa152 --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/workflowRuns.ts @@ -0,0 +1,321 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workflowRunsMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a WorkflowRuns. */ +export class WorkflowRuns { + private readonly client: LogicManagementClientContext; + + /** + * Create a WorkflowRuns. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * Gets a list of workflow runs. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, workflowName: string, options?: Models.WorkflowRunsListOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, options: Models.WorkflowRunsListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workflowName: string, options?: Models.WorkflowRunsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets a workflow run. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workflowName: string, runName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, runName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, runName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workflowName: string, runName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + runName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Deletes a workflow run. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, workflowName: string, runName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, workflowName: string, runName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, workflowName: string, runName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, workflowName: string, runName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + runName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Cancels a workflow run. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param [options] The optional parameters + * @returns Promise + */ + cancel(resourceGroupName: string, workflowName: string, runName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param callback The callback + */ + cancel(resourceGroupName: string, workflowName: string, runName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param runName The workflow run name. + * @param options The optional parameters + * @param callback The callback + */ + cancel(resourceGroupName: string, workflowName: string, runName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + cancel(resourceGroupName: string, workflowName: string, runName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + runName, + options + }, + cancelOperationSpec, + callback); + } + + /** + * Gets a list of workflow runs. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowRunListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.runName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowRun + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.runName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const cancelOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/cancel", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.runName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowRunListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/workflowTriggerHistories.ts b/sdk/logic/arm-logic/lib/operations/workflowTriggerHistories.ts new file mode 100644 index 000000000000..48a550253c78 --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/workflowTriggerHistories.ts @@ -0,0 +1,281 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workflowTriggerHistoriesMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a WorkflowTriggerHistories. */ +export class WorkflowTriggerHistories { + private readonly client: LogicManagementClientContext; + + /** + * Create a WorkflowTriggerHistories. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * Gets a list of workflow trigger histories. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, workflowName: string, triggerName: string, options?: Models.WorkflowTriggerHistoriesListOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, triggerName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, triggerName: string, options: Models.WorkflowTriggerHistoriesListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workflowName: string, triggerName: string, options?: Models.WorkflowTriggerHistoriesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + triggerName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets a workflow trigger history. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param historyName The workflow trigger history name. Corresponds to the run name for triggers + * that resulted in a run. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workflowName: string, triggerName: string, historyName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param historyName The workflow trigger history name. Corresponds to the run name for triggers + * that resulted in a run. + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, triggerName: string, historyName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param historyName The workflow trigger history name. Corresponds to the run name for triggers + * that resulted in a run. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, triggerName: string, historyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workflowName: string, triggerName: string, historyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + triggerName, + historyName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Resubmits a workflow run based on the trigger history. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param historyName The workflow trigger history name. Corresponds to the run name for triggers + * that resulted in a run. + * @param [options] The optional parameters + * @returns Promise + */ + resubmit(resourceGroupName: string, workflowName: string, triggerName: string, historyName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param historyName The workflow trigger history name. Corresponds to the run name for triggers + * that resulted in a run. + * @param callback The callback + */ + resubmit(resourceGroupName: string, workflowName: string, triggerName: string, historyName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param historyName The workflow trigger history name. Corresponds to the run name for triggers + * that resulted in a run. + * @param options The optional parameters + * @param callback The callback + */ + resubmit(resourceGroupName: string, workflowName: string, triggerName: string, historyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + resubmit(resourceGroupName: string, workflowName: string, triggerName: string, historyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + triggerName, + historyName, + options + }, + resubmitOperationSpec, + callback); + } + + /** + * Gets a list of workflow trigger histories. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/histories", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.triggerName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowTriggerHistoryListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/histories/{historyName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.triggerName, + Parameters.historyName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowTriggerHistory + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const resubmitOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/histories/{historyName}/resubmit", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.triggerName, + Parameters.historyName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowTriggerHistoryListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/workflowTriggers.ts b/sdk/logic/arm-logic/lib/operations/workflowTriggers.ts new file mode 100644 index 000000000000..7d5f04edb816 --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/workflowTriggers.ts @@ -0,0 +1,519 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workflowTriggersMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a WorkflowTriggers. */ +export class WorkflowTriggers { + private readonly client: LogicManagementClientContext; + + /** + * Create a WorkflowTriggers. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * Gets a list of workflow triggers. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, workflowName: string, options?: Models.WorkflowTriggersListOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, options: Models.WorkflowTriggersListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workflowName: string, options?: Models.WorkflowTriggersListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets a workflow trigger. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, triggerName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, triggerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + triggerName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Resets a workflow trigger. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param [options] The optional parameters + * @returns Promise + */ + reset(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param callback The callback + */ + reset(resourceGroupName: string, workflowName: string, triggerName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param options The optional parameters + * @param callback The callback + */ + reset(resourceGroupName: string, workflowName: string, triggerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + reset(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + triggerName, + options + }, + resetOperationSpec, + callback); + } + + /** + * Runs a workflow trigger. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param [options] The optional parameters + * @returns Promise + */ + run(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param callback The callback + */ + run(resourceGroupName: string, workflowName: string, triggerName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param options The optional parameters + * @param callback The callback + */ + run(resourceGroupName: string, workflowName: string, triggerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + run(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + triggerName, + options + }, + runOperationSpec, + callback) as Promise; + } + + /** + * Get the trigger schema as JSON. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param [options] The optional parameters + * @returns Promise + */ + getSchemaJson(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param callback The callback + */ + getSchemaJson(resourceGroupName: string, workflowName: string, triggerName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param options The optional parameters + * @param callback The callback + */ + getSchemaJson(resourceGroupName: string, workflowName: string, triggerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSchemaJson(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + triggerName, + options + }, + getSchemaJsonOperationSpec, + callback) as Promise; + } + + /** + * Sets the state of a workflow trigger. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param setStateParameter The workflow trigger state. + * @param [options] The optional parameters + * @returns Promise + */ + setState(resourceGroupName: string, workflowName: string, triggerName: string, setStateParameter: Models.SetTriggerStateActionDefinition, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param setStateParameter The workflow trigger state. + * @param callback The callback + */ + setState(resourceGroupName: string, workflowName: string, triggerName: string, setStateParameter: Models.SetTriggerStateActionDefinition, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param setStateParameter The workflow trigger state. + * @param options The optional parameters + * @param callback The callback + */ + setState(resourceGroupName: string, workflowName: string, triggerName: string, setStateParameter: Models.SetTriggerStateActionDefinition, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + setState(resourceGroupName: string, workflowName: string, triggerName: string, setStateParameter: Models.SetTriggerStateActionDefinition, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + triggerName, + setStateParameter, + options + }, + setStateOperationSpec, + callback); + } + + /** + * Get the callback URL for a workflow trigger. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param [options] The optional parameters + * @returns Promise + */ + listCallbackUrl(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param callback The callback + */ + listCallbackUrl(resourceGroupName: string, workflowName: string, triggerName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param triggerName The workflow trigger name. + * @param options The optional parameters + * @param callback The callback + */ + listCallbackUrl(resourceGroupName: string, workflowName: string, triggerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listCallbackUrl(resourceGroupName: string, workflowName: string, triggerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + triggerName, + options + }, + listCallbackUrlOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of workflow triggers. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowTriggerListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.triggerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowTrigger + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const resetOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/reset", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.triggerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const runOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/run", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.triggerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + default: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Object" + } + } + } + }, + serializer +}; + +const getSchemaJsonOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/schemas/json", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.triggerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.JsonSchema + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const setStateOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/setState", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.triggerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "setStateParameter", + mapper: { + ...Mappers.SetTriggerStateActionDefinition, + required: true + } + }, + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listCallbackUrlOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/listCallbackUrl", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.triggerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowTriggerCallbackUrl + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowTriggerListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/workflowVersionTriggers.ts b/sdk/logic/arm-logic/lib/operations/workflowVersionTriggers.ts new file mode 100644 index 000000000000..696881374eeb --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/workflowVersionTriggers.ts @@ -0,0 +1,104 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workflowVersionTriggersMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a WorkflowVersionTriggers. */ +export class WorkflowVersionTriggers { + private readonly client: LogicManagementClientContext; + + /** + * Create a WorkflowVersionTriggers. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * Get the callback url for a trigger of a workflow version. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param versionId The workflow versionId. + * @param triggerName The workflow trigger name. + * @param [options] The optional parameters + * @returns Promise + */ + listCallbackUrl(resourceGroupName: string, workflowName: string, versionId: string, triggerName: string, options?: Models.WorkflowVersionTriggersListCallbackUrlOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param versionId The workflow versionId. + * @param triggerName The workflow trigger name. + * @param callback The callback + */ + listCallbackUrl(resourceGroupName: string, workflowName: string, versionId: string, triggerName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param versionId The workflow versionId. + * @param triggerName The workflow trigger name. + * @param options The optional parameters + * @param callback The callback + */ + listCallbackUrl(resourceGroupName: string, workflowName: string, versionId: string, triggerName: string, options: Models.WorkflowVersionTriggersListCallbackUrlOptionalParams, callback: msRest.ServiceCallback): void; + listCallbackUrl(resourceGroupName: string, workflowName: string, versionId: string, triggerName: string, options?: Models.WorkflowVersionTriggersListCallbackUrlOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + versionId, + triggerName, + options + }, + listCallbackUrlOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listCallbackUrlOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/versions/{versionId}/triggers/{triggerName}/listCallbackUrl", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.versionId, + Parameters.triggerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "parameters" + ], + mapper: Mappers.GetCallbackUrlParameters + }, + responses: { + 200: { + bodyMapper: Mappers.WorkflowTriggerCallbackUrl + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/workflowVersions.ts b/sdk/logic/arm-logic/lib/operations/workflowVersions.ts new file mode 100644 index 000000000000..99c76ed69b07 --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/workflowVersions.ts @@ -0,0 +1,199 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workflowVersionsMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a WorkflowVersions. */ +export class WorkflowVersions { + private readonly client: LogicManagementClientContext; + + /** + * Create a WorkflowVersions. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * Gets a list of workflow versions. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, workflowName: string, options?: Models.WorkflowVersionsListOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, workflowName: string, options: Models.WorkflowVersionsListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workflowName: string, options?: Models.WorkflowVersionsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets a workflow version. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param versionId The workflow versionId. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workflowName: string, versionId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param versionId The workflow versionId. + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, versionId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param versionId The workflow versionId. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, versionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workflowName: string, versionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + versionId, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of workflow versions. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/versions", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.top + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowVersionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/versions/{versionId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName, + Parameters.versionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowVersion + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowVersionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/lib/operations/workflows.ts b/sdk/logic/arm-logic/lib/operations/workflows.ts new file mode 100644 index 000000000000..bbbc62fe5739 --- /dev/null +++ b/sdk/logic/arm-logic/lib/operations/workflows.ts @@ -0,0 +1,1066 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workflowsMappers"; +import * as Parameters from "../models/parameters"; +import { LogicManagementClientContext } from "../logicManagementClientContext"; + +/** Class representing a Workflows. */ +export class Workflows { + private readonly client: LogicManagementClientContext; + + /** + * Create a Workflows. + * @param {LogicManagementClientContext} client Reference to the service client. + */ + constructor(client: LogicManagementClientContext) { + this.client = client; + } + + /** + * Gets a list of workflows by subscription. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: Models.WorkflowsListBySubscriptionOptionalParams): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: Models.WorkflowsListBySubscriptionOptionalParams, callback: msRest.ServiceCallback): void; + listBySubscription(options?: Models.WorkflowsListBySubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of workflows by resource group. + * @param resourceGroupName The resource group name. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: Models.WorkflowsListByResourceGroupOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: Models.WorkflowsListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: Models.WorkflowsListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Gets a workflow. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workflowName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates a workflow. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param workflow The workflow. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, workflowName: string, workflow: Models.Workflow, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param workflow The workflow. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, workflowName: string, workflow: Models.Workflow, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param workflow The workflow. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, workflowName: string, workflow: Models.Workflow, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, workflowName: string, workflow: Models.Workflow, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + workflow, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Updates a workflow. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param workflow The workflow. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, workflowName: string, workflow: Models.Workflow, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param workflow The workflow. + * @param callback The callback + */ + update(resourceGroupName: string, workflowName: string, workflow: Models.Workflow, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param workflow The workflow. + * @param options The optional parameters + * @param callback The callback + */ + update(resourceGroupName: string, workflowName: string, workflow: Models.Workflow, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, workflowName: string, workflow: Models.Workflow, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + workflow, + options + }, + updateOperationSpec, + callback) as Promise; + } + + /** + * Deletes a workflow. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, workflowName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, workflowName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Disables a workflow. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param [options] The optional parameters + * @returns Promise + */ + disable(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param callback The callback + */ + disable(resourceGroupName: string, workflowName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param options The optional parameters + * @param callback The callback + */ + disable(resourceGroupName: string, workflowName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + disable(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + options + }, + disableOperationSpec, + callback); + } + + /** + * Enables a workflow. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param [options] The optional parameters + * @returns Promise + */ + enable(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param callback The callback + */ + enable(resourceGroupName: string, workflowName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param options The optional parameters + * @param callback The callback + */ + enable(resourceGroupName: string, workflowName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + enable(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + options + }, + enableOperationSpec, + callback); + } + + /** + * Generates the upgraded definition for a workflow. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param parameters Parameters for generating an upgraded definition. + * @param [options] The optional parameters + * @returns Promise + */ + generateUpgradedDefinition(resourceGroupName: string, workflowName: string, parameters: Models.GenerateUpgradedDefinitionParameters, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param parameters Parameters for generating an upgraded definition. + * @param callback The callback + */ + generateUpgradedDefinition(resourceGroupName: string, workflowName: string, parameters: Models.GenerateUpgradedDefinitionParameters, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param parameters Parameters for generating an upgraded definition. + * @param options The optional parameters + * @param callback The callback + */ + generateUpgradedDefinition(resourceGroupName: string, workflowName: string, parameters: Models.GenerateUpgradedDefinitionParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + generateUpgradedDefinition(resourceGroupName: string, workflowName: string, parameters: Models.GenerateUpgradedDefinitionParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + parameters, + options + }, + generateUpgradedDefinitionOperationSpec, + callback) as Promise; + } + + /** + * Get the workflow callback Url. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param listCallbackUrlParameter Which callback url to list. + * @param [options] The optional parameters + * @returns Promise + */ + listCallbackUrl(resourceGroupName: string, workflowName: string, listCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param listCallbackUrlParameter Which callback url to list. + * @param callback The callback + */ + listCallbackUrl(resourceGroupName: string, workflowName: string, listCallbackUrlParameter: Models.GetCallbackUrlParameters, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param listCallbackUrlParameter Which callback url to list. + * @param options The optional parameters + * @param callback The callback + */ + listCallbackUrl(resourceGroupName: string, workflowName: string, listCallbackUrlParameter: Models.GetCallbackUrlParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listCallbackUrl(resourceGroupName: string, workflowName: string, listCallbackUrlParameter: Models.GetCallbackUrlParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + listCallbackUrlParameter, + options + }, + listCallbackUrlOperationSpec, + callback) as Promise; + } + + /** + * Gets an OpenAPI definition for the workflow. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param [options] The optional parameters + * @returns Promise + */ + listSwagger(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param callback The callback + */ + listSwagger(resourceGroupName: string, workflowName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param options The optional parameters + * @param callback The callback + */ + listSwagger(resourceGroupName: string, workflowName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSwagger(resourceGroupName: string, workflowName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + options + }, + listSwaggerOperationSpec, + callback) as Promise; + } + + /** + * Moves an existing workflow. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param moveParameter The workflow to move. + * @param [options] The optional parameters + * @returns Promise + */ + move(resourceGroupName: string, workflowName: string, moveParameter: Models.Workflow, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param moveParameter The workflow to move. + * @param callback The callback + */ + move(resourceGroupName: string, workflowName: string, moveParameter: Models.Workflow, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param moveParameter The workflow to move. + * @param options The optional parameters + * @param callback The callback + */ + move(resourceGroupName: string, workflowName: string, moveParameter: Models.Workflow, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + move(resourceGroupName: string, workflowName: string, moveParameter: Models.Workflow, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + moveParameter, + options + }, + moveOperationSpec, + callback); + } + + /** + * Regenerates the callback URL access key for request triggers. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param keyType The access key type. + * @param [options] The optional parameters + * @returns Promise + */ + regenerateAccessKey(resourceGroupName: string, workflowName: string, keyType: Models.RegenerateActionParameter, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param keyType The access key type. + * @param callback The callback + */ + regenerateAccessKey(resourceGroupName: string, workflowName: string, keyType: Models.RegenerateActionParameter, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param keyType The access key type. + * @param options The optional parameters + * @param callback The callback + */ + regenerateAccessKey(resourceGroupName: string, workflowName: string, keyType: Models.RegenerateActionParameter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + regenerateAccessKey(resourceGroupName: string, workflowName: string, keyType: Models.RegenerateActionParameter, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + keyType, + options + }, + regenerateAccessKeyOperationSpec, + callback); + } + + /** + * Validates the workflow. + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param validate The workflow. + * @param [options] The optional parameters + * @returns Promise + */ + validateByResourceGroup(resourceGroupName: string, workflowName: string, validate: Models.Workflow, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param validate The workflow. + * @param callback The callback + */ + validateByResourceGroup(resourceGroupName: string, workflowName: string, validate: Models.Workflow, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param workflowName The workflow name. + * @param validate The workflow. + * @param options The optional parameters + * @param callback The callback + */ + validateByResourceGroup(resourceGroupName: string, workflowName: string, validate: Models.Workflow, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + validateByResourceGroup(resourceGroupName: string, workflowName: string, validate: Models.Workflow, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workflowName, + validate, + options + }, + validateByResourceGroupOperationSpec, + callback); + } + + /** + * Validates the workflow definition. + * @param resourceGroupName The resource group name. + * @param location The workflow location. + * @param workflowName The workflow name. + * @param workflow The workflow definition. + * @param [options] The optional parameters + * @returns Promise + */ + validateByLocation(resourceGroupName: string, location: string, workflowName: string, workflow: Models.Workflow, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param location The workflow location. + * @param workflowName The workflow name. + * @param workflow The workflow definition. + * @param callback The callback + */ + validateByLocation(resourceGroupName: string, location: string, workflowName: string, workflow: Models.Workflow, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param location The workflow location. + * @param workflowName The workflow name. + * @param workflow The workflow definition. + * @param options The optional parameters + * @param callback The callback + */ + validateByLocation(resourceGroupName: string, location: string, workflowName: string, workflow: Models.Workflow, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + validateByLocation(resourceGroupName: string, location: string, workflowName: string, workflow: Models.Workflow, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + location, + workflowName, + workflow, + options + }, + validateByLocationOperationSpec, + callback); + } + + /** + * Gets a list of workflows by subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of workflows by resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Logic/workflows", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.Workflow + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "workflow", + mapper: { + ...Mappers.Workflow, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.Workflow + }, + 201: { + bodyMapper: Mappers.Workflow + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "workflow", + mapper: { + ...Mappers.Workflow, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.Workflow + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const disableOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/disable", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const enableOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/enable", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const generateUpgradedDefinitionOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/generateUpgradedDefinition", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.GenerateUpgradedDefinitionParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Object" + } + } + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listCallbackUrlOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/listCallbackUrl", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "listCallbackUrlParameter", + mapper: { + ...Mappers.GetCallbackUrlParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkflowTriggerCallbackUrl + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listSwaggerOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/listSwagger", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Object" + } + } + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const moveOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/move", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "moveParameter", + mapper: { + ...Mappers.Workflow, + required: true + } + }, + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const regenerateAccessKeyOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/regenerateAccessKey", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "keyType", + mapper: { + ...Mappers.RegenerateActionParameter, + required: true + } + }, + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const validateByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/validate", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workflowName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "validate", + mapper: { + ...Mappers.Workflow, + required: true + } + }, + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const validateByLocationOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/locations/{location}/workflows/{workflowName}/validate", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.location, + Parameters.workflowName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "workflow", + mapper: { + ...Mappers.Workflow, + required: true + } + }, + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkflowListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/logic/arm-logic/package.json b/sdk/logic/arm-logic/package.json index 66d4d0b077dd..99feb89641f8 100644 --- a/sdk/logic/arm-logic/package.json +++ b/sdk/logic/arm-logic/package.json @@ -4,8 +4,8 @@ "description": "LogicManagementClient Library with typescript type definitions for node.js and browser.", "version": "6.0.1", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.1", - "@azure/ms-rest-js": "^1.2.6", + "@azure/ms-rest-azure-js": "^1.2.0", + "@azure/ms-rest-js": "^1.2.0", "tslib": "^1.9.3" }, "keywords": [ @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/logic/arm-logic", + "homepage": "https://github.com/azure/azure-sdk-for-js", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" @@ -44,7 +44,6 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "lib/**/*.ts", - "README.md", "rollup.config.js", "tsconfig.json" ], @@ -53,6 +52,5 @@ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-logic.js.map'\" -o ./dist/arm-logic.min.js ./dist/arm-logic.js", "prepack": "npm install && npm run build" }, - "sideEffects": false, - "authPublish": true + "sideEffects": false }