Skip to content

Commit

Permalink
Generated from 1eb53ae1c9aba0a28c71e70aad228847e1f3ec66
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Oct 20, 2020
1 parent 383b4b0 commit 182b840
Show file tree
Hide file tree
Showing 17 changed files with 737 additions and 70 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ class ContainerServiceClient extends ContainerServiceClientContext {
managedClusters: operations.ManagedClusters;
agentPools: operations.AgentPools;
privateEndpointConnections: operations.PrivateEndpointConnections;
privateLinkResources: operations.PrivateLinkResources;
resolvePrivateLinkServiceId: operations.ResolvePrivateLinkServiceId;

/**
* Initializes a new instance of the ContainerServiceClient class.
Expand All @@ -39,6 +41,8 @@ class ContainerServiceClient extends ContainerServiceClientContext {
this.managedClusters = new operations.ManagedClusters(this);
this.agentPools = new operations.AgentPools(this);
this.privateEndpointConnections = new operations.PrivateEndpointConnections(this);
this.privateLinkResources = new operations.PrivateLinkResources(this);
this.resolvePrivateLinkServiceId = new operations.ResolvePrivateLinkServiceId(this);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class ContainerServiceClientContext extends msRestAzure.AzureServiceClien
if (!options) {
options = {};
}
if (!options.userAgent) {
if(!options.userAgent) {
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
}
Expand All @@ -51,10 +51,10 @@ export class ContainerServiceClientContext extends msRestAzure.AzureServiceClien
this.credentials = credentials;
this.subscriptionId = subscriptionId;

if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
this.acceptLanguage = options.acceptLanguage;
}
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export {
OpenShiftManagedClusterIdentityProvider,
OpenShiftManagedClusterMasterPoolProfile,
OpenShiftRouterProfile,
PowerState,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateLinkServiceConnectionState,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export {
OrchestratorProfile,
OrchestratorVersionProfile,
OrchestratorVersionProfileListResult,
PowerState,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateLinkServiceConnectionState,
Expand Down
Loading

0 comments on commit 182b840

Please sign in to comment.