Skip to content

Dev/dowaldma/mirror 3.28 #176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
6524731
Merged PR 154557: Update Public doc for get users admin APIs
May 4, 2021
2305e46
Merged PR 166160: Export API note for fixing timeout exceptions
KesemSharabi May 9, 2021
ee561c3
Merged PR 165160: Add ALM public APIs
MahirDiab May 24, 2021
51eb25a
Merged PR 173555: Fix class name: PipelineStageArtifactBase
MahirDiab May 24, 2021
25d0d8d
Updated pack-sdk.cmd
MahirDiab May 24, 2021
b051fbc
Merged PR 175163: Improve Update Datasource request documentation
laurent-mic May 31, 2021
8d51cbc
Merged PR 176780: Add dataflows to Alm public endpoints
gilitaragano Jun 15, 2021
50118b0
Merged PR 175298: added alm admin API
TslilD Jun 20, 2021
a5932c9
Merged PR 180660: fixed bold "required" in PipelineUserAccessRight in…
TslilD Jun 22, 2021
55ddc34
Update scanner documentation
eisuissa Jun 23, 2021
fd17b1e
Update swagger subartifacts documentation
eisuissa Jun 24, 2021
d6952d8
Update swagger doc
eisuissa Jun 27, 2021
42ae811
Update minor version to 26
eisuissa Jun 27, 2021
adb8015
Merged PR 180704: Doc bug 1835287
KesemSharabi Jul 5, 2021
bdbdf45
Merged PR 183886: Gateway ID in a gateway cluster
KesemSharabi Jul 6, 2021
0408fa9
Merged PR 184183: createdBy addition
KesemSharabi Jul 7, 2021
aeb7c6a
Merged PR 177806: update the scanner API doc for artifact users
Jul 14, 2021
54c9061
Merged PR 188093: minor version change to add artifactusers to scanne…
Jul 23, 2021
58a8be5
Merged PR 189422: Various REST API doc fixes
laurent-mic Jul 28, 2021
cd86bd9
Merged PR 177898: Add dev suffix to dev package
laurent-mic Jul 28, 2021
59fd925
Merged PR 184242: Datasource type list
KesemSharabi Aug 4, 2021
cb263a2
Merged PR 191371: Fix Code mismatch with Swagger
laurent-mic Aug 10, 2021
1b64a68
Merged PR 193079: Add documentation for dataset ExecuteQueries API
someuser5 Aug 11, 2021
68b9a54
Merged PR 193416: Make ID uppercase
Aug 12, 2021
9f32f0b
Merged PR 189145: adding sample link
dowaldma Aug 15, 2021
0e7597c
Merged PR 196973: Add user artifactAccess admin API
Aug 31, 2021
12ae164
Merged PR 199036: Fix swagger-code mismatch
laurent-mic Sep 1, 2021
6b09664
Merged PR 199064: Add permission level to documentation
eisuissa Sep 1, 2021
2cd572d
Merged PR 199013: adding overrideReport/Model in Import pbix file
dowaldma Sep 3, 2021
06d1749
Merged PR 200958: release version 3.28.0
dowaldma Sep 9, 2021
a82cde4
Merge remote-tracking branch 'External/master' into dev/dowaldma/mirr…
dowaldma Sep 9, 2021
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
Prev Previous commit
Next Next commit
Merged PR 189422: Various REST API doc fixes
1. Import state values
2. Document UseEndUserOAuth2Credentials in Gateway_GetDatasource
  • Loading branch information
laurent-mic committed Jul 28, 2021
commit 58a8be59148a8b1409613fe4261cf35295a9a29c
14 changes: 13 additions & 1 deletion sdk/PowerBI.Api/Source/Models/GatewayDatasource.cs
Original file line number Diff line number Diff line change
@@ -37,14 +37,18 @@ public GatewayDatasource()
/// <param name="datasourceType">The type of the datasource</param>
/// <param name="connectionDetails">Connection details in json
/// format</param>
public GatewayDatasource(System.Guid id, System.Guid gatewayId, CredentialType credentialType, string datasourceName = default(string), string datasourceType = default(string), string connectionDetails = default(string))
/// <param name="credentialDetails">The connection details of the
/// datasource that need to be updated. This is mandataory when the
/// dataset has more than one datasource.</param>
public GatewayDatasource(System.Guid id, System.Guid gatewayId, CredentialType credentialType, string datasourceName = default(string), string datasourceType = default(string), string connectionDetails = default(string), GatewayDatasourceCredentialDetails credentialDetails = default(GatewayDatasourceCredentialDetails))
{
Id = id;
GatewayId = gatewayId;
DatasourceName = datasourceName;
DatasourceType = datasourceType;
ConnectionDetails = connectionDetails;
CredentialType = credentialType;
CredentialDetails = credentialDetails;
CustomInit();
}

