azure_mgmt_storage 0.18.1 → 0.18.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  3. data/lib/2015-06-15/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  4. data/lib/2016-01-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  5. data/lib/2016-12-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  6. data/lib/2017-06-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  7. data/lib/2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  8. data/lib/2018-02-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  9. data/lib/2018-03-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  10. data/lib/2018-07-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  11. data/lib/2018-11-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  12. data/lib/2019-04-01/generated/azure_mgmt_storage.rb +22 -20
  13. data/lib/2019-04-01/generated/azure_mgmt_storage/models/active_directory_properties.rb +103 -0
  14. data/lib/2019-04-01/generated/azure_mgmt_storage/models/azure_files_identity_based_authentication.rb +13 -1
  15. data/lib/2019-04-01/generated/azure_mgmt_storage/models/directory_service_options.rb +1 -0
  16. data/lib/2019-04-01/generated/azure_mgmt_storage/models/list_key_expand.rb +15 -0
  17. data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +1 -1
  18. data/lib/2019-04-01/generated/azure_mgmt_storage/storage_accounts.rb +27 -15
  19. data/lib/2019-04-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  20. data/lib/2019-06-01/generated/azure_mgmt_storage.rb +152 -0
  21. data/lib/2019-06-01/generated/azure_mgmt_storage/blob_containers.rb +2034 -0
  22. data/lib/2019-06-01/generated/azure_mgmt_storage/blob_services.rb +383 -0
  23. data/lib/2019-06-01/generated/azure_mgmt_storage/file_services.rb +377 -0
  24. data/lib/2019-06-01/generated/azure_mgmt_storage/file_shares.rb +798 -0
  25. data/lib/2019-06-01/generated/azure_mgmt_storage/management_policies.rb +361 -0
  26. data/lib/2019-06-01/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
  27. data/lib/2019-06-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
  28. data/lib/2019-06-01/generated/azure_mgmt_storage/models/account_status.rb +16 -0
  29. data/lib/2019-06-01/generated/azure_mgmt_storage/models/action.rb +15 -0
  30. data/lib/2019-06-01/generated/azure_mgmt_storage/models/active_directory_properties.rb +103 -0
  31. data/lib/2019-06-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb +75 -0
  32. data/lib/2019-06-01/generated/azure_mgmt_storage/models/azure_files_identity_based_authentication.rb +59 -0
  33. data/lib/2019-06-01/generated/azure_mgmt_storage/models/blob_container.rb +217 -0
  34. data/lib/2019-06-01/generated/azure_mgmt_storage/models/blob_service_items.rb +57 -0
  35. data/lib/2019-06-01/generated/azure_mgmt_storage/models/blob_service_properties.rb +141 -0
  36. data/lib/2019-06-01/generated/azure_mgmt_storage/models/bypass.rb +18 -0
  37. data/lib/2019-06-01/generated/azure_mgmt_storage/models/change_feed.rb +47 -0
  38. data/lib/2019-06-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
  39. data/lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rule.rb +128 -0
  40. data/lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rules.rb +57 -0
  41. data/lib/2019-06-01/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
  42. data/lib/2019-06-01/generated/azure_mgmt_storage/models/date_after_creation.rb +50 -0
  43. data/lib/2019-06-01/generated/azure_mgmt_storage/models/date_after_modification.rb +51 -0
  44. data/lib/2019-06-01/generated/azure_mgmt_storage/models/default_action.rb +16 -0
  45. data/lib/2019-06-01/generated/azure_mgmt_storage/models/delete_retention_policy.rb +64 -0
  46. data/lib/2019-06-01/generated/azure_mgmt_storage/models/dimension.rb +57 -0
  47. data/lib/2019-06-01/generated/azure_mgmt_storage/models/directory_service_options.rb +17 -0
  48. data/lib/2019-06-01/generated/azure_mgmt_storage/models/encryption.rb +74 -0
  49. data/lib/2019-06-01/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
  50. data/lib/2019-06-01/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
  51. data/lib/2019-06-01/generated/azure_mgmt_storage/models/endpoints.rb +108 -0
  52. data/lib/2019-06-01/generated/azure_mgmt_storage/models/error_response.rb +59 -0
  53. data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_service_items.rb +57 -0
  54. data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_service_properties.rb +90 -0
  55. data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_share.rb +121 -0
  56. data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb +120 -0
  57. data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_items.rb +103 -0
  58. data/lib/2019-06-01/generated/azure_mgmt_storage/models/geo_replication_stats.rb +85 -0
  59. data/lib/2019-06-01/generated/azure_mgmt_storage/models/geo_replication_status.rb +17 -0
  60. data/lib/2019-06-01/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
  61. data/lib/2019-06-01/generated/azure_mgmt_storage/models/identity.rb +72 -0
  62. data/lib/2019-06-01/generated/azure_mgmt_storage/models/immutability_policy.rb +98 -0
  63. data/lib/2019-06-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb +95 -0
  64. data/lib/2019-06-01/generated/azure_mgmt_storage/models/immutability_policy_state.rb +16 -0
  65. data/lib/2019-06-01/generated/azure_mgmt_storage/models/immutability_policy_update_type.rb +17 -0
  66. data/lib/2019-06-01/generated/azure_mgmt_storage/models/iprule.rb +61 -0
  67. data/lib/2019-06-01/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
  68. data/lib/2019-06-01/generated/azure_mgmt_storage/models/key_source.rb +16 -0
  69. data/lib/2019-06-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
  70. data/lib/2019-06-01/generated/azure_mgmt_storage/models/kind.rb +19 -0
  71. data/lib/2019-06-01/generated/azure_mgmt_storage/models/large_file_shares_state.rb +16 -0
  72. data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_container_request.rb +97 -0
  73. data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_container_response.rb +60 -0
  74. data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_duration.rb +16 -0
  75. data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_state.rb +19 -0
  76. data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_status.rb +16 -0
  77. data/lib/2019-06-01/generated/azure_mgmt_storage/models/legal_hold.rb +71 -0
  78. data/lib/2019-06-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb +72 -0
  79. data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
  80. data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_container_item.rb +216 -0
  81. data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_container_items.rb +103 -0
  82. data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_key_expand.rb +15 -0
  83. data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
  84. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy.rb +89 -0
  85. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_action.rb +62 -0
  86. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb +73 -0
  87. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_definition.rb +60 -0
  88. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_filter.rb +76 -0
  89. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_rule.rb +87 -0
  90. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_schema.rb +58 -0
  91. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_snap_shot.rb +47 -0
  92. data/lib/2019-06-01/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
  93. data/lib/2019-06-01/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
  94. data/lib/2019-06-01/generated/azure_mgmt_storage/models/operation.rb +83 -0
  95. data/lib/2019-06-01/generated/azure_mgmt_storage/models/operation_display.rb +79 -0
  96. data/lib/2019-06-01/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
  97. data/lib/2019-06-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
  98. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint.rb +47 -0
  99. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint_connection.rb +101 -0
  100. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint_connection_provisioning_state.rb +18 -0
  101. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint_service_connection_status.rb +17 -0
  102. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_link_resource.rb +115 -0
  103. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_link_resource_list_result.rb +55 -0
  104. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_link_service_connection_state.rb +72 -0
  105. data/lib/2019-06-01/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
  106. data/lib/2019-06-01/generated/azure_mgmt_storage/models/proxy_resource.rb +63 -0
  107. data/lib/2019-06-01/generated/azure_mgmt_storage/models/public_access.rb +17 -0
  108. data/lib/2019-06-01/generated/azure_mgmt_storage/models/reason.rb +16 -0
  109. data/lib/2019-06-01/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
  110. data/lib/2019-06-01/generated/azure_mgmt_storage/models/resource.rb +83 -0
  111. data/lib/2019-06-01/generated/azure_mgmt_storage/models/restriction.rb +85 -0
  112. data/lib/2019-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
  113. data/lib/2019-06-01/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
  114. data/lib/2019-06-01/generated/azure_mgmt_storage/models/services.rb +18 -0
  115. data/lib/2019-06-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
  116. data/lib/2019-06-01/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
  117. data/lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb +157 -0
  118. data/lib/2019-06-01/generated/azure_mgmt_storage/models/sku_name.rb +22 -0
  119. data/lib/2019-06-01/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
  120. data/lib/2019-06-01/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
  121. data/lib/2019-06-01/generated/azure_mgmt_storage/models/state.rb +19 -0
  122. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account.rb +410 -0
  123. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +63 -0
  124. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +215 -0
  125. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_expand.rb +15 -0
  126. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
  127. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
  128. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +103 -0
  129. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
  130. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +192 -0
  131. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
  132. data/lib/2019-06-01/generated/azure_mgmt_storage/models/tag_property.rb +97 -0
  133. data/lib/2019-06-01/generated/azure_mgmt_storage/models/tracked_resource.rb +92 -0
  134. data/lib/2019-06-01/generated/azure_mgmt_storage/models/update_history_property.rb +114 -0
  135. data/lib/2019-06-01/generated/azure_mgmt_storage/models/usage.rb +89 -0
  136. data/lib/2019-06-01/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
  137. data/lib/2019-06-01/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
  138. data/lib/2019-06-01/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
  139. data/lib/2019-06-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
  140. data/lib/2019-06-01/generated/azure_mgmt_storage/module_definition.rb +9 -0
  141. data/lib/2019-06-01/generated/azure_mgmt_storage/operations.rb +110 -0
  142. data/lib/2019-06-01/generated/azure_mgmt_storage/private_endpoint_connections.rb +388 -0
  143. data/lib/2019-06-01/generated/azure_mgmt_storage/private_link_resources.rb +138 -0
  144. data/lib/2019-06-01/generated/azure_mgmt_storage/skus.rb +116 -0
  145. data/lib/2019-06-01/generated/azure_mgmt_storage/storage_accounts.rb +1754 -0
  146. data/lib/2019-06-01/generated/azure_mgmt_storage/storage_management_client.rb +171 -0
  147. data/lib/2019-06-01/generated/azure_mgmt_storage/usages.rb +120 -0
  148. data/lib/azure_mgmt_storage.rb +1 -0
  149. data/lib/profiles/latest/modules/storage_profile_module.rb +305 -261
  150. data/lib/version.rb +1 -1
  151. metadata +132 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f4cae4723fca89119ffc8861cb7602911f6f344afb410b5770c57b1e2015e23
