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

[AutoPR] powerbiembedded/resource-manager #4304

Closed
Closed
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
42 changes: 21 additions & 21 deletions lib/services/powerbiembedded/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
The MIT License (MIT)

Copyright (c) 2017 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The MIT License (MIT)
Copyright (c) 2018 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
4 changes: 2 additions & 2 deletions lib/services/powerbiembedded/lib/models/checkNameRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
class CheckNameRequest {
/**
* Create a CheckNameRequest.
* @member {string} [name] Workspace collection name
* @member {string} [type] Resource type. Default value:
* @property {string} [name] Workspace collection name
* @property {string} [type] Resource type. Default value:
* 'Microsoft.PowerBI/workspaceCollections' .
*/
constructor() {
Expand Down
14 changes: 7 additions & 7 deletions lib/services/powerbiembedded/lib/models/checkNameResponse.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
class CheckNameResponse {
/**
* Create a CheckNameResponse.
* @member {boolean} [nameAvailable] Specifies a Boolean value that indicates
* whether the specified Power BI Workspace Collection name is available to
* use.
* @member {string} [reason] Reason why the workspace collection name cannot
* be used. Possible values include: 'Unavailable', 'Invalid'
* @member {string} [message] Message indicating an unavailable name due to a
* conflict, or a description of the naming rules that are violated.
* @property {boolean} [nameAvailable] Specifies a Boolean value that
* indicates whether the specified Power BI Workspace Collection name is
* available to use.
* @property {string} [reason] Reason why the workspace collection name
* cannot be used. Possible values include: 'Unavailable', 'Invalid'
* @property {string} [message] Message indicating an unavailable name due to
* a conflict, or a description of the naming rules that are violated.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@

'use strict';

const models = require('./index');

/**
* Class representing a CreateWorkspaceCollectionRequest.
*/
class CreateWorkspaceCollectionRequest {
/**
* Create a CreateWorkspaceCollectionRequest.
* @member {string} [location] Azure location
* @member {object} [tags]
* @property {string} [location] Azure location
* @property {object} [tags]
*/
constructor() {
}
Expand Down
28 changes: 14 additions & 14 deletions lib/services/powerbiembedded/lib/models/display.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,24 @@
class Display {
/**
* Create a Display.
* @member {string} [provider] The localized friendly form of the resource
* @property {string} [provider] The localized friendly form of the resource
* provider name. This form is also expected to include the publisher/company
* responsible. Use Title Casing. Begin with Microsoft for 1st party
* responsible. Use Title Casing. Begin with "Microsoft" for 1st party
* services.
* @member {string} [resource] The localized friendly form of the resource
* @property {string} [resource] The localized friendly form of the resource
* type related to this action/operation. This form should match the public
* documentation for the resource provider. Use Title Casing. For examples,
* refer to the name section.
* @member {string} [operation] The localized friendly name for the operation
* as shown to the user. This name should be concise (to fit in drop downs),
* but clear (self-documenting). Use Title Casing and include the
* entity/resource to which it applies.
* @member {string} [description] The localized friendly description for the
* operation as shown to the user. This description should be thorough, yet
* concise. It will be used in tool-tips and detailed views.
* @member {string} [origin] The intended executor of the operation; governs
* the display of the operation in the RBAC UX and the audit logs UX. Default
* value is 'user,system'
* refer to the "name" section.
* @property {string} [operation] The localized friendly name for the
* operation as shown to the user. This name should be concise (to fit in
* drop downs), but clear (self-documenting). Use Title Casing and include
* the entity/resource to which it applies.
* @property {string} [description] The localized friendly description for
* the operation as shown to the user. This description should be thorough,
* yet concise. It will be used in tool-tips and detailed views.
* @property {string} [origin] The intended executor of the operation;
* governs the display of the operation in the RBAC UX and the audit logs UX.
* Default value is 'user,system'
*/
constructor() {
}
Expand Down
6 changes: 3 additions & 3 deletions lib/services/powerbiembedded/lib/models/errorDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
class ErrorDetail {
/**
* Create a ErrorDetail.
* @member {string} [code]
* @member {string} [message]
* @member {string} [target]
* @property {string} [code]
* @property {string} [message]
* @property {string} [target]
*/
constructor() {
}
Expand Down
10 changes: 4 additions & 6 deletions lib/services/powerbiembedded/lib/models/errorModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,16 @@

'use strict';

const models = require('./index');

/**
* Class representing a ErrorModel.
*/
class ErrorModel {
/**
* Create a ErrorModel.
* @member {string} [code]
* @member {string} [message]
* @member {string} [target]
* @member {array} [details]
* @property {string} [code]
* @property {string} [message]
* @property {string} [target]
* @property {array} [details]
*/
constructor() {
}
Expand Down
Loading