pulumi-azure-native 2.44.0a1717490530__py3-none-any.whl → 2.44.1__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/desktopvirtualization/__init__.py +1 -0
- pulumi_azure_native/desktopvirtualization/get_host_pool_registration_token.py +110 -0
- pulumi_azure_native/desktopvirtualization/v20220401preview/__init__.py +1 -0
- pulumi_azure_native/desktopvirtualization/v20220401preview/get_host_pool_registration_token.py +104 -0
- pulumi_azure_native/desktopvirtualization/v20220909/__init__.py +1 -0
- pulumi_azure_native/desktopvirtualization/v20220909/get_host_pool_registration_token.py +104 -0
- pulumi_azure_native/desktopvirtualization/v20221014preview/__init__.py +1 -0
- pulumi_azure_native/desktopvirtualization/v20221014preview/get_host_pool_registration_token.py +104 -0
- pulumi_azure_native/desktopvirtualization/v20230707preview/__init__.py +1 -0
- pulumi_azure_native/desktopvirtualization/v20230707preview/get_host_pool_registration_token.py +104 -0
- pulumi_azure_native/desktopvirtualization/v20230905/__init__.py +1 -0
- pulumi_azure_native/desktopvirtualization/v20230905/get_host_pool_registration_token.py +104 -0
- pulumi_azure_native/desktopvirtualization/v20231004preview/__init__.py +1 -0
- pulumi_azure_native/desktopvirtualization/v20231004preview/get_host_pool_registration_token.py +104 -0
- pulumi_azure_native/desktopvirtualization/v20231101preview/__init__.py +1 -0
- pulumi_azure_native/desktopvirtualization/v20231101preview/get_host_pool_registration_token.py +104 -0
- pulumi_azure_native/desktopvirtualization/v20240116preview/__init__.py +1 -0
- pulumi_azure_native/desktopvirtualization/v20240116preview/get_host_pool_registration_token.py +104 -0
- pulumi_azure_native/desktopvirtualization/v20240306preview/__init__.py +1 -0
- pulumi_azure_native/desktopvirtualization/v20240306preview/get_host_pool_registration_token.py +104 -0
- pulumi_azure_native/desktopvirtualization/v20240403/__init__.py +1 -0
- pulumi_azure_native/desktopvirtualization/v20240403/get_host_pool_registration_token.py +104 -0
- pulumi_azure_native/pulumi-plugin.json +1 -1
- {pulumi_azure_native-2.44.0a1717490530.dist-info → pulumi_azure_native-2.44.1.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.44.0a1717490530.dist-info → pulumi_azure_native-2.44.1.dist-info}/RECORD +27 -16
- {pulumi_azure_native-2.44.0a1717490530.dist-info → pulumi_azure_native-2.44.1.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.44.0a1717490530.dist-info → pulumi_azure_native-2.44.1.dist-info}/top_level.txt +0 -0
|
@@ -13,6 +13,7 @@ from .get_app_attach_package import *
|
|
|
13
13
|
from .get_application import *
|
|
14
14
|
from .get_application_group import *
|
|
15
15
|
from .get_host_pool import *
|
|
16
|
+
from .get_host_pool_registration_token import *
|
|
16
17
|
from .get_msix_package import *
|
|
17
18
|
from .get_private_endpoint_connection_by_host_pool import *
|
|
18
19
|
from .get_private_endpoint_connection_by_workspace import *
|
|
@@ -0,0 +1,110 @@
|
|
|
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
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
'GetHostPoolRegistrationTokenResult',
|
|
14
|
+
'AwaitableGetHostPoolRegistrationTokenResult',
|
|
15
|
+
'get_host_pool_registration_token',
|
|
16
|
+
'get_host_pool_registration_token_output',
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
@pulumi.output_type
|
|
20
|
+
class GetHostPoolRegistrationTokenResult:
|
|
21
|
+
"""
|
|
22
|
+
Represents a RegistrationInfo definition.
|
|
23
|
+
"""
|
|
24
|
+
def __init__(__self__, expiration_time=None, registration_token_operation=None, token=None):
|
|
25
|
+
if expiration_time and not isinstance(expiration_time, str):
|
|
26
|
+
raise TypeError("Expected argument 'expiration_time' to be a str")
|
|
27
|
+
pulumi.set(__self__, "expiration_time", expiration_time)
|
|
28
|
+
if registration_token_operation and not isinstance(registration_token_operation, str):
|
|
29
|
+
raise TypeError("Expected argument 'registration_token_operation' to be a str")
|
|
30
|
+
pulumi.set(__self__, "registration_token_operation", registration_token_operation)
|
|
31
|
+
if token and not isinstance(token, str):
|
|
32
|
+
raise TypeError("Expected argument 'token' to be a str")
|
|
33
|
+
pulumi.set(__self__, "token", token)
|
|
34
|
+
|
|
35
|
+
@property
|
|
36
|
+
@pulumi.getter(name="expirationTime")
|
|
37
|
+
def expiration_time(self) -> Optional[str]:
|
|
38
|
+
"""
|
|
39
|
+
Expiration time of registration token.
|
|
40
|
+
"""
|
|
41
|
+
return pulumi.get(self, "expiration_time")
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
@pulumi.getter(name="registrationTokenOperation")
|
|
45
|
+
def registration_token_operation(self) -> Optional[str]:
|
|
46
|
+
"""
|
|
47
|
+
The type of resetting the token.
|
|
48
|
+
"""
|
|
49
|
+
return pulumi.get(self, "registration_token_operation")
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
@pulumi.getter
|
|
53
|
+
def token(self) -> Optional[str]:
|
|
54
|
+
"""
|
|
55
|
+
The registration token base64 encoded string.
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "token")
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class AwaitableGetHostPoolRegistrationTokenResult(GetHostPoolRegistrationTokenResult):
|
|
61
|
+
# pylint: disable=using-constant-test
|
|
62
|
+
def __await__(self):
|
|
63
|
+
if False:
|
|
64
|
+
yield self
|
|
65
|
+
return GetHostPoolRegistrationTokenResult(
|
|
66
|
+
expiration_time=self.expiration_time,
|
|
67
|
+
registration_token_operation=self.registration_token_operation,
|
|
68
|
+
token=self.token)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def get_host_pool_registration_token(host_pool_name: Optional[str] = None,
|
|
72
|
+
resource_group_name: Optional[str] = None,
|
|
73
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostPoolRegistrationTokenResult:
|
|
74
|
+
"""
|
|
75
|
+
Registration token of the host pool.
|
|
76
|
+
Azure REST API version: 2022-09-09.
|
|
77
|
+
|
|
78
|
+
Other available API versions: 2022-04-01-preview, 2022-10-14-preview, 2023-07-07-preview, 2023-09-05, 2023-10-04-preview, 2023-11-01-preview, 2024-01-16-preview, 2024-03-06-preview, 2024-04-03.
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
:param str host_pool_name: The name of the host pool within the specified resource group
|
|
82
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
83
|
+
"""
|
|
84
|
+
__args__ = dict()
|
|
85
|
+
__args__['hostPoolName'] = host_pool_name
|
|
86
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
87
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
88
|
+
__ret__ = pulumi.runtime.invoke('azure-native:desktopvirtualization:getHostPoolRegistrationToken', __args__, opts=opts, typ=GetHostPoolRegistrationTokenResult).value
|
|
89
|
+
|
|
90
|
+
return AwaitableGetHostPoolRegistrationTokenResult(
|
|
91
|
+
expiration_time=pulumi.get(__ret__, 'expiration_time'),
|
|
92
|
+
registration_token_operation=pulumi.get(__ret__, 'registration_token_operation'),
|
|
93
|
+
token=pulumi.get(__ret__, 'token'))
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
@_utilities.lift_output_func(get_host_pool_registration_token)
|
|
97
|
+
def get_host_pool_registration_token_output(host_pool_name: Optional[pulumi.Input[str]] = None,
|
|
98
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
99
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostPoolRegistrationTokenResult]:
|
|
100
|
+
"""
|
|
101
|
+
Registration token of the host pool.
|
|
102
|
+
Azure REST API version: 2022-09-09.
|
|
103
|
+
|
|
104
|
+
Other available API versions: 2022-04-01-preview, 2022-10-14-preview, 2023-07-07-preview, 2023-09-05, 2023-10-04-preview, 2023-11-01-preview, 2024-01-16-preview, 2024-03-06-preview, 2024-04-03.
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
:param str host_pool_name: The name of the host pool within the specified resource group
|
|
108
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
109
|
+
"""
|
|
110
|
+
...
|
pulumi_azure_native/desktopvirtualization/v20220401preview/get_host_pool_registration_token.py
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
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
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
'GetHostPoolRegistrationTokenResult',
|
|
14
|
+
'AwaitableGetHostPoolRegistrationTokenResult',
|
|
15
|
+
'get_host_pool_registration_token',
|
|
16
|
+
'get_host_pool_registration_token_output',
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
@pulumi.output_type
|
|
20
|
+
class GetHostPoolRegistrationTokenResult:
|
|
21
|
+
"""
|
|
22
|
+
Represents a RegistrationInfo definition.
|
|
23
|
+
"""
|
|
24
|
+
def __init__(__self__, expiration_time=None, registration_token_operation=None, token=None):
|
|
25
|
+
if expiration_time and not isinstance(expiration_time, str):
|
|
26
|
+
raise TypeError("Expected argument 'expiration_time' to be a str")
|
|
27
|
+
pulumi.set(__self__, "expiration_time", expiration_time)
|
|
28
|
+
if registration_token_operation and not isinstance(registration_token_operation, str):
|
|
29
|
+
raise TypeError("Expected argument 'registration_token_operation' to be a str")
|
|
30
|
+
pulumi.set(__self__, "registration_token_operation", registration_token_operation)
|
|
31
|
+
if token and not isinstance(token, str):
|
|
32
|
+
raise TypeError("Expected argument 'token' to be a str")
|
|
33
|
+
pulumi.set(__self__, "token", token)
|
|
34
|
+
|
|
35
|
+
@property
|
|
36
|
+
@pulumi.getter(name="expirationTime")
|
|
37
|
+
def expiration_time(self) -> Optional[str]:
|
|
38
|
+
"""
|
|
39
|
+
Expiration time of registration token.
|
|
40
|
+
"""
|
|
41
|
+
return pulumi.get(self, "expiration_time")
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
@pulumi.getter(name="registrationTokenOperation")
|
|
45
|
+
def registration_token_operation(self) -> Optional[str]:
|
|
46
|
+
"""
|
|
47
|
+
The type of resetting the token.
|
|
48
|
+
"""
|
|
49
|
+
return pulumi.get(self, "registration_token_operation")
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
@pulumi.getter
|
|
53
|
+
def token(self) -> Optional[str]:
|
|
54
|
+
"""
|
|
55
|
+
The registration token base64 encoded string.
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "token")
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class AwaitableGetHostPoolRegistrationTokenResult(GetHostPoolRegistrationTokenResult):
|
|
61
|
+
# pylint: disable=using-constant-test
|
|
62
|
+
def __await__(self):
|
|
63
|
+
if False:
|
|
64
|
+
yield self
|
|
65
|
+
return GetHostPoolRegistrationTokenResult(
|
|
66
|
+
expiration_time=self.expiration_time,
|
|
67
|
+
registration_token_operation=self.registration_token_operation,
|
|
68
|
+
token=self.token)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def get_host_pool_registration_token(host_pool_name: Optional[str] = None,
|
|
72
|
+
resource_group_name: Optional[str] = None,
|
|
73
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostPoolRegistrationTokenResult:
|
|
74
|
+
"""
|
|
75
|
+
Registration token of the host pool.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
:param str host_pool_name: The name of the host pool within the specified resource group
|
|
79
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
80
|
+
"""
|
|
81
|
+
__args__ = dict()
|
|
82
|
+
__args__['hostPoolName'] = host_pool_name
|
|
83
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
84
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
85
|
+
__ret__ = pulumi.runtime.invoke('azure-native:desktopvirtualization/v20220401preview:getHostPoolRegistrationToken', __args__, opts=opts, typ=GetHostPoolRegistrationTokenResult).value
|
|
86
|
+
|
|
87
|
+
return AwaitableGetHostPoolRegistrationTokenResult(
|
|
88
|
+
expiration_time=pulumi.get(__ret__, 'expiration_time'),
|
|
89
|
+
registration_token_operation=pulumi.get(__ret__, 'registration_token_operation'),
|
|
90
|
+
token=pulumi.get(__ret__, 'token'))
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
@_utilities.lift_output_func(get_host_pool_registration_token)
|
|
94
|
+
def get_host_pool_registration_token_output(host_pool_name: Optional[pulumi.Input[str]] = None,
|
|
95
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
96
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostPoolRegistrationTokenResult]:
|
|
97
|
+
"""
|
|
98
|
+
Registration token of the host pool.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param str host_pool_name: The name of the host pool within the specified resource group
|
|
102
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
103
|
+
"""
|
|
104
|
+
...
|
|
@@ -11,6 +11,7 @@ from .application_group import *
|
|
|
11
11
|
from .get_application import *
|
|
12
12
|
from .get_application_group import *
|
|
13
13
|
from .get_host_pool import *
|
|
14
|
+
from .get_host_pool_registration_token import *
|
|
14
15
|
from .get_msix_package import *
|
|
15
16
|
from .get_scaling_plan import *
|
|
16
17
|
from .get_scaling_plan_pooled_schedule import *
|
|
@@ -0,0 +1,104 @@
|
|
|
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
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
'GetHostPoolRegistrationTokenResult',
|
|
14
|
+
'AwaitableGetHostPoolRegistrationTokenResult',
|
|
15
|
+
'get_host_pool_registration_token',
|
|
16
|
+
'get_host_pool_registration_token_output',
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
@pulumi.output_type
|
|
20
|
+
class GetHostPoolRegistrationTokenResult:
|
|
21
|
+
"""
|
|
22
|
+
Represents a RegistrationInfo definition.
|
|
23
|
+
"""
|
|
24
|
+
def __init__(__self__, expiration_time=None, registration_token_operation=None, token=None):
|
|
25
|
+
if expiration_time and not isinstance(expiration_time, str):
|
|
26
|
+
raise TypeError("Expected argument 'expiration_time' to be a str")
|
|
27
|
+
pulumi.set(__self__, "expiration_time", expiration_time)
|
|
28
|
+
if registration_token_operation and not isinstance(registration_token_operation, str):
|
|
29
|
+
raise TypeError("Expected argument 'registration_token_operation' to be a str")
|
|
30
|
+
pulumi.set(__self__, "registration_token_operation", registration_token_operation)
|
|
31
|
+
if token and not isinstance(token, str):
|
|
32
|
+
raise TypeError("Expected argument 'token' to be a str")
|
|
33
|
+
pulumi.set(__self__, "token", token)
|
|
34
|
+
|
|
35
|
+
@property
|
|
36
|
+
@pulumi.getter(name="expirationTime")
|
|
37
|
+
def expiration_time(self) -> Optional[str]:
|
|
38
|
+
"""
|
|
39
|
+
Expiration time of registration token.
|
|
40
|
+
"""
|
|
41
|
+
return pulumi.get(self, "expiration_time")
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
@pulumi.getter(name="registrationTokenOperation")
|
|
45
|
+
def registration_token_operation(self) -> Optional[str]:
|
|
46
|
+
"""
|
|
47
|
+
The type of resetting the token.
|
|
48
|
+
"""
|
|
49
|
+
return pulumi.get(self, "registration_token_operation")
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
@pulumi.getter
|
|
53
|
+
def token(self) -> Optional[str]:
|
|
54
|
+
"""
|
|
55
|
+
The registration token base64 encoded string.
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "token")
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class AwaitableGetHostPoolRegistrationTokenResult(GetHostPoolRegistrationTokenResult):
|
|
61
|
+
# pylint: disable=using-constant-test
|
|
62
|
+
def __await__(self):
|
|
63
|
+
if False:
|
|
64
|
+
yield self
|
|
65
|
+
return GetHostPoolRegistrationTokenResult(
|
|
66
|
+
expiration_time=self.expiration_time,
|
|
67
|
+
registration_token_operation=self.registration_token_operation,
|
|
68
|
+
token=self.token)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def get_host_pool_registration_token(host_pool_name: Optional[str] = None,
|
|
72
|
+
resource_group_name: Optional[str] = None,
|
|
73
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostPoolRegistrationTokenResult:
|
|
74
|
+
"""
|
|
75
|
+
Registration token of the host pool.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
:param str host_pool_name: The name of the host pool within the specified resource group
|
|
79
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
80
|
+
"""
|
|
81
|
+
__args__ = dict()
|
|
82
|
+
__args__['hostPoolName'] = host_pool_name
|
|
83
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
84
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
85
|
+
__ret__ = pulumi.runtime.invoke('azure-native:desktopvirtualization/v20220909:getHostPoolRegistrationToken', __args__, opts=opts, typ=GetHostPoolRegistrationTokenResult).value
|
|
86
|
+
|
|
87
|
+
return AwaitableGetHostPoolRegistrationTokenResult(
|
|
88
|
+
expiration_time=pulumi.get(__ret__, 'expiration_time'),
|
|
89
|
+
registration_token_operation=pulumi.get(__ret__, 'registration_token_operation'),
|
|
90
|
+
token=pulumi.get(__ret__, 'token'))
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
@_utilities.lift_output_func(get_host_pool_registration_token)
|
|
94
|
+
def get_host_pool_registration_token_output(host_pool_name: Optional[pulumi.Input[str]] = None,
|
|
95
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
96
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostPoolRegistrationTokenResult]:
|
|
97
|
+
"""
|
|
98
|
+
Registration token of the host pool.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param str host_pool_name: The name of the host pool within the specified resource group
|
|
102
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
103
|
+
"""
|
|
104
|
+
...
|
|
@@ -11,6 +11,7 @@ from .application_group import *
|
|
|
11
11
|
from .get_application import *
|
|
12
12
|
from .get_application_group import *
|
|
13
13
|
from .get_host_pool import *
|
|
14
|
+
from .get_host_pool_registration_token import *
|
|
14
15
|
from .get_msix_package import *
|
|
15
16
|
from .get_private_endpoint_connection_by_host_pool import *
|
|
16
17
|
from .get_private_endpoint_connection_by_workspace import *
|
pulumi_azure_native/desktopvirtualization/v20221014preview/get_host_pool_registration_token.py
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
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
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
'GetHostPoolRegistrationTokenResult',
|
|
14
|
+
'AwaitableGetHostPoolRegistrationTokenResult',
|
|
15
|
+
'get_host_pool_registration_token',
|
|
16
|
+
'get_host_pool_registration_token_output',
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
@pulumi.output_type
|
|
20
|
+
class GetHostPoolRegistrationTokenResult:
|
|
21
|
+
"""
|
|
22
|
+
Represents a RegistrationInfo definition.
|
|
23
|
+
"""
|
|
24
|
+
def __init__(__self__, expiration_time=None, registration_token_operation=None, token=None):
|
|
25
|
+
if expiration_time and not isinstance(expiration_time, str):
|
|
26
|
+
raise TypeError("Expected argument 'expiration_time' to be a str")
|
|
27
|
+
pulumi.set(__self__, "expiration_time", expiration_time)
|
|
28
|
+
if registration_token_operation and not isinstance(registration_token_operation, str):
|
|
29
|
+
raise TypeError("Expected argument 'registration_token_operation' to be a str")
|
|
30
|
+
pulumi.set(__self__, "registration_token_operation", registration_token_operation)
|
|
31
|
+
if token and not isinstance(token, str):
|
|
32
|
+
raise TypeError("Expected argument 'token' to be a str")
|
|
33
|
+
pulumi.set(__self__, "token", token)
|
|
34
|
+
|
|
35
|
+
@property
|
|
36
|
+
@pulumi.getter(name="expirationTime")
|
|
37
|
+
def expiration_time(self) -> Optional[str]:
|
|
38
|
+
"""
|
|
39
|
+
Expiration time of registration token.
|
|
40
|
+
"""
|
|
41
|
+
return pulumi.get(self, "expiration_time")
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
@pulumi.getter(name="registrationTokenOperation")
|
|
45
|
+
def registration_token_operation(self) -> Optional[str]:
|
|
46
|
+
"""
|
|
47
|
+
The type of resetting the token.
|
|
48
|
+
"""
|
|
49
|
+
return pulumi.get(self, "registration_token_operation")
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
@pulumi.getter
|
|
53
|
+
def token(self) -> Optional[str]:
|
|
54
|
+
"""
|
|
55
|
+
The registration token base64 encoded string.
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "token")
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class AwaitableGetHostPoolRegistrationTokenResult(GetHostPoolRegistrationTokenResult):
|
|
61
|
+
# pylint: disable=using-constant-test
|
|
62
|
+
def __await__(self):
|
|
63
|
+
if False:
|
|
64
|
+
yield self
|
|
65
|
+
return GetHostPoolRegistrationTokenResult(
|
|
66
|
+
expiration_time=self.expiration_time,
|
|
67
|
+
registration_token_operation=self.registration_token_operation,
|
|
68
|
+
token=self.token)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def get_host_pool_registration_token(host_pool_name: Optional[str] = None,
|
|
72
|
+
resource_group_name: Optional[str] = None,
|
|
73
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostPoolRegistrationTokenResult:
|
|
74
|
+
"""
|
|
75
|
+
Registration token of the host pool.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
:param str host_pool_name: The name of the host pool within the specified resource group
|
|
79
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
80
|
+
"""
|
|
81
|
+
__args__ = dict()
|
|
82
|
+
__args__['hostPoolName'] = host_pool_name
|
|
83
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
84
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
85
|
+
__ret__ = pulumi.runtime.invoke('azure-native:desktopvirtualization/v20221014preview:getHostPoolRegistrationToken', __args__, opts=opts, typ=GetHostPoolRegistrationTokenResult).value
|
|
86
|
+
|
|
87
|
+
return AwaitableGetHostPoolRegistrationTokenResult(
|
|
88
|
+
expiration_time=pulumi.get(__ret__, 'expiration_time'),
|
|
89
|
+
registration_token_operation=pulumi.get(__ret__, 'registration_token_operation'),
|
|
90
|
+
token=pulumi.get(__ret__, 'token'))
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
@_utilities.lift_output_func(get_host_pool_registration_token)
|
|
94
|
+
def get_host_pool_registration_token_output(host_pool_name: Optional[pulumi.Input[str]] = None,
|
|
95
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
96
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostPoolRegistrationTokenResult]:
|
|
97
|
+
"""
|
|
98
|
+
Registration token of the host pool.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param str host_pool_name: The name of the host pool within the specified resource group
|
|
102
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
103
|
+
"""
|
|
104
|
+
...
|
|
@@ -11,6 +11,7 @@ from .application_group import *
|
|
|
11
11
|
from .get_application import *
|
|
12
12
|
from .get_application_group import *
|
|
13
13
|
from .get_host_pool import *
|
|
14
|
+
from .get_host_pool_registration_token import *
|
|
14
15
|
from .get_msix_package import *
|
|
15
16
|
from .get_private_endpoint_connection_by_host_pool import *
|
|
16
17
|
from .get_private_endpoint_connection_by_workspace import *
|
pulumi_azure_native/desktopvirtualization/v20230707preview/get_host_pool_registration_token.py
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
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
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
'GetHostPoolRegistrationTokenResult',
|
|
14
|
+
'AwaitableGetHostPoolRegistrationTokenResult',
|
|
15
|
+
'get_host_pool_registration_token',
|
|
16
|
+
'get_host_pool_registration_token_output',
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
@pulumi.output_type
|
|
20
|
+
class GetHostPoolRegistrationTokenResult:
|
|
21
|
+
"""
|
|
22
|
+
Represents a RegistrationInfo definition.
|
|
23
|
+
"""
|
|
24
|
+
def __init__(__self__, expiration_time=None, registration_token_operation=None, token=None):
|
|
25
|
+
if expiration_time and not isinstance(expiration_time, str):
|
|
26
|
+
raise TypeError("Expected argument 'expiration_time' to be a str")
|
|
27
|
+
pulumi.set(__self__, "expiration_time", expiration_time)
|
|
28
|
+
if registration_token_operation and not isinstance(registration_token_operation, str):
|
|
29
|
+
raise TypeError("Expected argument 'registration_token_operation' to be a str")
|
|
30
|
+
pulumi.set(__self__, "registration_token_operation", registration_token_operation)
|
|
31
|
+
if token and not isinstance(token, str):
|
|
32
|
+
raise TypeError("Expected argument 'token' to be a str")
|
|
33
|
+
pulumi.set(__self__, "token", token)
|
|
34
|
+
|
|
35
|
+
@property
|
|
36
|
+
@pulumi.getter(name="expirationTime")
|
|
37
|
+
def expiration_time(self) -> Optional[str]:
|
|
38
|
+
"""
|
|
39
|
+
Expiration time of registration token.
|
|
40
|
+
"""
|
|
41
|
+
return pulumi.get(self, "expiration_time")
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
@pulumi.getter(name="registrationTokenOperation")
|
|
45
|
+
def registration_token_operation(self) -> Optional[str]:
|
|
46
|
+
"""
|
|
47
|
+
The type of resetting the token.
|
|
48
|
+
"""
|
|
49
|
+
return pulumi.get(self, "registration_token_operation")
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
@pulumi.getter
|
|
53
|
+
def token(self) -> Optional[str]:
|
|
54
|
+
"""
|
|
55
|
+
The registration token base64 encoded string.
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "token")
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class AwaitableGetHostPoolRegistrationTokenResult(GetHostPoolRegistrationTokenResult):
|
|
61
|
+
# pylint: disable=using-constant-test
|
|
62
|
+
def __await__(self):
|
|
63
|
+
if False:
|
|
64
|
+
yield self
|
|
65
|
+
return GetHostPoolRegistrationTokenResult(
|
|
66
|
+
expiration_time=self.expiration_time,
|
|
67
|
+
registration_token_operation=self.registration_token_operation,
|
|
68
|
+
token=self.token)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def get_host_pool_registration_token(host_pool_name: Optional[str] = None,
|
|
72
|
+
resource_group_name: Optional[str] = None,
|
|
73
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostPoolRegistrationTokenResult:
|
|
74
|
+
"""
|
|
75
|
+
Registration token of the host pool.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
:param str host_pool_name: The name of the host pool within the specified resource group
|
|
79
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
80
|
+
"""
|
|
81
|
+
__args__ = dict()
|
|
82
|
+
__args__['hostPoolName'] = host_pool_name
|
|
83
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
84
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
85
|
+
__ret__ = pulumi.runtime.invoke('azure-native:desktopvirtualization/v20230707preview:getHostPoolRegistrationToken', __args__, opts=opts, typ=GetHostPoolRegistrationTokenResult).value
|
|
86
|
+
|
|
87
|
+
return AwaitableGetHostPoolRegistrationTokenResult(
|
|
88
|
+
expiration_time=pulumi.get(__ret__, 'expiration_time'),
|
|
89
|
+
registration_token_operation=pulumi.get(__ret__, 'registration_token_operation'),
|
|
90
|
+
token=pulumi.get(__ret__, 'token'))
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
@_utilities.lift_output_func(get_host_pool_registration_token)
|
|
94
|
+
def get_host_pool_registration_token_output(host_pool_name: Optional[pulumi.Input[str]] = None,
|
|
95
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
96
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostPoolRegistrationTokenResult]:
|
|
97
|
+
"""
|
|
98
|
+
Registration token of the host pool.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param str host_pool_name: The name of the host pool within the specified resource group
|
|
102
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
103
|
+
"""
|
|
104
|
+
...
|
|
@@ -11,6 +11,7 @@ from .application_group import *
|
|
|
11
11
|
from .get_application import *
|
|
12
12
|
from .get_application_group import *
|
|
13
13
|
from .get_host_pool import *
|
|
14
|
+
from .get_host_pool_registration_token import *
|
|
14
15
|
from .get_msix_package import *
|
|
15
16
|
from .get_private_endpoint_connection_by_host_pool import *
|
|
16
17
|
from .get_private_endpoint_connection_by_workspace import *
|