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
@@ -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::Appconfiguration::Mgmt::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for ActionsRequired
10
+ #
11
+ module ActionsRequired
12
+ None = "None"
13
+ Recreate = "Recreate"
14
+ end
15
+ end
16
+ end
@@ -0,0 +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_11_01_preview
7
+ module Models
8
+ #
9
+ # An API key used for authenticating with a configuration store endpoint.
10
+ #
11
+ class ApiKey
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The key ID.
16
+ attr_accessor :id
17
+
18
+ # @return [String] A name for the key describing its usage.
19
+ attr_accessor :name
20
+
21
+ # @return [String] The value of the key that is used for authentication
22
+ # purposes.
23
+ attr_accessor :value
24
+
25
+ # @return [String] A connection string that can be used by supporting
26
+ # clients for authentication.
27
+ attr_accessor :connection_string
28
+
29
+ # @return [DateTime] The last time any of the key's properties were
30
+ # modified.
31
+ attr_accessor :last_modified
32
+
33
+ # @return [Boolean] Whether this key can only be used for read
34
+ # operations.
35
+ attr_accessor :read_only
36
+
37
+
38
+ #
39
+ # Mapper for ApiKey class as Ruby Hash.
40
+ # This will be used for serialization/deserialization.
41
+ #
42
+ def self.mapper()
43
+ {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'ApiKey',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'ApiKey',
50
+ model_properties: {
51
+ id: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'id',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ name: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'name',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ value: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ read_only: true,
73
+ serialized_name: 'value',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ connection_string: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ read_only: true,
82
+ serialized_name: 'connectionString',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ last_modified: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ read_only: true,
91
+ serialized_name: 'lastModified',
92
+ type: {
93
+ name: 'DateTime'
94
+ }
95
+ },
96
+ read_only: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ read_only: true,
100
+ serialized_name: 'readOnly',
101
+ type: {
102
+ name: 'Boolean'
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+ end
109
+ end
110
+ end
111
+ end
@@ -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::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # The result of a request to list API keys.
10
+ #
11
+ class ApiKeyListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<ApiKey>] 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<ApiKey>] 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 [ApiKeyListResult] 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 ApiKeyListResult 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: 'ApiKeyListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'ApiKeyListResult',
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: 'ApiKeyElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'ApiKey'
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,60 @@
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_11_01_preview
7
+ module Models
8
+ #
9
+ # Parameters used for checking whether a resource name is available.
10
+ #
11
+ class CheckNameAvailabilityParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name to check for availability.
16
+ attr_accessor :name
17
+
18
+ # @return [String] The resource type to check for name availability.
19
+ # Default value: 'Microsoft.AppConfiguration/configurationStores' .
20
+ attr_accessor :type
21
+
22
+
23
+ #
24
+ # Mapper for CheckNameAvailabilityParameters class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'CheckNameAvailabilityParameters',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'CheckNameAvailabilityParameters',
35
+ model_properties: {
36
+ name: {
37
+ client_side_validation: true,
38
+ required: true,
39
+ serialized_name: 'name',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ type: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ is_constant: true,
48
+ serialized_name: 'type',
49
+ default_value: 'Microsoft.AppConfiguration/configurationStores',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,164 @@
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_11_01_preview
7
+ module Models
8
+ #
9
+ # The configuration store along with all resource properties. The
10
+ # Configuration Store will have all information to begin utilizing it.
11
+ #
12
+ class ConfigurationStore < Resource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [ResourceIdentity] The managed identity information, if
17
+ # configured.
18
+ attr_accessor :identity
19
+
20
+ # @return [ProvisioningState] The provisioning state of the configuration
21
+ # store. Possible values include: 'Creating', 'Updating', 'Deleting',
22
+ # 'Succeeded', 'Failed', 'Canceled'
23
+ attr_accessor :provisioning_state
24
+
25
+ # @return [DateTime] The creation date of configuration store.
26
+ attr_accessor :creation_date
27
+
28
+ # @return [String] The DNS endpoint where the configuration store API
29
+ # will be available.
30
+ attr_accessor :endpoint
31
+
32
+ # @return [EncryptionProperties] The encryption settings of the
33
+ # configuration store.
34
+ attr_accessor :encryption
35
+
36
+ # @return [Sku] The sku of the configuration store.
37
+ attr_accessor :sku
38
+
39
+
40
+ #
41
+ # Mapper for ConfigurationStore 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: 'ConfigurationStore',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'ConfigurationStore',
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
+ location: {
81
+ client_side_validation: true,
82
+ required: true,
83
+ serialized_name: 'location',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ },
88
+ tags: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ serialized_name: 'tags',
92
+ type: {
93
+ name: 'Dictionary',
94
+ value: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ serialized_name: 'StringElementType',
98
+ type: {
99
+ name: 'String'
100
+ }
101
+ }
102
+ }
103
+ },
104
+ identity: {
105
+ client_side_validation: true,
106
+ required: false,
107
+ serialized_name: 'identity',
108
+ type: {
109
+ name: 'Composite',
110
+ class_name: 'ResourceIdentity'
111
+ }
112
+ },
113
+ provisioning_state: {
114
+ client_side_validation: true,
115
+ required: false,
116
+ read_only: true,
117
+ serialized_name: 'properties.provisioningState',
118
+ type: {
119
+ name: 'String'
120
+ }
121
+ },
122
+ creation_date: {
123
+ client_side_validation: true,
124
+ required: false,
125
+ read_only: true,
126
+ serialized_name: 'properties.creationDate',
127
+ type: {
128
+ name: 'DateTime'
129
+ }
130
+ },
131
+ endpoint: {
132
+ client_side_validation: true,
133
+ required: false,
134
+ read_only: true,
135
+ serialized_name: 'properties.endpoint',
136
+ type: {
137
+ name: 'String'
138
+ }
139
+ },
140
+ encryption: {
141
+ client_side_validation: true,
142
+ required: false,
143
+ serialized_name: 'properties.encryption',
144
+ type: {
145
+ name: 'Composite',
146
+ class_name: 'EncryptionProperties'
147
+ }
148
+ },
149
+ sku: {
150
+ client_side_validation: true,
151
+ required: true,
152
+ serialized_name: 'sku',
153
+ type: {
154
+ name: 'Composite',
155
+ class_name: 'Sku'
156
+ }
157
+ }
158
+ }
159
+ }
160
+ }
161
+ end
162
+ end
163
+ end
164
+ end