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.
Generated from 8842b69926229d7097ef82a5c333ced9fcaa06dc (#3217)
ensure the correct case is used for the Resource folder in referencing the examples
- Loading branch information
1 parent
af0c8bf
commit 07784a4
Showing
168 changed files
with
24,503 additions
and
16,011 deletions.
There are no files selected for viewing
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
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
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
163 changes: 163 additions & 0 deletions
163
lib/services/serviceFabric/lib/models/applicationResourceDescription.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,163 @@ | ||
/* | ||
* 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 a service fabric application resource. | ||
* | ||
*/ | ||
class ApplicationResourceDescription { | ||
/** | ||
* Create a ApplicationResourceDescription. | ||
* @member {string} [description] User readable description of the | ||
* application. | ||
* @member {string} [debugParams] Internal use. | ||
* @member {array} [services] describes the services in the application. | ||
* @member {string} [healthState] Describes the health state of an | ||
* application resource. Possible values include: 'Invalid', 'Ok', 'Warning', | ||
* 'Error', 'Unknown' | ||
* @member {string} [unhealthyEvaluation] When the application's health state | ||
* is not 'Ok', this additional details from service fabric Health Manager | ||
* for the user to know why the application is marked unhealthy. | ||
* @member {string} [status] Status of the application resource. Possible | ||
* values include: 'Invalid', 'Ready', 'Upgrading', 'Creating', 'Deleting', | ||
* 'Failed' | ||
* @member {string} [statusDetails] Gives additional information about the | ||
* current status of the application deployment. | ||
* @member {array} [serviceNames] Names of the services in the application. | ||
* @member {object} [diagnostics] Describes the diagnostics definition and | ||
* usage for an application resource. | ||
* @member {array} [diagnostics.sinks] List of supported sinks that can be | ||
* referenced. | ||
* @member {boolean} [diagnostics.enabled] Status of whether or not sinks are | ||
* enabled. | ||
* @member {array} [diagnostics.defaultSinkRefs] The sinks to be used if | ||
* diagnostics is enabled. Sink choices can be overridden at the service and | ||
* code package level. | ||
* @member {string} name Application resource name. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of ApplicationResourceDescription | ||
* | ||
* @returns {object} metadata of ApplicationResourceDescription | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'ApplicationResourceDescription', | ||
type: { | ||
name: 'Composite', | ||
className: 'ApplicationResourceDescription', | ||
modelProperties: { | ||
description: { | ||
required: false, | ||
serializedName: 'properties.description', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
debugParams: { | ||
required: false, | ||
serializedName: 'properties.debugParams', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
services: { | ||
required: false, | ||
serializedName: 'properties.services', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'ServiceResourceDescriptionElementType', | ||
type: { | ||
name: 'Composite', | ||
className: 'ServiceResourceDescription' | ||
} | ||
} | ||
} | ||
}, | ||
healthState: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'properties.healthState', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
unhealthyEvaluation: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'properties.unhealthyEvaluation', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
status: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'properties.status', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
statusDetails: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'properties.statusDetails', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
serviceNames: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'properties.serviceNames', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'StringElementType', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
}, | ||
diagnostics: { | ||
required: false, | ||
serializedName: 'properties.diagnostics', | ||
type: { | ||
name: 'Composite', | ||
className: 'DiagnosticsDescription' | ||
} | ||
}, | ||
name: { | ||
required: true, | ||
serializedName: 'name', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = ApplicationResourceDescription; |
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
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.