4
- data.tar.gz: 7bd02a19c4afd648cbf9d539fe1c46aa8e5d74a775e4593ca7dc88ac38db4e08
3
+ metadata.gz: aab103ff878f81030533a07fb84a77ed79f5a4ed56d35408aeafd73bed6fed8b
4
+ data.tar.gz: ba969f15ba22f5948ca560a7190d527aa931e1e2c6de3f5a11cf27bb75ceadae
5
5
  SHA512:
6
- metadata.gz: 2f31bf97ff21fb0c1942dbaa2d823419fc6a849ceccdcabb1d4cf29cfd1bcfb7655cb4b5a096fee6e9b66b179749383355b72e21813e61f3902a6141d161c0a7
7
- data.tar.gz: ef36929f799f744417c81082c07f5eedcde832ddb60a3b5d1009adbc7badf36a4c34d9828e09eb95ed95c5c89e4a6331919c9a856b6d94db2e85f1010fdfd60d
6
+ metadata.gz: e3afaa3660772c03b69965f3b693c185947656ef3c5c48022ee6da67a1c751da51242f2c7f1ce9270ab4f8a13338b30c16f710fe76379a4f68f39d18f05d20f5
7
+ data.tar.gz: 1cbf3b56c50b0808fcd2f4ff30841bdb6d8f5be17eea21d9155d1842f2343a37979385105f7799cd1dad7d491269630fcedafb29f57048cd94f742d006864363
@@ -130,7 +130,7 @@ module Azure::Storage::Mgmt::V2015_05_01_preview
130
130
  #
