azure_mgmt_appconfiguration 0.17.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration.rb +43 -0
  4. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/app_configuration_management_client.rb +135 -0
  5. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/configuration_stores.rb +1386 -0
  6. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/api_key.rb +111 -0
  7. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/api_key_list_result.rb +99 -0
  8. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/check_name_availability_parameters.rb +60 -0
  9. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/configuration_store.rb +126 -0
  10. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/configuration_store_list_result.rb +99 -0
  11. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/configuration_store_update_parameters.rb +65 -0
  12. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/error.rb +57 -0
  13. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/name_availability_status.rb +73 -0
  14. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/operation_definition.rb +59 -0
  15. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/operation_definition_display.rb +81 -0
  16. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/operation_definition_list_result.rb +99 -0
  17. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/provisioning_state.rb +20 -0
  18. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/regenerate_key_parameters.rb +46 -0
  19. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/resource.rb +111 -0
  20. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/module_definition.rb +9 -0
  21. data/lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/operations.rb +339 -0
  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/2020-06-01/generated/azure_mgmt_appconfiguration.rb +63 -0
  60. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/app_configuration_management_client.rb +143 -0
  61. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/configuration_stores.rb +1500 -0
  62. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/actions_required.rb +16 -0
  63. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/api_key.rb +111 -0
  64. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/api_key_list_result.rb +99 -0
  65. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/check_name_availability_parameters.rb +60 -0
  66. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/configuration_store.rb +199 -0
  67. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/configuration_store_list_result.rb +99 -0
  68. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/configuration_store_update_parameters.rb +92 -0
  69. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/connection_status.rb +18 -0
  70. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/encryption_properties.rb +47 -0
  71. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/error.rb +57 -0
  72. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/identity_type.rb +18 -0
  73. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/key_value.rb +150 -0
  74. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/key_vault_properties.rb +58 -0
  75. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/list_key_value_parameters.rb +57 -0
  76. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/name_availability_status.rb +73 -0
  77. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/operation_definition.rb +59 -0
  78. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/operation_definition_display.rb +81 -0
  79. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/operation_definition_list_result.rb +99 -0
  80. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/private_endpoint.rb +46 -0
  81. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/private_endpoint_connection.rb +111 -0
  82. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/private_endpoint_connection_list_result.rb +99 -0
  83. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/private_endpoint_connection_reference.rb +111 -0
  84. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/private_link_resource.rb +125 -0
  85. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/private_link_resource_list_result.rb +99 -0
  86. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/private_link_service_connection_state.rb +73 -0
  87. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/provisioning_state.rb +20 -0
  88. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/public_network_access.rb +16 -0
  89. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/regenerate_key_parameters.rb +46 -0
  90. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/resource.rb +111 -0
  91. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/resource_identity.rb +99 -0
  92. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/sku.rb +46 -0
  93. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/models/user_identity.rb +59 -0
  94. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/module_definition.rb +9 -0
  95. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/operations.rb +339 -0
  96. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/private_endpoint_connections.rb +675 -0
  97. data/lib/2020-06-01/generated/azure_mgmt_appconfiguration/private_link_resources.rb +352 -0
  98. data/lib/azure_mgmt_appconfiguration.rb +8 -0
  99. data/lib/module_definition.rb +7 -0
  100. data/lib/profiles/latest/appconfiguration_latest_profile_client.rb +40 -0
  101. data/lib/profiles/latest/appconfiguration_module_definition.rb +8 -0
  102. data/lib/profiles/latest/modules/appconfiguration_profile_module.rb +195 -0
  103. data/lib/version.rb +7 -0
  104. metadata +219 -0
