diff --git a/services/databox/mgmt/2018-01-01/databox/client.go b/services/databox/mgmt/2018-01-01/databox/client.go index c21569ceca0a..59be9521def0 100644 --- a/services/databox/mgmt/2018-01-01/databox/client.go +++ b/services/databox/mgmt/2018-01-01/databox/client.go @@ -1,4 +1,4 @@ -// Package databox implements the Azure ARM Databox service API version 2018-01-01. +// Package databox implements the Azure ARM Databox service API version 2018-01-01-preview. // // package databox diff --git a/services/databox/mgmt/2018-01-01/databox/jobs.go b/services/databox/mgmt/2018-01-01/databox/jobs.go index aa77baeebf2c..792c6b5a3d56 100644 --- a/services/databox/mgmt/2018-01-01/databox/jobs.go +++ b/services/databox/mgmt/2018-01-01/databox/jobs.go @@ -99,7 +99,7 @@ func (client JobsClient) BookShipmentPickUpPreparer(ctx context.Context, resourc "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-01-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -190,7 +190,7 @@ func (client JobsClient) CancelPreparer(ctx context.Context, resourceGroupName s "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-01-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -289,7 +289,7 @@ func (client JobsClient) CreatePreparer(ctx context.Context, resourceGroupName s "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-01-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -377,7 +377,7 @@ func (client JobsClient) DeletePreparer(ctx context.Context, resourceGroupName s "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-01-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -469,7 +469,7 @@ func (client JobsClient) GetPreparer(ctx context.Context, resourceGroupName stri "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-01-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -547,7 +547,7 @@ func (client JobsClient) ListPreparer(ctx context.Context, skipToken string) (*h "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-01-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -664,7 +664,7 @@ func (client JobsClient) ListByResourceGroupPreparer(ctx context.Context, resour "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-01-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -790,7 +790,7 @@ func (client JobsClient) ListCredentialsPreparer(ctx context.Context, resourceGr "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-01-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -873,7 +873,7 @@ func (client JobsClient) UpdatePreparer(ctx context.Context, resourceGroupName s "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-01-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/services/databox/mgmt/2018-01-01/databox/models.go b/services/databox/mgmt/2018-01-01/databox/models.go index 29969e715e78..13edc8d1f020 100644 --- a/services/databox/mgmt/2018-01-01/databox/models.go +++ b/services/databox/mgmt/2018-01-01/databox/models.go @@ -732,9 +732,8 @@ type CopyProgress struct { // StorageAccountName - Name of the storage account where the data needs to be uploaded. StorageAccountName *string `json:"storageAccountName,omitempty"` // AccountID - Id of the account where the data needs to be uploaded. - AccountID *string `json:"accountId,omitempty"` - // BytesSentToCloud - Amount of data uploaded by the job as of now. - BytesSentToCloud *int64 `json:"bytesSentToCloud,omitempty"` + AccountID *string `json:"accountId,omitempty"` + BytesSentToCloud *string `json:"bytesSentToCloud,omitempty"` // TotalBytesToProcess - Total amount of data to be processed by the job. TotalBytesToProcess *int64 `json:"totalBytesToProcess,omitempty"` // FilesProcessed - Number of files processed by the job as of now. diff --git a/services/databox/mgmt/2018-01-01/databox/operations.go b/services/databox/mgmt/2018-01-01/databox/operations.go index 7d3cfbdb2696..8347a5a1cd2a 100644 --- a/services/databox/mgmt/2018-01-01/databox/operations.go +++ b/services/databox/mgmt/2018-01-01/databox/operations.go @@ -76,7 +76,7 @@ func (client OperationsClient) List(ctx context.Context) (result OperationListPa // ListPreparer prepares the List request. func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) { - const APIVersion = "2018-01-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/services/databox/mgmt/2018-01-01/databox/service.go b/services/databox/mgmt/2018-01-01/databox/service.go index 603e47e2c9fb..9f327d292d12 100644 --- a/services/databox/mgmt/2018-01-01/databox/service.go +++ b/services/databox/mgmt/2018-01-01/databox/service.go @@ -93,7 +93,7 @@ func (client ServiceClient) ListAvailableSkusPreparer(ctx context.Context, locat "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-01-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -218,7 +218,7 @@ func (client ServiceClient) ValidateAddressMethodPreparer(ctx context.Context, l "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2018-01-01" + const APIVersion = "2018-01-01-preview" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/services/databox/mgmt/2018-01-01/databox/version.go b/services/databox/mgmt/2018-01-01/databox/version.go index 45b38daa0586..fd05b92872dd 100644 --- a/services/databox/mgmt/2018-01-01/databox/version.go +++ b/services/databox/mgmt/2018-01-01/databox/version.go @@ -21,7 +21,7 @@ import "github.com/Azure/azure-sdk-for-go/version" // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/" + version.Number + " databox/2018-01-01" + return "Azure-SDK-For-Go/" + version.Number + " databox/2018-01-01-preview" } // Version returns the semantic version (see http://semver.org) of the client.