azure_mgmt_appconfiguration 0.17.2 → 0.17.3

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 (46) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/app_configuration_management_client.rb +1 -1
  3. data/lib/2019-11-01-preview/generated/azure_mgmt_appconfiguration/app_configuration_management_client.rb +1 -1
  4. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration.rb +63 -0
  5. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/app_configuration_management_client.rb +143 -0
  6. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/configuration_stores.rb +1500 -0
  7. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/actions_required.rb +16 -0
  8. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/api_key.rb +111 -0
  9. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/api_key_list_result.rb +99 -0
  10. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/check_name_availability_parameters.rb +60 -0
  11. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/configuration_store.rb +199 -0
  12. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/configuration_store_list_result.rb +99 -0
  13. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/configuration_store_update_parameters.rb +92 -0
  14. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/connection_status.rb +18 -0
  15. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/encryption_properties.rb +47 -0
  16. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/error.rb +57 -0
  17. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/identity_type.rb +18 -0
  18. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/key_value.rb +150 -0
  19. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/key_vault_properties.rb +58 -0
  20. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/list_key_value_parameters.rb +57 -0
  21. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/name_availability_status.rb +73 -0
  22. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/operation_definition.rb +59 -0
  23. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/operation_definition_display.rb +81 -0
  24. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/operation_definition_list_result.rb +99 -0
  25. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/private_endpoint.rb +46 -0
  26. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/private_endpoint_connection.rb +111 -0
  27. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/private_endpoint_connection_list_result.rb +99 -0
  28. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/private_endpoint_connection_reference.rb +111 -0
  29. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/private_link_resource.rb +125 -0
  30. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/private_link_resource_list_result.rb +99 -0
  31. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/private_link_service_connection_state.rb +73 -0
  32. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/provisioning_state.rb +20 -0
  33. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/public_network_access.rb +16 -0
  34. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/regenerate_key_parameters.rb +46 -0
  35. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/resource.rb +111 -0
  36. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/resource_identity.rb +99 -0
  37. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/sku.rb +46 -0
  38. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/user_identity.rb +59 -0
  39. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/module_definition.rb +9 -0
  40. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/operations.rb +339 -0
  41. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/private_endpoint_connections.rb +675 -0
  42. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/private_link_resources.rb +352 -0
  43. data/lib/azure_mgmt_appconfiguration.rb +2 -1
  44. data/lib/profiles/latest/modules/appconfiguration_profile_module.rb +89 -81
  45. data/lib/version.rb +1 -1
  46. metadata +41 -2
