vendor: update all dependencies to latest versions
This commit is contained in:
+5
-9
@@ -1,8 +1,6 @@
|
||||
// Package powerbiembedded implements the Azure ARM Powerbiembedded service API
|
||||
// version 2016-01-29.
|
||||
// Package powerbiembedded implements the Azure ARM Powerbiembedded service API version 2016-01-29.
|
||||
//
|
||||
// Client to manage your Power BI Embedded workspace collections and retrieve
|
||||
// workspaces.
|
||||
// Client to manage your Power BI Embedded workspace collections and retrieve workspaces.
|
||||
package powerbiembedded
|
||||
|
||||
// Copyright (c) Microsoft and contributors. All rights reserved.
|
||||
@@ -19,9 +17,8 @@ package powerbiembedded
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
|
||||
import (
|
||||
"github.com/Azure/go-autorest/autorest"
|
||||
@@ -55,8 +52,7 @@ func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient {
|
||||
}
|
||||
}
|
||||
|
||||
// GetAvailableOperations indicates which operations can be performed by the
|
||||
// Power BI Resource Provider.
|
||||
// GetAvailableOperations indicates which operations can be performed by the Power BI Resource Provider.
|
||||
func (client ManagementClient) GetAvailableOperations() (result OperationList, err error) {
|
||||
req, err := client.GetAvailableOperationsPreparer()
|
||||
if err != nil {
|
||||
|
||||
+2
-3
@@ -14,9 +14,8 @@ package powerbiembedded
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
|
||||
import (
|
||||
"github.com/Azure/go-autorest/autorest"
|
||||
|
||||
+4
-5
@@ -14,16 +14,15 @@ package powerbiembedded
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
|
||||
// UserAgent returns the UserAgent string to use when sending http.Requests.
|
||||
func UserAgent() string {
|
||||
return "Azure-SDK-For-Go/v10.1.0-beta arm-powerbiembedded/2016-01-29"
|
||||
return "Azure-SDK-For-Go/v11.0.0-beta arm-powerbiembedded/2016-01-29"
|
||||
}
|
||||
|
||||
// Version returns the semantic version (see http://semver.org) of the client.
|
||||
func Version() string {
|
||||
return "v10.1.0-beta"
|
||||
return "v11.0.0-beta"
|
||||
}
|
||||
|
||||
Generated
Vendored
+30
-48
@@ -14,9 +14,8 @@ package powerbiembedded
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
|
||||
import (
|
||||
"github.com/Azure/go-autorest/autorest"
|
||||
@@ -25,26 +24,23 @@ import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// WorkspaceCollectionsClient is the client to manage your Power BI Embedded
|
||||
// workspace collections and retrieve workspaces.
|
||||
// WorkspaceCollectionsClient is the client to manage your Power BI Embedded workspace collections and retrieve
|
||||
// workspaces.
|
||||
type WorkspaceCollectionsClient struct {
|
||||
ManagementClient
|
||||
}
|
||||
|
||||
// NewWorkspaceCollectionsClient creates an instance of the
|
||||
// WorkspaceCollectionsClient client.
|
||||
// NewWorkspaceCollectionsClient creates an instance of the WorkspaceCollectionsClient client.
|
||||
func NewWorkspaceCollectionsClient(subscriptionID string) WorkspaceCollectionsClient {
|
||||
return NewWorkspaceCollectionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
|
||||
}
|
||||
|
||||
// NewWorkspaceCollectionsClientWithBaseURI creates an instance of the
|
||||
// WorkspaceCollectionsClient client.
|
||||
// NewWorkspaceCollectionsClientWithBaseURI creates an instance of the WorkspaceCollectionsClient client.
|
||||
func NewWorkspaceCollectionsClientWithBaseURI(baseURI string, subscriptionID string) WorkspaceCollectionsClient {
|
||||
return WorkspaceCollectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
|
||||
}
|
||||
|
||||
// CheckNameAvailability verify the specified Power BI Workspace Collection
|
||||
// name is valid and not already in use.
|
||||
// CheckNameAvailability verify the specified Power BI Workspace Collection name is valid and not already in use.
|
||||
//
|
||||
// location is azure location body is check name availability request
|
||||
func (client WorkspaceCollectionsClient) CheckNameAvailability(location string, body CheckNameRequest) (result CheckNameResponse, err error) {
|
||||
@@ -110,14 +106,11 @@ func (client WorkspaceCollectionsClient) CheckNameAvailabilityResponder(resp *ht
|
||||
return
|
||||
}
|
||||
|
||||
// Create creates a new Power BI Workspace Collection with the specified
|
||||
// properties. A Power BI Workspace Collection contains one or more workspaces,
|
||||
// and can be used to provision keys that provide API access to those
|
||||
// workspaces.
|
||||
// Create creates a new Power BI Workspace Collection with the specified properties. A Power BI Workspace Collection
|
||||
// contains one or more workspaces, and can be used to provision keys that provide API access to those workspaces.
|
||||
//
|
||||
// resourceGroupName is azure resource group workspaceCollectionName is power
|
||||
// BI Embedded Workspace Collection name body is create workspace collection
|
||||
// request
|
||||
// resourceGroupName is azure resource group workspaceCollectionName is power BI Embedded Workspace Collection name
|
||||
// body is create workspace collection request
|
||||
func (client WorkspaceCollectionsClient) Create(resourceGroupName string, workspaceCollectionName string, body CreateWorkspaceCollectionRequest) (result WorkspaceCollection, err error) {
|
||||
if err := validation.Validate([]validation.Validation{
|
||||
{TargetValue: body,
|
||||
@@ -191,13 +184,10 @@ func (client WorkspaceCollectionsClient) CreateResponder(resp *http.Response) (r
|
||||
return
|
||||
}
|
||||
|
||||
// Delete delete a Power BI Workspace Collection. This method may poll for
|
||||
// completion. Polling can be canceled by passing the cancel channel argument.
|
||||
// The channel will be used to cancel polling and any outstanding HTTP
|
||||
// requests.
|
||||
// Delete delete a Power BI Workspace Collection. This method may poll for completion. Polling can be canceled by
|
||||
// passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
|
||||
//
|
||||
// resourceGroupName is azure resource group workspaceCollectionName is power
|
||||
// BI Embedded Workspace Collection name
|
||||
// resourceGroupName is azure resource group workspaceCollectionName is power BI Embedded Workspace Collection name
|
||||
func (client WorkspaceCollectionsClient) Delete(resourceGroupName string, workspaceCollectionName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error) {
|
||||
resultChan := make(chan autorest.Response, 1)
|
||||
errChan := make(chan error, 1)
|
||||
@@ -205,8 +195,10 @@ func (client WorkspaceCollectionsClient) Delete(resourceGroupName string, worksp
|
||||
var err error
|
||||
var result autorest.Response
|
||||
defer func() {
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
}
|
||||
resultChan <- result
|
||||
errChan <- err
|
||||
close(resultChan)
|
||||
close(errChan)
|
||||
}()
|
||||
@@ -272,11 +264,9 @@ func (client WorkspaceCollectionsClient) DeleteResponder(resp *http.Response) (r
|
||||
return
|
||||
}
|
||||
|
||||
// GetAccessKeys retrieves the primary and secondary access keys for the
|
||||
// specified Power BI Workspace Collection.
|
||||
// GetAccessKeys retrieves the primary and secondary access keys for the specified Power BI Workspace Collection.
|
||||
//
|
||||
// resourceGroupName is azure resource group workspaceCollectionName is power
|
||||
// BI Embedded Workspace Collection name
|
||||
// resourceGroupName is azure resource group workspaceCollectionName is power BI Embedded Workspace Collection name
|
||||
func (client WorkspaceCollectionsClient) GetAccessKeys(resourceGroupName string, workspaceCollectionName string) (result WorkspaceCollectionAccessKeys, err error) {
|
||||
req, err := client.GetAccessKeysPreparer(resourceGroupName, workspaceCollectionName)
|
||||
if err != nil {
|
||||
@@ -341,8 +331,7 @@ func (client WorkspaceCollectionsClient) GetAccessKeysResponder(resp *http.Respo
|
||||
|
||||
// GetByName retrieves an existing Power BI Workspace Collection.
|
||||
//
|
||||
// resourceGroupName is azure resource group workspaceCollectionName is power
|
||||
// BI Embedded Workspace Collection name
|
||||
// resourceGroupName is azure resource group workspaceCollectionName is power BI Embedded Workspace Collection name
|
||||
func (client WorkspaceCollectionsClient) GetByName(resourceGroupName string, workspaceCollectionName string) (result WorkspaceCollection, err error) {
|
||||
req, err := client.GetByNamePreparer(resourceGroupName, workspaceCollectionName)
|
||||
if err != nil {
|
||||
@@ -405,8 +394,7 @@ func (client WorkspaceCollectionsClient) GetByNameResponder(resp *http.Response)
|
||||
return
|
||||
}
|
||||
|
||||
// ListByResourceGroup retrieves all existing Power BI workspace collections in
|
||||
// the specified resource group.
|
||||
// ListByResourceGroup retrieves all existing Power BI workspace collections in the specified resource group.
|
||||
//
|
||||
// resourceGroupName is azure resource group
|
||||
func (client WorkspaceCollectionsClient) ListByResourceGroup(resourceGroupName string) (result WorkspaceCollectionList, err error) {
|
||||
@@ -470,8 +458,7 @@ func (client WorkspaceCollectionsClient) ListByResourceGroupResponder(resp *http
|
||||
return
|
||||
}
|
||||
|
||||
// ListBySubscription retrieves all existing Power BI workspace collections in
|
||||
// the specified subscription.
|
||||
// ListBySubscription retrieves all existing Power BI workspace collections in the specified subscription.
|
||||
func (client WorkspaceCollectionsClient) ListBySubscription() (result WorkspaceCollectionList, err error) {
|
||||
req, err := client.ListBySubscriptionPreparer()
|
||||
if err != nil {
|
||||
@@ -532,11 +519,9 @@ func (client WorkspaceCollectionsClient) ListBySubscriptionResponder(resp *http.
|
||||
return
|
||||
}
|
||||
|
||||
// Migrate migrates an existing Power BI Workspace Collection to a different
|
||||
// resource group and/or subscription.
|
||||
// Migrate migrates an existing Power BI Workspace Collection to a different resource group and/or subscription.
|
||||
//
|
||||
// resourceGroupName is azure resource group body is workspace migration
|
||||
// request
|
||||
// resourceGroupName is azure resource group body is workspace migration request
|
||||
func (client WorkspaceCollectionsClient) Migrate(resourceGroupName string, body MigrateWorkspaceCollectionRequest) (result autorest.Response, err error) {
|
||||
req, err := client.MigratePreparer(resourceGroupName, body)
|
||||
if err != nil {
|
||||
@@ -599,11 +584,10 @@ func (client WorkspaceCollectionsClient) MigrateResponder(resp *http.Response) (
|
||||
return
|
||||
}
|
||||
|
||||
// RegenerateKey regenerates the primary or secondary access key for the
|
||||
// specified Power BI Workspace Collection.
|
||||
// RegenerateKey regenerates the primary or secondary access key for the specified Power BI Workspace Collection.
|
||||
//
|
||||
// resourceGroupName is azure resource group workspaceCollectionName is power
|
||||
// BI Embedded Workspace Collection name body is access key to regenerate
|
||||
// resourceGroupName is azure resource group workspaceCollectionName is power BI Embedded Workspace Collection name
|
||||
// body is access key to regenerate
|
||||
func (client WorkspaceCollectionsClient) RegenerateKey(resourceGroupName string, workspaceCollectionName string, body WorkspaceCollectionAccessKey) (result WorkspaceCollectionAccessKeys, err error) {
|
||||
req, err := client.RegenerateKeyPreparer(resourceGroupName, workspaceCollectionName, body)
|
||||
if err != nil {
|
||||
@@ -668,12 +652,10 @@ func (client WorkspaceCollectionsClient) RegenerateKeyResponder(resp *http.Respo
|
||||
return
|
||||
}
|
||||
|
||||
// Update update an existing Power BI Workspace Collection with the specified
|
||||
// properties.
|
||||
// Update update an existing Power BI Workspace Collection with the specified properties.
|
||||
//
|
||||
// resourceGroupName is azure resource group workspaceCollectionName is power
|
||||
// BI Embedded Workspace Collection name body is update workspace collection
|
||||
// request
|
||||
// resourceGroupName is azure resource group workspaceCollectionName is power BI Embedded Workspace Collection name
|
||||
// body is update workspace collection request
|
||||
func (client WorkspaceCollectionsClient) Update(resourceGroupName string, workspaceCollectionName string, body UpdateWorkspaceCollectionRequest) (result WorkspaceCollection, err error) {
|
||||
req, err := client.UpdatePreparer(resourceGroupName, workspaceCollectionName, body)
|
||||
if err != nil {
|
||||
|
||||
+6
-11
@@ -14,9 +14,8 @@ package powerbiembedded
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
|
||||
import (
|
||||
"github.com/Azure/go-autorest/autorest"
|
||||
@@ -24,8 +23,7 @@ import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// WorkspacesClient is the client to manage your Power BI Embedded workspace
|
||||
// collections and retrieve workspaces.
|
||||
// WorkspacesClient is the client to manage your Power BI Embedded workspace collections and retrieve workspaces.
|
||||
type WorkspacesClient struct {
|
||||
ManagementClient
|
||||
}
|
||||
@@ -35,17 +33,14 @@ func NewWorkspacesClient(subscriptionID string) WorkspacesClient {
|
||||
return NewWorkspacesClientWithBaseURI(DefaultBaseURI, subscriptionID)
|
||||
}
|
||||
|
||||
// NewWorkspacesClientWithBaseURI creates an instance of the WorkspacesClient
|
||||
// client.
|
||||
// NewWorkspacesClientWithBaseURI creates an instance of the WorkspacesClient client.
|
||||
func NewWorkspacesClientWithBaseURI(baseURI string, subscriptionID string) WorkspacesClient {
|
||||
return WorkspacesClient{NewWithBaseURI(baseURI, subscriptionID)}
|
||||
}
|
||||
|
||||
// List retrieves all existing Power BI workspaces in the specified workspace
|
||||
// collection.
|
||||
// List retrieves all existing Power BI workspaces in the specified workspace collection.
|
||||
//
|
||||
// resourceGroupName is azure resource group workspaceCollectionName is power
|
||||
// BI Embedded Workspace Collection name
|
||||
// resourceGroupName is azure resource group workspaceCollectionName is power BI Embedded Workspace Collection name
|
||||
func (client WorkspacesClient) List(resourceGroupName string, workspaceCollectionName string) (result WorkspaceList, err error) {
|
||||
req, err := client.ListPreparer(resourceGroupName, workspaceCollectionName)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user