131
131
  def add_telemetry
132
132
  sdk_information = 'azure_mgmt_storage'
133
- sdk_information = "#{sdk_information}/0.18.1"
133
+ sdk_information = "#{sdk_information}/0.18.2"
134
134
  add_user_agent_information(sdk_information)
135
135
  end
136
136
  end
@@ -130,7 +130,7 @@ module Azure::Storage::Mgmt::V2015_06_15
130
130
  #
131
131
  def add_telemetry
132
132
  sdk_information = 'azure_mgmt_storage'
133
- sdk_information = "#{sdk_information}/0.18.1"
133
+ sdk_information = "#{sdk_information}/0.18.2"
134
134
  add_user_agent_information(sdk_information)
135
135
  end
136
136
  end
@@ -130,7 +130,7 @@ module Azure::Storage::Mgmt::V2016_01_01
130
130
  #
131
131
  def add_telemetry
132
132
  sdk_information = 'azure_mgmt_storage'
133
- sdk_information = "#{sdk_information}/0.18.1"
133
+ sdk_information = "#{sdk_information}/0.18.2"
134
134
  add_user_agent_information(sdk_information)
135
135
  end
136
136
  end
@@ -130,7 +130,7 @@ module Azure::Storage::Mgmt::V2016_12_01
130
130
  #
131
131
  def add_telemetry
132
132
  sdk_information = 'azure_mgmt_storage'
133
- sdk_information = "#{sdk_information}/0.18.1"
133
+ sdk_information = "#{sdk_information}/0.18.2"
134
134
  add_user_agent_information(sdk_information)
135
135
  end
136
136
  end
@@ -138,7 +138,7 @@ module Azure::Storage::Mgmt::V2017_06_01
138
138
  #
139
139
  def add_telemetry
140
140
  sdk_information = 'azure_mgmt_storage'
141
- sdk_information = "#{sdk_information}/0.18.1"
141
+ sdk_information = "#{sdk_information}/0.18.2"
142
142
  add_user_agent_information(sdk_information)
