This repository has been archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR containerservices/resource-manager] [AKS] add new 2018-03-31 …
…API (#2910) * Generated from 069fe698d58709694ea1945b032523b01a5aa4cd Rename an example file to start with a capital letter * Generated from e365e10741ba688b8c3b39b67986e2b6e06e4ddc Rename to ManagedClusterAgentPoolProfile. Its fields have diverged from ContainerServiceAgentPoolProfile. * Generated from d61dfda40f6a7498040fee441c1b23cb6a1bc01a Incorporated review comments
- Loading branch information
1 parent
24ecde7
commit 6c56057
Showing
19 changed files
with
1,772 additions
and
416 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
lib/services/containerservicesManagement/lib/models/computeOperationListResult.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
99 changes: 99 additions & 0 deletions
99
lib/services/containerservicesManagement/lib/models/computeOperationValue.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
119 changes: 119 additions & 0 deletions
119
lib/services/containerservicesManagement/lib/models/containerServiceNetworkProfile.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Oops, something went wrong.