Skip to content

Commit

Permalink
Generated from b6695fe6da6a1eecc2fbfe3df8cf3eb1d98f424e
Browse files Browse the repository at this point in the history
review preview for go
  • Loading branch information
SDK Automation committed Jun 24, 2020
1 parent fe9c3bd commit 5a3c5d3
Show file tree
Hide file tree
Showing 18 changed files with 1,527 additions and 311 deletions.
6 changes: 5 additions & 1 deletion sdk/avs/arm-avs/src/avsClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ class AvsClient extends AvsClientContext {
locations: operations.Locations;
privateClouds: operations.PrivateClouds;
clusters: operations.Clusters;
hcxEnterpriseSites: operations.HcxEnterpriseSites;
authorizations: operations.Authorizations;

/**
* Initializes a new instance of the AvsClient class.
* @param credentials Credentials needed for the client to connect to Azure.
* @param subscriptionId Unique identifier for the Azure subscription
* @param subscriptionId The ID of the target subscription.
* @param [options] The parameter options
*/
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AvsClientOptions) {
Expand All @@ -34,6 +36,8 @@ class AvsClient extends AvsClientContext {
this.locations = new operations.Locations(this);
this.privateClouds = new operations.PrivateClouds(this);
this.clusters = new operations.Clusters(this);
this.hcxEnterpriseSites = new operations.HcxEnterpriseSites(this);
this.authorizations = new operations.Authorizations(this);
}
}

Expand Down
6 changes: 3 additions & 3 deletions sdk/avs/arm-avs/src/avsClientContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ const packageVersion = "0.1.0";

export class AvsClientContext extends msRestAzure.AzureServiceClient {
credentials: msRest.ServiceClientCredentials;
subscriptionId: string;
apiVersion?: string;
subscriptionId: string;

/**
* Initializes a new instance of the AvsClient class.
* @param credentials Credentials needed for the client to connect to Azure.
* @param subscriptionId Unique identifier for the Azure subscription
* @param subscriptionId The ID of the target subscription.
* @param [options] The parameter options
*/
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AvsClientOptions) {
Expand All @@ -44,7 +44,7 @@ export class AvsClientContext extends msRestAzure.AzureServiceClient {

super(credentials, options);

this.apiVersion = '2019-08-09-preview';
this.apiVersion = '2020-03-20';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
Expand Down
27 changes: 27 additions & 0 deletions sdk/avs/arm-avs/src/models/authorizationsMappers.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/

export {
BaseResource,
Circuit,
CloudError,
Cluster,
ClusterUpdateProperties,
Endpoints,
ErrorAdditionalInfo,
ErrorResponse,
ExpressRouteAuthorization,
ExpressRouteAuthorizationList,
HcxEnterpriseSite,
IdentitySource,
ManagementCluster,
PrivateCloud,
Resource,
Sku,
TrackedResource
} from "../models/mappers";
12 changes: 7 additions & 5 deletions sdk/avs/arm-avs/src/models/clustersMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,21 @@
*/

export {
ApiError,
ApiErrorBase,
BaseResource,
Circuit,
CloudError,
Cluster,
ClusterList,
ClusterProperties,
DefaultClusterProperties,
ClusterUpdate,
ClusterUpdateProperties,
Endpoints,
ErrorAdditionalInfo,
ErrorResponse,
ExpressRouteAuthorization,
HcxEnterpriseSite,
IdentitySource,
ManagementCluster,
PrivateCloud,
PrivateCloudProperties,
Resource,
Sku,
TrackedResource
Expand Down
27 changes: 27 additions & 0 deletions sdk/avs/arm-avs/src/models/hcxEnterpriseSitesMappers.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/

export {
BaseResource,
Circuit,
CloudError,
Cluster,
ClusterUpdateProperties,
Endpoints,
ErrorAdditionalInfo,
ErrorResponse,
ExpressRouteAuthorization,
HcxEnterpriseSite,
HcxEnterpriseSiteList,
IdentitySource,
ManagementCluster,
PrivateCloud,
Resource,
Sku,
TrackedResource
} from "../models/mappers";
Loading

0 comments on commit 5a3c5d3

Please sign in to comment.