143
143
  end
144
144
  end
@@ -138,7 +138,7 @@ module Azure::Storage::Mgmt::V2017_10_01
138
138
  #
139
139
  def add_telemetry
140
140
  sdk_information = 'azure_mgmt_storage'
141
- sdk_information = "#{sdk_information}/0.18.1"
141
+ sdk_information = "#{sdk_information}/0.18.2"
142
142
  add_user_agent_information(sdk_information)
143
143
  end
144
144
  end
@@ -140,7 +140,7 @@ module Azure::Storage::Mgmt::V2018_02_01
140
140
  #
141
141
  def add_telemetry
142
142
  sdk_information = 'azure_mgmt_storage'
143
- sdk_information = "#{sdk_information}/0.18.1"
143
+ sdk_information = "#{sdk_information}/0.18.2"
144
144
  add_user_agent_information(sdk_information)
145
145
  end
146
146
  end
@@ -140,7 +140,7 @@ module Azure::Storage::Mgmt::V2018_03_01_preview
140
140
  #
141
141
  def add_telemetry
142
142
  sdk_information = 'azure_mgmt_storage'
143
- sdk_information = "#{sdk_information}/0.18.1"
143
+ sdk_information = "#{sdk_information}/0.18.2"
144
144
  add_user_agent_information(sdk_information)
145
145
  end
146
146
  end
@@ -144,7 +144,7 @@ module Azure::Storage::Mgmt::V2018_07_01
144
144
  #
145
145
  def add_telemetry
146
146
  sdk_information = 'azure_mgmt_storage'
147
- sdk_information = "#{sdk_information}/0.18.1"
147
+ sdk_information = "#{sdk_information}/0.18.2"
148
148
  add_user_agent_information(sdk_information)
149
149
  end
150
150
  end
@@ -148,7 +148,7 @@ module Azure::Storage::Mgmt::V2018_11_01
148
148
  #
149
149
  def add_telemetry
150
150
  sdk_information = 'azure_mgmt_storage'
151
- sdk_information = "#{sdk_information}/0.18.1"
151
+ sdk_information = "#{sdk_information}/0.18.2"
152
152
  add_user_agent_information(sdk_information)
153
153
  end
154
154
  end
@@ -33,34 +33,35 @@ module Azure::Storage::Mgmt::V2019_04_01
33
33
 
34
34
  module Models
35
35
  autoload :ListServiceSasResponse, '2019-04-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb'
36
+ autoload :OperationDisplay, '2019-04-01/generated/azure_mgmt_storage/models/operation_display.rb'
36
37
  autoload :DateAfterModification, '2019-04-01/generated/azure_mgmt_storage/models/date_after_modification.rb'
37
- autoload :Dimension, '2019-04-01/generated/azure_mgmt_storage/models/dimension.rb'
38
+ autoload :MetricSpecification, '2019-04-01/generated/azure_mgmt_storage/models/metric_specification.rb'
38
39
  autoload :ManagementPolicyBaseBlob, '2019-04-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb'
39
- autoload :ServiceSpecification, '2019-04-01/generated/azure_mgmt_storage/models/service_specification.rb'
40
+ autoload :Operation, '2019-04-01/generated/azure_mgmt_storage/models/operation.rb'
40
41
  autoload :DateAfterCreation, '2019-04-01/generated/azure_mgmt_storage/models/date_after_creation.rb'
41
- autoload :OperationListResult, '2019-04-01/generated/azure_mgmt_storage/models/operation_list_result.rb'
42
+ autoload :StorageAccountCheckNameAvailabilityParameters, '2019-04-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb'
42
43
  autoload :ManagementPolicySnapShot, '2019-04-01/generated/azure_mgmt_storage/models/management_policy_snap_shot.rb'
43
- autoload :SKUCapability, '2019-04-01/generated/azure_mgmt_storage/models/skucapability.rb'
44
+ autoload :Restriction, '2019-04-01/generated/azure_mgmt_storage/models/restriction.rb'
44
45
  autoload :ManagementPolicyAction, '2019-04-01/generated/azure_mgmt_storage/models/management_policy_action.rb'
45
- autoload :Sku, '2019-04-01/generated/azure_mgmt_storage/models/sku.rb'
46
+ autoload :StorageSkuListResult, '2019-04-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb'
46
47
  autoload :ManagementPolicyFilter, '2019-04-01/generated/azure_mgmt_storage/models/management_policy_filter.rb'
