pulumi-azure-native 2.44.0__py3-none-any.whl → 2.44.0a1717167674__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.
- pulumi_azure_native/__init__.py +2 -69
- pulumi_azure_native/appcomplianceautomation/__init__.py +0 -14
- pulumi_azure_native/appcomplianceautomation/_inputs.py +0 -40
- pulumi_azure_native/appcomplianceautomation/get_report.py +0 -4
- pulumi_azure_native/appcomplianceautomation/outputs.py +0 -226
- pulumi_azure_native/appcomplianceautomation/report.py +1 -5
- pulumi_azure_native/appcomplianceautomation/v20221116preview/report.py +1 -1
- pulumi_azure_native/devhub/__init__.py +0 -5
- pulumi_azure_native/devhub/_inputs.py +0 -190
- pulumi_azure_native/devhub/get_git_hub_o_auth.py +2 -2
- pulumi_azure_native/devhub/get_workflow.py +2 -2
- pulumi_azure_native/devhub/outputs.py +0 -229
- pulumi_azure_native/devhub/v20221011preview/workflow.py +1 -1
- pulumi_azure_native/devhub/v20230801/workflow.py +1 -1
- pulumi_azure_native/devhub/workflow.py +3 -3
- pulumi_azure_native/hybridcompute/__init__.py +0 -3
- pulumi_azure_native/hybridcompute/gateway.py +1 -5
- pulumi_azure_native/hybridcompute/get_gateway.py +0 -4
- pulumi_azure_native/hybridcompute/get_license.py +2 -2
- pulumi_azure_native/hybridcompute/get_license_profile.py +2 -2
- pulumi_azure_native/hybridcompute/get_machine.py +2 -2
- pulumi_azure_native/hybridcompute/get_machine_extension.py +2 -2
- pulumi_azure_native/hybridcompute/get_machine_run_command.py +2 -2
- pulumi_azure_native/hybridcompute/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/hybridcompute/get_private_link_scope.py +2 -2
- pulumi_azure_native/hybridcompute/license.py +3 -3
- pulumi_azure_native/hybridcompute/license_profile.py +3 -3
- pulumi_azure_native/hybridcompute/machine.py +3 -3
- pulumi_azure_native/hybridcompute/machine_extension.py +3 -3
- pulumi_azure_native/hybridcompute/machine_run_command.py +3 -3
- pulumi_azure_native/hybridcompute/private_endpoint_connection.py +3 -3
- pulumi_azure_native/hybridcompute/private_link_scope.py +3 -3
- pulumi_azure_native/hybridcompute/v20200802/machine.py +1 -1
- pulumi_azure_native/hybridcompute/v20200815preview/machine.py +1 -1
- pulumi_azure_native/hybridcompute/v20200815preview/machine_extension.py +1 -1
- pulumi_azure_native/hybridcompute/v20200815preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/hybridcompute/v20200815preview/private_link_scope.py +1 -1
- pulumi_azure_native/hybridcompute/v20220510preview/machine.py +1 -1
- pulumi_azure_native/hybridcompute/v20220510preview/machine_extension.py +1 -1
- pulumi_azure_native/hybridcompute/v20221227/machine.py +1 -1
- pulumi_azure_native/hybridcompute/v20221227/machine_extension.py +1 -1
- pulumi_azure_native/hybridcompute/v20221227/private_endpoint_connection.py +1 -1
- pulumi_azure_native/hybridcompute/v20221227/private_link_scope.py +1 -1
- pulumi_azure_native/hybridcompute/v20230620preview/license.py +1 -1
- pulumi_azure_native/hybridcompute/v20230620preview/license_profile.py +1 -1
- pulumi_azure_native/hybridcompute/v20230620preview/machine.py +1 -1
- pulumi_azure_native/hybridcompute/v20230620preview/machine_extension.py +1 -1
- pulumi_azure_native/hybridcompute/v20230620preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/hybridcompute/v20230620preview/private_link_scope.py +1 -1
- pulumi_azure_native/hybridcompute/v20231003preview/license.py +1 -1
- pulumi_azure_native/hybridcompute/v20231003preview/license_profile.py +1 -1
- pulumi_azure_native/hybridcompute/v20231003preview/machine.py +1 -1
- pulumi_azure_native/hybridcompute/v20231003preview/machine_extension.py +1 -1
- pulumi_azure_native/hybridcompute/v20231003preview/machine_run_command.py +1 -1
- pulumi_azure_native/hybridcompute/v20231003preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/hybridcompute/v20231003preview/private_link_scope.py +1 -1
- pulumi_azure_native/hybridcompute/v20240331preview/gateway.py +1 -1
- pulumi_azure_native/hybridcompute/v20240331preview/license.py +1 -1
- pulumi_azure_native/hybridcompute/v20240331preview/license_profile.py +1 -1
- pulumi_azure_native/hybridcompute/v20240331preview/machine.py +1 -1
- pulumi_azure_native/hybridcompute/v20240331preview/machine_extension.py +1 -1
- pulumi_azure_native/hybridcompute/v20240331preview/machine_run_command.py +1 -1
- pulumi_azure_native/hybridcompute/v20240331preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/hybridcompute/v20240331preview/private_link_scope.py +1 -1
- pulumi_azure_native/pulumi-plugin.json +1 -1
- pulumi_azure_native/scvmm/get_guest_agent.py +2 -2
- pulumi_azure_native/scvmm/get_vm_instance_guest_agent.py +4 -0
- pulumi_azure_native/scvmm/guest_agent.py +2 -2
- pulumi_azure_native/scvmm/v20231007/__init__.py +2 -2
- pulumi_azure_native/scvmm/v20231007/_enums.py +4 -49
- pulumi_azure_native/scvmm/v20231007/_inputs.py +145 -56
- pulumi_azure_native/scvmm/v20231007/cloud.py +6 -6
- pulumi_azure_native/scvmm/v20231007/get_cloud.py +10 -10
- pulumi_azure_native/scvmm/v20231007/get_inventory_item.py +4 -4
- pulumi_azure_native/scvmm/v20231007/get_virtual_machine_instance.py +4 -4
- pulumi_azure_native/scvmm/v20231007/{get_guest_agent.py → get_vm_instance_guest_agent.py} +16 -16
- pulumi_azure_native/scvmm/v20231007/get_vmm_server.py +6 -6
- pulumi_azure_native/scvmm/v20231007/inventory_item.py +5 -5
- pulumi_azure_native/scvmm/v20231007/outputs.py +100 -96
- pulumi_azure_native/scvmm/v20231007/virtual_machine_instance.py +19 -19
- pulumi_azure_native/scvmm/v20231007/{guest_agent.py → vm_instance_guest_agent.py} +18 -18
- pulumi_azure_native/scvmm/v20231007/vmm_server.py +13 -13
- pulumi_azure_native/scvmm/vm_instance_guest_agent.py +4 -0
- pulumi_azure_native/storage/v20230501/_enums.py +0 -2
- pulumi_azure_native/virtualmachineimages/__init__.py +0 -3
- pulumi_azure_native/virtualmachineimages/get_trigger.py +2 -2
- pulumi_azure_native/virtualmachineimages/get_virtual_machine_image_template.py +2 -2
- pulumi_azure_native/virtualmachineimages/trigger.py +3 -3
- pulumi_azure_native/virtualmachineimages/v20220701/trigger.py +1 -1
- pulumi_azure_native/virtualmachineimages/v20220701/virtual_machine_image_template.py +1 -1
- pulumi_azure_native/virtualmachineimages/v20230701/trigger.py +1 -1
- pulumi_azure_native/virtualmachineimages/v20230701/virtual_machine_image_template.py +1 -1
- pulumi_azure_native/virtualmachineimages/virtual_machine_image_template.py +3 -3
- {pulumi_azure_native-2.44.0.dist-info → pulumi_azure_native-2.44.0a1717167674.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.44.0.dist-info → pulumi_azure_native-2.44.0a1717167674.dist-info}/RECORD +97 -171
- pulumi_azure_native/appcomplianceautomation/_enums.py +0 -125
- pulumi_azure_native/appcomplianceautomation/evidence.py +0 -363
- pulumi_azure_native/appcomplianceautomation/get_evidence.py +0 -198
- pulumi_azure_native/appcomplianceautomation/get_provider_action_collection_count.py +0 -75
- pulumi_azure_native/appcomplianceautomation/get_provider_action_overview_status.py +0 -76
- pulumi_azure_native/appcomplianceautomation/get_report_scoping_questions.py +0 -76
- pulumi_azure_native/appcomplianceautomation/get_scoping_configuration.py +0 -146
- pulumi_azure_native/appcomplianceautomation/get_webhook.py +0 -289
- pulumi_azure_native/appcomplianceautomation/list_provider_action_in_use_storage_accounts.py +0 -76
- pulumi_azure_native/appcomplianceautomation/scoping_configuration.py +0 -206
- pulumi_azure_native/appcomplianceautomation/v20240627/__init__.py +0 -22
- pulumi_azure_native/appcomplianceautomation/v20240627/_enums.py +0 -144
- pulumi_azure_native/appcomplianceautomation/v20240627/_inputs.py +0 -215
- pulumi_azure_native/appcomplianceautomation/v20240627/evidence.py +0 -361
- pulumi_azure_native/appcomplianceautomation/v20240627/get_evidence.py +0 -196
- pulumi_azure_native/appcomplianceautomation/v20240627/get_provider_action_collection_count.py +0 -73
- pulumi_azure_native/appcomplianceautomation/v20240627/get_provider_action_overview_status.py +0 -74
- pulumi_azure_native/appcomplianceautomation/v20240627/get_report.py +0 -296
- pulumi_azure_native/appcomplianceautomation/v20240627/get_report_scoping_questions.py +0 -74
- pulumi_azure_native/appcomplianceautomation/v20240627/get_scoping_configuration.py +0 -144
- pulumi_azure_native/appcomplianceautomation/v20240627/get_webhook.py +0 -287
- pulumi_azure_native/appcomplianceautomation/v20240627/list_provider_action_in_use_storage_accounts.py +0 -74
- pulumi_azure_native/appcomplianceautomation/v20240627/outputs.py +0 -720
- pulumi_azure_native/appcomplianceautomation/v20240627/report.py +0 -387
- pulumi_azure_native/appcomplianceautomation/v20240627/scoping_configuration.py +0 -204
- pulumi_azure_native/appcomplianceautomation/v20240627/webhook.py +0 -447
- pulumi_azure_native/appcomplianceautomation/webhook.py +0 -449
- pulumi_azure_native/devhub/get_iac_profile.py +0 -322
- pulumi_azure_native/devhub/iac_profile.py +0 -539
- pulumi_azure_native/devhub/v20240501preview/__init__.py +0 -15
- pulumi_azure_native/devhub/v20240501preview/_enums.py +0 -146
- pulumi_azure_native/devhub/v20240501preview/_inputs.py +0 -427
- pulumi_azure_native/devhub/v20240501preview/get_git_hub_o_auth.py +0 -91
- pulumi_azure_native/devhub/v20240501preview/get_iac_profile.py +0 -320
- pulumi_azure_native/devhub/v20240501preview/get_workflow.py +0 -489
- pulumi_azure_native/devhub/v20240501preview/iac_profile.py +0 -537
- pulumi_azure_native/devhub/v20240501preview/outputs.py +0 -654
- pulumi_azure_native/devhub/v20240501preview/workflow.py +0 -915
- pulumi_azure_native/hybridcompute/v20240520preview/__init__.py +0 -26
- pulumi_azure_native/hybridcompute/v20240520preview/_enums.py +0 -172
- pulumi_azure_native/hybridcompute/v20240520preview/_inputs.py +0 -1408
- pulumi_azure_native/hybridcompute/v20240520preview/gateway.py +0 -311
- pulumi_azure_native/hybridcompute/v20240520preview/get_gateway.py +0 -209
- pulumi_azure_native/hybridcompute/v20240520preview/get_license.py +0 -196
- pulumi_azure_native/hybridcompute/v20240520preview/get_license_profile.py +0 -357
- pulumi_azure_native/hybridcompute/v20240520preview/get_machine.py +0 -591
- pulumi_azure_native/hybridcompute/v20240520preview/get_machine_extension.py +0 -162
- pulumi_azure_native/hybridcompute/v20240520preview/get_machine_run_command.py +0 -318
- pulumi_azure_native/hybridcompute/v20240520preview/get_private_endpoint_connection.py +0 -136
- pulumi_azure_native/hybridcompute/v20240520preview/get_private_link_scope.py +0 -157
- pulumi_azure_native/hybridcompute/v20240520preview/license.py +0 -321
- pulumi_azure_native/hybridcompute/v20240520preview/license_profile.py +0 -500
- pulumi_azure_native/hybridcompute/v20240520preview/machine.py +0 -850
- pulumi_azure_native/hybridcompute/v20240520preview/machine_extension.py +0 -274
- pulumi_azure_native/hybridcompute/v20240520preview/machine_run_command.py +0 -587
- pulumi_azure_native/hybridcompute/v20240520preview/outputs.py +0 -3204
- pulumi_azure_native/hybridcompute/v20240520preview/private_endpoint_connection.py +0 -215
- pulumi_azure_native/hybridcompute/v20240520preview/private_link_scope.py +0 -253
- pulumi_azure_native/verifiedid/__init__.py +0 -18
- pulumi_azure_native/verifiedid/authority.py +0 -234
- pulumi_azure_native/verifiedid/get_authority.py +0 -159
- pulumi_azure_native/verifiedid/outputs.py +0 -125
- pulumi_azure_native/verifiedid/v20240126preview/__init__.py +0 -10
- pulumi_azure_native/verifiedid/v20240126preview/authority.py +0 -232
- pulumi_azure_native/verifiedid/v20240126preview/get_authority.py +0 -157
- pulumi_azure_native/verifiedid/v20240126preview/outputs.py +0 -125
- pulumi_azure_native/virtualmachineimages/v20240201/__init__.py +0 -14
- pulumi_azure_native/virtualmachineimages/v20240201/_enums.py +0 -60
- pulumi_azure_native/virtualmachineimages/v20240201/_inputs.py +0 -1895
- pulumi_azure_native/virtualmachineimages/v20240201/get_trigger.py +0 -162
- pulumi_azure_native/virtualmachineimages/v20240201/get_virtual_machine_image_template.py +0 -352
- pulumi_azure_native/virtualmachineimages/v20240201/outputs.py +0 -2401
- pulumi_azure_native/virtualmachineimages/v20240201/trigger.py +0 -235
- pulumi_azure_native/virtualmachineimages/v20240201/virtual_machine_image_template.py +0 -619
- {pulumi_azure_native-2.44.0.dist-info → pulumi_azure_native-2.44.0a1717167674.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.44.0.dist-info → pulumi_azure_native-2.44.0a1717167674.dist-info}/top_level.txt +0 -0
|
@@ -1,157 +0,0 @@
|
|
|
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
|
-
'GetPrivateLinkScopeResult',
|
|
15
|
-
'AwaitableGetPrivateLinkScopeResult',
|
|
16
|
-
'get_private_link_scope',
|
|
17
|
-
'get_private_link_scope_output',
|
|
18
|
-
]
|
|
19
|
-
|
|
20
|
-
@pulumi.output_type
|
|
21
|
-
class GetPrivateLinkScopeResult:
|
|
22
|
-
"""
|
|
23
|
-
An Azure Arc PrivateLinkScope definition.
|
|
24
|
-
"""
|
|
25
|
-
def __init__(__self__, id=None, location=None, name=None, properties=None, system_data=None, tags=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 location and not isinstance(location, str):
|
|
30
|
-
raise TypeError("Expected argument 'location' to be a str")
|
|
31
|
-
pulumi.set(__self__, "location", location)
|
|
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 properties and not isinstance(properties, dict):
|
|
36
|
-
raise TypeError("Expected argument 'properties' to be a dict")
|
|
37
|
-
pulumi.set(__self__, "properties", properties)
|
|
38
|
-
if system_data and not isinstance(system_data, dict):
|
|
39
|
-
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
40
|
-
pulumi.set(__self__, "system_data", system_data)
|
|
41
|
-
if tags and not isinstance(tags, dict):
|
|
42
|
-
raise TypeError("Expected argument 'tags' to be a dict")
|
|
43
|
-
pulumi.set(__self__, "tags", tags)
|
|
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
|
-
Azure resource Id
|
|
53
|
-
"""
|
|
54
|
-
return pulumi.get(self, "id")
|
|
55
|
-
|
|
56
|
-
@property
|
|
57
|
-
@pulumi.getter
|
|
58
|
-
def location(self) -> str:
|
|
59
|
-
"""
|
|
60
|
-
Resource location
|
|
61
|
-
"""
|
|
62
|
-
return pulumi.get(self, "location")
|
|
63
|
-
|
|
64
|
-
@property
|
|
65
|
-
@pulumi.getter
|
|
66
|
-
def name(self) -> str:
|
|
67
|
-
"""
|
|
68
|
-
Azure resource name
|
|
69
|
-
"""
|
|
70
|
-
return pulumi.get(self, "name")
|
|
71
|
-
|
|
72
|
-
@property
|
|
73
|
-
@pulumi.getter
|
|
74
|
-
def properties(self) -> 'outputs.HybridComputePrivateLinkScopePropertiesResponse':
|
|
75
|
-
"""
|
|
76
|
-
Properties that define a Azure Arc PrivateLinkScope resource.
|
|
77
|
-
"""
|
|
78
|
-
return pulumi.get(self, "properties")
|
|
79
|
-
|
|
80
|
-
@property
|
|
81
|
-
@pulumi.getter(name="systemData")
|
|
82
|
-
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
83
|
-
"""
|
|
84
|
-
The system meta data relating to this resource.
|
|
85
|
-
"""
|
|
86
|
-
return pulumi.get(self, "system_data")
|
|
87
|
-
|
|
88
|
-
@property
|
|
89
|
-
@pulumi.getter
|
|
90
|
-
def tags(self) -> Optional[Mapping[str, str]]:
|
|
91
|
-
"""
|
|
92
|
-
Resource tags
|
|
93
|
-
"""
|
|
94
|
-
return pulumi.get(self, "tags")
|
|
95
|
-
|
|
96
|
-
@property
|
|
97
|
-
@pulumi.getter
|
|
98
|
-
def type(self) -> str:
|
|
99
|
-
"""
|
|
100
|
-
Azure resource type
|
|
101
|
-
"""
|
|
102
|
-
return pulumi.get(self, "type")
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
class AwaitableGetPrivateLinkScopeResult(GetPrivateLinkScopeResult):
|
|
106
|
-
# pylint: disable=using-constant-test
|
|
107
|
-
def __await__(self):
|
|
108
|
-
if False:
|
|
109
|
-
yield self
|
|
110
|
-
return GetPrivateLinkScopeResult(
|
|
111
|
-
id=self.id,
|
|
112
|
-
location=self.location,
|
|
113
|
-
name=self.name,
|
|
114
|
-
properties=self.properties,
|
|
115
|
-
system_data=self.system_data,
|
|
116
|
-
tags=self.tags,
|
|
117
|
-
type=self.type)
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
def get_private_link_scope(resource_group_name: Optional[str] = None,
|
|
121
|
-
scope_name: Optional[str] = None,
|
|
122
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateLinkScopeResult:
|
|
123
|
-
"""
|
|
124
|
-
Returns a Azure Arc PrivateLinkScope.
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
128
|
-
:param str scope_name: The name of the Azure Arc PrivateLinkScope resource.
|
|
129
|
-
"""
|
|
130
|
-
__args__ = dict()
|
|
131
|
-
__args__['resourceGroupName'] = resource_group_name
|
|
132
|
-
__args__['scopeName'] = scope_name
|
|
133
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
134
|
-
__ret__ = pulumi.runtime.invoke('azure-native:hybridcompute/v20240520preview:getPrivateLinkScope', __args__, opts=opts, typ=GetPrivateLinkScopeResult).value
|
|
135
|
-
|
|
136
|
-
return AwaitableGetPrivateLinkScopeResult(
|
|
137
|
-
id=pulumi.get(__ret__, 'id'),
|
|
138
|
-
location=pulumi.get(__ret__, 'location'),
|
|
139
|
-
name=pulumi.get(__ret__, 'name'),
|
|
140
|
-
properties=pulumi.get(__ret__, 'properties'),
|
|
141
|
-
system_data=pulumi.get(__ret__, 'system_data'),
|
|
142
|
-
tags=pulumi.get(__ret__, 'tags'),
|
|
143
|
-
type=pulumi.get(__ret__, 'type'))
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
@_utilities.lift_output_func(get_private_link_scope)
|
|
147
|
-
def get_private_link_scope_output(resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
148
|
-
scope_name: Optional[pulumi.Input[str]] = None,
|
|
149
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateLinkScopeResult]:
|
|
150
|
-
"""
|
|
151
|
-
Returns a Azure Arc PrivateLinkScope.
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
155
|
-
:param str scope_name: The name of the Azure Arc PrivateLinkScope resource.
|
|
156
|
-
"""
|
|
157
|
-
...
|
|
@@ -1,321 +0,0 @@
|
|
|
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
|
-
from ._enums import *
|
|
13
|
-
from ._inputs import *
|
|
14
|
-
|
|
15
|
-
__all__ = ['LicenseInitArgs', 'License']
|
|
16
|
-
|
|
17
|
-
@pulumi.input_type
|
|
18
|
-
class LicenseInitArgs:
|
|
19
|
-
def __init__(__self__, *,
|
|
20
|
-
resource_group_name: pulumi.Input[str],
|
|
21
|
-
license_details: Optional[pulumi.Input['LicenseDetailsArgs']] = None,
|
|
22
|
-
license_name: Optional[pulumi.Input[str]] = None,
|
|
23
|
-
license_type: Optional[pulumi.Input[Union[str, 'LicenseType']]] = None,
|
|
24
|
-
location: Optional[pulumi.Input[str]] = None,
|
|
25
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
26
|
-
tenant_id: Optional[pulumi.Input[str]] = None):
|
|
27
|
-
"""
|
|
28
|
-
The set of arguments for constructing a License resource.
|
|
29
|
-
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
30
|
-
:param pulumi.Input['LicenseDetailsArgs'] license_details: Describes the properties of a License.
|
|
31
|
-
:param pulumi.Input[str] license_name: The name of the license.
|
|
32
|
-
:param pulumi.Input[Union[str, 'LicenseType']] license_type: The type of the license resource.
|
|
33
|
-
:param pulumi.Input[str] location: The geo-location where the resource lives
|
|
34
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
35
|
-
:param pulumi.Input[str] tenant_id: Describes the tenant id.
|
|
36
|
-
"""
|
|
37
|
-
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
38
|
-
if license_details is not None:
|
|
39
|
-
pulumi.set(__self__, "license_details", license_details)
|
|
40
|
-
if license_name is not None:
|
|
41
|
-
pulumi.set(__self__, "license_name", license_name)
|
|
42
|
-
if license_type is not None:
|
|
43
|
-
pulumi.set(__self__, "license_type", license_type)
|
|
44
|
-
if location is not None:
|
|
45
|
-
pulumi.set(__self__, "location", location)
|
|
46
|
-
if tags is not None:
|
|
47
|
-
pulumi.set(__self__, "tags", tags)
|
|
48
|
-
if tenant_id is not None:
|
|
49
|
-
pulumi.set(__self__, "tenant_id", tenant_id)
|
|
50
|
-
|
|
51
|
-
@property
|
|
52
|
-
@pulumi.getter(name="resourceGroupName")
|
|
53
|
-
def resource_group_name(self) -> pulumi.Input[str]:
|
|
54
|
-
"""
|
|
55
|
-
The name of the resource group. The name is case insensitive.
|
|
56
|
-
"""
|
|
57
|
-
return pulumi.get(self, "resource_group_name")
|
|
58
|
-
|
|
59
|
-
@resource_group_name.setter
|
|
60
|
-
def resource_group_name(self, value: pulumi.Input[str]):
|
|
61
|
-
pulumi.set(self, "resource_group_name", value)
|
|
62
|
-
|
|
63
|
-
@property
|
|
64
|
-
@pulumi.getter(name="licenseDetails")
|
|
65
|
-
def license_details(self) -> Optional[pulumi.Input['LicenseDetailsArgs']]:
|
|
66
|
-
"""
|
|
67
|
-
Describes the properties of a License.
|
|
68
|
-
"""
|
|
69
|
-
return pulumi.get(self, "license_details")
|
|
70
|
-
|
|
71
|
-
@license_details.setter
|
|
72
|
-
def license_details(self, value: Optional[pulumi.Input['LicenseDetailsArgs']]):
|
|
73
|
-
pulumi.set(self, "license_details", value)
|
|
74
|
-
|
|
75
|
-
@property
|
|
76
|
-
@pulumi.getter(name="licenseName")
|
|
77
|
-
def license_name(self) -> Optional[pulumi.Input[str]]:
|
|
78
|
-
"""
|
|
79
|
-
The name of the license.
|
|
80
|
-
"""
|
|
81
|
-
return pulumi.get(self, "license_name")
|
|
82
|
-
|
|
83
|
-
@license_name.setter
|
|
84
|
-
def license_name(self, value: Optional[pulumi.Input[str]]):
|
|
85
|
-
pulumi.set(self, "license_name", value)
|
|
86
|
-
|
|
87
|
-
@property
|
|
88
|
-
@pulumi.getter(name="licenseType")
|
|
89
|
-
def license_type(self) -> Optional[pulumi.Input[Union[str, 'LicenseType']]]:
|
|
90
|
-
"""
|
|
91
|
-
The type of the license resource.
|
|
92
|
-
"""
|
|
93
|
-
return pulumi.get(self, "license_type")
|
|
94
|
-
|
|
95
|
-
@license_type.setter
|
|
96
|
-
def license_type(self, value: Optional[pulumi.Input[Union[str, 'LicenseType']]]):
|
|
97
|
-
pulumi.set(self, "license_type", value)
|
|
98
|
-
|
|
99
|
-
@property
|
|
100
|
-
@pulumi.getter
|
|
101
|
-
def location(self) -> Optional[pulumi.Input[str]]:
|
|
102
|
-
"""
|
|
103
|
-
The geo-location where the resource lives
|
|
104
|
-
"""
|
|
105
|
-
return pulumi.get(self, "location")
|
|
106
|
-
|
|
107
|
-
@location.setter
|
|
108
|
-
def location(self, value: Optional[pulumi.Input[str]]):
|
|
109
|
-
pulumi.set(self, "location", value)
|
|
110
|
-
|
|
111
|
-
@property
|
|
112
|
-
@pulumi.getter
|
|
113
|
-
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
114
|
-
"""
|
|
115
|
-
Resource tags.
|
|
116
|
-
"""
|
|
117
|
-
return pulumi.get(self, "tags")
|
|
118
|
-
|
|
119
|
-
@tags.setter
|
|
120
|
-
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
121
|
-
pulumi.set(self, "tags", value)
|
|
122
|
-
|
|
123
|
-
@property
|
|
124
|
-
@pulumi.getter(name="tenantId")
|
|
125
|
-
def tenant_id(self) -> Optional[pulumi.Input[str]]:
|
|
126
|
-
"""
|
|
127
|
-
Describes the tenant id.
|
|
128
|
-
"""
|
|
129
|
-
return pulumi.get(self, "tenant_id")
|
|
130
|
-
|
|
131
|
-
@tenant_id.setter
|
|
132
|
-
def tenant_id(self, value: Optional[pulumi.Input[str]]):
|
|
133
|
-
pulumi.set(self, "tenant_id", value)
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
class License(pulumi.CustomResource):
|
|
137
|
-
@overload
|
|
138
|
-
def __init__(__self__,
|
|
139
|
-
resource_name: str,
|
|
140
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
141
|
-
license_details: Optional[pulumi.Input[pulumi.InputType['LicenseDetailsArgs']]] = None,
|
|
142
|
-
license_name: Optional[pulumi.Input[str]] = None,
|
|
143
|
-
license_type: Optional[pulumi.Input[Union[str, 'LicenseType']]] = None,
|
|
144
|
-
location: Optional[pulumi.Input[str]] = None,
|
|
145
|
-
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
146
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
147
|
-
tenant_id: Optional[pulumi.Input[str]] = None,
|
|
148
|
-
__props__=None):
|
|
149
|
-
"""
|
|
150
|
-
Describes a license in a hybrid machine.
|
|
151
|
-
|
|
152
|
-
:param str resource_name: The name of the resource.
|
|
153
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
154
|
-
:param pulumi.Input[pulumi.InputType['LicenseDetailsArgs']] license_details: Describes the properties of a License.
|
|
155
|
-
:param pulumi.Input[str] license_name: The name of the license.
|
|
156
|
-
:param pulumi.Input[Union[str, 'LicenseType']] license_type: The type of the license resource.
|
|
157
|
-
:param pulumi.Input[str] location: The geo-location where the resource lives
|
|
158
|
-
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
159
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
160
|
-
:param pulumi.Input[str] tenant_id: Describes the tenant id.
|
|
161
|
-
"""
|
|
162
|
-
...
|
|
163
|
-
@overload
|
|
164
|
-
def __init__(__self__,
|
|
165
|
-
resource_name: str,
|
|
166
|
-
args: LicenseInitArgs,
|
|
167
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
|
168
|
-
"""
|
|
169
|
-
Describes a license in a hybrid machine.
|
|
170
|
-
|
|
171
|
-
:param str resource_name: The name of the resource.
|
|
172
|
-
:param LicenseInitArgs args: The arguments to use to populate this resource's properties.
|
|
173
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
174
|
-
"""
|
|
175
|
-
...
|
|
176
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
177
|
-
resource_args, opts = _utilities.get_resource_args_opts(LicenseInitArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
178
|
-
if resource_args is not None:
|
|
179
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
180
|
-
else:
|
|
181
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
|
182
|
-
|
|
183
|
-
def _internal_init(__self__,
|
|
184
|
-
resource_name: str,
|
|
185
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
186
|
-
license_details: Optional[pulumi.Input[pulumi.InputType['LicenseDetailsArgs']]] = None,
|
|
187
|
-
license_name: Optional[pulumi.Input[str]] = None,
|
|
188
|
-
license_type: Optional[pulumi.Input[Union[str, 'LicenseType']]] = None,
|
|
189
|
-
location: Optional[pulumi.Input[str]] = None,
|
|
190
|
-
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
191
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
192
|
-
tenant_id: Optional[pulumi.Input[str]] = None,
|
|
193
|
-
__props__=None):
|
|
194
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
195
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
|
196
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
197
|
-
if opts.id is None:
|
|
198
|
-
if __props__ is not None:
|
|
199
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
200
|
-
__props__ = LicenseInitArgs.__new__(LicenseInitArgs)
|
|
201
|
-
|
|
202
|
-
__props__.__dict__["license_details"] = license_details
|
|
203
|
-
__props__.__dict__["license_name"] = license_name
|
|
204
|
-
__props__.__dict__["license_type"] = license_type
|
|
205
|
-
__props__.__dict__["location"] = location
|
|
206
|
-
if resource_group_name is None and not opts.urn:
|
|
207
|
-
raise TypeError("Missing required property 'resource_group_name'")
|
|
208
|
-
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
209
|
-
__props__.__dict__["tags"] = tags
|
|
210
|
-
__props__.__dict__["tenant_id"] = tenant_id
|
|
211
|
-
__props__.__dict__["name"] = None
|
|
212
|
-
__props__.__dict__["provisioning_state"] = None
|
|
213
|
-
__props__.__dict__["system_data"] = None
|
|
214
|
-
__props__.__dict__["type"] = None
|
|
215
|
-
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:hybridcompute:License"), pulumi.Alias(type_="azure-native:hybridcompute/v20230620preview:License"), pulumi.Alias(type_="azure-native:hybridcompute/v20231003preview:License"), pulumi.Alias(type_="azure-native:hybridcompute/v20240331preview:License")])
|
|
216
|
-
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
217
|
-
super(License, __self__).__init__(
|
|
218
|
-
'azure-native:hybridcompute/v20240520preview:License',
|
|
219
|
-
resource_name,
|
|
220
|
-
__props__,
|
|
221
|
-
opts)
|
|
222
|
-
|
|
223
|
-
@staticmethod
|
|
224
|
-
def get(resource_name: str,
|
|
225
|
-
id: pulumi.Input[str],
|
|
226
|
-
opts: Optional[pulumi.ResourceOptions] = None) -> 'License':
|
|
227
|
-
"""
|
|
228
|
-
Get an existing License resource's state with the given name, id, and optional extra
|
|
229
|
-
properties used to qualify the lookup.
|
|
230
|
-
|
|
231
|
-
:param str resource_name: The unique name of the resulting resource.
|
|
232
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
233
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
234
|
-
"""
|
|
235
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
236
|
-
|
|
237
|
-
__props__ = LicenseInitArgs.__new__(LicenseInitArgs)
|
|
238
|
-
|
|
239
|
-
__props__.__dict__["license_details"] = None
|
|
240
|
-
__props__.__dict__["license_type"] = None
|
|
241
|
-
__props__.__dict__["location"] = None
|
|
242
|
-
__props__.__dict__["name"] = None
|
|
243
|
-
__props__.__dict__["provisioning_state"] = None
|
|
244
|
-
__props__.__dict__["system_data"] = None
|
|
245
|
-
__props__.__dict__["tags"] = None
|
|
246
|
-
__props__.__dict__["tenant_id"] = None
|
|
247
|
-
__props__.__dict__["type"] = None
|
|
248
|
-
return License(resource_name, opts=opts, __props__=__props__)
|
|
249
|
-
|
|
250
|
-
@property
|
|
251
|
-
@pulumi.getter(name="licenseDetails")
|
|
252
|
-
def license_details(self) -> pulumi.Output[Optional['outputs.LicenseDetailsResponse']]:
|
|
253
|
-
"""
|
|
254
|
-
Describes the properties of a License.
|
|
255
|
-
"""
|
|
256
|
-
return pulumi.get(self, "license_details")
|
|
257
|
-
|
|
258
|
-
@property
|
|
259
|
-
@pulumi.getter(name="licenseType")
|
|
260
|
-
def license_type(self) -> pulumi.Output[Optional[str]]:
|
|
261
|
-
"""
|
|
262
|
-
The type of the license resource.
|
|
263
|
-
"""
|
|
264
|
-
return pulumi.get(self, "license_type")
|
|
265
|
-
|
|
266
|
-
@property
|
|
267
|
-
@pulumi.getter
|
|
268
|
-
def location(self) -> pulumi.Output[str]:
|
|
269
|
-
"""
|
|
270
|
-
The geo-location where the resource lives
|
|
271
|
-
"""
|
|
272
|
-
return pulumi.get(self, "location")
|
|
273
|
-
|
|
274
|
-
@property
|
|
275
|
-
@pulumi.getter
|
|
276
|
-
def name(self) -> pulumi.Output[str]:
|
|
277
|
-
"""
|
|
278
|
-
The name of the resource
|
|
279
|
-
"""
|
|
280
|
-
return pulumi.get(self, "name")
|
|
281
|
-
|
|
282
|
-
@property
|
|
283
|
-
@pulumi.getter(name="provisioningState")
|
|
284
|
-
def provisioning_state(self) -> pulumi.Output[str]:
|
|
285
|
-
"""
|
|
286
|
-
The provisioning state, which only appears in the response.
|
|
287
|
-
"""
|
|
288
|
-
return pulumi.get(self, "provisioning_state")
|
|
289
|
-
|
|
290
|
-
@property
|
|
291
|
-
@pulumi.getter(name="systemData")
|
|
292
|
-
def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
|
|
293
|
-
"""
|
|
294
|
-
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
295
|
-
"""
|
|
296
|
-
return pulumi.get(self, "system_data")
|
|
297
|
-
|
|
298
|
-
@property
|
|
299
|
-
@pulumi.getter
|
|
300
|
-
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
301
|
-
"""
|
|
302
|
-
Resource tags.
|
|
303
|
-
"""
|
|
304
|
-
return pulumi.get(self, "tags")
|
|
305
|
-
|
|
306
|
-
@property
|
|
307
|
-
@pulumi.getter(name="tenantId")
|
|
308
|
-
def tenant_id(self) -> pulumi.Output[Optional[str]]:
|
|
309
|
-
"""
|
|
310
|
-
Describes the tenant id.
|
|
311
|
-
"""
|
|
312
|
-
return pulumi.get(self, "tenant_id")
|
|
313
|
-
|
|
314
|
-
@property
|
|
315
|
-
@pulumi.getter
|
|
316
|
-
def type(self) -> pulumi.Output[str]:
|
|
317
|
-
"""
|
|
318
|
-
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
319
|
-
"""
|
|
320
|
-
return pulumi.get(self, "type")
|
|
321
|
-
|