This repository has been archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR servicefabric/data-plane] Swagger specification for Service F…
…abric runtime version 6.4 (#4204) * Generated from 6415c5920fc51ac978815e71c12089643a219c49 Swagger specification for Service Fabric runtime version 6.4 * Generated from c69b3d22ae7f74ae4932d3fdce146ff567441664 fix typos specificed -> specified, sucessful -> successful, resturns -> returns, commited -> committed, Double word "maximum", Double word "with" * Generated from 494e01db96f17beb1d349ab74358274971b26d08 remove invalid character
- Loading branch information
1 parent
f03371a
commit c8432a1
Showing
147 changed files
with
38,294 additions
and
20,987 deletions.
There are no files selected for viewing
89 changes: 89 additions & 0 deletions
89
lib/services/serviceFabric/lib/models/addRemoveReplicaScalingMechanism.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
/* | ||
* 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. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
const models = require('./index'); | ||
|
||
/** | ||
* Describes the horizontal auto scaling mechanism that adds or removes | ||
* replicas (containers or container groups). | ||
* | ||
* @extends models['AutoScalingMechanism'] | ||
*/ | ||
class AddRemoveReplicaScalingMechanism extends models['AutoScalingMechanism'] { | ||
/** | ||
* Create a AddRemoveReplicaScalingMechanism. | ||
* @member {number} minCount Minimum number of containers (scale down won't | ||
* be performed below this number). | ||
* @member {number} maxCount Maximum number of containers (scale up won't be | ||
* performed above this number). | ||
* @member {number} scaleIncrement Each time auto scaling is performed, this | ||
* number of containers will be added or removed. | ||
*/ | ||
constructor() { | ||
super(); | ||
} | ||
|
||
/** | ||
* Defines the metadata of AddRemoveReplicaScalingMechanism | ||
* | ||
* @returns {object} metadata of AddRemoveReplicaScalingMechanism | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'AddRemoveReplica', | ||
type: { | ||
name: 'Composite', | ||
polymorphicDiscriminator: { | ||
serializedName: 'kind', | ||
clientName: 'kind' | ||
}, | ||
uberParent: 'AutoScalingMechanism', | ||
className: 'AddRemoveReplicaScalingMechanism', | ||
modelProperties: { | ||
kind: { | ||
required: true, | ||
serializedName: 'kind', | ||
isPolymorphicDiscriminator: true, | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
minCount: { | ||
required: true, | ||
serializedName: 'minCount', | ||
type: { | ||
name: 'Number' | ||
} | ||
}, | ||
maxCount: { | ||
required: true, | ||
serializedName: 'maxCount', | ||
type: { | ||
name: 'Number' | ||
} | ||
}, | ||
scaleIncrement: { | ||
required: true, | ||
serializedName: 'scaleIncrement', | ||
type: { | ||
name: 'Number' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = AddRemoveReplicaScalingMechanism; |
194 changes: 194 additions & 0 deletions
194
lib/services/serviceFabric/lib/models/applicationContainerInstanceExitedEvent.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,194 @@ | ||
/* | ||
* 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. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
const models = require('./index'); | ||
|
||
/** | ||
* Container Exited event. | ||
* | ||
* @extends models['ApplicationEvent'] | ||
*/ | ||
class ApplicationContainerInstanceExitedEvent extends models['ApplicationEvent'] { | ||
/** | ||
* Create a ApplicationContainerInstanceExitedEvent. | ||
* @member {string} serviceName Name of Service. | ||
* @member {string} servicePackageName Name of Service package. | ||
* @member {string} servicePackageActivationId Activation Id of Service | ||
* package. | ||
* @member {boolean} isExclusive Indicates IsExclusive flag. | ||
* @member {string} codePackageName Name of Code package. | ||
* @member {string} entryPointType Type of EntryPoint. | ||
* @member {string} imageName Name of Container image. | ||
* @member {string} containerName Name of Container. | ||
* @member {string} hostId Host Id. | ||
* @member {number} exitCode Exit code of process. | ||
* @member {boolean} unexpectedTermination Indicates if termination is | ||
* unexpected. | ||
* @member {date} startTime Start time of process. | ||
*/ | ||
constructor() { | ||
super(); | ||
} | ||
|
||
/** | ||
* Defines the metadata of ApplicationContainerInstanceExitedEvent | ||
* | ||
* @returns {object} metadata of ApplicationContainerInstanceExitedEvent | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'ApplicationContainerInstanceExited', | ||
type: { | ||
name: 'Composite', | ||
polymorphicDiscriminator: { | ||
serializedName: 'Kind', | ||
clientName: 'kind' | ||
}, | ||
uberParent: 'FabricEvent', | ||
className: 'ApplicationContainerInstanceExitedEvent', | ||
modelProperties: { | ||
eventInstanceId: { | ||
required: true, | ||
serializedName: 'EventInstanceId', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
category: { | ||
required: false, | ||
serializedName: 'Category', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
timeStamp: { | ||
required: true, | ||
serializedName: 'TimeStamp', | ||
type: { | ||
name: 'DateTime' | ||
} | ||
}, | ||
hasCorrelatedEvents: { | ||
required: false, | ||
serializedName: 'HasCorrelatedEvents', | ||
type: { | ||
name: 'Boolean' | ||
} | ||
}, | ||
kind: { | ||
required: true, | ||
serializedName: 'Kind', | ||
isPolymorphicDiscriminator: true, | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
applicationId: { | ||
required: true, | ||
serializedName: 'ApplicationId', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
serviceName: { | ||
required: true, | ||
serializedName: 'ServiceName', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
servicePackageName: { | ||
required: true, | ||
serializedName: 'ServicePackageName', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
servicePackageActivationId: { | ||
required: true, | ||
serializedName: 'ServicePackageActivationId', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
isExclusive: { | ||
required: true, | ||
serializedName: 'IsExclusive', | ||
type: { | ||
name: 'Boolean' | ||
} | ||
}, | ||
codePackageName: { | ||
required: true, | ||
serializedName: 'CodePackageName', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
entryPointType: { | ||
required: true, | ||
serializedName: 'EntryPointType', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
imageName: { | ||
required: true, | ||
serializedName: 'ImageName', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
containerName: { | ||
required: true, | ||
serializedName: 'ContainerName', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
hostId: { | ||
required: true, | ||
serializedName: 'HostId', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
exitCode: { | ||
required: true, | ||
serializedName: 'ExitCode', | ||
type: { | ||
name: 'Number' | ||
} | ||
}, | ||
unexpectedTermination: { | ||
required: true, | ||
serializedName: 'UnexpectedTermination', | ||
type: { | ||
name: 'Boolean' | ||
} | ||
}, | ||
startTime: { | ||
required: true, | ||
serializedName: 'StartTime', | ||
type: { | ||
name: 'DateTime' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = ApplicationContainerInstanceExitedEvent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.