47
- autoload :CheckNameAvailabilityResult, '2019-04-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb'
48
+ autoload :CustomDomain, '2019-04-01/generated/azure_mgmt_storage/models/custom_domain.rb'
48
49
  autoload :ManagementPolicyDefinition, '2019-04-01/generated/azure_mgmt_storage/models/management_policy_definition.rb'
49
- autoload :EncryptionService, '2019-04-01/generated/azure_mgmt_storage/models/encryption_service.rb'
50
+ autoload :EncryptionServices, '2019-04-01/generated/azure_mgmt_storage/models/encryption_services.rb'
50
51
  autoload :ManagementPolicyRule, '2019-04-01/generated/azure_mgmt_storage/models/management_policy_rule.rb'
51
- autoload :KeyVaultProperties, '2019-04-01/generated/azure_mgmt_storage/models/key_vault_properties.rb'
52
+ autoload :Encryption, '2019-04-01/generated/azure_mgmt_storage/models/encryption.rb'
52
53
  autoload :ManagementPolicySchema, '2019-04-01/generated/azure_mgmt_storage/models/management_policy_schema.rb'
53
- autoload :VirtualNetworkRule, '2019-04-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb'
54
- autoload :Restriction, '2019-04-01/generated/azure_mgmt_storage/models/restriction.rb'
55
- autoload :StorageSkuListResult, '2019-04-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb'
54
+ autoload :IPRule, '2019-04-01/generated/azure_mgmt_storage/models/iprule.rb'
55
+ autoload :Sku, '2019-04-01/generated/azure_mgmt_storage/models/sku.rb'
56
+ autoload :CheckNameAvailabilityResult, '2019-04-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb'
56
57
  autoload :AzureFilesIdentityBasedAuthentication, '2019-04-01/generated/azure_mgmt_storage/models/azure_files_identity_based_authentication.rb'
57
- autoload :CustomDomain, '2019-04-01/generated/azure_mgmt_storage/models/custom_domain.rb'
58
+ autoload :EncryptionService, '2019-04-01/generated/azure_mgmt_storage/models/encryption_service.rb'
58
59
  autoload :StorageAccountCreateParameters, '2019-04-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb'
59
- autoload :EncryptionServices, '2019-04-01/generated/azure_mgmt_storage/models/encryption_services.rb'
60
+ autoload :KeyVaultProperties, '2019-04-01/generated/azure_mgmt_storage/models/key_vault_properties.rb'
60
61
  autoload :GeoReplicationStats, '2019-04-01/generated/azure_mgmt_storage/models/geo_replication_stats.rb'
61
- autoload :Encryption, '2019-04-01/generated/azure_mgmt_storage/models/encryption.rb'
62
+ autoload :VirtualNetworkRule, '2019-04-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb'
62
63
  autoload :StorageAccountKey, '2019-04-01/generated/azure_mgmt_storage/models/storage_account_key.rb'
63
- autoload :IPRule, '2019-04-01/generated/azure_mgmt_storage/models/iprule.rb'
64
+ autoload :NetworkRuleSet, '2019-04-01/generated/azure_mgmt_storage/models/network_rule_set.rb'
64
65
  autoload :StorageAccountListKeysResult, '2019-04-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb'
65
66
  autoload :StorageAccountUpdateParameters, '2019-04-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb'
66
67
  autoload :Usage, '2019-04-01/generated/azure_mgmt_storage/models/usage.rb'
@@ -69,9 +70,9 @@ module Azure::Storage::Mgmt::V2019_04_01
69
70
  autoload :FileServiceItems, '2019-04-01/generated/azure_mgmt_storage/models/file_service_items.rb'
70
71
  autoload :ServiceSasParameters, '2019-04-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb'
71
72
  autoload :Resource, '2019-04-01/generated/azure_mgmt_storage/models/resource.rb'
72
- autoload :MetricSpecification, '2019-04-01/generated/azure_mgmt_storage/models/metric_specification.rb'
73
+ autoload :ServiceSpecification, '2019-04-01/generated/azure_mgmt_storage/models/service_specification.rb'
73
74
  autoload :UpdateHistoryProperty, '2019-04-01/generated/azure_mgmt_storage/models/update_history_property.rb'
74
- autoload :StorageAccountCheckNameAvailabilityParameters, '2019-04-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb'
75
+ autoload :SKUCapability, '2019-04-01/generated/azure_mgmt_storage/models/skucapability.rb'
75
76
  autoload :ImmutabilityPolicyProperties, '2019-04-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb'
76
77
  autoload :Identity, '2019-04-01/generated/azure_mgmt_storage/models/identity.rb'
77
78
  autoload :TagProperty, '2019-04-01/generated/azure_mgmt_storage/models/tag_property.rb'
