Skip to content

Commit

Permalink
Generated from 85bfc3112af8c8af08651e9712b59e7bd5931f2a
Browse files Browse the repository at this point in the history
Add swagger definition for user assigned identity (Azure#9737)
  • Loading branch information
SDK Automation committed Jun 23, 2020
1 parent ad1f5a9 commit e3339c7
Show file tree
Hide file tree
Showing 13 changed files with 979 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class ContainerServiceClient extends ContainerServiceClientContext {
operations: operations.Operations;
managedClusters: operations.ManagedClusters;
agentPools: operations.AgentPools;
privateEndpointConnections: operations.PrivateEndpointConnections;

/**
* Initializes a new instance of the ContainerServiceClient class.
Expand All @@ -37,6 +38,7 @@ class ContainerServiceClient extends ContainerServiceClientContext {
this.operations = new operations.Operations(this);
this.managedClusters = new operations.ManagedClusters(this);
this.agentPools = new operations.AgentPools(this);
this.privateEndpointConnections = new operations.PrivateEndpointConnections(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 @@ -14,6 +14,7 @@ export {
AgentPoolListResult,
AgentPoolUpgradeProfile,
AgentPoolUpgradeProfilePropertiesUpgradesItem,
AgentPoolUpgradeSettings,
BaseResource,
CloudError,
ContainerService,
Expand All @@ -39,13 +40,15 @@ export {
ManagedClusterAgentPoolProfileProperties,
ManagedClusterAPIServerAccessProfile,
ManagedClusterIdentity,
ManagedClusterIdentityUserAssignedIdentitiesValue,
ManagedClusterLoadBalancerProfile,
ManagedClusterLoadBalancerProfileManagedOutboundIPs,
ManagedClusterLoadBalancerProfileOutboundIPPrefixes,
ManagedClusterLoadBalancerProfileOutboundIPs,
ManagedClusterPropertiesAutoScalerProfile,
ManagedClusterPropertiesIdentityProfileValue,
ManagedClusterServicePrincipalProfile,
ManagedClusterSKU,
ManagedClusterWindowsProfile,
NetworkProfile,
OpenShiftManagedCluster,
Expand All @@ -56,6 +59,9 @@ export {
OpenShiftManagedClusterIdentityProvider,
OpenShiftManagedClusterMasterPoolProfile,
OpenShiftRouterProfile,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateLinkServiceConnectionState,
PurchasePlan,
Resource,
ResourceReference,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
export {
discriminators,
AgentPool,
AgentPoolUpgradeSettings,
BaseResource,
CloudError,
ContainerService,
Expand All @@ -35,13 +36,15 @@ export {
ManagedClusterAgentPoolProfileProperties,
ManagedClusterAPIServerAccessProfile,
ManagedClusterIdentity,
ManagedClusterIdentityUserAssignedIdentitiesValue,
ManagedClusterLoadBalancerProfile,
ManagedClusterLoadBalancerProfileManagedOutboundIPs,
ManagedClusterLoadBalancerProfileOutboundIPPrefixes,
ManagedClusterLoadBalancerProfileOutboundIPs,
ManagedClusterPropertiesAutoScalerProfile,
ManagedClusterPropertiesIdentityProfileValue,
ManagedClusterServicePrincipalProfile,
ManagedClusterSKU,
ManagedClusterWindowsProfile,
NetworkProfile,
OpenShiftManagedCluster,
Expand All @@ -55,6 +58,9 @@ export {
OrchestratorProfile,
OrchestratorVersionProfile,
OrchestratorVersionProfileListResult,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateLinkServiceConnectionState,
PurchasePlan,
Resource,
ResourceReference,
Expand Down
Loading

0 comments on commit e3339c7

Please sign in to comment.