pulumi-azure-native 3.6.1__py3-none-any.whl → 3.7.0a1754587761__py3-none-any.whl

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.

Potentially problematic release.


This version of pulumi-azure-native might be problematic. Click here for more details.

Files changed (289) hide show
  1. pulumi_azure_native/__init__.py +32 -0
  2. pulumi_azure_native/botservice/bot.py +9 -9
  3. pulumi_azure_native/botservice/channel.py +9 -9
  4. pulumi_azure_native/botservice/get_bot.py +3 -3
  5. pulumi_azure_native/botservice/get_channel.py +3 -3
  6. pulumi_azure_native/botservice/list_channel_with_keys.py +3 -3
  7. pulumi_azure_native/cloudngfw/certificate_object_global_rulestack.py +3 -3
  8. pulumi_azure_native/cloudngfw/certificate_object_local_rulestack.py +3 -3
  9. pulumi_azure_native/cloudngfw/firewall.py +3 -3
  10. pulumi_azure_native/cloudngfw/fqdn_list_global_rulestack.py +3 -3
  11. pulumi_azure_native/cloudngfw/fqdn_list_local_rulestack.py +3 -3
  12. pulumi_azure_native/cloudngfw/get_certificate_object_global_rulestack.py +2 -2
  13. pulumi_azure_native/cloudngfw/get_certificate_object_local_rulestack.py +2 -2
  14. pulumi_azure_native/cloudngfw/get_firewall.py +2 -2
  15. pulumi_azure_native/cloudngfw/get_firewall_global_rulestack.py +2 -2
  16. pulumi_azure_native/cloudngfw/get_firewall_log_profile.py +2 -2
  17. pulumi_azure_native/cloudngfw/get_firewall_support_info.py +2 -2
  18. pulumi_azure_native/cloudngfw/get_fqdn_list_global_rulestack.py +2 -2
  19. pulumi_azure_native/cloudngfw/get_fqdn_list_local_rulestack.py +2 -2
  20. pulumi_azure_native/cloudngfw/get_global_rulestack.py +2 -2
  21. pulumi_azure_native/cloudngfw/get_global_rulestack_change_log.py +2 -2
  22. pulumi_azure_native/cloudngfw/get_local_rule.py +2 -2
  23. pulumi_azure_native/cloudngfw/get_local_rule_counters.py +2 -2
  24. pulumi_azure_native/cloudngfw/get_local_rulestack.py +2 -2
  25. pulumi_azure_native/cloudngfw/get_local_rulestack_change_log.py +2 -2
  26. pulumi_azure_native/cloudngfw/get_local_rulestack_support_info.py +2 -2
  27. pulumi_azure_native/cloudngfw/get_post_rule.py +2 -2
  28. pulumi_azure_native/cloudngfw/get_post_rule_counters.py +2 -2
  29. pulumi_azure_native/cloudngfw/get_pre_rule.py +2 -2
  30. pulumi_azure_native/cloudngfw/get_pre_rule_counters.py +2 -2
  31. pulumi_azure_native/cloudngfw/get_prefix_list_global_rulestack.py +2 -2
  32. pulumi_azure_native/cloudngfw/get_prefix_list_local_rulestack.py +2 -2
  33. pulumi_azure_native/cloudngfw/global_rulestack.py +3 -3
  34. pulumi_azure_native/cloudngfw/list_global_rulestack_advanced_security_objects.py +2 -2
  35. pulumi_azure_native/cloudngfw/list_global_rulestack_app_ids.py +2 -2
  36. pulumi_azure_native/cloudngfw/list_global_rulestack_countries.py +2 -2
  37. pulumi_azure_native/cloudngfw/list_global_rulestack_firewalls.py +2 -2
  38. pulumi_azure_native/cloudngfw/list_global_rulestack_predefined_url_categories.py +2 -2
  39. pulumi_azure_native/cloudngfw/list_global_rulestack_security_services.py +2 -2
  40. pulumi_azure_native/cloudngfw/list_local_rulestack_advanced_security_objects.py +2 -2
  41. pulumi_azure_native/cloudngfw/list_local_rulestack_app_ids.py +2 -2
  42. pulumi_azure_native/cloudngfw/list_local_rulestack_countries.py +2 -2
  43. pulumi_azure_native/cloudngfw/list_local_rulestack_firewalls.py +2 -2
  44. pulumi_azure_native/cloudngfw/list_local_rulestack_predefined_url_categories.py +2 -2
  45. pulumi_azure_native/cloudngfw/list_local_rulestack_security_services.py +2 -2
  46. pulumi_azure_native/cloudngfw/local_rule.py +3 -3
  47. pulumi_azure_native/cloudngfw/local_rulestack.py +3 -3
  48. pulumi_azure_native/cloudngfw/post_rule.py +3 -3
  49. pulumi_azure_native/cloudngfw/pre_rule.py +3 -3
  50. pulumi_azure_native/cloudngfw/prefix_list_global_rulestack.py +3 -3
  51. pulumi_azure_native/cloudngfw/prefix_list_local_rulestack.py +3 -3
  52. pulumi_azure_native/confluent/connector.py +5 -1
  53. pulumi_azure_native/confluent/get_connector.py +4 -0
  54. pulumi_azure_native/confluent/get_organization.py +2 -2
  55. pulumi_azure_native/confluent/get_organization_cluster_by_id.py +4 -0
  56. pulumi_azure_native/confluent/get_organization_environment_by_id.py +4 -0
  57. pulumi_azure_native/confluent/get_topic.py +4 -0
  58. pulumi_azure_native/confluent/list_access_clusters.py +2 -2
  59. pulumi_azure_native/confluent/list_access_environments.py +2 -2
  60. pulumi_azure_native/confluent/list_access_invitations.py +2 -2
  61. pulumi_azure_native/confluent/list_access_role_binding_name.py +2 -2
  62. pulumi_azure_native/confluent/list_access_role_bindings.py +2 -2
  63. pulumi_azure_native/confluent/list_access_service_accounts.py +2 -2
  64. pulumi_azure_native/confluent/list_access_users.py +2 -2
  65. pulumi_azure_native/confluent/list_organization_regions.py +2 -2
  66. pulumi_azure_native/confluent/organization.py +3 -3
  67. pulumi_azure_native/confluent/organization_cluster_by_id.py +5 -1
  68. pulumi_azure_native/confluent/organization_environment_by_id.py +5 -1
  69. pulumi_azure_native/confluent/topic.py +5 -1
  70. pulumi_azure_native/containerservice/__init__.py +2 -0
  71. pulumi_azure_native/containerservice/_inputs.py +74 -0
  72. pulumi_azure_native/containerservice/agent_pool.py +3 -3
  73. pulumi_azure_native/containerservice/auto_upgrade_profile.py +3 -3
  74. pulumi_azure_native/containerservice/fleet.py +3 -3
  75. pulumi_azure_native/containerservice/fleet_member.py +3 -3
  76. pulumi_azure_native/containerservice/fleet_update_strategy.py +3 -3
  77. pulumi_azure_native/containerservice/get_agent_pool.py +2 -2
  78. pulumi_azure_native/containerservice/get_auto_upgrade_profile.py +2 -2
  79. pulumi_azure_native/containerservice/get_fleet.py +2 -2
  80. pulumi_azure_native/containerservice/get_fleet_member.py +2 -2
  81. pulumi_azure_native/containerservice/get_fleet_update_strategy.py +2 -2
  82. pulumi_azure_native/containerservice/get_identity_binding.py +182 -0
  83. pulumi_azure_native/containerservice/get_load_balancer.py +2 -2
  84. pulumi_azure_native/containerservice/get_maintenance_configuration.py +2 -2
  85. pulumi_azure_native/containerservice/get_managed_cluster.py +2 -2
  86. pulumi_azure_native/containerservice/get_managed_cluster_snapshot.py +2 -2
  87. pulumi_azure_native/containerservice/get_managed_namespace.py +2 -2
  88. pulumi_azure_native/containerservice/get_private_endpoint_connection.py +2 -2
  89. pulumi_azure_native/containerservice/get_snapshot.py +2 -2
  90. pulumi_azure_native/containerservice/get_trusted_access_role_binding.py +2 -2
  91. pulumi_azure_native/containerservice/get_update_run.py +2 -2
  92. pulumi_azure_native/containerservice/identity_binding.py +246 -0
  93. pulumi_azure_native/containerservice/list_fleet_credentials.py +2 -2
  94. pulumi_azure_native/containerservice/list_managed_cluster_admin_credentials.py +2 -2
  95. pulumi_azure_native/containerservice/list_managed_cluster_monitoring_user_credentials.py +2 -2
  96. pulumi_azure_native/containerservice/list_managed_cluster_user_credentials.py +2 -2
  97. pulumi_azure_native/containerservice/list_managed_namespace_credential.py +2 -2
  98. pulumi_azure_native/containerservice/load_balancer.py +3 -3
  99. pulumi_azure_native/containerservice/maintenance_configuration.py +3 -3
  100. pulumi_azure_native/containerservice/managed_cluster.py +3 -3
  101. pulumi_azure_native/containerservice/managed_cluster_snapshot.py +3 -3
  102. pulumi_azure_native/containerservice/managed_namespace.py +3 -3
  103. pulumi_azure_native/containerservice/outputs.py +185 -0
  104. pulumi_azure_native/containerservice/private_endpoint_connection.py +3 -3
  105. pulumi_azure_native/containerservice/snapshot.py +3 -3
  106. pulumi_azure_native/containerservice/trusted_access_role_binding.py +3 -3
  107. pulumi_azure_native/containerservice/update_run.py +3 -3
  108. pulumi_azure_native/databox/get_job.py +2 -2
  109. pulumi_azure_native/databox/job.py +3 -3
  110. pulumi_azure_native/databox/list_job_credentials.py +2 -2
  111. pulumi_azure_native/dbforpostgresql/administrator.py +1 -1
  112. pulumi_azure_native/dbforpostgresql/backup.py +1 -1
  113. pulumi_azure_native/dbforpostgresql/configuration.py +3 -3
  114. pulumi_azure_native/dbforpostgresql/database.py +3 -3
  115. pulumi_azure_native/dbforpostgresql/firewall_rule.py +3 -3
  116. pulumi_azure_native/dbforpostgresql/get_configuration.py +2 -2
  117. pulumi_azure_native/dbforpostgresql/get_database.py +2 -2
  118. pulumi_azure_native/dbforpostgresql/get_firewall_rule.py +2 -2
  119. pulumi_azure_native/dbforpostgresql/get_migration.py +2 -2
  120. pulumi_azure_native/dbforpostgresql/get_private_endpoint_connection.py +2 -2
  121. pulumi_azure_native/dbforpostgresql/get_server.py +2 -2
  122. pulumi_azure_native/dbforpostgresql/get_virtual_endpoint.py +2 -2
  123. pulumi_azure_native/dbforpostgresql/migration.py +3 -3
  124. pulumi_azure_native/dbforpostgresql/private_endpoint_connection.py +3 -3
  125. pulumi_azure_native/dbforpostgresql/server.py +3 -3
  126. pulumi_azure_native/dbforpostgresql/virtual_endpoint.py +3 -3
  127. pulumi_azure_native/fileshares/__init__.py +16 -0
  128. pulumi_azure_native/fileshares/_enums.py +86 -0
  129. pulumi_azure_native/fileshares/_inputs.py +354 -0
  130. pulumi_azure_native/fileshares/file_share.py +274 -0
  131. pulumi_azure_native/fileshares/get_file_share.py +190 -0
  132. pulumi_azure_native/fileshares/get_file_share_limits.py +86 -0
  133. pulumi_azure_native/fileshares/get_file_share_provisioning_recommendation.py +93 -0
  134. pulumi_azure_native/fileshares/get_file_share_usage_data.py +86 -0
  135. pulumi_azure_native/fileshares/outputs.py +999 -0
  136. pulumi_azure_native/kubernetes/connected_cluster.py +3 -3
  137. pulumi_azure_native/kubernetes/get_connected_cluster.py +2 -2
  138. pulumi_azure_native/kubernetes/list_connected_cluster_user_credential.py +2 -2
  139. pulumi_azure_native/maintenance/get_maintenance_configuration.py +3 -3
  140. pulumi_azure_native/maintenance/maintenance_configuration.py +9 -9
  141. pulumi_azure_native/mission/__init__.py +27 -0
  142. pulumi_azure_native/mission/_enums.py +412 -0
  143. pulumi_azure_native/mission/_inputs.py +1489 -0
  144. pulumi_azure_native/mission/approval.py +405 -0
  145. pulumi_azure_native/mission/community.py +554 -0
  146. pulumi_azure_native/mission/community_endpoint.py +320 -0
  147. pulumi_azure_native/mission/enclave_connection.py +396 -0
  148. pulumi_azure_native/mission/enclave_endpoint.py +320 -0
  149. pulumi_azure_native/mission/get_approval.py +264 -0
  150. pulumi_azure_native/mission/get_community.py +362 -0
  151. pulumi_azure_native/mission/get_community_endpoint.py +228 -0
  152. pulumi_azure_native/mission/get_enclave_connection.py +278 -0
  153. pulumi_azure_native/mission/get_enclave_endpoint.py +228 -0
  154. pulumi_azure_native/mission/get_transit_hub.py +242 -0
  155. pulumi_azure_native/mission/get_virtual_enclave.py +376 -0
  156. pulumi_azure_native/mission/get_workload.py +228 -0
  157. pulumi_azure_native/mission/outputs.py +1611 -0
  158. pulumi_azure_native/mission/transit_hub.py +348 -0
  159. pulumi_azure_native/mission/virtual_enclave.py +566 -0
  160. pulumi_azure_native/mission/workload.py +317 -0
  161. pulumi_azure_native/mongocluster/firewall_rule.py +3 -3
  162. pulumi_azure_native/mongocluster/get_firewall_rule.py +2 -2
  163. pulumi_azure_native/mongocluster/get_mongo_cluster.py +2 -2
  164. pulumi_azure_native/mongocluster/get_private_endpoint_connection.py +2 -2
  165. pulumi_azure_native/mongocluster/get_user.py +4 -0
  166. pulumi_azure_native/mongocluster/list_mongo_cluster_connection_strings.py +2 -2
  167. pulumi_azure_native/mongocluster/mongo_cluster.py +3 -3
  168. pulumi_azure_native/mongocluster/private_endpoint_connection.py +3 -3
  169. pulumi_azure_native/mongocluster/user.py +5 -1
  170. pulumi_azure_native/monitor/azure_monitor_workspace.py +3 -3
  171. pulumi_azure_native/monitor/get_azure_monitor_workspace.py +2 -2
  172. pulumi_azure_native/pulumi-plugin.json +1 -1
  173. pulumi_azure_native/security/__init__.py +4 -0
  174. pulumi_azure_native/security/_enums.py +11 -0
  175. pulumi_azure_native/security/_inputs.py +78 -0
  176. pulumi_azure_native/security/get_private_endpoint_connection.py +210 -0
  177. pulumi_azure_native/security/get_private_link.py +218 -0
  178. pulumi_azure_native/security/outputs.py +327 -0
  179. pulumi_azure_native/security/private_endpoint_connection.py +268 -0
  180. pulumi_azure_native/security/private_link.py +273 -0
  181. pulumi_azure_native/securityinsights/aad_data_connector.py +1 -1
  182. pulumi_azure_native/securityinsights/aatp_data_connector.py +1 -1
  183. pulumi_azure_native/securityinsights/action.py +3 -3
  184. pulumi_azure_native/securityinsights/activity_custom_entity_query.py +1 -1
  185. pulumi_azure_native/securityinsights/anomalies.py +1 -1
  186. pulumi_azure_native/securityinsights/anomaly_security_ml_analytics_settings.py +1 -1
  187. pulumi_azure_native/securityinsights/asc_data_connector.py +1 -1
  188. pulumi_azure_native/securityinsights/automation_rule.py +3 -3
  189. pulumi_azure_native/securityinsights/aws_cloud_trail_data_connector.py +1 -1
  190. pulumi_azure_native/securityinsights/bookmark.py +3 -3
  191. pulumi_azure_native/securityinsights/bookmark_relation.py +3 -3
  192. pulumi_azure_native/securityinsights/business_application_agent.py +3 -3
  193. pulumi_azure_native/securityinsights/content_package.py +3 -3
  194. pulumi_azure_native/securityinsights/content_template.py +3 -3
  195. pulumi_azure_native/securityinsights/customizable_connector_definition.py +1 -1
  196. pulumi_azure_native/securityinsights/entity_analytics.py +1 -1
  197. pulumi_azure_native/securityinsights/eyes_on.py +1 -1
  198. pulumi_azure_native/securityinsights/file_import.py +3 -3
  199. pulumi_azure_native/securityinsights/fusion_alert_rule.py +1 -1
  200. pulumi_azure_native/securityinsights/get_action.py +2 -2
  201. pulumi_azure_native/securityinsights/get_automation_rule.py +2 -2
  202. pulumi_azure_native/securityinsights/get_bookmark.py +2 -2
  203. pulumi_azure_native/securityinsights/get_bookmark_relation.py +2 -2
  204. pulumi_azure_native/securityinsights/get_business_application_agent.py +2 -2
  205. pulumi_azure_native/securityinsights/get_content_package.py +2 -2
  206. pulumi_azure_native/securityinsights/get_content_template.py +2 -2
  207. pulumi_azure_native/securityinsights/get_entities_get_timeline.py +2 -2
  208. pulumi_azure_native/securityinsights/get_entity_insights.py +2 -2
  209. pulumi_azure_native/securityinsights/get_file_import.py +2 -2
  210. pulumi_azure_native/securityinsights/get_hunt.py +2 -2
  211. pulumi_azure_native/securityinsights/get_hunt_comment.py +2 -2
  212. pulumi_azure_native/securityinsights/get_hunt_relation.py +2 -2
  213. pulumi_azure_native/securityinsights/get_incident.py +2 -2
  214. pulumi_azure_native/securityinsights/get_incident_comment.py +2 -2
  215. pulumi_azure_native/securityinsights/get_incident_relation.py +2 -2
  216. pulumi_azure_native/securityinsights/get_incident_task.py +2 -2
  217. pulumi_azure_native/securityinsights/get_metadata.py +2 -2
  218. pulumi_azure_native/securityinsights/get_sentinel_onboarding_state.py +2 -2
  219. pulumi_azure_native/securityinsights/get_system.py +2 -2
  220. pulumi_azure_native/securityinsights/get_threat_intelligence_indicator.py +2 -2
  221. pulumi_azure_native/securityinsights/get_watchlist.py +2 -2
  222. pulumi_azure_native/securityinsights/get_watchlist_item.py +2 -2
  223. pulumi_azure_native/securityinsights/get_workspace_manager_assignment.py +2 -2
  224. pulumi_azure_native/securityinsights/get_workspace_manager_configuration.py +2 -2
  225. pulumi_azure_native/securityinsights/get_workspace_manager_group.py +2 -2
  226. pulumi_azure_native/securityinsights/get_workspace_manager_member.py +2 -2
  227. pulumi_azure_native/securityinsights/hunt.py +3 -3
  228. pulumi_azure_native/securityinsights/hunt_comment.py +3 -3
  229. pulumi_azure_native/securityinsights/hunt_relation.py +3 -3
  230. pulumi_azure_native/securityinsights/incident.py +3 -3
  231. pulumi_azure_native/securityinsights/incident_comment.py +3 -3
  232. pulumi_azure_native/securityinsights/incident_relation.py +3 -3
  233. pulumi_azure_native/securityinsights/incident_task.py +3 -3
  234. pulumi_azure_native/securityinsights/list_geodata_by_ip.py +2 -2
  235. pulumi_azure_native/securityinsights/list_source_control_repositories.py +2 -2
  236. pulumi_azure_native/securityinsights/list_system_actions.py +2 -2
  237. pulumi_azure_native/securityinsights/list_whois_by_domain.py +2 -2
  238. pulumi_azure_native/securityinsights/mcas_data_connector.py +1 -1
  239. pulumi_azure_native/securityinsights/mdatp_data_connector.py +1 -1
  240. pulumi_azure_native/securityinsights/metadata.py +3 -3
  241. pulumi_azure_native/securityinsights/microsoft_security_incident_creation_alert_rule.py +1 -1
  242. pulumi_azure_native/securityinsights/msti_data_connector.py +1 -1
  243. pulumi_azure_native/securityinsights/office_data_connector.py +1 -1
  244. pulumi_azure_native/securityinsights/premium_microsoft_defender_for_threat_intelligence.py +1 -1
  245. pulumi_azure_native/securityinsights/rest_api_poller_data_connector.py +1 -1
  246. pulumi_azure_native/securityinsights/scheduled_alert_rule.py +1 -1
  247. pulumi_azure_native/securityinsights/sentinel_onboarding_state.py +3 -3
  248. pulumi_azure_native/securityinsights/system.py +3 -3
  249. pulumi_azure_native/securityinsights/threat_intelligence_indicator.py +3 -3
  250. pulumi_azure_native/securityinsights/ti_data_connector.py +1 -1
  251. pulumi_azure_native/securityinsights/ueba.py +1 -1
  252. pulumi_azure_native/securityinsights/watchlist.py +3 -3
  253. pulumi_azure_native/securityinsights/watchlist_item.py +3 -3
  254. pulumi_azure_native/securityinsights/workspace_manager_assignment.py +3 -3
  255. pulumi_azure_native/securityinsights/workspace_manager_configuration.py +3 -3
  256. pulumi_azure_native/securityinsights/workspace_manager_group.py +3 -3
  257. pulumi_azure_native/securityinsights/workspace_manager_member.py +3 -3
  258. pulumi_azure_native/servicebus/disaster_recovery_config.py +3 -3
  259. pulumi_azure_native/servicebus/get_disaster_recovery_config.py +2 -2
  260. pulumi_azure_native/servicebus/get_migration_config.py +2 -2
  261. pulumi_azure_native/servicebus/get_namespace.py +2 -2
  262. pulumi_azure_native/servicebus/get_namespace_authorization_rule.py +2 -2
  263. pulumi_azure_native/servicebus/get_namespace_network_rule_set.py +2 -2
  264. pulumi_azure_native/servicebus/get_private_endpoint_connection.py +2 -2
  265. pulumi_azure_native/servicebus/get_queue.py +2 -2
  266. pulumi_azure_native/servicebus/get_queue_authorization_rule.py +2 -2
  267. pulumi_azure_native/servicebus/get_rule.py +2 -2
  268. pulumi_azure_native/servicebus/get_subscription.py +2 -2
  269. pulumi_azure_native/servicebus/get_topic.py +2 -2
  270. pulumi_azure_native/servicebus/get_topic_authorization_rule.py +2 -2
  271. pulumi_azure_native/servicebus/list_disaster_recovery_config_keys.py +2 -2
  272. pulumi_azure_native/servicebus/list_namespace_keys.py +2 -2
  273. pulumi_azure_native/servicebus/list_queue_keys.py +2 -2
  274. pulumi_azure_native/servicebus/list_topic_keys.py +2 -2
  275. pulumi_azure_native/servicebus/migration_config.py +3 -3
  276. pulumi_azure_native/servicebus/namespace.py +3 -3
  277. pulumi_azure_native/servicebus/namespace_authorization_rule.py +3 -3
  278. pulumi_azure_native/servicebus/namespace_network_rule_set.py +3 -3
  279. pulumi_azure_native/servicebus/private_endpoint_connection.py +3 -3
  280. pulumi_azure_native/servicebus/queue.py +3 -3
  281. pulumi_azure_native/servicebus/queue_authorization_rule.py +3 -3
  282. pulumi_azure_native/servicebus/rule.py +3 -3
  283. pulumi_azure_native/servicebus/subscription.py +3 -3
  284. pulumi_azure_native/servicebus/topic.py +3 -3
  285. pulumi_azure_native/servicebus/topic_authorization_rule.py +3 -3
  286. {pulumi_azure_native-3.6.1.dist-info → pulumi_azure_native-3.7.0a1754587761.dist-info}/METADATA +1 -1
  287. {pulumi_azure_native-3.6.1.dist-info → pulumi_azure_native-3.7.0a1754587761.dist-info}/RECORD +289 -254
  288. {pulumi_azure_native-3.6.1.dist-info → pulumi_azure_native-3.7.0a1754587761.dist-info}/WHEEL +0 -0
  289. {pulumi_azure_native-3.6.1.dist-info → pulumi_azure_native-3.7.0a1754587761.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,274 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from .. import _utilities
17
+ from . import outputs
18
+ from ._enums import *
19
+ from ._inputs import *
20
+
21
+ __all__ = ['FileShareArgs', 'FileShare']
22
+
23
+ @pulumi.input_type
24
+ class FileShareArgs:
25
+ def __init__(__self__, *,
26
+ resource_group_name: pulumi.Input[builtins.str],
27
+ location: Optional[pulumi.Input[builtins.str]] = None,
28
+ properties: Optional[pulumi.Input['FileSharePropertiesArgs']] = None,
29
+ resource_name: Optional[pulumi.Input[builtins.str]] = None,
30
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
31
+ """
32
+ The set of arguments for constructing a FileShare resource.
33
+ :param pulumi.Input[builtins.str] resource_group_name: The name of the resource group. The name is case insensitive.
34
+ :param pulumi.Input[builtins.str] location: The geo-location where the resource lives
35
+ :param pulumi.Input['FileSharePropertiesArgs'] properties: The resource-specific properties for this resource.
36
+ :param pulumi.Input[builtins.str] resource_name: The resource name of the file share, as seen by the administrator through Azure Resource Manager.
37
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Resource tags.
38
+ """
39
+ pulumi.set(__self__, "resource_group_name", resource_group_name)
40
+ if location is not None:
41
+ pulumi.set(__self__, "location", location)
42
+ if properties is not None:
43
+ pulumi.set(__self__, "properties", properties)
44
+ if resource_name is not None:
45
+ pulumi.set(__self__, "resource_name", resource_name)
46
+ if tags is not None:
47
+ pulumi.set(__self__, "tags", tags)
48
+
49
+ @property
50
+ @pulumi.getter(name="resourceGroupName")
51
+ def resource_group_name(self) -> pulumi.Input[builtins.str]:
52
+ """
53
+ The name of the resource group. The name is case insensitive.
54
+ """
55
+ return pulumi.get(self, "resource_group_name")
56
+
57
+ @resource_group_name.setter
58
+ def resource_group_name(self, value: pulumi.Input[builtins.str]):
59
+ pulumi.set(self, "resource_group_name", value)
60
+
61
+ @property
62
+ @pulumi.getter
63
+ def location(self) -> Optional[pulumi.Input[builtins.str]]:
64
+ """
65
+ The geo-location where the resource lives
66
+ """
67
+ return pulumi.get(self, "location")
68
+
69
+ @location.setter
70
+ def location(self, value: Optional[pulumi.Input[builtins.str]]):
71
+ pulumi.set(self, "location", value)
72
+
73
+ @property
74
+ @pulumi.getter
75
+ def properties(self) -> Optional[pulumi.Input['FileSharePropertiesArgs']]:
76
+ """
77
+ The resource-specific properties for this resource.
78
+ """
79
+ return pulumi.get(self, "properties")
80
+
81
+ @properties.setter
82
+ def properties(self, value: Optional[pulumi.Input['FileSharePropertiesArgs']]):
83
+ pulumi.set(self, "properties", value)
84
+
85
+ @property
86
+ @pulumi.getter(name="resourceName")
87
+ def resource_name(self) -> Optional[pulumi.Input[builtins.str]]:
88
+ """
89
+ The resource name of the file share, as seen by the administrator through Azure Resource Manager.
90
+ """
91
+ return pulumi.get(self, "resource_name")
92
+
93
+ @resource_name.setter
94
+ def resource_name(self, value: Optional[pulumi.Input[builtins.str]]):
95
+ pulumi.set(self, "resource_name", value)
96
+
97
+ @property
98
+ @pulumi.getter
99
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
100
+ """
101
+ Resource tags.
102
+ """
103
+ return pulumi.get(self, "tags")
104
+
105
+ @tags.setter
106
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
107
+ pulumi.set(self, "tags", value)
108
+
109
+
110
+ @pulumi.type_token("azure-native:fileshares:FileShare")
111
+ class FileShare(pulumi.CustomResource):
112
+ @overload
113
+ def __init__(__self__,
114
+ resource_name: str,
115
+ opts: Optional[pulumi.ResourceOptions] = None,
116
+ location: Optional[pulumi.Input[builtins.str]] = None,
117
+ properties: Optional[pulumi.Input[Union['FileSharePropertiesArgs', 'FileSharePropertiesArgsDict']]] = None,
118
+ resource_group_name: Optional[pulumi.Input[builtins.str]] = None,
119
+ resource_name_: Optional[pulumi.Input[builtins.str]] = None,
120
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
121
+ __props__=None):
122
+ """
123
+ File share resource
124
+
125
+ Uses Azure REST API version 2025-06-01-preview.
126
+
127
+ :param str resource_name: The name of the resource.
128
+ :param pulumi.ResourceOptions opts: Options for the resource.
129
+ :param pulumi.Input[builtins.str] location: The geo-location where the resource lives
130
+ :param pulumi.Input[Union['FileSharePropertiesArgs', 'FileSharePropertiesArgsDict']] properties: The resource-specific properties for this resource.
131
+ :param pulumi.Input[builtins.str] resource_group_name: The name of the resource group. The name is case insensitive.
132
+ :param pulumi.Input[builtins.str] resource_name_: The resource name of the file share, as seen by the administrator through Azure Resource Manager.
133
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Resource tags.
134
+ """
135
+ ...
136
+ @overload
137
+ def __init__(__self__,
138
+ resource_name: str,
139
+ args: FileShareArgs,
140
+ opts: Optional[pulumi.ResourceOptions] = None):
141
+ """
142
+ File share resource
143
+
144
+ Uses Azure REST API version 2025-06-01-preview.
145
+
146
+ :param str resource_name: The name of the resource.
147
+ :param FileShareArgs args: The arguments to use to populate this resource's properties.
148
+ :param pulumi.ResourceOptions opts: Options for the resource.
149
+ """
150
+ ...
151
+ def __init__(__self__, resource_name: str, *args, **kwargs):
152
+ resource_args, opts = _utilities.get_resource_args_opts(FileShareArgs, pulumi.ResourceOptions, *args, **kwargs)
153
+ if resource_args is not None:
154
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
155
+ else:
156
+ __self__._internal_init(resource_name, *args, **kwargs)
157
+
158
+ def _internal_init(__self__,
159
+ resource_name: str,
160
+ opts: Optional[pulumi.ResourceOptions] = None,
161
+ location: Optional[pulumi.Input[builtins.str]] = None,
162
+ properties: Optional[pulumi.Input[Union['FileSharePropertiesArgs', 'FileSharePropertiesArgsDict']]] = None,
163
+ resource_group_name: Optional[pulumi.Input[builtins.str]] = None,
164
+ resource_name_: Optional[pulumi.Input[builtins.str]] = None,
165
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
166
+ __props__=None):
167
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
168
+ if not isinstance(opts, pulumi.ResourceOptions):
169
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
170
+ if opts.id is None:
171
+ if __props__ is not None:
172
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
173
+ __props__ = FileShareArgs.__new__(FileShareArgs)
174
+
175
+ __props__.__dict__["location"] = location
176
+ __props__.__dict__["properties"] = properties
177
+ if resource_group_name is None and not opts.urn:
178
+ raise TypeError("Missing required property 'resource_group_name'")
179
+ __props__.__dict__["resource_group_name"] = resource_group_name
180
+ __props__.__dict__["resource_name"] = resource_name_
181
+ __props__.__dict__["tags"] = tags
182
+ __props__.__dict__["azure_api_version"] = None
183
+ __props__.__dict__["name"] = None
184
+ __props__.__dict__["system_data"] = None
185
+ __props__.__dict__["type"] = None
186
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:fileshares/v20250601preview:FileShare")])
187
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
188
+ super(FileShare, __self__).__init__(
189
+ 'azure-native:fileshares:FileShare',
190
+ resource_name,
191
+ __props__,
192
+ opts)
193
+
194
+ @staticmethod
195
+ def get(resource_name: str,
196
+ id: pulumi.Input[str],
197
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'FileShare':
198
+ """
199
+ Get an existing FileShare resource's state with the given name, id, and optional extra
200
+ properties used to qualify the lookup.
201
+
202
+ :param str resource_name: The unique name of the resulting resource.
203
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
204
+ :param pulumi.ResourceOptions opts: Options for the resource.
205
+ """
206
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
207
+
208
+ __props__ = FileShareArgs.__new__(FileShareArgs)
209
+
210
+ __props__.__dict__["azure_api_version"] = None
211
+ __props__.__dict__["location"] = None
212
+ __props__.__dict__["name"] = None
213
+ __props__.__dict__["properties"] = None
214
+ __props__.__dict__["system_data"] = None
215
+ __props__.__dict__["tags"] = None
216
+ __props__.__dict__["type"] = None
217
+ return FileShare(resource_name, opts=opts, __props__=__props__)
218
+
219
+ @property
220
+ @pulumi.getter(name="azureApiVersion")
221
+ def azure_api_version(self) -> pulumi.Output[builtins.str]:
222
+ """
223
+ The Azure API version of the resource.
224
+ """
225
+ return pulumi.get(self, "azure_api_version")
226
+
227
+ @property
228
+ @pulumi.getter
229
+ def location(self) -> pulumi.Output[builtins.str]:
230
+ """
231
+ The geo-location where the resource lives
232
+ """
233
+ return pulumi.get(self, "location")
234
+
235
+ @property
236
+ @pulumi.getter
237
+ def name(self) -> pulumi.Output[builtins.str]:
238
+ """
239
+ The name of the resource
240
+ """
241
+ return pulumi.get(self, "name")
242
+
243
+ @property
244
+ @pulumi.getter
245
+ def properties(self) -> pulumi.Output['outputs.FileSharePropertiesResponse']:
246
+ """
247
+ The resource-specific properties for this resource.
248
+ """
249
+ return pulumi.get(self, "properties")
250
+
251
+ @property
252
+ @pulumi.getter(name="systemData")
253
+ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
254
+ """
255
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
256
+ """
257
+ return pulumi.get(self, "system_data")
258
+
259
+ @property
260
+ @pulumi.getter
261
+ def tags(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
262
+ """
263
+ Resource tags.
264
+ """
265
+ return pulumi.get(self, "tags")
266
+
267
+ @property
268
+ @pulumi.getter
269
+ def type(self) -> pulumi.Output[builtins.str]:
270
+ """
271
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
272
+ """
273
+ return pulumi.get(self, "type")
274
+
@@ -0,0 +1,190 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from .. import _utilities
17
+ from . import outputs
18
+
19
+ __all__ = [
20
+ 'GetFileShareResult',
21
+ 'AwaitableGetFileShareResult',
22
+ 'get_file_share',
23
+ 'get_file_share_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetFileShareResult:
28
+ """
29
+ File share resource
30
+ """
31
+ def __init__(__self__, azure_api_version=None, id=None, location=None, name=None, properties=None, system_data=None, tags=None, type=None):
32
+ if azure_api_version and not isinstance(azure_api_version, str):
33
+ raise TypeError("Expected argument 'azure_api_version' to be a str")
34
+ pulumi.set(__self__, "azure_api_version", azure_api_version)
35
+ if id and not isinstance(id, str):
36
+ raise TypeError("Expected argument 'id' to be a str")
37
+ pulumi.set(__self__, "id", id)
38
+ if location and not isinstance(location, str):
39
+ raise TypeError("Expected argument 'location' to be a str")
40
+ pulumi.set(__self__, "location", location)
41
+ if name and not isinstance(name, str):
42
+ raise TypeError("Expected argument 'name' to be a str")
43
+ pulumi.set(__self__, "name", name)
44
+ if properties and not isinstance(properties, dict):
45
+ raise TypeError("Expected argument 'properties' to be a dict")
46
+ pulumi.set(__self__, "properties", properties)
47
+ if system_data and not isinstance(system_data, dict):
48
+ raise TypeError("Expected argument 'system_data' to be a dict")
49
+ pulumi.set(__self__, "system_data", system_data)
50
+ if tags and not isinstance(tags, dict):
51
+ raise TypeError("Expected argument 'tags' to be a dict")
52
+ pulumi.set(__self__, "tags", tags)
53
+ if type and not isinstance(type, str):
54
+ raise TypeError("Expected argument 'type' to be a str")
55
+ pulumi.set(__self__, "type", type)
56
+
57
+ @property
58
+ @pulumi.getter(name="azureApiVersion")
59
+ def azure_api_version(self) -> builtins.str:
60
+ """
61
+ The Azure API version of the resource.
62
+ """
63
+ return pulumi.get(self, "azure_api_version")
64
+
65
+ @property
66
+ @pulumi.getter
67
+ def id(self) -> builtins.str:
68
+ """
69
+ Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
70
+ """
71
+ return pulumi.get(self, "id")
72
+
73
+ @property
74
+ @pulumi.getter
75
+ def location(self) -> builtins.str:
76
+ """
77
+ The geo-location where the resource lives
78
+ """
79
+ return pulumi.get(self, "location")
80
+
81
+ @property
82
+ @pulumi.getter
83
+ def name(self) -> builtins.str:
84
+ """
85
+ The name of the resource
86
+ """
87
+ return pulumi.get(self, "name")
88
+
89
+ @property
90
+ @pulumi.getter
91
+ def properties(self) -> 'outputs.FileSharePropertiesResponse':
92
+ """
93
+ The resource-specific properties for this resource.
94
+ """
95
+ return pulumi.get(self, "properties")
96
+
97
+ @property
98
+ @pulumi.getter(name="systemData")
99
+ def system_data(self) -> 'outputs.SystemDataResponse':
100
+ """
101
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
102
+ """
103
+ return pulumi.get(self, "system_data")
104
+
105
+ @property
106
+ @pulumi.getter
107
+ def tags(self) -> Optional[Mapping[str, builtins.str]]:
108
+ """
109
+ Resource tags.
110
+ """
111
+ return pulumi.get(self, "tags")
112
+
113
+ @property
114
+ @pulumi.getter
115
+ def type(self) -> builtins.str:
116
+ """
117
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
118
+ """
119
+ return pulumi.get(self, "type")
120
+
121
+
122
+ class AwaitableGetFileShareResult(GetFileShareResult):
123
+ # pylint: disable=using-constant-test
124
+ def __await__(self):
125
+ if False:
126
+ yield self
127
+ return GetFileShareResult(
128
+ azure_api_version=self.azure_api_version,
129
+ id=self.id,
130
+ location=self.location,
131
+ name=self.name,
132
+ properties=self.properties,
133
+ system_data=self.system_data,
134
+ tags=self.tags,
135
+ type=self.type)
136
+
137
+
138
+ def get_file_share(resource_group_name: Optional[builtins.str] = None,
139
+ resource_name: Optional[builtins.str] = None,
140
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFileShareResult:
141
+ """
142
+ Get a FileShare
143
+
144
+ Uses Azure REST API version 2025-06-01-preview.
145
+
146
+
147
+ :param builtins.str resource_group_name: The name of the resource group. The name is case insensitive.
148
+ :param builtins.str resource_name: The resource name of the file share, as seen by the administrator through Azure Resource Manager.
149
+ """
150
+ __args__ = dict()
151
+ __args__['resourceGroupName'] = resource_group_name
152
+ __args__['resourceName'] = resource_name
153
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
154
+ __ret__ = pulumi.runtime.invoke('azure-native:fileshares:getFileShare', __args__, opts=opts, typ=GetFileShareResult).value
155
+
156
+ return AwaitableGetFileShareResult(
157
+ azure_api_version=pulumi.get(__ret__, 'azure_api_version'),
158
+ id=pulumi.get(__ret__, 'id'),
159
+ location=pulumi.get(__ret__, 'location'),
160
+ name=pulumi.get(__ret__, 'name'),
161
+ properties=pulumi.get(__ret__, 'properties'),
162
+ system_data=pulumi.get(__ret__, 'system_data'),
163
+ tags=pulumi.get(__ret__, 'tags'),
164
+ type=pulumi.get(__ret__, 'type'))
165
+ def get_file_share_output(resource_group_name: Optional[pulumi.Input[builtins.str]] = None,
166
+ resource_name: Optional[pulumi.Input[builtins.str]] = None,
167
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFileShareResult]:
168
+ """
169
+ Get a FileShare
170
+
171
+ Uses Azure REST API version 2025-06-01-preview.
172
+
173
+
174
+ :param builtins.str resource_group_name: The name of the resource group. The name is case insensitive.
175
+ :param builtins.str resource_name: The resource name of the file share, as seen by the administrator through Azure Resource Manager.
176
+ """
177
+ __args__ = dict()
178
+ __args__['resourceGroupName'] = resource_group_name
179
+ __args__['resourceName'] = resource_name
180
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
181
+ __ret__ = pulumi.runtime.invoke_output('azure-native:fileshares:getFileShare', __args__, opts=opts, typ=GetFileShareResult)
182
+ return __ret__.apply(lambda __response__: GetFileShareResult(
183
+ azure_api_version=pulumi.get(__response__, 'azure_api_version'),
184
+ id=pulumi.get(__response__, 'id'),
185
+ location=pulumi.get(__response__, 'location'),
186
+ name=pulumi.get(__response__, 'name'),
187
+ properties=pulumi.get(__response__, 'properties'),
188
+ system_data=pulumi.get(__response__, 'system_data'),
189
+ tags=pulumi.get(__response__, 'tags'),
190
+ type=pulumi.get(__response__, 'type')))
@@ -0,0 +1,86 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from .. import _utilities
17
+ from . import outputs
18
+
19
+ __all__ = [
20
+ 'GetFileShareLimitsResult',
21
+ 'AwaitableGetFileShareLimitsResult',
22
+ 'get_file_share_limits',
23
+ 'get_file_share_limits_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetFileShareLimitsResult:
28
+ """
29
+ Response structure for file share limits API.
30
+ """
31
+ def __init__(__self__, properties=None):
32
+ if properties and not isinstance(properties, dict):
33
+ raise TypeError("Expected argument 'properties' to be a dict")
34
+ pulumi.set(__self__, "properties", properties)
35
+
36
+ @property
37
+ @pulumi.getter
38
+ def properties(self) -> 'outputs.FileShareLimitsOutputResponse':
39
+ """
40
+ The properties of the file share limits.
41
+ """
42
+ return pulumi.get(self, "properties")
43
+
44
+
45
+ class AwaitableGetFileShareLimitsResult(GetFileShareLimitsResult):
46
+ # pylint: disable=using-constant-test
47
+ def __await__(self):
48
+ if False:
49
+ yield self
50
+ return GetFileShareLimitsResult(
51
+ properties=self.properties)
52
+
53
+
54
+ def get_file_share_limits(location: Optional[builtins.str] = None,
55
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFileShareLimitsResult:
56
+ """
57
+ Get file shares limits.
58
+
59
+ Uses Azure REST API version 2025-06-01-preview.
60
+
61
+
62
+ :param builtins.str location: The name of the Azure region.
63
+ """
64
+ __args__ = dict()
65
+ __args__['location'] = location
66
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
67
+ __ret__ = pulumi.runtime.invoke('azure-native:fileshares:getFileShareLimits', __args__, opts=opts, typ=GetFileShareLimitsResult).value
68
+
69
+ return AwaitableGetFileShareLimitsResult(
70
+ properties=pulumi.get(__ret__, 'properties'))
71
+ def get_file_share_limits_output(location: Optional[pulumi.Input[builtins.str]] = None,
72
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFileShareLimitsResult]:
73
+ """
74
+ Get file shares limits.
75
+
76
+ Uses Azure REST API version 2025-06-01-preview.
77
+
78
+
79
+ :param builtins.str location: The name of the Azure region.
80
+ """
81
+ __args__ = dict()
82
+ __args__['location'] = location
83
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
84
+ __ret__ = pulumi.runtime.invoke_output('azure-native:fileshares:getFileShareLimits', __args__, opts=opts, typ=GetFileShareLimitsResult)
85
+ return __ret__.apply(lambda __response__: GetFileShareLimitsResult(
86
+ properties=pulumi.get(__response__, 'properties')))
@@ -0,0 +1,93 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from .. import _utilities
17
+ from . import outputs
18
+ from ._inputs import *
19
+
20
+ __all__ = [
21
+ 'GetFileShareProvisioningRecommendationResult',
22
+ 'AwaitableGetFileShareProvisioningRecommendationResult',
23
+ 'get_file_share_provisioning_recommendation',
24
+ 'get_file_share_provisioning_recommendation_output',
25
+ ]
26
+
27
+ @pulumi.output_type
28
+ class GetFileShareProvisioningRecommendationResult:
29
+ """
30
+ Response structure for file share provisioning parameters recommendation API.
31
+ """
32
+ def __init__(__self__, properties=None):
33
+ if properties and not isinstance(properties, dict):
34
+ raise TypeError("Expected argument 'properties' to be a dict")
35
+ pulumi.set(__self__, "properties", properties)
36
+
37
+ @property
38
+ @pulumi.getter
39
+ def properties(self) -> 'outputs.FileShareProvisioningRecommendationOutputResponse':
40
+ """
41
+ The properties of the file share provisioning recommendation output.
42
+ """
43
+ return pulumi.get(self, "properties")
44
+
45
+
46
+ class AwaitableGetFileShareProvisioningRecommendationResult(GetFileShareProvisioningRecommendationResult):
47
+ # pylint: disable=using-constant-test
48
+ def __await__(self):
49
+ if False:
50
+ yield self
51
+ return GetFileShareProvisioningRecommendationResult(
52
+ properties=self.properties)
53
+
54
+
55
+ def get_file_share_provisioning_recommendation(location: Optional[builtins.str] = None,
56
+ properties: Optional[Union['FileShareProvisioningRecommendationInput', 'FileShareProvisioningRecommendationInputDict']] = None,
57
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFileShareProvisioningRecommendationResult:
58
+ """
59
+ Get file shares provisioning parameters recommendation.
60
+
61
+ Uses Azure REST API version 2025-06-01-preview.
62
+
63
+
64
+ :param builtins.str location: The name of the Azure region.
65
+ :param Union['FileShareProvisioningRecommendationInput', 'FileShareProvisioningRecommendationInputDict'] properties: The properties of the file share provisioning recommendation input.
66
+ """
67
+ __args__ = dict()
68
+ __args__['location'] = location
69
+ __args__['properties'] = properties
70
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
71
+ __ret__ = pulumi.runtime.invoke('azure-native:fileshares:getFileShareProvisioningRecommendation', __args__, opts=opts, typ=GetFileShareProvisioningRecommendationResult).value
72
+
73
+ return AwaitableGetFileShareProvisioningRecommendationResult(
74
+ properties=pulumi.get(__ret__, 'properties'))
75
+ def get_file_share_provisioning_recommendation_output(location: Optional[pulumi.Input[builtins.str]] = None,
76
+ properties: Optional[pulumi.Input[Union['FileShareProvisioningRecommendationInput', 'FileShareProvisioningRecommendationInputDict']]] = None,
77
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFileShareProvisioningRecommendationResult]:
78
+ """
79
+ Get file shares provisioning parameters recommendation.
80
+
81
+ Uses Azure REST API version 2025-06-01-preview.
82
+
83
+
84
+ :param builtins.str location: The name of the Azure region.
85
+ :param Union['FileShareProvisioningRecommendationInput', 'FileShareProvisioningRecommendationInputDict'] properties: The properties of the file share provisioning recommendation input.
86
+ """
87
+ __args__ = dict()
88
+ __args__['location'] = location
89
+ __args__['properties'] = properties
90
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
91
+ __ret__ = pulumi.runtime.invoke_output('azure-native:fileshares:getFileShareProvisioningRecommendation', __args__, opts=opts, typ=GetFileShareProvisioningRecommendationResult)
92
+ return __ret__.apply(lambda __response__: GetFileShareProvisioningRecommendationResult(
93
+ properties=pulumi.get(__response__, 'properties')))