Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR containerservices/resource-manager] [AKS] add new 2018-03-31 API #2910

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export default class ContainerServiceClient extends AzureServiceClient {

// Operation groups
containerServices: operations.ContainerServices;
operations: operations.Operations;
managedClusters: operations.ManagedClusters;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class ContainerServiceClient extends ServiceClient {
this.generateClientRequestId = options.generateClientRequestId;
}
this.containerServices = new operations.ContainerServices(this);
this.operations = new operations.Operations(this);
this.managedClusters = new operations.ManagedClusters(this);
this.models = models;
msRest.addSerializationMixin(this);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*
* 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.
*/

'use strict';

/**
* The List Compute Operation operation response.
*/
class ComputeOperationListResult extends Array {
/**
* Create a ComputeOperationListResult.
*/
constructor() {
super();
}

/**
* Defines the metadata of ComputeOperationListResult
*
* @returns {object} metadata of ComputeOperationListResult
*
*/
mapper() {
return {
required: false,
serializedName: 'ComputeOperationListResult',
type: {
name: 'Composite',
className: 'ComputeOperationListResult',
modelProperties: {
value: {
required: false,
readOnly: true,
serializedName: '',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ComputeOperationValueElementType',
type: {
name: 'Composite',
className: 'ComputeOperationValue'
}
}
}
}
}
}
};
}
}

module.exports = ComputeOperationListResult;
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
/*
* 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.
*/

'use strict';

/**
* Describes the properties of a Compute Operation value.
*
*/
class ComputeOperationValue {
/**
* Create a ComputeOperationValue.
* @member {string} [origin] The origin of the compute operation.
* @member {string} [name] The name of the compute operation.
* @member {string} [operation] The display name of the compute operation.
* @member {string} [resource] The display name of the resource the operation
* applies to.
* @member {string} [description] The description of the operation.
* @member {string} [provider] The resource provider for the operation.
*/
constructor() {
}

/**
* Defines the metadata of ComputeOperationValue
*
* @returns {object} metadata of ComputeOperationValue
*
*/
mapper() {
return {
required: false,
serializedName: 'ComputeOperationValue',
type: {
name: 'Composite',
className: 'ComputeOperationValue',
modelProperties: {
origin: {
required: false,
readOnly: true,
serializedName: 'origin',
type: {
name: 'String'
}
},
name: {
required: false,
readOnly: true,
serializedName: 'name',
type: {
name: 'String'
}
},
operation: {
required: false,
readOnly: true,
serializedName: 'display.operation',
type: {
name: 'String'
}
},
resource: {
required: false,
readOnly: true,
serializedName: 'display.resource',
type: {
name: 'String'
}
},
description: {
required: false,
readOnly: true,
serializedName: 'display.description',
type: {
name: 'String'
}
},
provider: {
required: false,
readOnly: true,
serializedName: 'display.provider',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = ComputeOperationValue;
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,7 @@ class ContainerService extends models['Resource'] {
* If you specify 0, it will apply the default osDisk size according to the
* vmSize specified.
* @member {string} [masterProfile.vnetSubnetID] VNet SubnetID specifies the
* vnet's subnet identifier. If you specify either master VNet Subnet, or
* agent VNet Subnet, you need to specify both. And they have to be in the
* same VNet.
* vnet's subnet identifier.
* @member {string} [masterProfile.firstConsecutiveStaticIP]
* FirstConsecutiveStaticIP used to specify the first static ip of masters.
* @member {string} [masterProfile.storageProfile] Storage profile specifies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ class ContainerServiceAgentPoolProfile {
* we will choose for you based on the orchestrator choice. Possible values
* include: 'StorageAccount', 'ManagedDisks'
* @member {string} [vnetSubnetID] VNet SubnetID specifies the vnet's subnet
* identifier. If you specify either master VNet Subnet, or agent VNet
* Subnet, you need to specify both. And they have to be in the same VNet.
* identifier.
* @member {string} [osType] OsType to be used to specify os type. Choose
* from Linux and Windows. Default to Linux. Possible values include:
* 'Linux', 'Windows'. Default value: 'Linux' .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ class ContainerServiceMasterProfile {
* 0, it will apply the default osDisk size according to the vmSize
* specified.
* @member {string} [vnetSubnetID] VNet SubnetID specifies the vnet's subnet
* identifier. If you specify either master VNet Subnet, or agent VNet
* Subnet, you need to specify both. And they have to be in the same VNet.
* identifier.
* @member {string} [firstConsecutiveStaticIP] FirstConsecutiveStaticIP used
* to specify the first static ip of masters. Default value: '10.240.255.5' .
* @member {string} [storageProfile] Storage profile specifies what kind of
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
/*
* 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.
*/

'use strict';

/**
* Profile of network configuration.
*
*/
class ContainerServiceNetworkProfile {
/**
* Create a ContainerServiceNetworkProfile.
* @member {string} [networkPlugin] Network plugin used for building
* Kubernetes network. Possible values include: 'azure', 'kubenet'. Default
* value: 'kubenet' .
* @member {string} [networkPolicy] Network policy used for building
* Kubernetes network. Possible values include: 'calico'
* @member {string} [podCidr] A CIDR notation IP range from which to assign
* pod IPs when kubenet is used. Default value: '10.244.0.0/16' .
* @member {string} [serviceCidr] A CIDR notation IP range from which to
* assign service cluster IPs. It must not overlap with any Subnet IP ranges.
* Default value: '10.0.0.0/16' .
* @member {string} [dnsServiceIP] An IP address assigned to the Kubernetes
* DNS service. It must be within the Kubernetes service address range
* specified in serviceCidr. Default value: '10.0.0.10' .
* @member {string} [dockerBridgeCidr] A CIDR notation IP range assigned to
* the Docker bridge network. It must not overlap with any Subnet IP ranges
* or the Kubernetes service address range. Default value: '172.17.0.1/16' .
*/
constructor() {
}

/**
* Defines the metadata of ContainerServiceNetworkProfile
*
* @returns {object} metadata of ContainerServiceNetworkProfile
*
*/
mapper() {
return {
required: false,
serializedName: 'ContainerServiceNetworkProfile',
type: {
name: 'Composite',
className: 'ContainerServiceNetworkProfile',
modelProperties: {
networkPlugin: {
required: false,
serializedName: 'networkPlugin',
defaultValue: 'kubenet',
type: {
name: 'String'
}
},
networkPolicy: {
required: false,
serializedName: 'networkPolicy',
type: {
name: 'String'
}
},
podCidr: {
required: false,
serializedName: 'podCidr',
defaultValue: '10.244.0.0/16',
constraints: {
Pattern: '^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'
},
type: {
name: 'String'
}
},
serviceCidr: {
required: false,
serializedName: 'serviceCidr',
defaultValue: '10.0.0.0/16',
constraints: {
Pattern: '^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'
},
type: {
name: 'String'
}
},
dnsServiceIP: {
required: false,
serializedName: 'dnsServiceIP',
defaultValue: '10.0.0.10',
constraints: {
Pattern: '^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$'
},
type: {
name: 'String'
}
},
dockerBridgeCidr: {
required: false,
serializedName: 'dockerBridgeCidr',
defaultValue: '172.17.0.1/16',
constraints: {
Pattern: '^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'
},
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = ContainerServiceNetworkProfile;
Loading