Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR] logic/resource-manager #3556

Merged
5 commits merged into from
Sep 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,16 @@ class EdifactDelimiterOverride {
required: true,
serializedName: 'segmentTerminatorSuffix',
type: {
name: 'String'
name: 'Enum',
allowedValues: [ 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' ]
}
},
decimalPointIndicator: {
required: true,
serializedName: 'decimalPointIndicator',
type: {
name: 'String'
name: 'Enum',
allowedValues: [ 'NotSpecified', 'Comma', 'Decimal' ]
}
},
releaseIndicator: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,16 @@ class EdifactFramingSettings {
required: true,
serializedName: 'decimalPointIndicator',
type: {
name: 'String'
name: 'Enum',
allowedValues: [ 'NotSpecified', 'Comma', 'Decimal' ]
}
},
segmentTerminatorSuffix: {
required: true,
serializedName: 'segmentTerminatorSuffix',
type: {
name: 'String'
name: 'Enum',
allowedValues: [ 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' ]
}
}
}
Expand Down
11 changes: 0 additions & 11 deletions lib/services/logicManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7983,17 +7983,6 @@ export interface TrackingEventsDefinition {
events: TrackingEvent[];
}

/**
* @class
* Initializes a new instance of the AccessKeyRegenerateActionDefinition class.
* @constructor
* @member {string} keyType Possible values include: 'NotSpecified', 'Primary',
* 'Secondary'
*/
export interface AccessKeyRegenerateActionDefinition {
keyType: string;
}

/**
* @class
* Initializes a new instance of the SetTriggerStateActionDefinition class.
Expand Down
1 change: 0 additions & 1 deletion lib/services/logicManagement/lib/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ exports.KeyVaultKey = require('./keyVaultKey');
exports.TrackingEventErrorInfo = require('./trackingEventErrorInfo');
exports.TrackingEvent = require('./trackingEvent');
exports.TrackingEventsDefinition = require('./trackingEventsDefinition');
exports.AccessKeyRegenerateActionDefinition = require('./accessKeyRegenerateActionDefinition');
exports.SetTriggerStateActionDefinition = require('./setTriggerStateActionDefinition');
exports.Expression = require('./expression');
exports.ExpressionRoot = require('./expressionRoot');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1640,7 +1640,8 @@ class IntegrationAccountAgreement extends models['Resource'] {
required: true,
serializedName: 'properties.agreementType',
type: {
name: 'String'
name: 'Enum',
allowedValues: [ 'NotSpecified', 'AS2', 'X12', 'Edifact' ]
}
},
hostPartner: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ class IntegrationAccountAgreementFilter {
required: true,
serializedName: 'agreementType',
type: {
name: 'String'
name: 'Enum',
allowedValues: [ 'NotSpecified', 'AS2', 'X12', 'Edifact' ]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ class RecurrenceSchedule {
required: false,
serializedName: 'DaysOfWeekElementType',
type: {
name: 'String'
name: 'Enum',
allowedValues: [ 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' ]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ class RecurrenceScheduleOccurrence {
required: false,
serializedName: 'day',
type: {
name: 'String'
name: 'Enum',
allowedValues: [ 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' ]
}
},
occurrence: {
Expand Down
3 changes: 2 additions & 1 deletion lib/services/logicManagement/lib/models/trackingEvent.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ class TrackingEvent {
required: true,
serializedName: 'eventLevel',
type: {
name: 'String'
name: 'Enum',
allowedValues: [ 'LogAlways', 'Critical', 'Error', 'Warning', 'Informational', 'Verbose' ]
}
},
eventTime: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ class X12DelimiterOverrides {
required: true,
serializedName: 'segmentTerminatorSuffix',
type: {
name: 'String'
name: 'Enum',
allowedValues: [ 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' ]
}
},
replaceCharacter: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ class X12FramingSettings {
required: true,
serializedName: 'segmentTerminatorSuffix',
type: {
name: 'String'
name: 'Enum',
allowedValues: [ 'NotSpecified', 'None', 'CR', 'LF', 'CRLF' ]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -639,13 +639,12 @@ function _deleteMethod(resourceGroupName, integrationAccountName, sessionName, o
try {
parsedErrorResponse = JSON.parse(responseBody);
if (parsedErrorResponse) {
let internalError = null;
if (parsedErrorResponse.error) internalError = parsedErrorResponse.error;
error.code = internalError ? internalError.code : parsedErrorResponse.code;
error.message = internalError ? internalError.message : parsedErrorResponse.message;
if (parsedErrorResponse.error) parsedErrorResponse = parsedErrorResponse.error;
if (parsedErrorResponse.code) error.code = parsedErrorResponse.code;
if (parsedErrorResponse.message) error.message = parsedErrorResponse.message;
}
if (parsedErrorResponse !== null && parsedErrorResponse !== undefined) {
let resultMapper = new client.models['ErrorResponse']().mapper();
let resultMapper = new client.models['CloudError']().mapper();
error.body = client.deserialize(resultMapper, parsedErrorResponse, 'error.body');
}
} catch (defaultError) {
Expand Down
2 changes: 1 addition & 1 deletion lib/services/logicManagement/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "azure-arm-logic",
"author": "Microsoft Corporation",
"description": "LogicManagementClient Library with typescript type definitions for node",
"version": "3.0.0",
"version": "4.0.0",
"dependencies": {
"ms-rest": "^2.3.3",
"ms-rest-azure": "^2.5.5"
Expand Down