azure_mgmt_container_service 0.21.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  3. data/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  4. data/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  5. data/lib/2017-07-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  6. data/lib/2017-08-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  7. data/lib/2017-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  8. data/lib/2018-03-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  9. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  10. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  11. data/lib/2019-02-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  12. data/lib/2019-04-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  13. data/lib/2019-04-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  14. data/lib/2019-06-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  15. data/lib/2019-08-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  16. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  17. data/lib/2019-10-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  18. data/lib/2020-02-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  19. data/lib/2020-06-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  20. data/lib/2020-07-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  21. data/lib/2020-09-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  22. data/lib/2020-12-01/generated/azure_mgmt_container_service.rb +126 -0
  23. data/lib/2020-12-01/generated/azure_mgmt_container_service/agent_pools.rb +1054 -0
  24. data/lib/2020-12-01/generated/azure_mgmt_container_service/container_service_client.rb +157 -0
  25. data/lib/2020-12-01/generated/azure_mgmt_container_service/maintenance_configurations.rb +589 -0
  26. data/lib/2020-12-01/generated/azure_mgmt_container_service/managed_clusters.rb +2309 -0
  27. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool.rb +533 -0
  28. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions.rb +93 -0
  29. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions_properties_agent_pool_versions_item.rb +71 -0
  30. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
  31. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_mode.rb +16 -0
  32. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
  33. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile.rb +129 -0
  34. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb +59 -0
  35. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_settings.rb +47 -0
  36. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/code.rb +16 -0
  37. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/connection_status.rb +18 -0
  38. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
  39. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
  40. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
  41. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +179 -0
  42. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
  43. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
  44. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
  45. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
  46. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
  47. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/created_by_type.rb +18 -0
  48. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
  49. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
  50. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/expander.rb +18 -0
  51. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_config.rb +174 -0
  52. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_disk_type.rb +15 -0
  53. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/license_type.rb +16 -0
  54. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/linux_osconfig.rb +81 -0
  55. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/load_balancer_sku.rb +16 -0
  56. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/maintenance_configuration.rb +115 -0
  57. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/maintenance_configuration_list_result.rb +101 -0
  58. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +428 -0
  59. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +123 -0
  60. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
  61. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +80 -0
  62. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile_identity.rb +59 -0
  63. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +340 -0
  64. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +506 -0
  65. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_apiserver_access_profile.rb +77 -0
  66. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_auto_upgrade_profile.rb +47 -0
  67. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_identity.rb +104 -0
  68. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_identity_user_assigned_identities_value.rb +61 -0
  69. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
  70. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb +132 -0
  71. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_managed_outbound_ips.rb +55 -0
  72. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ipprefixes.rb +57 -0
  73. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ips.rb +56 -0
  74. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity.rb +98 -0
  75. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity_exception.rb +77 -0
  76. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity_profile.rb +89 -0
  77. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity_provisioning_info.rb +49 -0
  78. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity_provisioning_state.rb +18 -0
  79. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +92 -0
  80. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb +59 -0
  81. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_properties_auto_scaler_profile.rb +224 -0
  82. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_properties_identity_profile_value.rb +61 -0
  83. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
  84. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_sku.rb +60 -0
  85. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_skuname.rb +15 -0
  86. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_skutier.rb +16 -0
  87. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
  88. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb +84 -0
  89. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/network_mode.rb +16 -0
  90. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
  91. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
  92. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
  93. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
  94. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/osdisk_type.rb +16 -0
  95. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
  96. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/outbound_type.rb +16 -0
  97. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/power_state.rb +47 -0
  98. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_endpoint.rb +46 -0
  99. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_endpoint_connection.rb +111 -0
  100. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_endpoint_connection_list_result.rb +55 -0
  101. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_endpoint_connection_provisioning_state.rb +18 -0
  102. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_link_resource.rb +111 -0
  103. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_link_resources_list_result.rb +55 -0
  104. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_link_service_connection_state.rb +59 -0
  105. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
  106. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/resource_identity_type.rb +17 -0
  107. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/resource_reference.rb +46 -0
  108. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/scale_set_eviction_policy.rb +16 -0
  109. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/scale_set_priority.rb +16 -0
  110. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
  111. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/sysctl_config.rb +343 -0
  112. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/system_data.rb +106 -0
  113. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
  114. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/time_in_week.rb +66 -0
  115. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/time_span.rb +57 -0
  116. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/upgrade_channel.rb +18 -0
  117. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/user_assigned_identity.rb +69 -0
  118. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/week_day.rb +21 -0
  119. data/lib/2020-12-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  120. data/lib/2020-12-01/generated/azure_mgmt_container_service/operations.rb +109 -0
  121. data/lib/2020-12-01/generated/azure_mgmt_container_service/private_endpoint_connections.rb +515 -0
  122. data/lib/2020-12-01/generated/azure_mgmt_container_service/private_link_resources.rb +132 -0
  123. data/lib/2020-12-01/generated/azure_mgmt_container_service/resolve_private_link_service_id.rb +143 -0
  124. data/lib/azure_mgmt_container_service.rb +1 -0
  125. data/lib/profiles/latest/modules/containerservice_profile_module.rb +268 -194
  126. data/lib/version.rb +1 -1
  127. metadata +104 -2