@@ -82,15 +83,15 @@ module Azure::Storage::Mgmt::V2019_04_01
82
83
  autoload :LeaseContainerResponse, '2019-04-01/generated/azure_mgmt_storage/models/lease_container_response.rb'
83
84
  autoload :ListAccountSasResponse, '2019-04-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb'
84
85
  autoload :LeaseContainerRequest, '2019-04-01/generated/azure_mgmt_storage/models/lease_container_request.rb'
85
- autoload :Operation, '2019-04-01/generated/azure_mgmt_storage/models/operation.rb'
86
+ autoload :OperationListResult, '2019-04-01/generated/azure_mgmt_storage/models/operation_list_result.rb'
86
87
  autoload :LegalHold, '2019-04-01/generated/azure_mgmt_storage/models/legal_hold.rb'
87
88
  autoload :Endpoints, '2019-04-01/generated/azure_mgmt_storage/models/endpoints.rb'
88
89
  autoload :BlobServiceItems, '2019-04-01/generated/azure_mgmt_storage/models/blob_service_items.rb'
89
90
  autoload :UsageListResult, '2019-04-01/generated/azure_mgmt_storage/models/usage_list_result.rb'
90
91
  autoload :ListContainerItems, '2019-04-01/generated/azure_mgmt_storage/models/list_container_items.rb'
91
- autoload :NetworkRuleSet, '2019-04-01/generated/azure_mgmt_storage/models/network_rule_set.rb'
92
+ autoload :ActiveDirectoryProperties, '2019-04-01/generated/azure_mgmt_storage/models/active_directory_properties.rb'
92
93
  autoload :CorsRule, '2019-04-01/generated/azure_mgmt_storage/models/cors_rule.rb'
93
- autoload :OperationDisplay, '2019-04-01/generated/azure_mgmt_storage/models/operation_display.rb'
94
+ autoload :Dimension, '2019-04-01/generated/azure_mgmt_storage/models/dimension.rb'
94
95
  autoload :CorsRules, '2019-04-01/generated/azure_mgmt_storage/models/cors_rules.rb'
95
96
  autoload :StorageAccountRegenerateKeyParameters, '2019-04-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb'
96
97
  autoload :DeleteRetentionPolicy, '2019-04-01/generated/azure_mgmt_storage/models/delete_retention_policy.rb'
@@ -136,5 +137,6 @@ module Azure::Storage::Mgmt::V2019_04_01
136
137
  autoload :ImmutabilityPolicyState, '2019-04-01/generated/azure_mgmt_storage/models/immutability_policy_state.rb'
137
138
  autoload :ImmutabilityPolicyUpdateType, '2019-04-01/generated/azure_mgmt_storage/models/immutability_policy_update_type.rb'
138
139
  autoload :StorageAccountExpand, '2019-04-01/generated/azure_mgmt_storage/models/storage_account_expand.rb'
140
+ autoload :ListKeyExpand, '2019-04-01/generated/azure_mgmt_storage/models/list_key_expand.rb'
139
141
  end
140
142
  end
@@ -0,0 +1,103 @@
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::Storage::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # Settings properties for Active Directory (AD).
10
+ #
11
+ class ActiveDirectoryProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Specifies the primary domain that the AD DNS server is
16
+ # authoritative for.
17
+ attr_accessor :domain_name
18
+
19
+ # @return [String] Specifies the NetBIOS domain name.
20
+ attr_accessor :net_bios_domain_name
21
+
22
+ # @return [String] Specifies the Active Directory forest to get.
23
+ attr_accessor :forest_name
24
+
25
+ # @return [String] Specifies the domain GUID.
26
+ attr_accessor :domain_guid
27
+
28
+ # @return [String] Specifies the security identifier (SID).
29
+ attr_accessor :domain_sid
30
+
31
+ # @return [String] Specifies the security identifier (SID) for Azure
32
+ # Storage.
33
+ attr_accessor :azure_storage_sid
34
+
35
+
36
+ #
37
+ # Mapper for ActiveDirectoryProperties class as Ruby Hash.
38
+ # This will be used for serialization/deserialization.
39
+ #
40
+ def self.mapper()
41
+ {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'ActiveDirectoryProperties',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'ActiveDirectoryProperties',
48
+ model_properties: {
49
+ domain_name: {
50
+ client_side_validation: true,
51
+ required: true,
52
+ serialized_name: 'domainName',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ net_bios_domain_name: {
58
+ client_side_validation: true,
59
+ required: true,
60
+ serialized_name: 'netBiosDomainName',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ forest_name: {
66
+ client_side_validation: true,
67
+ required: true,
68
+ serialized_name: 'forestName',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ domain_guid: {
74
+ client_side_validation: true,
75
+ required: true,
76
+ serialized_name: 'domainGuid',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ domain_sid: {
82
+ client_side_validation: true,
83
+ required: true,
84
+ serialized_name: 'domainSid',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ azure_storage_sid: {
90
+ client_side_validation: true,
91
+ required: true,
92
+ serialized_name: 'azureStorageSid',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ }
97
+ }
98
+ }
99
+ }
100
+ end
101
+ end
102
+ end
103
+ end
@@ -13,9 +13,12 @@ module Azure::Storage::Mgmt::V2019_04_01
13
13
  include MsRestAzure
14
14
 
15
15
  # @return [DirectoryServiceOptions] Indicates the directory service used.
16
- # Possible values include: 'None', 'AADDS'
16
+ # Possible values include: 'None', 'AADDS', 'AD'
17
17
  attr_accessor :directory_service_options
18
18
 
19
+ # @return [ActiveDirectoryProperties] Required if choose AD.
20
+ attr_accessor :active_directory_properties
21
+
19
22
 
20
23
  #
21
24
  # Mapper for AzureFilesIdentityBasedAuthentication class as Ruby Hash.
@@ -37,6 +40,15 @@ module Azure::Storage::Mgmt::V2019_04_01
37
40
  type: {
38
41
  name: 'String'
39
42
  }
43
+ },
44
+ active_directory_properties: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'activeDirectoryProperties',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'ActiveDirectoryProperties'
51
+ }
40
52
  }
41
53
  }
