azure_mgmt_appconfiguration 0.17.0 → 0.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +20 -20
  3. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration.rb +43 -43
  4. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/app_configuration_management_client.rb +1 -1
  5. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/configuration_stores.rb +1386 -1386
  6. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/api_key.rb +111 -111
  7. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/api_key_list_result.rb +99 -99
  8. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/check_name_availability_parameters.rb +60 -60
  9. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/configuration_store.rb +126 -126
  10. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/configuration_store_list_result.rb +99 -99
  11. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/configuration_store_update_parameters.rb +65 -65
  12. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/error.rb +57 -57
  13. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/name_availability_status.rb +73 -73
  14. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/operation_definition.rb +59 -59
  15. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/operation_definition_display.rb +81 -81
  16. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/operation_definition_list_result.rb +99 -99
  17. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/provisioning_state.rb +20 -20
  18. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/regenerate_key_parameters.rb +46 -46
  19. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/resource.rb +111 -111
  20. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/module_definition.rb +9 -9
  21. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/operations.rb +339 -339
  22. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration.rb +61 -0
  23. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/app_configuration_management_client.rb +143 -0
  24. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/configuration_stores.rb +1500 -0
  25. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/actions_required.rb +16 -0
  26. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/api_key.rb +111 -0
  27. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/api_key_list_result.rb +99 -0
  28. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/check_name_availability_parameters.rb +60 -0
  29. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/configuration_store.rb +164 -0
  30. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/configuration_store_list_result.rb +99 -0
  31. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/configuration_store_update_parameters.rb +92 -0
  32. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/connection_status.rb +18 -0
  33. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/encryption_properties.rb +47 -0
  34. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/error.rb +57 -0
  35. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/identity_type.rb +18 -0
  36. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/key_value.rb +150 -0
  37. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/key_vault_properties.rb +58 -0
  38. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/list_key_value_parameters.rb +57 -0
  39. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/name_availability_status.rb +73 -0
  40. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/operation_definition.rb +59 -0
  41. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/operation_definition_display.rb +81 -0
  42. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/operation_definition_list_result.rb +99 -0
  43. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/private_endpoint.rb +46 -0
  44. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/private_endpoint_connection.rb +111 -0
  45. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/private_endpoint_connection_list_result.rb +99 -0
  46. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/private_link_resource.rb +104 -0
  47. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/private_link_resource_list_result.rb +99 -0
  48. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/private_link_service_connection_state.rb +73 -0
  49. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/provisioning_state.rb +20 -0
  50. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/regenerate_key_parameters.rb +46 -0
  51. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/resource.rb +111 -0
  52. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/resource_identity.rb +99 -0
  53. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/sku.rb +46 -0
  54. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/models/user_identity.rb +59 -0
  55. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/module_definition.rb +9 -0
  56. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/operations.rb +339 -0
  57. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/private_endpoint_connections.rb +675 -0
  58. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/private_link_resources.rb +352 -0
  59. data/lib/azure_mgmt_appconfiguration.rb +1 -0
  60. data/lib/module_definition.rb +7 -7
  61. data/lib/profiles/latest/appconfiguration_latest_profile_client.rb +40 -40
  62. data/lib/profiles/latest/appconfiguration_module_definition.rb +8 -8
  63. data/lib/profiles/latest/modules/appconfiguration_profile_module.rb +107 -39
  64. data/lib/version.rb +1 -1
  65. metadata +39 -2
