azure_mgmt_kubernetes_configuration 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration.rb +47 -0
  4. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/compliance_state.rb +17 -0
  5. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/compliance_status.rb +82 -0
  6. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/enable_helm_operator.rb +16 -0
  7. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/error_definition.rb +81 -0
  8. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/error_response.rb +47 -0
  9. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/helm_operator_properties.rb +57 -0
  10. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/message_level.rb +17 -0
  11. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/operator_scope.rb +16 -0
  12. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/operator_type.rb +15 -0
  13. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/provisioning_state.rb +19 -0
  14. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/proxy_resource.rb +62 -0
  15. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/resource.rb +80 -0
  16. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/resource_provider_operation.rb +60 -0
  17. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/resource_provider_operation_display.rb +79 -0
  18. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/resource_provider_operation_list.rb +100 -0
  19. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/result.rb +46 -0
  20. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/source_control_configuration.rb +202 -0
  21. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/source_control_configuration_list.rb +104 -0
  22. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/module_definition.rb +9 -0
  23. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/operations.rb +231 -0
  24. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/source_control_configuration_client.rb +132 -0
  25. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/source_control_configurations.rb +737 -0
  26. data/lib/azure_mgmt_kubernetes_configuration.rb +6 -0
  27. data/lib/module_definition.rb +7 -0
  28. data/lib/profiles/latest/kubernetesconfiguration_latest_profile_client.rb +40 -0
  29. data/lib/profiles/latest/kubernetesconfiguration_module_definition.rb +8 -0
  30. data/lib/profiles/latest/modules/kubernetesconfiguration_profile_module.rb +135 -0
  31. data/lib/version.rb +7 -0
  32. metadata +147 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: eb85fd43ec4c79ef2cc0c3008040b0bb3548707dde1669fd77bd4e5b43090b44
