pulumi-azure-native 2.44.0a1717167674__py3-none-any.whl → 2.44.0a1717490530__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 (171) hide show
  1. pulumi_azure_native/__init__.py +69 -2
  2. pulumi_azure_native/appcomplianceautomation/__init__.py +14 -0
  3. pulumi_azure_native/appcomplianceautomation/_enums.py +125 -0
  4. pulumi_azure_native/appcomplianceautomation/_inputs.py +40 -0
  5. pulumi_azure_native/appcomplianceautomation/evidence.py +363 -0
  6. pulumi_azure_native/appcomplianceautomation/get_evidence.py +198 -0
  7. pulumi_azure_native/appcomplianceautomation/get_provider_action_collection_count.py +75 -0
  8. pulumi_azure_native/appcomplianceautomation/get_provider_action_overview_status.py +76 -0
  9. pulumi_azure_native/appcomplianceautomation/get_report.py +4 -0
  10. pulumi_azure_native/appcomplianceautomation/get_report_scoping_questions.py +76 -0
  11. pulumi_azure_native/appcomplianceautomation/get_scoping_configuration.py +146 -0
  12. pulumi_azure_native/appcomplianceautomation/get_webhook.py +289 -0
  13. pulumi_azure_native/appcomplianceautomation/list_provider_action_in_use_storage_accounts.py +76 -0
  14. pulumi_azure_native/appcomplianceautomation/outputs.py +226 -0
  15. pulumi_azure_native/appcomplianceautomation/report.py +5 -1
  16. pulumi_azure_native/appcomplianceautomation/scoping_configuration.py +206 -0
  17. pulumi_azure_native/appcomplianceautomation/v20221116preview/report.py +1 -1
  18. pulumi_azure_native/appcomplianceautomation/v20240627/__init__.py +22 -0
  19. pulumi_azure_native/appcomplianceautomation/v20240627/_enums.py +144 -0
  20. pulumi_azure_native/appcomplianceautomation/v20240627/_inputs.py +215 -0
  21. pulumi_azure_native/appcomplianceautomation/v20240627/evidence.py +361 -0
  22. pulumi_azure_native/appcomplianceautomation/v20240627/get_evidence.py +196 -0
  23. pulumi_azure_native/appcomplianceautomation/v20240627/get_provider_action_collection_count.py +73 -0
  24. pulumi_azure_native/appcomplianceautomation/v20240627/get_provider_action_overview_status.py +74 -0
  25. pulumi_azure_native/appcomplianceautomation/v20240627/get_report.py +296 -0
  26. pulumi_azure_native/appcomplianceautomation/v20240627/get_report_scoping_questions.py +74 -0
  27. pulumi_azure_native/appcomplianceautomation/v20240627/get_scoping_configuration.py +144 -0
  28. pulumi_azure_native/appcomplianceautomation/v20240627/get_webhook.py +287 -0
  29. pulumi_azure_native/appcomplianceautomation/v20240627/list_provider_action_in_use_storage_accounts.py +74 -0
  30. pulumi_azure_native/appcomplianceautomation/v20240627/outputs.py +720 -0
  31. pulumi_azure_native/appcomplianceautomation/v20240627/report.py +387 -0
  32. pulumi_azure_native/appcomplianceautomation/v20240627/scoping_configuration.py +204 -0
  33. pulumi_azure_native/appcomplianceautomation/v20240627/webhook.py +447 -0
  34. pulumi_azure_native/appcomplianceautomation/webhook.py +449 -0
  35. pulumi_azure_native/devhub/__init__.py +5 -0
  36. pulumi_azure_native/devhub/_inputs.py +190 -0
  37. pulumi_azure_native/devhub/get_git_hub_o_auth.py +2 -2
  38. pulumi_azure_native/devhub/get_iac_profile.py +322 -0
  39. pulumi_azure_native/devhub/get_workflow.py +2 -2
  40. pulumi_azure_native/devhub/iac_profile.py +539 -0
  41. pulumi_azure_native/devhub/outputs.py +229 -0
  42. pulumi_azure_native/devhub/v20221011preview/workflow.py +1 -1
  43. pulumi_azure_native/devhub/v20230801/workflow.py +1 -1
  44. pulumi_azure_native/devhub/v20240501preview/__init__.py +15 -0
  45. pulumi_azure_native/devhub/v20240501preview/_enums.py +146 -0
  46. pulumi_azure_native/devhub/v20240501preview/_inputs.py +427 -0
  47. pulumi_azure_native/devhub/v20240501preview/get_git_hub_o_auth.py +91 -0
  48. pulumi_azure_native/devhub/v20240501preview/get_iac_profile.py +320 -0
  49. pulumi_azure_native/devhub/v20240501preview/get_workflow.py +489 -0
  50. pulumi_azure_native/devhub/v20240501preview/iac_profile.py +537 -0
  51. pulumi_azure_native/devhub/v20240501preview/outputs.py +654 -0
  52. pulumi_azure_native/devhub/v20240501preview/workflow.py +915 -0
  53. pulumi_azure_native/devhub/workflow.py +3 -3
  54. pulumi_azure_native/hybridcompute/__init__.py +3 -0
  55. pulumi_azure_native/hybridcompute/gateway.py +5 -1
  56. pulumi_azure_native/hybridcompute/get_gateway.py +4 -0
  57. pulumi_azure_native/hybridcompute/get_license.py +2 -2
  58. pulumi_azure_native/hybridcompute/get_license_profile.py +2 -2
  59. pulumi_azure_native/hybridcompute/get_machine.py +2 -2
  60. pulumi_azure_native/hybridcompute/get_machine_extension.py +2 -2
  61. pulumi_azure_native/hybridcompute/get_machine_run_command.py +2 -2
  62. pulumi_azure_native/hybridcompute/get_private_endpoint_connection.py +2 -2
  63. pulumi_azure_native/hybridcompute/get_private_link_scope.py +2 -2
  64. pulumi_azure_native/hybridcompute/license.py +3 -3
  65. pulumi_azure_native/hybridcompute/license_profile.py +3 -3
  66. pulumi_azure_native/hybridcompute/machine.py +3 -3
  67. pulumi_azure_native/hybridcompute/machine_extension.py +3 -3
  68. pulumi_azure_native/hybridcompute/machine_run_command.py +3 -3
  69. pulumi_azure_native/hybridcompute/private_endpoint_connection.py +3 -3
  70. pulumi_azure_native/hybridcompute/private_link_scope.py +3 -3
  71. pulumi_azure_native/hybridcompute/v20200802/machine.py +1 -1
  72. pulumi_azure_native/hybridcompute/v20200815preview/machine.py +1 -1
  73. pulumi_azure_native/hybridcompute/v20200815preview/machine_extension.py +1 -1
  74. pulumi_azure_native/hybridcompute/v20200815preview/private_endpoint_connection.py +1 -1
  75. pulumi_azure_native/hybridcompute/v20200815preview/private_link_scope.py +1 -1
  76. pulumi_azure_native/hybridcompute/v20220510preview/machine.py +1 -1
  77. pulumi_azure_native/hybridcompute/v20220510preview/machine_extension.py +1 -1
  78. pulumi_azure_native/hybridcompute/v20221227/machine.py +1 -1
  79. pulumi_azure_native/hybridcompute/v20221227/machine_extension.py +1 -1
  80. pulumi_azure_native/hybridcompute/v20221227/private_endpoint_connection.py +1 -1
  81. pulumi_azure_native/hybridcompute/v20221227/private_link_scope.py +1 -1
  82. pulumi_azure_native/hybridcompute/v20230620preview/license.py +1 -1
  83. pulumi_azure_native/hybridcompute/v20230620preview/license_profile.py +1 -1
  84. pulumi_azure_native/hybridcompute/v20230620preview/machine.py +1 -1
  85. pulumi_azure_native/hybridcompute/v20230620preview/machine_extension.py +1 -1
  86. pulumi_azure_native/hybridcompute/v20230620preview/private_endpoint_connection.py +1 -1
  87. pulumi_azure_native/hybridcompute/v20230620preview/private_link_scope.py +1 -1
  88. pulumi_azure_native/hybridcompute/v20231003preview/license.py +1 -1
  89. pulumi_azure_native/hybridcompute/v20231003preview/license_profile.py +1 -1
  90. pulumi_azure_native/hybridcompute/v20231003preview/machine.py +1 -1
  91. pulumi_azure_native/hybridcompute/v20231003preview/machine_extension.py +1 -1
  92. pulumi_azure_native/hybridcompute/v20231003preview/machine_run_command.py +1 -1
  93. pulumi_azure_native/hybridcompute/v20231003preview/private_endpoint_connection.py +1 -1
  94. pulumi_azure_native/hybridcompute/v20231003preview/private_link_scope.py +1 -1
  95. pulumi_azure_native/hybridcompute/v20240331preview/gateway.py +1 -1
  96. pulumi_azure_native/hybridcompute/v20240331preview/license.py +1 -1
  97. pulumi_azure_native/hybridcompute/v20240331preview/license_profile.py +1 -1
  98. pulumi_azure_native/hybridcompute/v20240331preview/machine.py +1 -1
  99. pulumi_azure_native/hybridcompute/v20240331preview/machine_extension.py +1 -1
  100. pulumi_azure_native/hybridcompute/v20240331preview/machine_run_command.py +1 -1
  101. pulumi_azure_native/hybridcompute/v20240331preview/private_endpoint_connection.py +1 -1
  102. pulumi_azure_native/hybridcompute/v20240331preview/private_link_scope.py +1 -1
  103. pulumi_azure_native/hybridcompute/v20240520preview/__init__.py +26 -0
  104. pulumi_azure_native/hybridcompute/v20240520preview/_enums.py +172 -0
  105. pulumi_azure_native/hybridcompute/v20240520preview/_inputs.py +1408 -0
  106. pulumi_azure_native/hybridcompute/v20240520preview/gateway.py +311 -0
  107. pulumi_azure_native/hybridcompute/v20240520preview/get_gateway.py +209 -0
  108. pulumi_azure_native/hybridcompute/v20240520preview/get_license.py +196 -0
  109. pulumi_azure_native/hybridcompute/v20240520preview/get_license_profile.py +357 -0
  110. pulumi_azure_native/hybridcompute/v20240520preview/get_machine.py +591 -0
  111. pulumi_azure_native/hybridcompute/v20240520preview/get_machine_extension.py +162 -0
  112. pulumi_azure_native/hybridcompute/v20240520preview/get_machine_run_command.py +318 -0
  113. pulumi_azure_native/hybridcompute/v20240520preview/get_private_endpoint_connection.py +136 -0
  114. pulumi_azure_native/hybridcompute/v20240520preview/get_private_link_scope.py +157 -0
  115. pulumi_azure_native/hybridcompute/v20240520preview/license.py +321 -0
  116. pulumi_azure_native/hybridcompute/v20240520preview/license_profile.py +500 -0
  117. pulumi_azure_native/hybridcompute/v20240520preview/machine.py +850 -0
  118. pulumi_azure_native/hybridcompute/v20240520preview/machine_extension.py +274 -0
  119. pulumi_azure_native/hybridcompute/v20240520preview/machine_run_command.py +587 -0
  120. pulumi_azure_native/hybridcompute/v20240520preview/outputs.py +3204 -0
  121. pulumi_azure_native/hybridcompute/v20240520preview/private_endpoint_connection.py +215 -0
  122. pulumi_azure_native/hybridcompute/v20240520preview/private_link_scope.py +253 -0
  123. pulumi_azure_native/pulumi-plugin.json +1 -1
  124. pulumi_azure_native/scvmm/get_guest_agent.py +2 -2
  125. pulumi_azure_native/scvmm/get_vm_instance_guest_agent.py +0 -4
  126. pulumi_azure_native/scvmm/guest_agent.py +2 -2
  127. pulumi_azure_native/scvmm/v20231007/__init__.py +2 -2
  128. pulumi_azure_native/scvmm/v20231007/_enums.py +49 -4
  129. pulumi_azure_native/scvmm/v20231007/_inputs.py +56 -145
  130. pulumi_azure_native/scvmm/v20231007/cloud.py +6 -6
  131. pulumi_azure_native/scvmm/v20231007/get_cloud.py +10 -10
  132. pulumi_azure_native/scvmm/v20231007/{get_vm_instance_guest_agent.py → get_guest_agent.py} +16 -16
  133. pulumi_azure_native/scvmm/v20231007/get_inventory_item.py +4 -4
  134. pulumi_azure_native/scvmm/v20231007/get_virtual_machine_instance.py +4 -4
  135. pulumi_azure_native/scvmm/v20231007/get_vmm_server.py +6 -6
  136. pulumi_azure_native/scvmm/v20231007/{vm_instance_guest_agent.py → guest_agent.py} +18 -18
  137. pulumi_azure_native/scvmm/v20231007/inventory_item.py +5 -5
  138. pulumi_azure_native/scvmm/v20231007/outputs.py +96 -100
  139. pulumi_azure_native/scvmm/v20231007/virtual_machine_instance.py +19 -19
  140. pulumi_azure_native/scvmm/v20231007/vmm_server.py +13 -13
  141. pulumi_azure_native/scvmm/vm_instance_guest_agent.py +0 -4
  142. pulumi_azure_native/storage/v20230501/_enums.py +2 -0
  143. pulumi_azure_native/verifiedid/__init__.py +18 -0
  144. pulumi_azure_native/verifiedid/authority.py +234 -0
  145. pulumi_azure_native/verifiedid/get_authority.py +159 -0
  146. pulumi_azure_native/verifiedid/outputs.py +125 -0
  147. pulumi_azure_native/verifiedid/v20240126preview/__init__.py +10 -0
  148. pulumi_azure_native/verifiedid/v20240126preview/authority.py +232 -0
  149. pulumi_azure_native/verifiedid/v20240126preview/get_authority.py +157 -0
  150. pulumi_azure_native/verifiedid/v20240126preview/outputs.py +125 -0
  151. pulumi_azure_native/virtualmachineimages/__init__.py +3 -0
  152. pulumi_azure_native/virtualmachineimages/get_trigger.py +2 -2
  153. pulumi_azure_native/virtualmachineimages/get_virtual_machine_image_template.py +2 -2
  154. pulumi_azure_native/virtualmachineimages/trigger.py +3 -3
  155. pulumi_azure_native/virtualmachineimages/v20220701/trigger.py +1 -1
  156. pulumi_azure_native/virtualmachineimages/v20220701/virtual_machine_image_template.py +1 -1
  157. pulumi_azure_native/virtualmachineimages/v20230701/trigger.py +1 -1
  158. pulumi_azure_native/virtualmachineimages/v20230701/virtual_machine_image_template.py +1 -1
  159. pulumi_azure_native/virtualmachineimages/v20240201/__init__.py +14 -0
  160. pulumi_azure_native/virtualmachineimages/v20240201/_enums.py +60 -0
  161. pulumi_azure_native/virtualmachineimages/v20240201/_inputs.py +1895 -0
  162. pulumi_azure_native/virtualmachineimages/v20240201/get_trigger.py +162 -0
  163. pulumi_azure_native/virtualmachineimages/v20240201/get_virtual_machine_image_template.py +352 -0
  164. pulumi_azure_native/virtualmachineimages/v20240201/outputs.py +2401 -0
  165. pulumi_azure_native/virtualmachineimages/v20240201/trigger.py +235 -0
  166. pulumi_azure_native/virtualmachineimages/v20240201/virtual_machine_image_template.py +619 -0
  167. pulumi_azure_native/virtualmachineimages/virtual_machine_image_template.py +3 -3
  168. {pulumi_azure_native-2.44.0a1717167674.dist-info → pulumi_azure_native-2.44.0a1717490530.dist-info}/METADATA +1 -1
  169. {pulumi_azure_native-2.44.0a1717167674.dist-info → pulumi_azure_native-2.44.0a1717490530.dist-info}/RECORD +171 -97
  170. {pulumi_azure_native-2.44.0a1717167674.dist-info → pulumi_azure_native-2.44.0a1717490530.dist-info}/WHEEL +0 -0
  171. {pulumi_azure_native-2.44.0a1717167674.dist-info → pulumi_azure_native-2.44.0a1717490530.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,162 @@
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 copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from ... import _utilities
11
+ from . import outputs
12
+
13
+ __all__ = [
14
+ 'GetTriggerResult',
15
+ 'AwaitableGetTriggerResult',
16
+ 'get_trigger',
17
+ 'get_trigger_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetTriggerResult:
22
+ """
23
+ Represents a trigger that can invoke an image template build.
24
+ """
25
+ def __init__(__self__, id=None, kind=None, name=None, provisioning_state=None, status=None, system_data=None, type=None):
26
+ if id and not isinstance(id, str):
27
+ raise TypeError("Expected argument 'id' to be a str")
28
+ pulumi.set(__self__, "id", id)
29
+ if kind and not isinstance(kind, str):
30
+ raise TypeError("Expected argument 'kind' to be a str")
31
+ pulumi.set(__self__, "kind", kind)
32
+ if name and not isinstance(name, str):
33
+ raise TypeError("Expected argument 'name' to be a str")
34
+ pulumi.set(__self__, "name", name)
35
+ if provisioning_state and not isinstance(provisioning_state, str):
36
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
37
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
38
+ if status and not isinstance(status, dict):
39
+ raise TypeError("Expected argument 'status' to be a dict")
40
+ pulumi.set(__self__, "status", status)
41
+ if system_data and not isinstance(system_data, dict):
42
+ raise TypeError("Expected argument 'system_data' to be a dict")
43
+ pulumi.set(__self__, "system_data", system_data)
44
+ if type and not isinstance(type, str):
45
+ raise TypeError("Expected argument 'type' to be a str")
46
+ pulumi.set(__self__, "type", type)
47
+
48
+ @property
49
+ @pulumi.getter
50
+ def id(self) -> str:
51
+ """
52
+ Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
53
+ """
54
+ return pulumi.get(self, "id")
55
+
56
+ @property
57
+ @pulumi.getter
58
+ def kind(self) -> str:
59
+ """
60
+ The kind of trigger.
61
+ """
62
+ return pulumi.get(self, "kind")
63
+
64
+ @property
65
+ @pulumi.getter
66
+ def name(self) -> str:
67
+ """
68
+ The name of the resource
69
+ """
70
+ return pulumi.get(self, "name")
71
+
72
+ @property
73
+ @pulumi.getter(name="provisioningState")
74
+ def provisioning_state(self) -> str:
75
+ """
76
+ Provisioning state of the resource
77
+ """
78
+ return pulumi.get(self, "provisioning_state")
79
+
80
+ @property
81
+ @pulumi.getter
82
+ def status(self) -> 'outputs.TriggerStatusResponse':
83
+ """
84
+ Trigger status
85
+ """
86
+ return pulumi.get(self, "status")
87
+
88
+ @property
89
+ @pulumi.getter(name="systemData")
90
+ def system_data(self) -> 'outputs.SystemDataResponse':
91
+ """
92
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
93
+ """
94
+ return pulumi.get(self, "system_data")
95
+
96
+ @property
97
+ @pulumi.getter
98
+ def type(self) -> str:
99
+ """
100
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
101
+ """
102
+ return pulumi.get(self, "type")
103
+
104
+
105
+ class AwaitableGetTriggerResult(GetTriggerResult):
106
+ # pylint: disable=using-constant-test
107
+ def __await__(self):
108
+ if False:
109
+ yield self
110
+ return GetTriggerResult(
111
+ id=self.id,
112
+ kind=self.kind,
113
+ name=self.name,
114
+ provisioning_state=self.provisioning_state,
115
+ status=self.status,
116
+ system_data=self.system_data,
117
+ type=self.type)
118
+
119
+
120
+ def get_trigger(image_template_name: Optional[str] = None,
121
+ resource_group_name: Optional[str] = None,
122
+ trigger_name: Optional[str] = None,
123
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTriggerResult:
124
+ """
125
+ Get the specified trigger for the specified image template resource
126
+
127
+
128
+ :param str image_template_name: The name of the image Template
129
+ :param str resource_group_name: The name of the resource group.
130
+ :param str trigger_name: The name of the trigger
131
+ """
132
+ __args__ = dict()
133
+ __args__['imageTemplateName'] = image_template_name
134
+ __args__['resourceGroupName'] = resource_group_name
135
+ __args__['triggerName'] = trigger_name
136
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
137
+ __ret__ = pulumi.runtime.invoke('azure-native:virtualmachineimages/v20240201:getTrigger', __args__, opts=opts, typ=GetTriggerResult).value
138
+
139
+ return AwaitableGetTriggerResult(
140
+ id=pulumi.get(__ret__, 'id'),
141
+ kind=pulumi.get(__ret__, 'kind'),
142
+ name=pulumi.get(__ret__, 'name'),
143
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
144
+ status=pulumi.get(__ret__, 'status'),
145
+ system_data=pulumi.get(__ret__, 'system_data'),
146
+ type=pulumi.get(__ret__, 'type'))
147
+
148
+
149
+ @_utilities.lift_output_func(get_trigger)
150
+ def get_trigger_output(image_template_name: Optional[pulumi.Input[str]] = None,
151
+ resource_group_name: Optional[pulumi.Input[str]] = None,
152
+ trigger_name: Optional[pulumi.Input[str]] = None,
153
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTriggerResult]:
154
+ """
155
+ Get the specified trigger for the specified image template resource
156
+
157
+
158
+ :param str image_template_name: The name of the image Template
159
+ :param str resource_group_name: The name of the resource group.
160
+ :param str trigger_name: The name of the trigger
161
+ """
162
+ ...
@@ -0,0 +1,352 @@
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 copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from ... import _utilities
11
+ from . import outputs
12
+
13
+ __all__ = [
14
+ 'GetVirtualMachineImageTemplateResult',
15
+ 'AwaitableGetVirtualMachineImageTemplateResult',
16
+ 'get_virtual_machine_image_template',
17
+ 'get_virtual_machine_image_template_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetVirtualMachineImageTemplateResult:
22
+ """
23
+ Image template is an ARM resource managed by Microsoft.VirtualMachineImages provider
24
+ """
25
+ def __init__(__self__, auto_run=None, build_timeout_in_minutes=None, customize=None, distribute=None, error_handling=None, exact_staging_resource_group=None, id=None, identity=None, last_run_status=None, location=None, managed_resource_tags=None, name=None, optimize=None, provisioning_error=None, provisioning_state=None, source=None, staging_resource_group=None, system_data=None, tags=None, type=None, validate=None, vm_profile=None):
26
+ if auto_run and not isinstance(auto_run, dict):
27
+ raise TypeError("Expected argument 'auto_run' to be a dict")
28
+ pulumi.set(__self__, "auto_run", auto_run)
29
+ if build_timeout_in_minutes and not isinstance(build_timeout_in_minutes, int):
30
+ raise TypeError("Expected argument 'build_timeout_in_minutes' to be a int")
31
+ pulumi.set(__self__, "build_timeout_in_minutes", build_timeout_in_minutes)
32
+ if customize and not isinstance(customize, list):
33
+ raise TypeError("Expected argument 'customize' to be a list")
34
+ pulumi.set(__self__, "customize", customize)
35
+ if distribute and not isinstance(distribute, list):
36
+ raise TypeError("Expected argument 'distribute' to be a list")
37
+ pulumi.set(__self__, "distribute", distribute)
38
+ if error_handling and not isinstance(error_handling, dict):
39
+ raise TypeError("Expected argument 'error_handling' to be a dict")
40
+ pulumi.set(__self__, "error_handling", error_handling)
41
+ if exact_staging_resource_group and not isinstance(exact_staging_resource_group, str):
42
+ raise TypeError("Expected argument 'exact_staging_resource_group' to be a str")
43
+ pulumi.set(__self__, "exact_staging_resource_group", exact_staging_resource_group)
44
+ if id and not isinstance(id, str):
45
+ raise TypeError("Expected argument 'id' to be a str")
46
+ pulumi.set(__self__, "id", id)
47
+ if identity and not isinstance(identity, dict):
48
+ raise TypeError("Expected argument 'identity' to be a dict")
49
+ pulumi.set(__self__, "identity", identity)
50
+ if last_run_status and not isinstance(last_run_status, dict):
51
+ raise TypeError("Expected argument 'last_run_status' to be a dict")
52
+ pulumi.set(__self__, "last_run_status", last_run_status)
53
+ if location and not isinstance(location, str):
54
+ raise TypeError("Expected argument 'location' to be a str")
55
+ pulumi.set(__self__, "location", location)
56
+ if managed_resource_tags and not isinstance(managed_resource_tags, dict):
57
+ raise TypeError("Expected argument 'managed_resource_tags' to be a dict")
58
+ pulumi.set(__self__, "managed_resource_tags", managed_resource_tags)
59
+ if name and not isinstance(name, str):
60
+ raise TypeError("Expected argument 'name' to be a str")
61
+ pulumi.set(__self__, "name", name)
62
+ if optimize and not isinstance(optimize, dict):
63
+ raise TypeError("Expected argument 'optimize' to be a dict")
64
+ pulumi.set(__self__, "optimize", optimize)
65
+ if provisioning_error and not isinstance(provisioning_error, dict):
66
+ raise TypeError("Expected argument 'provisioning_error' to be a dict")
67
+ pulumi.set(__self__, "provisioning_error", provisioning_error)
68
+ if provisioning_state and not isinstance(provisioning_state, str):
69
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
70
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
71
+ if source and not isinstance(source, dict):
72
+ raise TypeError("Expected argument 'source' to be a dict")
73
+ pulumi.set(__self__, "source", source)
74
+ if staging_resource_group and not isinstance(staging_resource_group, str):
75
+ raise TypeError("Expected argument 'staging_resource_group' to be a str")
76
+ pulumi.set(__self__, "staging_resource_group", staging_resource_group)
77
+ if system_data and not isinstance(system_data, dict):
78
+ raise TypeError("Expected argument 'system_data' to be a dict")
79
+ pulumi.set(__self__, "system_data", system_data)
80
+ if tags and not isinstance(tags, dict):
81
+ raise TypeError("Expected argument 'tags' to be a dict")
82
+ pulumi.set(__self__, "tags", tags)
83
+ if type and not isinstance(type, str):
84
+ raise TypeError("Expected argument 'type' to be a str")
85
+ pulumi.set(__self__, "type", type)
86
+ if validate and not isinstance(validate, dict):
87
+ raise TypeError("Expected argument 'validate' to be a dict")
88
+ pulumi.set(__self__, "validate", validate)
89
+ if vm_profile and not isinstance(vm_profile, dict):
90
+ raise TypeError("Expected argument 'vm_profile' to be a dict")
91
+ pulumi.set(__self__, "vm_profile", vm_profile)
92
+
93
+ @property
94
+ @pulumi.getter(name="autoRun")
95
+ def auto_run(self) -> Optional['outputs.ImageTemplateAutoRunResponse']:
96
+ """
97
+ Indicates whether or not to automatically run the image template build on template creation or update.
98
+ """
99
+ return pulumi.get(self, "auto_run")
100
+
101
+ @property
102
+ @pulumi.getter(name="buildTimeoutInMinutes")
103
+ def build_timeout_in_minutes(self) -> Optional[int]:
104
+ """
105
+ Maximum duration to wait while building the image template (includes all customizations, optimization, validations, and distributions). Omit or specify 0 to use the default (4 hours).
106
+ """
107
+ return pulumi.get(self, "build_timeout_in_minutes")
108
+
109
+ @property
110
+ @pulumi.getter
111
+ def customize(self) -> Optional[Sequence[Any]]:
112
+ """
113
+ Specifies the properties used to describe the customization steps of the image, like Image source etc
114
+ """
115
+ return pulumi.get(self, "customize")
116
+
117
+ @property
118
+ @pulumi.getter
119
+ def distribute(self) -> Sequence[Any]:
120
+ """
121
+ The distribution targets where the image output needs to go to.
122
+ """
123
+ return pulumi.get(self, "distribute")
124
+
125
+ @property
126
+ @pulumi.getter(name="errorHandling")
127
+ def error_handling(self) -> Optional['outputs.ImageTemplatePropertiesResponseErrorHandling']:
128
+ """
129
+ Error handling options upon a build failure
130
+ """
131
+ return pulumi.get(self, "error_handling")
132
+
133
+ @property
134
+ @pulumi.getter(name="exactStagingResourceGroup")
135
+ def exact_staging_resource_group(self) -> str:
136
+ """
137
+ The staging resource group id in the same subscription as the image template that will be used to build the image. This read-only field differs from 'stagingResourceGroup' only if the value specified in the 'stagingResourceGroup' field is empty.
138
+ """
139
+ return pulumi.get(self, "exact_staging_resource_group")
140
+
141
+ @property
142
+ @pulumi.getter
143
+ def id(self) -> str:
144
+ """
145
+ Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
146
+ """
147
+ return pulumi.get(self, "id")
148
+
149
+ @property
150
+ @pulumi.getter
151
+ def identity(self) -> 'outputs.ImageTemplateIdentityResponse':
152
+ """
153
+ The identity of the image template, if configured.
154
+ """
155
+ return pulumi.get(self, "identity")
156
+
157
+ @property
158
+ @pulumi.getter(name="lastRunStatus")
159
+ def last_run_status(self) -> 'outputs.ImageTemplateLastRunStatusResponse':
160
+ """
161
+ State of 'run' that is currently executing or was last executed.
162
+ """
163
+ return pulumi.get(self, "last_run_status")
164
+
165
+ @property
166
+ @pulumi.getter
167
+ def location(self) -> str:
168
+ """
169
+ The geo-location where the resource lives
170
+ """
171
+ return pulumi.get(self, "location")
172
+
173
+ @property
174
+ @pulumi.getter(name="managedResourceTags")
175
+ def managed_resource_tags(self) -> Optional[Mapping[str, str]]:
176
+ """
177
+ Tags that will be applied to the resource group and/or resources created by the service.
178
+ """
179
+ return pulumi.get(self, "managed_resource_tags")
180
+
181
+ @property
182
+ @pulumi.getter
183
+ def name(self) -> str:
184
+ """
185
+ The name of the resource
186
+ """
187
+ return pulumi.get(self, "name")
188
+
189
+ @property
190
+ @pulumi.getter
191
+ def optimize(self) -> Optional['outputs.ImageTemplatePropertiesResponseOptimize']:
192
+ """
193
+ Specifies optimization to be performed on image.
194
+ """
195
+ return pulumi.get(self, "optimize")
196
+
197
+ @property
198
+ @pulumi.getter(name="provisioningError")
199
+ def provisioning_error(self) -> 'outputs.ProvisioningErrorResponse':
200
+ """
201
+ Provisioning error, if any
202
+ """
203
+ return pulumi.get(self, "provisioning_error")
204
+
205
+ @property
206
+ @pulumi.getter(name="provisioningState")
207
+ def provisioning_state(self) -> str:
208
+ """
209
+ Provisioning state of the resource
210
+ """
211
+ return pulumi.get(self, "provisioning_state")
212
+
213
+ @property
214
+ @pulumi.getter
215
+ def source(self) -> Any:
216
+ """
217
+ Specifies the properties used to describe the source image.
218
+ """
219
+ return pulumi.get(self, "source")
220
+
221
+ @property
222
+ @pulumi.getter(name="stagingResourceGroup")
223
+ def staging_resource_group(self) -> Optional[str]:
224
+ """
225
+ The staging resource group id in the same subscription as the image template that will be used to build the image. If this field is empty, a resource group with a random name will be created. If the resource group specified in this field doesn't exist, it will be created with the same name. If the resource group specified exists, it must be empty and in the same region as the image template. The resource group created will be deleted during template deletion if this field is empty or the resource group specified doesn't exist, but if the resource group specified exists the resources created in the resource group will be deleted during template deletion and the resource group itself will remain.
226
+ """
227
+ return pulumi.get(self, "staging_resource_group")
228
+
229
+ @property
230
+ @pulumi.getter(name="systemData")
231
+ def system_data(self) -> 'outputs.SystemDataResponse':
232
+ """
233
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
234
+ """
235
+ return pulumi.get(self, "system_data")
236
+
237
+ @property
238
+ @pulumi.getter
239
+ def tags(self) -> Optional[Mapping[str, str]]:
240
+ """
241
+ Resource tags.
242
+ """
243
+ return pulumi.get(self, "tags")
244
+
245
+ @property
246
+ @pulumi.getter
247
+ def type(self) -> str:
248
+ """
249
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
250
+ """
251
+ return pulumi.get(self, "type")
252
+
253
+ @property
254
+ @pulumi.getter
255
+ def validate(self) -> Optional['outputs.ImageTemplatePropertiesResponseValidate']:
256
+ """
257
+ Configuration options and list of validations to be performed on the resulting image.
258
+ """
259
+ return pulumi.get(self, "validate")
260
+
261
+ @property
262
+ @pulumi.getter(name="vmProfile")
263
+ def vm_profile(self) -> Optional['outputs.ImageTemplateVmProfileResponse']:
264
+ """
265
+ Describes how virtual machine is set up to build images
266
+ """
267
+ return pulumi.get(self, "vm_profile")
268
+
269
+
270
+ class AwaitableGetVirtualMachineImageTemplateResult(GetVirtualMachineImageTemplateResult):
271
+ # pylint: disable=using-constant-test
272
+ def __await__(self):
273
+ if False:
274
+ yield self
275
+ return GetVirtualMachineImageTemplateResult(
276
+ auto_run=self.auto_run,
277
+ build_timeout_in_minutes=self.build_timeout_in_minutes,
278
+ customize=self.customize,
279
+ distribute=self.distribute,
280
+ error_handling=self.error_handling,
281
+ exact_staging_resource_group=self.exact_staging_resource_group,
282
+ id=self.id,
283
+ identity=self.identity,
284
+ last_run_status=self.last_run_status,
285
+ location=self.location,
286
+ managed_resource_tags=self.managed_resource_tags,
287
+ name=self.name,
288
+ optimize=self.optimize,
289
+ provisioning_error=self.provisioning_error,
290
+ provisioning_state=self.provisioning_state,
291
+ source=self.source,
292
+ staging_resource_group=self.staging_resource_group,
293
+ system_data=self.system_data,
294
+ tags=self.tags,
295
+ type=self.type,
296
+ validate=self.validate,
297
+ vm_profile=self.vm_profile)
298
+
299
+
300
+ def get_virtual_machine_image_template(image_template_name: Optional[str] = None,
301
+ resource_group_name: Optional[str] = None,
302
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVirtualMachineImageTemplateResult:
303
+ """
304
+ Get information about a virtual machine image template
305
+
306
+
307
+ :param str image_template_name: The name of the image Template
308
+ :param str resource_group_name: The name of the resource group.
309
+ """
310
+ __args__ = dict()
311
+ __args__['imageTemplateName'] = image_template_name
312
+ __args__['resourceGroupName'] = resource_group_name
313
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
314
+ __ret__ = pulumi.runtime.invoke('azure-native:virtualmachineimages/v20240201:getVirtualMachineImageTemplate', __args__, opts=opts, typ=GetVirtualMachineImageTemplateResult).value
315
+
316
+ return AwaitableGetVirtualMachineImageTemplateResult(
317
+ auto_run=pulumi.get(__ret__, 'auto_run'),
318
+ build_timeout_in_minutes=pulumi.get(__ret__, 'build_timeout_in_minutes'),
319
+ customize=pulumi.get(__ret__, 'customize'),
320
+ distribute=pulumi.get(__ret__, 'distribute'),
321
+ error_handling=pulumi.get(__ret__, 'error_handling'),
322
+ exact_staging_resource_group=pulumi.get(__ret__, 'exact_staging_resource_group'),
323
+ id=pulumi.get(__ret__, 'id'),
324
+ identity=pulumi.get(__ret__, 'identity'),
325
+ last_run_status=pulumi.get(__ret__, 'last_run_status'),
326
+ location=pulumi.get(__ret__, 'location'),
327
+ managed_resource_tags=pulumi.get(__ret__, 'managed_resource_tags'),
328
+ name=pulumi.get(__ret__, 'name'),
329
+ optimize=pulumi.get(__ret__, 'optimize'),
330
+ provisioning_error=pulumi.get(__ret__, 'provisioning_error'),
331
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
332
+ source=pulumi.get(__ret__, 'source'),
333
+ staging_resource_group=pulumi.get(__ret__, 'staging_resource_group'),
334
+ system_data=pulumi.get(__ret__, 'system_data'),
335
+ tags=pulumi.get(__ret__, 'tags'),
336
+ type=pulumi.get(__ret__, 'type'),
337
+ validate=pulumi.get(__ret__, 'validate'),
338
+ vm_profile=pulumi.get(__ret__, 'vm_profile'))
339
+
340
+
341
+ @_utilities.lift_output_func(get_virtual_machine_image_template)
342
+ def get_virtual_machine_image_template_output(image_template_name: Optional[pulumi.Input[str]] = None,
343
+ resource_group_name: Optional[pulumi.Input[str]] = None,
344
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVirtualMachineImageTemplateResult]:
345
+ """
346
+ Get information about a virtual machine image template
347
+
348
+
349
+ :param str image_template_name: The name of the image Template
350
+ :param str resource_group_name: The name of the resource group.
351
+ """
352
+ ...