@@ -93,6 +97,14 @@ public GatewayDatasource()
[JsonProperty(PropertyName = "credentialType")]
public CredentialType CredentialType { get; set; }

/// <summary>
/// Gets or sets the connection details of the datasource that need to
/// be updated. This is mandataory when the dataset has more than one
/// datasource.
/// </summary>
[JsonProperty(PropertyName = "credentialDetails")]
public GatewayDatasourceCredentialDetails CredentialDetails { get; set; }

/// <summary>
/// Validate the object.
/// </summary>
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

namespace Microsoft.PowerBI.Api.Models
{
using Newtonsoft.Json;
using System.Linq;

/// <summary>
/// The datasource credential details
/// </summary>
public partial class GatewayDatasourceCredentialDetails
{
/// <summary>
/// Initializes a new instance of the
/// GatewayDatasourceCredentialDetails class.
/// </summary>
public GatewayDatasourceCredentialDetails()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the
/// GatewayDatasourceCredentialDetails class.
/// </summary>
/// <param name="useEndUserOAuth2Credentials">Indicates if the end-user
/// OAuth2 credentials are used for connecting to the datasource in
/// DirectQuery mode.</param>
public GatewayDatasourceCredentialDetails(bool? useEndUserOAuth2Credentials = default(bool?))
{
UseEndUserOAuth2Credentials = useEndUserOAuth2Credentials;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();

/// <summary>
/// Gets or sets indicates if the end-user OAuth2 credentials are used
/// for connecting to the datasource in DirectQuery mode.
/// </summary>
[JsonProperty(PropertyName = "useEndUserOAuth2Credentials")]
public bool? UseEndUserOAuth2Credentials { get; set; }

}
}
6 changes: 4 additions & 2 deletions sdk/PowerBI.Api/Source/Models/Import.cs
Original file line number Diff line number Diff line change
@@ -29,7 +29,8 @@ public Import()
/// </summary>
/// <param name="id">The import id</param>
/// <param name="name">The import name</param>
/// <param name="importState">The import upload state</param>
/// <param name="importState">The import upload state. Possible values
/// include: 'Publishing', 'Succeeded', 'Failed'</param>
/// <param name="reports">The reports associated with this
/// import</param>
/// <param name="datasets">The datasets associated with this
@@ -66,7 +67,8 @@ public Import()
public string Name { get; set; }

/// <summary>
/// Gets or sets the import upload state
/// Gets or sets the import upload state. Possible values include:
/// 'Publishing', 'Succeeded', 'Failed'
/// </summary>
[JsonProperty(PropertyName = "importState")]
public string ImportState { get; set; }
20 changes: 19 additions & 1 deletion sdk/swaggers/swagger.json
Original file line number Diff line number Diff line change
@@ -16090,7 +16090,12 @@
},
"importState": {
"type": "string",
"description": "The import upload state"
"description": "The import upload state",
"enum": [
"Publishing",
"Succeeded",
"Failed"
]
},
"reports": {
"type": "array",
@@ -16786,6 +16791,10 @@
"name": "credentialType",
"modelAsExtensible": true
}
},
"credentialDetails": {
"$ref": "#/definitions/GatewayDatasourceCredentialDetails",
"description": "The connection details of the datasource that need to be updated. This is mandataory when the dataset has more than one datasource."
}
}
},
@@ -17552,6 +17561,15 @@
}
}
},
"GatewayDatasourceCredentialDetails": {
"description": "The datasource credential details",
"properties": {
"useEndUserOAuth2Credentials": {
"type": "boolean",
"description": "Indicates if the end-user OAuth2 credentials are used for connecting to the datasource in DirectQuery mode."
}
}
},
"UpdateDatasourceRequest": {
"required": [
"credentialDetails"