Skip to content

Commit

Permalink
Merge pull request #49 from MicrosoftDocs/vsts/Release-50
Browse files Browse the repository at this point in the history
VSTS release definition [powerbi-powershell] with name [Release-50] a…
  • Loading branch information
jayanth2830 authored Aug 7, 2020
2 parents 7183abd + f6d8da7 commit 9e5af65
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,28 @@ Log in to the Power BI service.

### User (Default)
```
Connect-PowerBIServiceAccount [-Environment <PowerBIEnvironmentType>] [<CommonParameters>]
Connect-PowerBIServiceAccount [-Environment <PowerBIEnvironmentType>] [-CustomEnvironment <String>]
[-DiscoveryUrl <String>] [<CommonParameters>]
```

### ServicePrincipal
```
Connect-PowerBIServiceAccount [-Environment <PowerBIEnvironmentType>] -Credential <PSCredential>
[-ServicePrincipal] [-Tenant <String>] [<CommonParameters>]
Connect-PowerBIServiceAccount [-Environment <PowerBIEnvironmentType>] [-CustomEnvironment <String>]
-Credential <PSCredential> [-ServicePrincipal] [-Tenant <String>] [-DiscoveryUrl <String>]
[<CommonParameters>]
```

### UserAndCredential
```
Connect-PowerBIServiceAccount [-Environment <PowerBIEnvironmentType>] -Credential <PSCredential>
[<CommonParameters>]
Connect-PowerBIServiceAccount [-Environment <PowerBIEnvironmentType>] [-CustomEnvironment <String>]
-Credential <PSCredential> [-DiscoveryUrl <String>] [<CommonParameters>]
```

### ServicePrincipalCertificate
```
Connect-PowerBIServiceAccount [-Environment <PowerBIEnvironmentType>] -CertificateThumbprint <String>
-ApplicationId <String> [-ServicePrincipal] [-Tenant <String>] [<CommonParameters>]
Connect-PowerBIServiceAccount [-Environment <PowerBIEnvironmentType>] [-CustomEnvironment <String>]
-CertificateThumbprint <String> -ApplicationId <String> [-ServicePrincipal] [-Tenant <String>]
[-DiscoveryUrl <String>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -119,6 +122,36 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -CustomEnvironment
The custom environment to use for the environments returned from the discovery url.
```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -DiscoveryUrl
The discovery url to get the backend services info from. Custom environment must also be supplied.
```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -Environment
Cloud environment to connect against. Default is Public.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Executes a REST call to the Power BI service, with the specified URL and body.

```
Invoke-PowerBIRestMethod -Url <String> -Method <PowerBIWebRequestMethod> [-Body <String>] [-OutFile <String>]
[-ContentType <String>] [-Headers <Hashtable>] [-Organization <String>] [-Version <String>]
[<CommonParameters>]
[-ContentType <String>] [-Headers <Hashtable>] [-TimeoutSec <Int32>] [-Organization <String>]
[-Version <String>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -125,6 +125,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -TimeoutSec
Specifies how long the request can be pending before it times out. Enter a value in seconds. Entering a value of 0 specifies an indefinite time-out.
```yaml
Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: 100
Accept pipeline input: False
Accept wildcard characters: False
```
### -Url
Relative or absolute URL of the Power BI entity you want to access. For example, if you want to access https://api.powerbi.com/v1.0/myorg/groups, then specify 'groups', or pass in the entire URL.
Expand Down

0 comments on commit 9e5af65

Please sign in to comment.