@@ -1,99 +1,99 @@
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::Appconfiguration::Mgmt::V2019_02_01_preview
7
- module Models
8
- #
9
- # The result of a request to list configuration store operations.
10
- #
11
- class OperationDefinitionListResult
12
-
13
- include MsRestAzure
14
-
15
- include MsRest::JSONable
16
- # @return [Array<OperationDefinition>] The collection value.
17
- attr_accessor :value
18
-
19
- # @return [String] The URI that can be used to request the next set of
20
- # paged 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<OperationDefinition>] 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 [OperationDefinitionListResult] 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 OperationDefinitionListResult 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: 'OperationDefinitionListResult',
64
- type: {
65
- name: 'Composite',
66
- class_name: 'OperationDefinitionListResult',
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: 'OperationDefinitionElementType',
78
- type: {
79
- name: 'Composite',
80
- class_name: 'OperationDefinition'
81
- }
82
- }
83
- }
84
- },
85
- next_link: {
86
- client_side_validation: true,
87
- required: false,
88
- serialized_name: 'nextLink',
89
- type: {
90
- name: 'String'
91
- }
92
- }
93
- }
94
- }
95
- }
96
- end
97
- end
98
- end
99
- end
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::Appconfiguration::Mgmt::V2019_02_01_preview
7
+ module Models
8
+ #
9
+ # The result of a request to list configuration store operations.
10
+ #
11
+ class OperationDefinitionListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<OperationDefinition>] The collection value.
17
+ attr_accessor :value
18
+
19
+ # @return [String] The URI that can be used to request the next set of
20
+ # paged 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<OperationDefinition>] 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 [OperationDefinitionListResult] 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 OperationDefinitionListResult 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: 'OperationDefinitionListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'OperationDefinitionListResult',
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: 'OperationDefinitionElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'OperationDefinition'
81
+ }
82
+ }
83
+ }
84
+ },
85
+ next_link: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'nextLink',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ end
@@ -1,20 +1,20 @@
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::Appconfiguration::Mgmt::V2019_02_01_preview
7
- module Models
8
- #
9
- # Defines values for ProvisioningState
10
- #
11
- module ProvisioningState
12
- Creating = "Creating"
13
- Updating = "Updating"
14
- Deleting = "Deleting"
15
- Succeeded = "Succeeded"
16
- Failed = "Failed"
17
- Canceled = "Canceled"
18
- end
19
- end
20
- end
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::Appconfiguration::Mgmt::V2019_02_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for ProvisioningState
10
+ #
11
+ module ProvisioningState
12
+ Creating = "Creating"
13
+ Updating = "Updating"
14
+ Deleting = "Deleting"
15
+ Succeeded = "Succeeded"
16
+ Failed = "Failed"
17
+ Canceled = "Canceled"
18
+ end
19
+ end
20
+ end
@@ -1,46 +1,46 @@
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::Appconfiguration::Mgmt::V2019_02_01_preview
7
- module Models
8
- #
9
- # The parameters used to regenerate an API key.
10
- #
11
- class RegenerateKeyParameters
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] The id of the key to regenerate.
16
- attr_accessor :id
17
-
18
-
19
- #
20
- # Mapper for RegenerateKeyParameters 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: 'RegenerateKeyParameters',
28
- type: {
29
- name: 'Composite',
30
- class_name: 'RegenerateKeyParameters',
31
- model_properties: {
32
- id: {
33
- client_side_validation: true,
34
- required: false,
35
- serialized_name: 'id',
36
- type: {
37
- name: 'String'
38
- }
39
- }
40
- }
41
- }
42
- }
43
- end
44
- end
45
- end
46
- end
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::Appconfiguration::Mgmt::V2019_02_01_preview
7
+ module Models
8
+ #
9
+ # The parameters used to regenerate an API key.
10
+ #
11
+ class RegenerateKeyParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The id of the key to regenerate.
16
+ attr_accessor :id
17
+
18
+
19
+ #
20
+ # Mapper for RegenerateKeyParameters 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: 'RegenerateKeyParameters',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'RegenerateKeyParameters',
31
+ model_properties: {
32
+ id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'id',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -1,111 +1,111 @@
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::Appconfiguration::Mgmt::V2019_02_01_preview
7
- module Models
8
- #
9
- # An Azure resource.
10
- #
11
- class Resource
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] The resource ID.
16
- attr_accessor :id
17
-
18
- # @return [String] The name of the resource.
19
- attr_accessor :name
20
-
21
- # @return [String] The type of the resource.
22
- attr_accessor :type
23
-
24
- # @return [String] The location of the resource. This cannot be changed
25
- # after the resource is created.
26
- attr_accessor :location
27
-
28
- # @return [Hash{String => String}] The tags of the resource.
29
- attr_accessor :tags
30
-
31
-
32
- # @return [String] the name of the resource group of the resource.
33
- def resource_group
34
- unless self.id.nil?
35
- groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
36
- groups.captures[0].strip if groups
37
- end
38
- end
39
-
40
-
41
- #
42
- # Mapper for Resource 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: 'Resource',
50
- type: {
51
- name: 'Composite',
52
- class_name: 'Resource',
53
- model_properties: {
54
- id: {
55
- client_side_validation: true,
56
- required: false,
57
- read_only: true,
58
- serialized_name: 'id',
59
- type: {
60
- name: 'String'
61
- }
62
- },
63
- name: {
64
- client_side_validation: true,
65
- required: false,
66
- read_only: true,
67
- serialized_name: 'name',
68
- type: {
69
- name: 'String'
70
- }
71
- },
72
- type: {
73
- client_side_validation: true,
74
- required: false,
75
- read_only: true,
76
- serialized_name: 'type',
77
- type: {
78
- name: 'String'
79
- }
80
- },
81
- location: {
82
- client_side_validation: true,
83
- required: true,
84
- serialized_name: 'location',
85
- type: {
86
- name: 'String'
87
- }
88
- },
89
- tags: {
90
- client_side_validation: true,
91
- required: false,
92
- serialized_name: 'tags',
93
- type: {
94
- name: 'Dictionary',
95
- value: {
96
- client_side_validation: true,
97
- required: false,
98
- serialized_name: 'StringElementType',
99
- type: {
100
- name: 'String'
101
- }
102
- }
103
- }
104
- }
105
- }
106
- }
107
- }
108
- end
109
- end
110
- end
111
- end
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::Appconfiguration::Mgmt::V2019_02_01_preview
7
+ module Models
8
+ #
9
+ # An Azure resource.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The resource ID.
16
+ attr_accessor :id
17
+
18
+ # @return [String] The name of the resource.
19
+ attr_accessor :name
20
+
21
+ # @return [String] The type of the resource.
22
+ attr_accessor :type
23
+
24
+ # @return [String] The location of the resource. This cannot be changed
25
+ # after the resource is created.
26
+ attr_accessor :location
27
+
28
+ # @return [Hash{String => String}] The tags of the resource.
29
+ attr_accessor :tags
30
+
31
+
32
+ # @return [String] the name of the resource group of the resource.
33
+ def resource_group
34
+ unless self.id.nil?
35
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
36
+ groups.captures[0].strip if groups
37
+ end
38
+ end
39
+
40
+
41
+ #
42
+ # Mapper for Resource 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: 'Resource',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'Resource',
53
+ model_properties: {
54
+ id: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ read_only: true,
58
+ serialized_name: 'id',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ name: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'name',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ type: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ read_only: true,
76
+ serialized_name: 'type',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ location: {
82
+ client_side_validation: true,
83
+ required: true,
84
+ serialized_name: 'location',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ tags: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'tags',
93
+ type: {
94
+ name: 'Dictionary',
95
+ value: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ serialized_name: 'StringElementType',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+ end
109
+ end
110
+ end
111
+ end