42
54
  }
@@ -11,6 +11,7 @@ module Azure::Storage::Mgmt::V2019_04_01
11
11
  module DirectoryServiceOptions
12
12
  None = "None"
13
13
  AADDS = "AADDS"
14
+ AD = "AD"
14
15
  end
15
16
  end
16
17
  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::Storage::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # Defines values for ListKeyExpand
10
+ #
11
+ module ListKeyExpand
12
+ Kerb = "kerb"
13
+ end
14
+ end
15
+ end
@@ -13,7 +13,7 @@ module Azure::Storage::Mgmt::V2019_04_01
13
13
  include MsRestAzure
14
14
 
15
15
  # @return [String] The name of storage keys that want to be regenerated,
16
- # possible values are key1, key2.
16
+ # possible values are key1, key2, kerb1, kerb2.
17
17
  attr_accessor :key_name
18
18
 
19
19
 
@@ -753,54 +753,63 @@ module Azure::Storage::Mgmt::V2019_04_01
753
753
  end
754
754
 
755
755
  #
756
- # Lists the access keys for the specified storage account.
756
+ # Lists the access keys or Kerberos keys (if active directory enabled) for the
757
+ # specified storage account.
757
758
  #
758
759
  # @param resource_group_name [String] The name of the resource group within the
759
760
  # user's subscription. The name is case insensitive.
760
761
  # @param account_name [String] The name of the storage account within the
761
762
  # specified resource group. Storage account names must be between 3 and 24
762
763
  # characters in length and use numbers and lower-case letters only.
764
+ # @param expand [ListKeyExpand] Specifies type of the key to be listed.
765
+ # Possible value is kerb. Possible values include: 'kerb'
763
766
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
764
767
  # will be added to the HTTP request.
765
768
  #
766
769
  # @return [StorageAccountListKeysResult] operation results.
767
770
  #
768
- def list_keys(resource_group_name, account_name, custom_headers:nil)
769
- response = list_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value!
771
+ def list_keys(resource_group_name, account_name, expand:nil, custom_headers:nil)
772
+ response = list_keys_async(resource_group_name, account_name, expand:expand, custom_headers:custom_headers).value!
770
773
  response.body unless response.nil?
771
774
  end
772
775
 
773
776
  #
774
- # Lists the access keys for the specified storage account.
777
+ # Lists the access keys or Kerberos keys (if active directory enabled) for the
778
+ # specified storage account.
775
779
  #
776
780
  # @param resource_group_name [String] The name of the resource group within the
777
781
  # user's subscription. The name is case insensitive.
778
782
  # @param account_name [String] The name of the storage account within the
779
783
  # specified resource group. Storage account names must be between 3 and 24
780
784
  # characters in length and use numbers and lower-case letters only.
785
+ # @param expand [ListKeyExpand] Specifies type of the key to be listed.
786
+ # Possible value is kerb. Possible values include: 'kerb'
781
787
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
782
788
  # will be added to the HTTP request.
783
789
  #
784
790
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
785
791
  #
786
- def list_keys_with_http_info(resource_group_name, account_name, custom_headers:nil)
787
- list_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value!
792
+ def list_keys_with_http_info(resource_group_name, account_name, expand:nil, custom_headers:nil)
793
+ list_keys_async(resource_group_name, account_name, expand:expand, custom_headers:custom_headers).value!
788
794
  end
