azure_mgmt_kubernetes_configuration 0.17.1 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/source_control_configuration_client.rb +1 -1
  3. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration.rb +50 -0
  4. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/azure_entity_resource.rb +77 -0
  5. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/compliance_state_type.rb +19 -0
  6. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/compliance_status.rb +83 -0
  7. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/created_by_type.rb +18 -0
  8. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/error_definition.rb +58 -0
  9. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/error_response.rb +47 -0
  10. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/helm_operator_properties.rb +57 -0
  11. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/message_level_type.rb +17 -0
  12. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/operator_scope_type.rb +16 -0
  13. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/operator_type.rb +15 -0
  14. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/provisioning_state_type.rb +19 -0
  15. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/proxy_resource.rb +65 -0
  16. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/resource.rb +86 -0
  17. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/resource_provider_operation.rb +73 -0
  18. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/resource_provider_operation_display.rb +79 -0
  19. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/resource_provider_operation_list.rb +100 -0
  20. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/result.rb +46 -0
  21. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/source_control_configuration.rb +247 -0
  22. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/source_control_configuration_list.rb +104 -0
  23. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/system_data.rb +105 -0
  24. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/models/tracked_resource.rb +95 -0
  25. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/module_definition.rb +9 -0
  26. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/operations.rb +227 -0
  27. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/source_control_configuration_client.rb +136 -0
  28. data/lib/2021-03-01/generated/azure_mgmt_kubernetes_configuration/source_control_configurations.rb +722 -0
  29. data/lib/azure_mgmt_kubernetes_configuration.rb +1 -0
  30. data/lib/profiles/latest/modules/kubernetesconfiguration_profile_module.rb +67 -55
  31. data/lib/version.rb +1 -1
  32. metadata +29 -3
@@ -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::V2021_03_01
7
+ module Models
8
+ #
9
+ # Defines values for OperatorScopeType
10
+ #
11
+ module OperatorScopeType
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::V2021_03_01
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::V2021_03_01
7
+ module Models
8
+ #
9
+ # Defines values for ProvisioningStateType
10
+ #
11
+ module ProvisioningStateType
12
+ Accepted = "Accepted"
13
+ Deleting = "Deleting"
14
+ Running = "Running"
15
+ Succeeded = "Succeeded"
16
+ Failed = "Failed"
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,65 @@
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::V2021_03_01
7
+ module Models
8
+ #
9
+ # Proxy Resource
10
+
11
+ # The resource model definition for a Azure Resource Manager proxy
12
+ # resource. It will not have tags and a location
13
+ #
14
+ class ProxyResource < Resource
15
+
16
+ include MsRestAzure
17
+
18
+
19
+ #
20
+ # Mapper for ProxyResource 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: 'ProxyResource',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ProxyResource',
31
+ model_properties: {
32
+ id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ read_only: true,
36
+ serialized_name: 'id',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ },
41
+ name: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'name',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ type: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'type',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,86 @@
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::V2021_03_01
7
+ module Models
8
+ #
9
+ # Resource
10
+
11
+ # Common fields that are returned in the response for all Azure Resource
12
+ # Manager resources
13
+ #
14
+ class Resource
15
+
16
+ include MsRestAzure
17
+
18
+ # @return [String] Fully qualified resource ID for the resource. Ex -
19
+ # /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
20
+ attr_accessor :id
21
+
22
+ # @return [String] The name of the resource
23
+ attr_accessor :name
24
+
25
+ # @return [String] The type of the resource. E.g.
26
+ # "Microsoft.Compute/virtualMachines" or
27
+ # "Microsoft.Storage/storageAccounts"
28
+ attr_accessor :type
29
+
30
+
31
+ # @return [String] the name of the resource group of the resource.
32
+ def resource_group
33
+ unless self.id.nil?
34
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
35
+ groups.captures[0].strip if groups
36
+ end
37
+ end
38
+
39
+
40
+ #
41
+ # Mapper for Resource class as Ruby Hash.
42
+ # This will be used for serialization/deserialization.
43
+ #
44
+ def self.mapper()
45
+ {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'Resource',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'Resource',
52
+ model_properties: {
53
+ id: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'id',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ name: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'name',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ type: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ read_only: true,
75
+ serialized_name: 'type',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
83
+ end
84
+ end
85
+ end
86
+ end
@@ -0,0 +1,73 @@
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::V2021_03_01
7
+ module Models
8
+ #
9
+ # Supported operation of this resource provider.
10
+ #
11
+ class ResourceProviderOperation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Operation name, in format of
16
+ # {provider}/{resource}/{operation}
17
+ attr_accessor :name
18
+
19
+ # @return [ResourceProviderOperationDisplay] Display metadata associated
20
+ # with the operation.
21
+ attr_accessor :display
22
+
23
+ # @return [Boolean] The flag that indicates whether the operation applies
24
+ # to data plane.
25
+ attr_accessor :is_data_action
26
+
27
+
28
+ #
29
+ # Mapper for ResourceProviderOperation class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'ResourceProviderOperation',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'ResourceProviderOperation',
40
+ model_properties: {
41
+ name: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'name',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ display: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'display',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'ResourceProviderOperationDisplay'
56
+ }
57
+ },
58
+ is_data_action: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'isDataAction',
63
+ type: {
64
+ name: 'Boolean'
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,79 @@
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::V2021_03_01
7
+ module Models
8
+ #
9
+ # Display metadata associated with the operation.
10
+ #
11
+ class ResourceProviderOperationDisplay
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource provider: Microsoft KubernetesConfiguration.
16
+ attr_accessor :provider
17
+
18
+ # @return [String] Resource on which the operation is performed.
19
+ attr_accessor :resource
20
+
21
+ # @return [String] Type of operation: get, read, delete, etc.
22
+ attr_accessor :operation
23
+
24
+ # @return [String] Description of this operation.
25
+ attr_accessor :description
26
+
27
+
28
+ #
29
+ # Mapper for ResourceProviderOperationDisplay class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'ResourceProviderOperation_display',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'ResourceProviderOperationDisplay',
40
+ model_properties: {
41
+ provider: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'provider',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ resource: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'resource',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ operation: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'operation',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ description: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'description',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ end
77
+ end
78
+ end
79
+ 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::KubernetesConfiguration::Mgmt::V2021_03_01
7
+ module Models
8
+ #
9
+ # Result of the request to list operations.
10
+ #
11
+ class ResourceProviderOperationList
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<ResourceProviderOperation>] List of operations supported
17
+ # by this resource provider.
18
+ attr_accessor :value
19
+
20
+ # @return [String] URL to the next set of results, if any.
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<ResourceProviderOperation>] 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 [ResourceProviderOperationList] 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 ResourceProviderOperationList 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: 'ResourceProviderOperationList',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'ResourceProviderOperationList',
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: 'ResourceProviderOperationElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'ResourceProviderOperation'
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