@@ -0,0 +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::V2020_06_01
7
+ module Models
8
+ #
9
+ # The result of a request to list configuration stores.
10
+ #
11
+ class ConfigurationStoreListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<ConfigurationStore>] 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<ConfigurationStore>] 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 [ConfigurationStoreListResult] 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 ConfigurationStoreListResult 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: 'ConfigurationStoreListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'ConfigurationStoreListResult',
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: 'ConfigurationStoreElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'ConfigurationStore'
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
@@ -0,0 +1,92 @@
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::V2020_06_01
7
+ module Models
8
+ #
9
+ # The parameters for updating a configuration store.
10
+ #
11
+ class ConfigurationStoreUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [EncryptionProperties] The encryption settings of the
16
+ # configuration store.
17
+ attr_accessor :encryption
18
+
19
+ # @return [ResourceIdentity] The managed identity information for the
20
+ # configuration store.
21
+ attr_accessor :identity
22
+
23
+ # @return [Sku] The SKU of the configuration store.
24
+ attr_accessor :sku
25
+
26
+ # @return [Hash{String => String}] The ARM resource tags.
27
+ attr_accessor :tags
28
+
29
+
30
+ #
31
+ # Mapper for ConfigurationStoreUpdateParameters 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: 'ConfigurationStoreUpdateParameters',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'ConfigurationStoreUpdateParameters',
42
+ model_properties: {
43
+ encryption: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'properties.encryption',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'EncryptionProperties'
50
+ }
51
+ },
52
+ identity: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'identity',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'ResourceIdentity'
59
+ }
60
+ },
61
+ sku: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'sku',
65
+ type: {
66
+ name: 'Composite',
67
+ class_name: 'Sku'
68
+ }
69
+ },
70
+ tags: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'tags',
74
+ type: {
75
+ name: 'Dictionary',
76
+ value: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'StringElementType',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,18 @@
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::V2020_06_01
7
+ module Models
8
+ #
9
+ # Defines values for ConnectionStatus
10
+ #
11
+ module ConnectionStatus
12
+ Pending = "Pending"
13
+ Approved = "Approved"
14
+ Rejected = "Rejected"
15
+ Disconnected = "Disconnected"
16
+ end
17
+ end
18
+ 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::Appconfiguration::Mgmt::V2020_06_01
7
+ module Models
8
+ #
9
+ # The encryption settings for a configuration store.
10
+ #
11
+ class EncryptionProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [KeyVaultProperties] Key vault properties.
16
+ attr_accessor :key_vault_properties
17
+
18
+
19
+ #
20
+ # Mapper for EncryptionProperties 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: 'EncryptionProperties',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'EncryptionProperties',
31
+ model_properties: {
32
+ key_vault_properties: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'keyVaultProperties',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'KeyVaultProperties'
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::Appconfiguration::Mgmt::V2020_06_01
7
+ module Models
8
+ #
9
+ # AppConfiguration error object.
10
+ #
11
+ class Error
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Error code.
16
+ attr_accessor :code
17
+
18
+ # @return [String] Error message.
19
+ attr_accessor :message
20
+
21
+
22
+ #
23
+ # Mapper for Error 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: 'Error',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'Error',
34
+ model_properties: {
35
+ code: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'code',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ message: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'message',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,18 @@
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::V2020_06_01
7
+ module Models
8
+ #
9
+ # Defines values for IdentityType
10
+ #
11
+ module IdentityType
12
+ None = "None"
13
+ SystemAssigned = "SystemAssigned"
14
+ UserAssigned = "UserAssigned"
15
+ SystemAssignedUserAssigned = "SystemAssigned, UserAssigned"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,150 @@
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::V2020_06_01
7
+ module Models
8
+ #
9
+ # The result of a request to retrieve a key-value from the specified
10
+ # configuration store.
11
+ #
12
+ class KeyValue
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The primary identifier of a key-value.
17
+ # The key is used in unison with the label to uniquely identify a
18
+ # key-value.
19
+ attr_accessor :key
20
+
21
+ # @return [String] A value used to group key-values.
22
+ # The label is used in unison with the key to uniquely identify a
23
+ # key-value.
24
+ attr_accessor :label
25
+
26
+ # @return [String] The value of the key-value.
27
+ attr_accessor :value
28
+
29
+ # @return [String] The content type of the key-value's value.
30
+ # Providing a proper content-type can enable transformations of values
31
+ # when they are retrieved by applications.
32
+ attr_accessor :content_type
33
+
34
+ # @return [String] An ETag indicating the state of a key-value within a
35
+ # configuration store.
36
+ attr_accessor :e_tag
37
+
38
+ # @return [DateTime] The last time a modifying operation was performed on
39
+ # the given key-value.
40
+ attr_accessor :last_modified
41
+
42
+ # @return [Boolean] A value indicating whether the key-value is locked.
43
+ # A locked key-value may not be modified until it is unlocked.
44
+ attr_accessor :locked
45
+
46
+ # @return [Hash{String => String}] A dictionary of tags that can help
47
+ # identify what a key-value may be applicable for.
48
+ attr_accessor :tags
49
+
50
+
51
+ #
52
+ # Mapper for KeyValue class as Ruby Hash.
53
+ # This will be used for serialization/deserialization.
54
+ #
55
+ def self.mapper()
56
+ {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'KeyValue',
60
+ type: {
61
+ name: 'Composite',
62
+ class_name: 'KeyValue',
63
+ model_properties: {
64
+ key: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: 'key',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ label: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ read_only: true,
77
+ serialized_name: 'label',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
82
+ value: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ read_only: true,
86
+ serialized_name: 'value',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ },
91
+ content_type: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ read_only: true,
95
+ serialized_name: 'contentType',
96
+ type: {
97
+ name: 'String'
98
+ }
99
+ },
100
+ e_tag: {
101
+ client_side_validation: true,
102
+ required: false,
103
+ read_only: true,
104
+ serialized_name: 'eTag',
105
+ type: {
106
+ name: 'String'
107
+ }
108
+ },
109
+ last_modified: {
110
+ client_side_validation: true,
111
+ required: false,
112
+ read_only: true,
113
+ serialized_name: 'lastModified',
114
+ type: {
115
+ name: 'DateTime'
116
+ }
117
+ },
118
+ locked: {
119
+ client_side_validation: true,
120
+ required: false,
121
+ read_only: true,
122
+ serialized_name: 'locked',
123
+ type: {
124
+ name: 'Boolean'
125
+ }
126
+ },
127
+ tags: {
128
+ client_side_validation: true,
129
+ required: false,
130
+ read_only: true,
131
+ serialized_name: 'tags',
132
+ type: {
133
+ name: 'Dictionary',
134
+ value: {
135
+ client_side_validation: true,
136
+ required: false,
137
+ serialized_name: 'StringElementType',
138
+ type: {
139
+ name: 'String'
140
+ }
141
+ }
142
+ }
143
+ }
144
+ }
145
+ }
146
+ }
147
+ end
148
+ end
149
+ end
150
+ end