789
795
 
790
796
  #
791
- # Lists the access keys for the specified storage account.
797
+ # Lists the access keys or Kerberos keys (if active directory enabled) for the
798
+ # specified storage account.
792
799
  #
793
800
  # @param resource_group_name [String] The name of the resource group within the
794
801
  # user's subscription. The name is case insensitive.
795
802
  # @param account_name [String] The name of the storage account within the
796
803
  # specified resource group. Storage account names must be between 3 and 24
797
804
  # characters in length and use numbers and lower-case letters only.
805
+ # @param expand [ListKeyExpand] Specifies type of the key to be listed.
806
+ # Possible value is kerb. Possible values include: 'kerb'
798
807
  # @param [Hash{String => String}] A hash of custom headers that will be added
799
808
  # to the HTTP request.
800
809
  #
801
810
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
802
811
  #
803
- def list_keys_async(resource_group_name, account_name, custom_headers:nil)
812
+ def list_keys_async(resource_group_name, account_name, expand:nil, custom_headers:nil)
804
813
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
805
814
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
806
815
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
@@ -827,7 +836,7 @@ module Azure::Storage::Mgmt::V2019_04_01
827
836
  options = {
828
837
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
829
838
  path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'subscriptionId' => @client.subscription_id},
830
- query_params: {'api-version' => @client.api_version},
839
+ query_params: {'api-version' => @client.api_version,'$expand' => expand},
831
840
  headers: request_headers.merge(custom_headers || {}),
832
841
  base_url: request_url
833
842
  }
@@ -863,7 +872,8 @@ module Azure::Storage::Mgmt::V2019_04_01
863
872
  end
864
873
 
865
874
  #
866
- # Regenerates one of the access keys for the specified storage account.
875
+ # Regenerates one of the access keys or Kerberos keys for the specified storage
876
+ # account.
867
877
  #
868
878
  # @param resource_group_name [String] The name of the resource group within the
869
879
  # user's subscription. The name is case insensitive.
@@ -871,7 +881,7 @@ module Azure::Storage::Mgmt::V2019_04_01
871
881
  # specified resource group. Storage account names must be between 3 and 24
872
882
  # characters in length and use numbers and lower-case letters only.
873
883
  # @param regenerate_key [StorageAccountRegenerateKeyParameters] Specifies name
874
- # of the key which should be regenerated -- key1 or key2.
884
+ # of the key which should be regenerated -- key1, key2, kerb1, kerb2.
875
885
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
876
886
  # will be added to the HTTP request.
877
887
  #
@@ -883,7 +893,8 @@ module Azure::Storage::Mgmt::V2019_04_01
883
893
  end
884
894
 
885
895
  #
886
- # Regenerates one of the access keys for the specified storage account.
896
+ # Regenerates one of the access keys or Kerberos keys for the specified storage
897
+ # account.
887
898
  #
888
899
  # @param resource_group_name [String] The name of the resource group within the
889
900
  # user's subscription. The name is case insensitive.
@@ -891,7 +902,7 @@ module Azure::Storage::Mgmt::V2019_04_01
891
902
  # specified resource group. Storage account names must be between 3 and 24
892
903
  # characters in length and use numbers and lower-case letters only.
893
904
  # @param regenerate_key [StorageAccountRegenerateKeyParameters] Specifies name
894
- # of the key which should be regenerated -- key1 or key2.
905
+ # of the key which should be regenerated -- key1, key2, kerb1, kerb2.
895
906
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
896
907
  # will be added to the HTTP request.
897
908
  #
@@ -902,7 +913,8 @@ module Azure::Storage::Mgmt::V2019_04_01
902
913
  end
903
914
 
904
915
  #
905
- # Regenerates one of the access keys for the specified storage account.
916
+ # Regenerates one of the access keys or Kerberos keys for the specified storage
917
+ # account.
906
918
  #
907
919
  # @param resource_group_name [String] The name of the resource group within the
908
920
  # user's subscription. The name is case insensitive.
@@ -910,7 +922,7 @@ module Azure::Storage::Mgmt::V2019_04_01
910
922
  # specified resource group. Storage account names must be between 3 and 24
911
923
  # characters in length and use numbers and lower-case letters only.
912
924
  # @param regenerate_key [StorageAccountRegenerateKeyParameters] Specifies name
913
- # of the key which should be regenerated -- key1 or key2.
925
+ # of the key which should be regenerated -- key1, key2, kerb1, kerb2.
914
926
  # @param [Hash{String => String}] A hash of custom headers that will be added
915
927
  # to the HTTP request.
916
928
  #