pulumi-azure-native 2.57.1__py3-none-any.whl → 2.58.0__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 +52 -0
- pulumi_azure_native/azurelargeinstance/__init__.py +22 -0
- pulumi_azure_native/azurelargeinstance/_enums.py +256 -0
- pulumi_azure_native/azurelargeinstance/_inputs.py +646 -0
- pulumi_azure_native/azurelargeinstance/azure_large_instance.py +475 -0
- pulumi_azure_native/azurelargeinstance/azure_large_storage_instance.py +320 -0
- pulumi_azure_native/azurelargeinstance/get_azure_large_instance.py +271 -0
- pulumi_azure_native/azurelargeinstance/get_azure_large_storage_instance.py +193 -0
- pulumi_azure_native/azurelargeinstance/outputs.py +795 -0
- pulumi_azure_native/azurelargeinstance/v20240801preview/__init__.py +14 -0
- pulumi_azure_native/azurelargeinstance/v20240801preview/_enums.py +256 -0
- pulumi_azure_native/azurelargeinstance/v20240801preview/_inputs.py +646 -0
- pulumi_azure_native/azurelargeinstance/v20240801preview/azure_large_instance.py +473 -0
- pulumi_azure_native/azurelargeinstance/v20240801preview/azure_large_storage_instance.py +318 -0
- pulumi_azure_native/azurelargeinstance/v20240801preview/get_azure_large_instance.py +269 -0
- pulumi_azure_native/azurelargeinstance/v20240801preview/get_azure_large_storage_instance.py +191 -0
- pulumi_azure_native/azurelargeinstance/v20240801preview/outputs.py +795 -0
- pulumi_azure_native/baremetalinfrastructure/__init__.py +5 -0
- pulumi_azure_native/baremetalinfrastructure/_enums.py +74 -0
- pulumi_azure_native/baremetalinfrastructure/_inputs.py +368 -0
- pulumi_azure_native/baremetalinfrastructure/azure_bare_metal_instance.py +502 -0
- pulumi_azure_native/baremetalinfrastructure/azure_bare_metal_storage_instance.py +3 -3
- pulumi_azure_native/baremetalinfrastructure/get_azure_bare_metal_instance.py +281 -0
- pulumi_azure_native/baremetalinfrastructure/get_azure_bare_metal_storage_instance.py +2 -2
- pulumi_azure_native/baremetalinfrastructure/outputs.py +351 -0
- pulumi_azure_native/baremetalinfrastructure/v20230406/azure_bare_metal_storage_instance.py +1 -1
- pulumi_azure_native/baremetalinfrastructure/v20230804preview/azure_bare_metal_storage_instance.py +1 -1
- pulumi_azure_native/baremetalinfrastructure/v20231101preview/azure_bare_metal_storage_instance.py +1 -1
- pulumi_azure_native/baremetalinfrastructure/v20240801preview/__init__.py +14 -0
- pulumi_azure_native/baremetalinfrastructure/v20240801preview/_enums.py +106 -0
- pulumi_azure_native/baremetalinfrastructure/v20240801preview/_inputs.py +644 -0
- pulumi_azure_native/baremetalinfrastructure/v20240801preview/azure_bare_metal_instance.py +500 -0
- pulumi_azure_native/baremetalinfrastructure/v20240801preview/azure_bare_metal_storage_instance.py +316 -0
- pulumi_azure_native/baremetalinfrastructure/v20240801preview/get_azure_bare_metal_instance.py +279 -0
- pulumi_azure_native/baremetalinfrastructure/v20240801preview/get_azure_bare_metal_storage_instance.py +188 -0
- pulumi_azure_native/baremetalinfrastructure/v20240801preview/outputs.py +726 -0
- pulumi_azure_native/batch/__init__.py +3 -0
- pulumi_azure_native/batch/application.py +3 -3
- pulumi_azure_native/batch/application_package.py +3 -3
- pulumi_azure_native/batch/batch_account.py +3 -3
- pulumi_azure_native/batch/get_application.py +2 -2
- pulumi_azure_native/batch/get_application_package.py +2 -2
- pulumi_azure_native/batch/get_batch_account.py +2 -2
- pulumi_azure_native/batch/get_pool.py +2 -2
- pulumi_azure_native/batch/list_batch_account_keys.py +2 -2
- pulumi_azure_native/batch/pool.py +3 -3
- pulumi_azure_native/batch/v20220101/batch_account.py +1 -1
- pulumi_azure_native/batch/v20230501/application.py +1 -1
- pulumi_azure_native/batch/v20230501/application_package.py +1 -1
- pulumi_azure_native/batch/v20230501/batch_account.py +1 -1
- pulumi_azure_native/batch/v20230501/pool.py +1 -1
- pulumi_azure_native/batch/v20231101/application.py +1 -1
- pulumi_azure_native/batch/v20231101/application_package.py +1 -1
- pulumi_azure_native/batch/v20231101/batch_account.py +1 -1
- pulumi_azure_native/batch/v20231101/pool.py +1 -1
- pulumi_azure_native/batch/v20240201/application.py +1 -1
- pulumi_azure_native/batch/v20240201/application_package.py +1 -1
- pulumi_azure_native/batch/v20240201/batch_account.py +1 -1
- pulumi_azure_native/batch/v20240201/pool.py +1 -1
- pulumi_azure_native/batch/v20240701/__init__.py +19 -0
- pulumi_azure_native/batch/v20240701/_enums.py +510 -0
- pulumi_azure_native/batch/v20240701/_inputs.py +4319 -0
- pulumi_azure_native/batch/v20240701/application.py +305 -0
- pulumi_azure_native/batch/v20240701/application_package.py +289 -0
- pulumi_azure_native/batch/v20240701/batch_account.py +545 -0
- pulumi_azure_native/batch/v20240701/get_application.py +179 -0
- pulumi_azure_native/batch/v20240701/get_application_package.py +210 -0
- pulumi_azure_native/batch/v20240701/get_batch_account.py +364 -0
- pulumi_azure_native/batch/v20240701/get_pool.py +503 -0
- pulumi_azure_native/batch/v20240701/list_batch_account_keys.py +109 -0
- pulumi_azure_native/batch/v20240701/outputs.py +4161 -0
- pulumi_azure_native/batch/v20240701/pool.py +854 -0
- pulumi_azure_native/hardwaresecuritymodules/__init__.py +3 -0
- pulumi_azure_native/hardwaresecuritymodules/cloud_hsm_cluster.py +3 -3
- pulumi_azure_native/hardwaresecuritymodules/cloud_hsm_cluster_private_endpoint_connection.py +3 -3
- pulumi_azure_native/hardwaresecuritymodules/dedicated_hsm.py +5 -1
- pulumi_azure_native/hardwaresecuritymodules/get_cloud_hsm_cluster.py +2 -2
- pulumi_azure_native/hardwaresecuritymodules/get_cloud_hsm_cluster_private_endpoint_connection.py +2 -2
- pulumi_azure_native/hardwaresecuritymodules/get_dedicated_hsm.py +4 -0
- pulumi_azure_native/hardwaresecuritymodules/v20211130/dedicated_hsm.py +1 -1
- pulumi_azure_native/hardwaresecuritymodules/v20220831preview/cloud_hsm_cluster.py +1 -1
- pulumi_azure_native/hardwaresecuritymodules/v20220831preview/cloud_hsm_cluster_private_endpoint_connection.py +1 -1
- pulumi_azure_native/hardwaresecuritymodules/v20231210preview/cloud_hsm_cluster.py +1 -1
- pulumi_azure_native/hardwaresecuritymodules/v20231210preview/cloud_hsm_cluster_private_endpoint_connection.py +1 -1
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/__init__.py +16 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/_enums.py +100 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/_inputs.py +405 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/cloud_hsm_cluster.py +428 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/cloud_hsm_cluster_private_endpoint_connection.py +262 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/dedicated_hsm.py +394 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/get_cloud_hsm_cluster.py +279 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/get_cloud_hsm_cluster_private_endpoint_connection.py +193 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/get_dedicated_hsm.py +240 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/outputs.py +772 -0
- pulumi_azure_native/machinelearningservices/v20240701preview/_inputs.py +20 -0
- pulumi_azure_native/machinelearningservices/v20240701preview/outputs.py +12 -11
- pulumi_azure_native/pulumi-plugin.json +1 -1
- {pulumi_azure_native-2.57.1.dist-info → pulumi_azure_native-2.58.0.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.57.1.dist-info → pulumi_azure_native-2.58.0.dist-info}/RECORD +101 -52
- {pulumi_azure_native-2.57.1.dist-info → pulumi_azure_native-2.58.0.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.57.1.dist-info → pulumi_azure_native-2.58.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,305 @@
|
|
|
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 sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from ... import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = ['ApplicationArgs', 'Application']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class ApplicationArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
account_name: pulumi.Input[str],
|
|
23
|
+
resource_group_name: pulumi.Input[str],
|
|
24
|
+
allow_updates: Optional[pulumi.Input[bool]] = None,
|
|
25
|
+
application_name: Optional[pulumi.Input[str]] = None,
|
|
26
|
+
default_version: Optional[pulumi.Input[str]] = None,
|
|
27
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
|
28
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
29
|
+
"""
|
|
30
|
+
The set of arguments for constructing a Application resource.
|
|
31
|
+
:param pulumi.Input[str] account_name: The name of the Batch account.
|
|
32
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group that contains the Batch account.
|
|
33
|
+
:param pulumi.Input[bool] allow_updates: A value indicating whether packages within the application may be overwritten using the same version string.
|
|
34
|
+
:param pulumi.Input[str] application_name: The name of the application. This must be unique within the account.
|
|
35
|
+
:param pulumi.Input[str] default_version: The package to use if a client requests the application but does not specify a version. This property can only be set to the name of an existing package.
|
|
36
|
+
:param pulumi.Input[str] display_name: The display name for the application.
|
|
37
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of the resource.
|
|
38
|
+
"""
|
|
39
|
+
pulumi.set(__self__, "account_name", account_name)
|
|
40
|
+
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
41
|
+
if allow_updates is not None:
|
|
42
|
+
pulumi.set(__self__, "allow_updates", allow_updates)
|
|
43
|
+
if application_name is not None:
|
|
44
|
+
pulumi.set(__self__, "application_name", application_name)
|
|
45
|
+
if default_version is not None:
|
|
46
|
+
pulumi.set(__self__, "default_version", default_version)
|
|
47
|
+
if display_name is not None:
|
|
48
|
+
pulumi.set(__self__, "display_name", display_name)
|
|
49
|
+
if tags is not None:
|
|
50
|
+
pulumi.set(__self__, "tags", tags)
|
|
51
|
+
|
|
52
|
+
@property
|
|
53
|
+
@pulumi.getter(name="accountName")
|
|
54
|
+
def account_name(self) -> pulumi.Input[str]:
|
|
55
|
+
"""
|
|
56
|
+
The name of the Batch account.
|
|
57
|
+
"""
|
|
58
|
+
return pulumi.get(self, "account_name")
|
|
59
|
+
|
|
60
|
+
@account_name.setter
|
|
61
|
+
def account_name(self, value: pulumi.Input[str]):
|
|
62
|
+
pulumi.set(self, "account_name", value)
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
@pulumi.getter(name="resourceGroupName")
|
|
66
|
+
def resource_group_name(self) -> pulumi.Input[str]:
|
|
67
|
+
"""
|
|
68
|
+
The name of the resource group that contains the Batch account.
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "resource_group_name")
|
|
71
|
+
|
|
72
|
+
@resource_group_name.setter
|
|
73
|
+
def resource_group_name(self, value: pulumi.Input[str]):
|
|
74
|
+
pulumi.set(self, "resource_group_name", value)
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
@pulumi.getter(name="allowUpdates")
|
|
78
|
+
def allow_updates(self) -> Optional[pulumi.Input[bool]]:
|
|
79
|
+
"""
|
|
80
|
+
A value indicating whether packages within the application may be overwritten using the same version string.
|
|
81
|
+
"""
|
|
82
|
+
return pulumi.get(self, "allow_updates")
|
|
83
|
+
|
|
84
|
+
@allow_updates.setter
|
|
85
|
+
def allow_updates(self, value: Optional[pulumi.Input[bool]]):
|
|
86
|
+
pulumi.set(self, "allow_updates", value)
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
@pulumi.getter(name="applicationName")
|
|
90
|
+
def application_name(self) -> Optional[pulumi.Input[str]]:
|
|
91
|
+
"""
|
|
92
|
+
The name of the application. This must be unique within the account.
|
|
93
|
+
"""
|
|
94
|
+
return pulumi.get(self, "application_name")
|
|
95
|
+
|
|
96
|
+
@application_name.setter
|
|
97
|
+
def application_name(self, value: Optional[pulumi.Input[str]]):
|
|
98
|
+
pulumi.set(self, "application_name", value)
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
@pulumi.getter(name="defaultVersion")
|
|
102
|
+
def default_version(self) -> Optional[pulumi.Input[str]]:
|
|
103
|
+
"""
|
|
104
|
+
The package to use if a client requests the application but does not specify a version. This property can only be set to the name of an existing package.
|
|
105
|
+
"""
|
|
106
|
+
return pulumi.get(self, "default_version")
|
|
107
|
+
|
|
108
|
+
@default_version.setter
|
|
109
|
+
def default_version(self, value: Optional[pulumi.Input[str]]):
|
|
110
|
+
pulumi.set(self, "default_version", value)
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
@pulumi.getter(name="displayName")
|
|
114
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
|
115
|
+
"""
|
|
116
|
+
The display name for the application.
|
|
117
|
+
"""
|
|
118
|
+
return pulumi.get(self, "display_name")
|
|
119
|
+
|
|
120
|
+
@display_name.setter
|
|
121
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
|
122
|
+
pulumi.set(self, "display_name", value)
|
|
123
|
+
|
|
124
|
+
@property
|
|
125
|
+
@pulumi.getter
|
|
126
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
127
|
+
"""
|
|
128
|
+
The tags of the resource.
|
|
129
|
+
"""
|
|
130
|
+
return pulumi.get(self, "tags")
|
|
131
|
+
|
|
132
|
+
@tags.setter
|
|
133
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
134
|
+
pulumi.set(self, "tags", value)
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
class Application(pulumi.CustomResource):
|
|
138
|
+
@overload
|
|
139
|
+
def __init__(__self__,
|
|
140
|
+
resource_name: str,
|
|
141
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
142
|
+
account_name: Optional[pulumi.Input[str]] = None,
|
|
143
|
+
allow_updates: Optional[pulumi.Input[bool]] = None,
|
|
144
|
+
application_name: Optional[pulumi.Input[str]] = None,
|
|
145
|
+
default_version: Optional[pulumi.Input[str]] = None,
|
|
146
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
|
147
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
148
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
149
|
+
__props__=None):
|
|
150
|
+
"""
|
|
151
|
+
Contains information about an application in a Batch account.
|
|
152
|
+
|
|
153
|
+
:param str resource_name: The name of the resource.
|
|
154
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
155
|
+
:param pulumi.Input[str] account_name: The name of the Batch account.
|
|
156
|
+
:param pulumi.Input[bool] allow_updates: A value indicating whether packages within the application may be overwritten using the same version string.
|
|
157
|
+
:param pulumi.Input[str] application_name: The name of the application. This must be unique within the account.
|
|
158
|
+
:param pulumi.Input[str] default_version: The package to use if a client requests the application but does not specify a version. This property can only be set to the name of an existing package.
|
|
159
|
+
:param pulumi.Input[str] display_name: The display name for the application.
|
|
160
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group that contains the Batch account.
|
|
161
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of the resource.
|
|
162
|
+
"""
|
|
163
|
+
...
|
|
164
|
+
@overload
|
|
165
|
+
def __init__(__self__,
|
|
166
|
+
resource_name: str,
|
|
167
|
+
args: ApplicationArgs,
|
|
168
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
169
|
+
"""
|
|
170
|
+
Contains information about an application in a Batch account.
|
|
171
|
+
|
|
172
|
+
:param str resource_name: The name of the resource.
|
|
173
|
+
:param ApplicationArgs args: The arguments to use to populate this resource's properties.
|
|
174
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
175
|
+
"""
|
|
176
|
+
...
|
|
177
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
178
|
+
resource_args, opts = _utilities.get_resource_args_opts(ApplicationArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
179
|
+
if resource_args is not None:
|
|
180
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
181
|
+
else:
|
|
182
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
183
|
+
|
|
184
|
+
def _internal_init(__self__,
|
|
185
|
+
resource_name: str,
|
|
186
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
187
|
+
account_name: Optional[pulumi.Input[str]] = None,
|
|
188
|
+
allow_updates: Optional[pulumi.Input[bool]] = None,
|
|
189
|
+
application_name: Optional[pulumi.Input[str]] = None,
|
|
190
|
+
default_version: Optional[pulumi.Input[str]] = None,
|
|
191
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
|
192
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
193
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
194
|
+
__props__=None):
|
|
195
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
196
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
197
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
198
|
+
if opts.id is None:
|
|
199
|
+
if __props__ is not None:
|
|
200
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
201
|
+
__props__ = ApplicationArgs.__new__(ApplicationArgs)
|
|
202
|
+
|
|
203
|
+
if account_name is None and not opts.urn:
|
|
204
|
+
raise TypeError("Missing required property 'account_name'")
|
|
205
|
+
__props__.__dict__["account_name"] = account_name
|
|
206
|
+
__props__.__dict__["allow_updates"] = allow_updates
|
|
207
|
+
__props__.__dict__["application_name"] = application_name
|
|
208
|
+
__props__.__dict__["default_version"] = default_version
|
|
209
|
+
__props__.__dict__["display_name"] = display_name
|
|
210
|
+
if resource_group_name is None and not opts.urn:
|
|
211
|
+
raise TypeError("Missing required property 'resource_group_name'")
|
|
212
|
+
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
213
|
+
__props__.__dict__["tags"] = tags
|
|
214
|
+
__props__.__dict__["etag"] = None
|
|
215
|
+
__props__.__dict__["name"] = None
|
|
216
|
+
__props__.__dict__["type"] = None
|
|
217
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:batch:Application"), pulumi.Alias(type_="azure-native:batch/v20151201:Application"), pulumi.Alias(type_="azure-native:batch/v20170101:Application"), pulumi.Alias(type_="azure-native:batch/v20170501:Application"), pulumi.Alias(type_="azure-native:batch/v20170901:Application"), pulumi.Alias(type_="azure-native:batch/v20181201:Application"), pulumi.Alias(type_="azure-native:batch/v20190401:Application"), pulumi.Alias(type_="azure-native:batch/v20190801:Application"), pulumi.Alias(type_="azure-native:batch/v20200301:Application"), pulumi.Alias(type_="azure-native:batch/v20200501:Application"), pulumi.Alias(type_="azure-native:batch/v20200901:Application"), pulumi.Alias(type_="azure-native:batch/v20210101:Application"), pulumi.Alias(type_="azure-native:batch/v20210601:Application"), pulumi.Alias(type_="azure-native:batch/v20220101:Application"), pulumi.Alias(type_="azure-native:batch/v20220601:Application"), pulumi.Alias(type_="azure-native:batch/v20221001:Application"), pulumi.Alias(type_="azure-native:batch/v20230501:Application"), pulumi.Alias(type_="azure-native:batch/v20231101:Application"), pulumi.Alias(type_="azure-native:batch/v20240201:Application")])
|
|
218
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
219
|
+
super(Application, __self__).__init__(
|
|
220
|
+
'azure-native:batch/v20240701:Application',
|
|
221
|
+
resource_name,
|
|
222
|
+
__props__,
|
|
223
|
+
opts)
|
|
224
|
+
|
|
225
|
+
@staticmethod
|
|
226
|
+
def get(resource_name: str,
|
|
227
|
+
id: pulumi.Input[str],
|
|
228
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'Application':
|
|
229
|
+
"""
|
|
230
|
+
Get an existing Application resource's state with the given name, id, and optional extra
|
|
231
|
+
properties used to qualify the lookup.
|
|
232
|
+
|
|
233
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
234
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
235
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
236
|
+
"""
|
|
237
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
238
|
+
|
|
239
|
+
__props__ = ApplicationArgs.__new__(ApplicationArgs)
|
|
240
|
+
|
|
241
|
+
__props__.__dict__["allow_updates"] = None
|
|
242
|
+
__props__.__dict__["default_version"] = None
|
|
243
|
+
__props__.__dict__["display_name"] = None
|
|
244
|
+
__props__.__dict__["etag"] = None
|
|
245
|
+
__props__.__dict__["name"] = None
|
|
246
|
+
__props__.__dict__["tags"] = None
|
|
247
|
+
__props__.__dict__["type"] = None
|
|
248
|
+
return Application(resource_name, opts=opts, __props__=__props__)
|
|
249
|
+
|
|
250
|
+
@property
|
|
251
|
+
@pulumi.getter(name="allowUpdates")
|
|
252
|
+
def allow_updates(self) -> pulumi.Output[Optional[bool]]:
|
|
253
|
+
"""
|
|
254
|
+
A value indicating whether packages within the application may be overwritten using the same version string.
|
|
255
|
+
"""
|
|
256
|
+
return pulumi.get(self, "allow_updates")
|
|
257
|
+
|
|
258
|
+
@property
|
|
259
|
+
@pulumi.getter(name="defaultVersion")
|
|
260
|
+
def default_version(self) -> pulumi.Output[Optional[str]]:
|
|
261
|
+
"""
|
|
262
|
+
The package to use if a client requests the application but does not specify a version. This property can only be set to the name of an existing package.
|
|
263
|
+
"""
|
|
264
|
+
return pulumi.get(self, "default_version")
|
|
265
|
+
|
|
266
|
+
@property
|
|
267
|
+
@pulumi.getter(name="displayName")
|
|
268
|
+
def display_name(self) -> pulumi.Output[Optional[str]]:
|
|
269
|
+
"""
|
|
270
|
+
The display name for the application.
|
|
271
|
+
"""
|
|
272
|
+
return pulumi.get(self, "display_name")
|
|
273
|
+
|
|
274
|
+
@property
|
|
275
|
+
@pulumi.getter
|
|
276
|
+
def etag(self) -> pulumi.Output[str]:
|
|
277
|
+
"""
|
|
278
|
+
The ETag of the resource, used for concurrency statements.
|
|
279
|
+
"""
|
|
280
|
+
return pulumi.get(self, "etag")
|
|
281
|
+
|
|
282
|
+
@property
|
|
283
|
+
@pulumi.getter
|
|
284
|
+
def name(self) -> pulumi.Output[str]:
|
|
285
|
+
"""
|
|
286
|
+
The name of the resource.
|
|
287
|
+
"""
|
|
288
|
+
return pulumi.get(self, "name")
|
|
289
|
+
|
|
290
|
+
@property
|
|
291
|
+
@pulumi.getter
|
|
292
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
293
|
+
"""
|
|
294
|
+
The tags of the resource.
|
|
295
|
+
"""
|
|
296
|
+
return pulumi.get(self, "tags")
|
|
297
|
+
|
|
298
|
+
@property
|
|
299
|
+
@pulumi.getter
|
|
300
|
+
def type(self) -> pulumi.Output[str]:
|
|
301
|
+
"""
|
|
302
|
+
The type of the resource.
|
|
303
|
+
"""
|
|
304
|
+
return pulumi.get(self, "type")
|
|
305
|
+
|
|
@@ -0,0 +1,289 @@
|
|
|
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 sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from ... import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = ['ApplicationPackageArgs', 'ApplicationPackage']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class ApplicationPackageArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
account_name: pulumi.Input[str],
|
|
23
|
+
application_name: pulumi.Input[str],
|
|
24
|
+
resource_group_name: pulumi.Input[str],
|
|
25
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
26
|
+
version_name: Optional[pulumi.Input[str]] = None):
|
|
27
|
+
"""
|
|
28
|
+
The set of arguments for constructing a ApplicationPackage resource.
|
|
29
|
+
:param pulumi.Input[str] account_name: The name of the Batch account.
|
|
30
|
+
:param pulumi.Input[str] application_name: The name of the application. This must be unique within the account.
|
|
31
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group that contains the Batch account.
|
|
32
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of the resource.
|
|
33
|
+
:param pulumi.Input[str] version_name: The version of the application.
|
|
34
|
+
"""
|
|
35
|
+
pulumi.set(__self__, "account_name", account_name)
|
|
36
|
+
pulumi.set(__self__, "application_name", application_name)
|
|
37
|
+
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
38
|
+
if tags is not None:
|
|
39
|
+
pulumi.set(__self__, "tags", tags)
|
|
40
|
+
if version_name is not None:
|
|
41
|
+
pulumi.set(__self__, "version_name", version_name)
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
@pulumi.getter(name="accountName")
|
|
45
|
+
def account_name(self) -> pulumi.Input[str]:
|
|
46
|
+
"""
|
|
47
|
+
The name of the Batch account.
|
|
48
|
+
"""
|
|
49
|
+
return pulumi.get(self, "account_name")
|
|
50
|
+
|
|
51
|
+
@account_name.setter
|
|
52
|
+
def account_name(self, value: pulumi.Input[str]):
|
|
53
|
+
pulumi.set(self, "account_name", value)
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
@pulumi.getter(name="applicationName")
|
|
57
|
+
def application_name(self) -> pulumi.Input[str]:
|
|
58
|
+
"""
|
|
59
|
+
The name of the application. This must be unique within the account.
|
|
60
|
+
"""
|
|
61
|
+
return pulumi.get(self, "application_name")
|
|
62
|
+
|
|
63
|
+
@application_name.setter
|
|
64
|
+
def application_name(self, value: pulumi.Input[str]):
|
|
65
|
+
pulumi.set(self, "application_name", value)
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
@pulumi.getter(name="resourceGroupName")
|
|
69
|
+
def resource_group_name(self) -> pulumi.Input[str]:
|
|
70
|
+
"""
|
|
71
|
+
The name of the resource group that contains the Batch account.
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "resource_group_name")
|
|
74
|
+
|
|
75
|
+
@resource_group_name.setter
|
|
76
|
+
def resource_group_name(self, value: pulumi.Input[str]):
|
|
77
|
+
pulumi.set(self, "resource_group_name", value)
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
@pulumi.getter
|
|
81
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
82
|
+
"""
|
|
83
|
+
The tags of the resource.
|
|
84
|
+
"""
|
|
85
|
+
return pulumi.get(self, "tags")
|
|
86
|
+
|
|
87
|
+
@tags.setter
|
|
88
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
89
|
+
pulumi.set(self, "tags", value)
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
@pulumi.getter(name="versionName")
|
|
93
|
+
def version_name(self) -> Optional[pulumi.Input[str]]:
|
|
94
|
+
"""
|
|
95
|
+
The version of the application.
|
|
96
|
+
"""
|
|
97
|
+
return pulumi.get(self, "version_name")
|
|
98
|
+
|
|
99
|
+
@version_name.setter
|
|
100
|
+
def version_name(self, value: Optional[pulumi.Input[str]]):
|
|
101
|
+
pulumi.set(self, "version_name", value)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
class ApplicationPackage(pulumi.CustomResource):
|
|
105
|
+
@overload
|
|
106
|
+
def __init__(__self__,
|
|
107
|
+
resource_name: str,
|
|
108
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
109
|
+
account_name: Optional[pulumi.Input[str]] = None,
|
|
110
|
+
application_name: Optional[pulumi.Input[str]] = None,
|
|
111
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
112
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
113
|
+
version_name: Optional[pulumi.Input[str]] = None,
|
|
114
|
+
__props__=None):
|
|
115
|
+
"""
|
|
116
|
+
An application package which represents a particular version of an application.
|
|
117
|
+
|
|
118
|
+
:param str resource_name: The name of the resource.
|
|
119
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
120
|
+
:param pulumi.Input[str] account_name: The name of the Batch account.
|
|
121
|
+
:param pulumi.Input[str] application_name: The name of the application. This must be unique within the account.
|
|
122
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group that contains the Batch account.
|
|
123
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of the resource.
|
|
124
|
+
:param pulumi.Input[str] version_name: The version of the application.
|
|
125
|
+
"""
|
|
126
|
+
...
|
|
127
|
+
@overload
|
|
128
|
+
def __init__(__self__,
|
|
129
|
+
resource_name: str,
|
|
130
|
+
args: ApplicationPackageArgs,
|
|
131
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
132
|
+
"""
|
|
133
|
+
An application package which represents a particular version of an application.
|
|
134
|
+
|
|
135
|
+
:param str resource_name: The name of the resource.
|
|
136
|
+
:param ApplicationPackageArgs args: The arguments to use to populate this resource's properties.
|
|
137
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
138
|
+
"""
|
|
139
|
+
...
|
|
140
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
141
|
+
resource_args, opts = _utilities.get_resource_args_opts(ApplicationPackageArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
142
|
+
if resource_args is not None:
|
|
143
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
144
|
+
else:
|
|
145
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
146
|
+
|
|
147
|
+
def _internal_init(__self__,
|
|
148
|
+
resource_name: str,
|
|
149
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
150
|
+
account_name: Optional[pulumi.Input[str]] = None,
|
|
151
|
+
application_name: Optional[pulumi.Input[str]] = None,
|
|
152
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
153
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
154
|
+
version_name: Optional[pulumi.Input[str]] = None,
|
|
155
|
+
__props__=None):
|
|
156
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
157
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
158
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
159
|
+
if opts.id is None:
|
|
160
|
+
if __props__ is not None:
|
|
161
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
162
|
+
__props__ = ApplicationPackageArgs.__new__(ApplicationPackageArgs)
|
|
163
|
+
|
|
164
|
+
if account_name is None and not opts.urn:
|
|
165
|
+
raise TypeError("Missing required property 'account_name'")
|
|
166
|
+
__props__.__dict__["account_name"] = account_name
|
|
167
|
+
if application_name is None and not opts.urn:
|
|
168
|
+
raise TypeError("Missing required property 'application_name'")
|
|
169
|
+
__props__.__dict__["application_name"] = application_name
|
|
170
|
+
if resource_group_name is None and not opts.urn:
|
|
171
|
+
raise TypeError("Missing required property 'resource_group_name'")
|
|
172
|
+
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
173
|
+
__props__.__dict__["tags"] = tags
|
|
174
|
+
__props__.__dict__["version_name"] = version_name
|
|
175
|
+
__props__.__dict__["etag"] = None
|
|
176
|
+
__props__.__dict__["format"] = None
|
|
177
|
+
__props__.__dict__["last_activation_time"] = None
|
|
178
|
+
__props__.__dict__["name"] = None
|
|
179
|
+
__props__.__dict__["state"] = None
|
|
180
|
+
__props__.__dict__["storage_url"] = None
|
|
181
|
+
__props__.__dict__["storage_url_expiry"] = None
|
|
182
|
+
__props__.__dict__["type"] = None
|
|
183
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:batch:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20151201:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20170101:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20170501:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20170901:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20181201:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20190401:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20190801:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20200301:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20200501:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20200901:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20210101:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20210601:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20220101:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20220601:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20221001:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20230501:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20231101:ApplicationPackage"), pulumi.Alias(type_="azure-native:batch/v20240201:ApplicationPackage")])
|
|
184
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
185
|
+
super(ApplicationPackage, __self__).__init__(
|
|
186
|
+
'azure-native:batch/v20240701:ApplicationPackage',
|
|
187
|
+
resource_name,
|
|
188
|
+
__props__,
|
|
189
|
+
opts)
|
|
190
|
+
|
|
191
|
+
@staticmethod
|
|
192
|
+
def get(resource_name: str,
|
|
193
|
+
id: pulumi.Input[str],
|
|
194
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'ApplicationPackage':
|
|
195
|
+
"""
|
|
196
|
+
Get an existing ApplicationPackage resource's state with the given name, id, and optional extra
|
|
197
|
+
properties used to qualify the lookup.
|
|
198
|
+
|
|
199
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
200
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
201
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
202
|
+
"""
|
|
203
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
204
|
+
|
|
205
|
+
__props__ = ApplicationPackageArgs.__new__(ApplicationPackageArgs)
|
|
206
|
+
|
|
207
|
+
__props__.__dict__["etag"] = None
|
|
208
|
+
__props__.__dict__["format"] = None
|
|
209
|
+
__props__.__dict__["last_activation_time"] = None
|
|
210
|
+
__props__.__dict__["name"] = None
|
|
211
|
+
__props__.__dict__["state"] = None
|
|
212
|
+
__props__.__dict__["storage_url"] = None
|
|
213
|
+
__props__.__dict__["storage_url_expiry"] = None
|
|
214
|
+
__props__.__dict__["tags"] = None
|
|
215
|
+
__props__.__dict__["type"] = None
|
|
216
|
+
return ApplicationPackage(resource_name, opts=opts, __props__=__props__)
|
|
217
|
+
|
|
218
|
+
@property
|
|
219
|
+
@pulumi.getter
|
|
220
|
+
def etag(self) -> pulumi.Output[str]:
|
|
221
|
+
"""
|
|
222
|
+
The ETag of the resource, used for concurrency statements.
|
|
223
|
+
"""
|
|
224
|
+
return pulumi.get(self, "etag")
|
|
225
|
+
|
|
226
|
+
@property
|
|
227
|
+
@pulumi.getter
|
|
228
|
+
def format(self) -> pulumi.Output[str]:
|
|
229
|
+
"""
|
|
230
|
+
The format of the application package, if the package is active.
|
|
231
|
+
"""
|
|
232
|
+
return pulumi.get(self, "format")
|
|
233
|
+
|
|
234
|
+
@property
|
|
235
|
+
@pulumi.getter(name="lastActivationTime")
|
|
236
|
+
def last_activation_time(self) -> pulumi.Output[str]:
|
|
237
|
+
"""
|
|
238
|
+
The time at which the package was last activated, if the package is active.
|
|
239
|
+
"""
|
|
240
|
+
return pulumi.get(self, "last_activation_time")
|
|
241
|
+
|
|
242
|
+
@property
|
|
243
|
+
@pulumi.getter
|
|
244
|
+
def name(self) -> pulumi.Output[str]:
|
|
245
|
+
"""
|
|
246
|
+
The name of the resource.
|
|
247
|
+
"""
|
|
248
|
+
return pulumi.get(self, "name")
|
|
249
|
+
|
|
250
|
+
@property
|
|
251
|
+
@pulumi.getter
|
|
252
|
+
def state(self) -> pulumi.Output[str]:
|
|
253
|
+
"""
|
|
254
|
+
The current state of the application package.
|
|
255
|
+
"""
|
|
256
|
+
return pulumi.get(self, "state")
|
|
257
|
+
|
|
258
|
+
@property
|
|
259
|
+
@pulumi.getter(name="storageUrl")
|
|
260
|
+
def storage_url(self) -> pulumi.Output[str]:
|
|
261
|
+
"""
|
|
262
|
+
The URL for the application package in Azure Storage.
|
|
263
|
+
"""
|
|
264
|
+
return pulumi.get(self, "storage_url")
|
|
265
|
+
|
|
266
|
+
@property
|
|
267
|
+
@pulumi.getter(name="storageUrlExpiry")
|
|
268
|
+
def storage_url_expiry(self) -> pulumi.Output[str]:
|
|
269
|
+
"""
|
|
270
|
+
The UTC time at which the Azure Storage URL will expire.
|
|
271
|
+
"""
|
|
272
|
+
return pulumi.get(self, "storage_url_expiry")
|
|
273
|
+
|
|
274
|
+
@property
|
|
275
|
+
@pulumi.getter
|
|
276
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
277
|
+
"""
|
|
278
|
+
The tags of the resource.
|
|
279
|
+
"""
|
|
280
|
+
return pulumi.get(self, "tags")
|
|
281
|
+
|
|
282
|
+
@property
|
|
283
|
+
@pulumi.getter
|
|
284
|
+
def type(self) -> pulumi.Output[str]:
|
|
285
|
+
"""
|
|
286
|
+
The type of the resource.
|
|
287
|
+
"""
|
|
288
|
+
return pulumi.get(self, "type")
|
|
289
|
+
|