@@ -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
+ # A private endpoint connection
10
+ #
11
+ class PrivateEndpointConnection
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 [ProvisioningState] The provisioning status of the private
25
+ # endpoint connection. Possible values include: 'Creating', 'Updating',
26
+ # 'Deleting', 'Succeeded', 'Failed', 'Canceled'
27
+ attr_accessor :provisioning_state
28
+
29
+ # @return [PrivateEndpoint] The resource of private endpoint.
30
+ attr_accessor :private_endpoint
31
+
32
+ # @return [PrivateLinkServiceConnectionState] A collection of information
33
+ # about the state of the connection between service consumer and
34
+ # provider.
35
+ attr_accessor :private_link_service_connection_state
36
+
37
+
38
+ #
39
+ # Mapper for PrivateEndpointConnection 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: 'PrivateEndpointConnection',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'PrivateEndpointConnection',
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
+ type: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ read_only: true,
73
+ serialized_name: 'type',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ provisioning_state: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ read_only: true,
82
+ serialized_name: 'properties.provisioningState',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ private_endpoint: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'properties.privateEndpoint',
91
+ type: {
92
+ name: 'Composite',
93
+ class_name: 'PrivateEndpoint'
94
+ }
95
+ },
96
+ private_link_service_connection_state: {
97
+ client_side_validation: true,
98
+ required: true,
99
+ serialized_name: 'properties.privateLinkServiceConnectionState',
100
+ type: {
101
+ name: 'Composite',
102
+ class_name: 'PrivateLinkServiceConnectionState'
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
+ # A list of private endpoint connections
10
+ #
11
+ class PrivateEndpointConnectionListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<PrivateEndpointConnection>] 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<PrivateEndpointConnection>] 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 [PrivateEndpointConnectionListResult] 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 PrivateEndpointConnectionListResult 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: 'PrivateEndpointConnectionListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'PrivateEndpointConnectionListResult',
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: 'PrivateEndpointConnectionElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'PrivateEndpointConnection'
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,104 @@
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
+ # A resource that supports private link capabilities.
10
+ #
11
+ class PrivateLinkResource
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 private link resource group id.
25
+ attr_accessor :group_id
26
+
27
+ # @return [Array<String>] The private link resource required member
28
+ # names.
29
+ attr_accessor :required_members
30
+
31
+
32
+ #
33
+ # Mapper for PrivateLinkResource class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'PrivateLinkResource',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'PrivateLinkResource',
44
+ model_properties: {
45
+ id: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ read_only: true,
49
+ serialized_name: 'id',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ name: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ read_only: true,
58
+ serialized_name: 'name',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ type: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'type',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ group_id: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ read_only: true,
76
+ serialized_name: 'properties.groupId',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ required_members: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ read_only: true,
85
+ serialized_name: 'properties.requiredMembers',
86
+ type: {
87
+ name: 'Sequence',
88
+ element: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ serialized_name: 'StringElementType',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+ end
102
+ end
103
+ end
104
+ 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
+ # A list of private link resources.
10
+ #
11
+ class PrivateLinkResourceListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<PrivateLinkResource>] 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<PrivateLinkResource>] 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 [PrivateLinkResourceListResult] 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 PrivateLinkResourceListResult 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: 'PrivateLinkResourceListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'PrivateLinkResourceListResult',
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: 'PrivateLinkResourceElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'PrivateLinkResource'
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,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::Appconfiguration::Mgmt::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # The state of a private link service connection.
10
+ #
11
+ class PrivateLinkServiceConnectionState
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ConnectionStatus] The private link service connection status.
16
+ # Possible values include: 'Pending', 'Approved', 'Rejected',
17
+ # 'Disconnected'
18
+ attr_accessor :status
19
+
20
+ # @return [String] The private link service connection description.
21
+ attr_accessor :description
22
+
23
+ # @return [ActionsRequired] Any action that is required beyond basic
24
+ # workflow (approve/ reject/ disconnect). Possible values include:
25
+ # 'None', 'Recreate'
26
+ attr_accessor :actions_required
27
+
28
+
29
+ #
30
+ # Mapper for PrivateLinkServiceConnectionState class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'PrivateLinkServiceConnectionState',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'PrivateLinkServiceConnectionState',
41
+ model_properties: {
42
+ status: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'status',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ description: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'description',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ actions_required: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'actionsRequired',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ end
71
+ end
72
+ end
73
+ end