4
+ data.tar.gz: 748a30d3ee6710193ad92e6399cf062fecd2f34ec777fbf946ff87f276cd5587
5
+ SHA512:
6
+ metadata.gz: 99ca886514cab2819a717b255c459479010da6e1cd336c2a2ed7e8b8b5a448e5eee6e7be5fd8b9db6918aa75ecdcd74ac4bce2a99e30820e52f7c37c1894ebdd
7
+ data.tar.gz: 0042c239162859bc9030b99e54f278310a3289b7097a8271d8b90a27344a2fa66b1797df375d98c39a7c4f7b841bee2db9e26cc187a58f66b9918b374a5c64ec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Microsoft Corporation
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -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
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::KubernetesConfiguration::Mgmt::V2019_11_01_preview
23
+ autoload :SourceControlConfigurations, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/source_control_configurations.rb'
24
+ autoload :Operations, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/operations.rb'
25
+ autoload :SourceControlConfigurationClient, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/source_control_configuration_client.rb'
26
+
27
+ module Models
28
+ autoload :HelmOperatorProperties, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/helm_operator_properties.rb'
29
+ autoload :Resource, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/resource.rb'
30
+ autoload :ResourceProviderOperationList, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/resource_provider_operation_list.rb'
31
+ autoload :Result, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/result.rb'
32
+ autoload :ErrorResponse, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/error_response.rb'
33
+ autoload :SourceControlConfigurationList, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/source_control_configuration_list.rb'
34
+ autoload :ErrorDefinition, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/error_definition.rb'
35
+ autoload :ResourceProviderOperationDisplay, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/resource_provider_operation_display.rb'
36
+ autoload :ComplianceStatus, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/compliance_status.rb'
37
+ autoload :ResourceProviderOperation, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/resource_provider_operation.rb'
38
+ autoload :ProxyResource, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/proxy_resource.rb'
39
+ autoload :SourceControlConfiguration, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/source_control_configuration.rb'
40
+ autoload :ComplianceState, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/compliance_state.rb'
41
+ autoload :MessageLevel, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/message_level.rb'
42
+ autoload :OperatorType, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/operator_type.rb'
43
+ autoload :OperatorScope, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/operator_scope.rb'
44
+ autoload :EnableHelmOperator, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/enable_helm_operator.rb'
45
+ autoload :ProvisioningState, '2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/provisioning_state.rb'
46
+ end
47
+ end
@@ -0,0 +1,17 @@
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::KubernetesConfiguration::Mgmt::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for ComplianceState
10
+ #
11
+ module ComplianceState
12
+ Pending = "Pending"
13
+ Compliant = "Compliant"
14
+ Noncompliant = "Noncompliant"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,82 @@
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::KubernetesConfiguration::Mgmt::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # Compliance Status details
10
+ #
11
+ class ComplianceStatus
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ComplianceState] The compliance state of the configuration.
16
+ # Possible values include: 'Pending', 'Compliant', 'Noncompliant'
17
+ attr_accessor :compliance_state
18
+
19
+ # @return [DateTime] Datetime the configuration was last applied.
20
+ attr_accessor :last_config_applied
21
+
22
+ # @return [String] Message from when the configuration was applied.
23
+ attr_accessor :message
24
+
25
+ # @return [MessageLevel] Level of the message. Possible values include:
26
+ # 'Error', 'Warning', 'Information'
27
+ attr_accessor :message_level
28
+
29
+
30
+ #
31
+ # Mapper for ComplianceStatus class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'ComplianceStatus',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'ComplianceStatus',
42
+ model_properties: {
43
+ compliance_state: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'complianceState',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ last_config_applied: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'lastConfigApplied',
56
+ type: {
57
+ name: 'DateTime'
58
+ }
59
+ },
60
+ message: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'message',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ message_level: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'messageLevel',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ end
80
+ end
81
+ end
82
+ end
@@ -0,0 +1,16 @@
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::KubernetesConfiguration::Mgmt::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for EnableHelmOperator
10
+ #
11
+ module EnableHelmOperator
12
+ True = "true"
13
+ False = "false"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,81 @@
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::KubernetesConfiguration::Mgmt::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # Error definition.
10
+ #
11
+ class ErrorDefinition
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Service specific error code which serves as the
16
+ # substatus for the HTTP error code.
17
+ attr_accessor :code
18
+
19
+ # @return [String] Description of the error.
20
+ attr_accessor :message
21
+
22
+ # @return [Array<ErrorDefinition>] Internal error details.
23
+ attr_accessor :details
24
+
25
+
26
+ #
27
+ # Mapper for ErrorDefinition 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: 'ErrorDefinition',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'ErrorDefinition',
38
+ model_properties: {
39
+ code: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ read_only: true,
43
+ serialized_name: 'code',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ message: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'message',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ details: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'details',
62
+ type: {
63
+ name: 'Sequence',
64
+ element: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'ErrorDefinitionElementType',
68
+ type: {
69
+ name: 'Composite',
70
+ class_name: 'ErrorDefinition'
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ end
79
+ end
80
+ end
81
+ 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::KubernetesConfiguration::Mgmt::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # Error response.
10
+ #
11
+ class ErrorResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ErrorDefinition] Error definition.
16
+ attr_accessor :error
17
+
18
+
19
+ #
20
+ # Mapper for ErrorResponse class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'ErrorResponse',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ErrorResponse',
31
+ model_properties: {
32
+ error: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'error',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'ErrorDefinition'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,57 @@
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::KubernetesConfiguration::Mgmt::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # Properties for Helm operator.
10
+ #
11
+ class HelmOperatorProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Version of the operator Helm chart.
16
+ attr_accessor :chart_version
17
+
18
+ # @return [String] Values override for the operator Helm chart.
19
+ attr_accessor :chart_values
20
+
21
+
22
+ #
23
+ # Mapper for HelmOperatorProperties class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'HelmOperatorProperties',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'HelmOperatorProperties',
34
+ model_properties: {
35
+ chart_version: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'chartVersion',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ chart_values: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'chartValues',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,17 @@
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::KubernetesConfiguration::Mgmt::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for MessageLevel
10
+ #
11
+ module MessageLevel
12
+ Error = "Error"
13
+ Warning = "Warning"
14
+ Information = "Information"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,16 @@
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::KubernetesConfiguration::Mgmt::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for OperatorScope
10
+ #
11
+ module OperatorScope
12
+ Cluster = "cluster"
13
+ Namespace = "namespace"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,15 @@
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::KubernetesConfiguration::Mgmt::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for OperatorType
10
+ #
11
+ module OperatorType
12
+ Flux = "Flux"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,19 @@
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::KubernetesConfiguration::Mgmt::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for ProvisioningState
10
+ #
11
+ module ProvisioningState
12
+ Accepted = "Accepted"
13
+ Deleting = "Deleting"
14
+ Running = "Running"
15
+ Succeeded = "Succeeded"
16
+ Failed = "Failed"
17
+ end
18
+ end
19
+ end