@@ -0,0 +1,77 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ContainerService::Mgmt::V2020_12_01
7
+ module Models
8
+ #
9
+ # Access profile for managed cluster API server.
10
+ #
11
+ class ManagedClusterAPIServerAccessProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<String>] Authorized IP Ranges to kubernetes API server.
16
+ attr_accessor :authorized_ipranges
17
+
18
+ # @return [Boolean] Whether to create the cluster as a private cluster or
19
+ # not.
20
+ attr_accessor :enable_private_cluster
21
+
22
+ # @return [String] Private dns zone mode for private cluster.
23
+ attr_accessor :private_dnszone
24
+
25
+
26
+ #
27
+ # Mapper for ManagedClusterAPIServerAccessProfile class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'ManagedClusterAPIServerAccessProfile',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'ManagedClusterAPIServerAccessProfile',
38
+ model_properties: {
39
+ authorized_ipranges: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'authorizedIPRanges',
43
+ type: {
44
+ name: 'Sequence',
45
+ element: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'StringElementType',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ },
55
+ enable_private_cluster: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'enablePrivateCluster',
59
+ type: {
60
+ name: 'Boolean'
61
+ }
62
+ },
63
+ private_dnszone: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'privateDNSZone',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
74
+ end
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,47 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ContainerService::Mgmt::V2020_12_01
7
+ module Models
8
+ #
9
+ # Auto upgrade profile for a managed cluster.
10
+ #
11
+ class ManagedClusterAutoUpgradeProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [UpgradeChannel] upgrade channel for auto upgrade. Possible
16
+ # values include: 'rapid', 'stable', 'patch', 'none'
17
+ attr_accessor :upgrade_channel
18
+
19
+
20
+ #
21
+ # Mapper for ManagedClusterAutoUpgradeProfile class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'ManagedClusterAutoUpgradeProfile',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'ManagedClusterAutoUpgradeProfile',
32
+ model_properties: {
33
+ upgrade_channel: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'upgradeChannel',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,104 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ContainerService::Mgmt::V2020_12_01
7
+ module Models
8
+ #
9
+ # Identity for the managed cluster.
10
+ #
11
+ class ManagedClusterIdentity
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The principal id of the system assigned identity which
16
+ # is used by master components.
17
+ attr_accessor :principal_id
18
+
19
+ # @return [String] The tenant id of the system assigned identity which is
20
+ # used by master components.
21
+ attr_accessor :tenant_id
22
+
23
+ # @return [ResourceIdentityType] The type of identity used for the
24
+ # managed cluster. Type 'SystemAssigned' will use an implicitly created
25
+ # identity in master components and an auto-created user assigned
26
+ # identity in MC_ resource group in agent nodes. Type 'None' will not use
27
+ # MSI for the managed cluster, service principal will be used instead.
28
+ # Possible values include: 'SystemAssigned', 'UserAssigned', 'None'
29
+ attr_accessor :type
30
+
31
+ # @return [Hash{String =>
32
+ # ManagedClusterIdentityUserAssignedIdentitiesValue}] The user identity
33
+ # associated with the managed cluster. This identity will be used in
34
+ # control plane and only one user assigned identity is allowed. The user
35
+ # identity dictionary key references will be ARM resource ids in the
36
+ # form:
37
+ # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
38
+ attr_accessor :user_assigned_identities
39
+
40
+
41
+ #
42
+ # Mapper for ManagedClusterIdentity class as Ruby Hash.
43
+ # This will be used for serialization/deserialization.
44
+ #
45
+ def self.mapper()
46
+ {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'ManagedClusterIdentity',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'ManagedClusterIdentity',
53
+ model_properties: {
54
+ principal_id: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ read_only: true,
58
+ serialized_name: 'principalId',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ tenant_id: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'tenantId',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ type: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'type',
76
+ type: {
77
+ name: 'Enum',
78
+ module: 'ResourceIdentityType'
79
+ }
80
+ },
81
+ user_assigned_identities: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'userAssignedIdentities',
85
+ type: {
86
+ name: 'Dictionary',
87
+ value: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'ManagedClusterIdentityUserAssignedIdentitiesValueElementType',
91
+ type: {
92
+ name: 'Composite',
93
+ class_name: 'ManagedClusterIdentityUserAssignedIdentitiesValue'
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+ end
102
+ end
103
+ end
104
+ end
@@ -0,0 +1,61 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ContainerService::Mgmt::V2020_12_01
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class ManagedClusterIdentityUserAssignedIdentitiesValue
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The principal id of user assigned identity.
17
+ attr_accessor :principal_id
18
+
19
+ # @return [String] The client id of user assigned identity.
20
+ attr_accessor :client_id
21
+
22
+
23
+ #
24
+ # Mapper for ManagedClusterIdentityUserAssignedIdentitiesValue class as
25
+ # Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'ManagedClusterIdentity_userAssignedIdentitiesValue',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'ManagedClusterIdentityUserAssignedIdentitiesValue',
36
+ model_properties: {
37
+ principal_id: {
38
+ client_side_validation: true,
39
+ required: false,
40
+ read_only: true,
41
+ serialized_name: 'principalId',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ client_id: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ read_only: true,
50
+ serialized_name: 'clientId',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,100 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ContainerService::Mgmt::V2020_12_01
7
+ module Models
8
+ #
9
+ # The response from the List Managed Clusters operation.
10
+ #
11
+ class ManagedClusterListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<ManagedCluster>] The list of managed clusters.
17
+ attr_accessor :value
18
+
19
+ # @return [String] The URL to get the next set of managed cluster
20
+ # results.
21
+ attr_accessor :next_link
22
+
23
+ # return [Proc] with next page method call.
24
+ attr_accessor :next_method
25
+
26
+ #
27
+ # Gets the rest of the items for the request, enabling auto-pagination.
28
+ #
29
+ # @return [Array<ManagedCluster>] operation results.
30
+ #
31
+ def get_all_items
32
+ items = @value
33
+ page = self
34
+ while page.next_link != nil && !page.next_link.strip.empty? do
35
+ page = page.get_next_page
36
+ items.concat(page.value)
37
+ end
38
+ items
39
+ end
40
+
41
+ #
42
+ # Gets the next page of results.
43
+ #
44
+ # @return [ManagedClusterListResult] with next page content.
45
+ #
46
+ def get_next_page
47
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
48
+ unless response.nil?
49
+ @next_link = response.body.next_link
50
+ @value = response.body.value
51
+ self
52
+ end
53
+ end
54
+
55
+ #
56
+ # Mapper for ManagedClusterListResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'ManagedClusterListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'ManagedClusterListResult',
67
+ model_properties: {
68
+ value: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'value',
72
+ type: {
73
+ name: 'Sequence',
74
+ element: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'ManagedClusterElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'ManagedCluster'
81
+ }
82
+ }
83
+ }
84
+ },
85
+ next_link: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'nextLink',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ end
98
+ end
99
+ end
100
+ end
@@ -0,0 +1,132 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ContainerService::Mgmt::V2020_12_01
7
+ module Models
8
+ #
9
+ # Profile of the managed cluster load balancer.
10
+ #
11
+ class ManagedClusterLoadBalancerProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ManagedClusterLoadBalancerProfileManagedOutboundIPs] Desired
16
+ # managed outbound IPs for the cluster load balancer.
17
+ attr_accessor :managed_outbound_ips
18
+
19
+ # @return [ManagedClusterLoadBalancerProfileOutboundIPPrefixes] Desired
20
+ # outbound IP Prefix resources for the cluster load balancer.
21
+ attr_accessor :outbound_ipprefixes
22
+
23
+ # @return [ManagedClusterLoadBalancerProfileOutboundIPs] Desired outbound
24
+ # IP resources for the cluster load balancer.
25
+ attr_accessor :outbound_ips
26
+
27
+ # @return [Array<ResourceReference>] The effective outbound IP resources
28
+ # of the cluster load balancer.
29
+ attr_accessor :effective_outbound_ips
30
+
31
+ # @return [Integer] Desired number of allocated SNAT ports per VM.
32
+ # Allowed values must be in the range of 0 to 64000 (inclusive). The
33
+ # default value is 0 which results in Azure dynamically allocating ports.
34
+ # Default value: 0 .
35
+ attr_accessor :allocated_outbound_ports
36
+
37
+ # @return [Integer] Desired outbound flow idle timeout in minutes.
38
+ # Allowed values must be in the range of 4 to 120 (inclusive). The
39
+ # default value is 30 minutes. Default value: 30 .
40
+ attr_accessor :idle_timeout_in_minutes
41
+
42
+
43
+ #
44
+ # Mapper for ManagedClusterLoadBalancerProfile class as Ruby Hash.
45
+ # This will be used for serialization/deserialization.
46
+ #
47
+ def self.mapper()
48
+ {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'ManagedClusterLoadBalancerProfile',
52
+ type: {
53
+ name: 'Composite',
54
+ class_name: 'ManagedClusterLoadBalancerProfile',
55
+ model_properties: {
56
+ managed_outbound_ips: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'managedOutboundIPs',
60
+ type: {
61
+ name: 'Composite',
62
+ class_name: 'ManagedClusterLoadBalancerProfileManagedOutboundIPs'
63
+ }
64
+ },
65
+ outbound_ipprefixes: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'outboundIPPrefixes',
69
+ type: {
70
+ name: 'Composite',
71
+ class_name: 'ManagedClusterLoadBalancerProfileOutboundIPPrefixes'
72
+ }
73
+ },
74
+ outbound_ips: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'outboundIPs',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'ManagedClusterLoadBalancerProfileOutboundIPs'
81
+ }
82
+ },
83
+ effective_outbound_ips: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'effectiveOutboundIPs',
87
+ type: {
88
+ name: 'Sequence',
89
+ element: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'ResourceReferenceElementType',
93
+ type: {
94
+ name: 'Composite',
95
+ class_name: 'ResourceReference'
96
+ }
97
+ }
98
+ }
99
+ },
100
+ allocated_outbound_ports: {
101
+ client_side_validation: true,
102
+ required: false,
103
+ serialized_name: 'allocatedOutboundPorts',
104
+ default_value: 0,
105
+ constraints: {
106
+ InclusiveMaximum: 64000,
107
+ InclusiveMinimum: 0
108
+ },
109
+ type: {
110
+ name: 'Number'
111
+ }
112
+ },
113
+ idle_timeout_in_minutes: {
114
+ client_side_validation: true,
115
+ required: false,
116
+ serialized_name: 'idleTimeoutInMinutes',
117
+ default_value: 30,
118
+ constraints: {
119
+ InclusiveMaximum: 120,
120
+ InclusiveMinimum: 4
121
+ },
122
+ type: {
123
+ name: 'Number'
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+ end
130
+ end
131
+ end
132
+ end