pulumi-azure-native 2.19.1a1701158701__py3-none-any.whl → 2.20.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.

Files changed (109) hide show
  1. pulumi_azure_native/__init__.py +24 -0
  2. pulumi_azure_native/dataprotection/__init__.py +3 -0
  3. pulumi_azure_native/dataprotection/backup_instance.py +3 -3
  4. pulumi_azure_native/dataprotection/backup_policy.py +3 -3
  5. pulumi_azure_native/dataprotection/backup_vault.py +3 -3
  6. pulumi_azure_native/dataprotection/dpp_resource_guard_proxy.py +3 -3
  7. pulumi_azure_native/dataprotection/get_backup_instance.py +2 -2
  8. pulumi_azure_native/dataprotection/get_backup_policy.py +2 -2
  9. pulumi_azure_native/dataprotection/get_backup_vault.py +2 -2
  10. pulumi_azure_native/dataprotection/get_dpp_resource_guard_proxy.py +2 -2
  11. pulumi_azure_native/dataprotection/get_resource_guard.py +2 -2
  12. pulumi_azure_native/dataprotection/resource_guard.py +3 -3
  13. pulumi_azure_native/dataprotection/v20221101preview/resource_guard.py +1 -1
  14. pulumi_azure_native/dataprotection/v20230101/backup_instance.py +1 -1
  15. pulumi_azure_native/dataprotection/v20230101/backup_policy.py +1 -1
  16. pulumi_azure_native/dataprotection/v20230101/backup_vault.py +1 -1
  17. pulumi_azure_native/dataprotection/v20230101/dpp_resource_guard_proxy.py +1 -1
  18. pulumi_azure_native/dataprotection/v20230101/resource_guard.py +1 -1
  19. pulumi_azure_native/dataprotection/v20230401preview/backup_instance.py +1 -1
  20. pulumi_azure_native/dataprotection/v20230401preview/backup_policy.py +1 -1
  21. pulumi_azure_native/dataprotection/v20230401preview/backup_vault.py +1 -1
  22. pulumi_azure_native/dataprotection/v20230401preview/dpp_resource_guard_proxy.py +1 -1
  23. pulumi_azure_native/dataprotection/v20230401preview/resource_guard.py +1 -1
  24. pulumi_azure_native/dataprotection/v20230501/backup_instance.py +1 -1
  25. pulumi_azure_native/dataprotection/v20230501/backup_policy.py +1 -1
  26. pulumi_azure_native/dataprotection/v20230501/backup_vault.py +1 -1
  27. pulumi_azure_native/dataprotection/v20230501/dpp_resource_guard_proxy.py +1 -1
  28. pulumi_azure_native/dataprotection/v20230501/resource_guard.py +1 -1
  29. pulumi_azure_native/dataprotection/v20230601preview/backup_instance.py +1 -1
  30. pulumi_azure_native/dataprotection/v20230601preview/backup_policy.py +1 -1
  31. pulumi_azure_native/dataprotection/v20230601preview/backup_vault.py +1 -1
  32. pulumi_azure_native/dataprotection/v20230601preview/dpp_resource_guard_proxy.py +1 -1
  33. pulumi_azure_native/dataprotection/v20230601preview/resource_guard.py +1 -1
  34. pulumi_azure_native/dataprotection/v20230801/backup_instance.py +1 -1
  35. pulumi_azure_native/dataprotection/v20230801/backup_policy.py +1 -1
  36. pulumi_azure_native/dataprotection/v20230801/backup_vault.py +1 -1
  37. pulumi_azure_native/dataprotection/v20230801/dpp_resource_guard_proxy.py +1 -1
  38. pulumi_azure_native/dataprotection/v20230801/resource_guard.py +1 -1
  39. pulumi_azure_native/dataprotection/v20230801preview/backup_instance.py +1 -1
  40. pulumi_azure_native/dataprotection/v20230801preview/backup_policy.py +1 -1
  41. pulumi_azure_native/dataprotection/v20230801preview/backup_vault.py +1 -1
  42. pulumi_azure_native/dataprotection/v20230801preview/dpp_resource_guard_proxy.py +1 -1
  43. pulumi_azure_native/dataprotection/v20230801preview/resource_guard.py +1 -1
  44. pulumi_azure_native/dataprotection/v20231101/__init__.py +20 -0
  45. pulumi_azure_native/dataprotection/v20231101/_enums.py +163 -0
  46. pulumi_azure_native/dataprotection/v20231101/_inputs.py +2399 -0
  47. pulumi_azure_native/dataprotection/v20231101/backup_instance.py +245 -0
  48. pulumi_azure_native/dataprotection/v20231101/backup_policy.py +216 -0
  49. pulumi_azure_native/dataprotection/v20231101/backup_vault.py +312 -0
  50. pulumi_azure_native/dataprotection/v20231101/dpp_resource_guard_proxy.py +215 -0
  51. pulumi_azure_native/dataprotection/v20231101/get_backup_instance.py +149 -0
  52. pulumi_azure_native/dataprotection/v20231101/get_backup_policy.py +134 -0
  53. pulumi_azure_native/dataprotection/v20231101/get_backup_vault.py +183 -0
  54. pulumi_azure_native/dataprotection/v20231101/get_dpp_resource_guard_proxy.py +136 -0
  55. pulumi_azure_native/dataprotection/v20231101/get_resource_guard.py +165 -0
  56. pulumi_azure_native/dataprotection/v20231101/outputs.py +3662 -0
  57. pulumi_azure_native/dataprotection/v20231101/resource_guard.py +279 -0
  58. pulumi_azure_native/hybridcontainerservice/v20231115preview/outputs.py +119 -120
  59. pulumi_azure_native/notificationhubs/__init__.py +3 -0
  60. pulumi_azure_native/notificationhubs/get_namespace.py +2 -2
  61. pulumi_azure_native/notificationhubs/get_namespace_authorization_rule.py +2 -2
  62. pulumi_azure_native/notificationhubs/get_namespace_pns_credentials.py +2 -2
  63. pulumi_azure_native/notificationhubs/get_notification_hub.py +2 -2
  64. pulumi_azure_native/notificationhubs/get_notification_hub_authorization_rule.py +2 -2
  65. pulumi_azure_native/notificationhubs/get_notification_hub_pns_credentials.py +2 -2
  66. pulumi_azure_native/notificationhubs/get_private_endpoint_connection.py +2 -2
  67. pulumi_azure_native/notificationhubs/list_namespace_keys.py +2 -2
  68. pulumi_azure_native/notificationhubs/list_notification_hub_keys.py +2 -2
  69. pulumi_azure_native/notificationhubs/namespace.py +3 -3
  70. pulumi_azure_native/notificationhubs/namespace_authorization_rule.py +3 -3
  71. pulumi_azure_native/notificationhubs/notification_hub.py +3 -3
  72. pulumi_azure_native/notificationhubs/notification_hub_authorization_rule.py +3 -3
  73. pulumi_azure_native/notificationhubs/private_endpoint_connection.py +3 -3
  74. pulumi_azure_native/notificationhubs/v20170401/namespace.py +1 -1
  75. pulumi_azure_native/notificationhubs/v20170401/namespace_authorization_rule.py +1 -1
  76. pulumi_azure_native/notificationhubs/v20170401/notification_hub.py +1 -1
  77. pulumi_azure_native/notificationhubs/v20170401/notification_hub_authorization_rule.py +1 -1
  78. pulumi_azure_native/notificationhubs/v20230101preview/namespace.py +1 -1
  79. pulumi_azure_native/notificationhubs/v20230101preview/namespace_authorization_rule.py +1 -1
  80. pulumi_azure_native/notificationhubs/v20230101preview/notification_hub.py +1 -1
  81. pulumi_azure_native/notificationhubs/v20230101preview/notification_hub_authorization_rule.py +1 -1
  82. pulumi_azure_native/notificationhubs/v20230101preview/private_endpoint_connection.py +1 -1
  83. pulumi_azure_native/notificationhubs/v20230901/namespace.py +1 -1
  84. pulumi_azure_native/notificationhubs/v20230901/namespace_authorization_rule.py +1 -1
  85. pulumi_azure_native/notificationhubs/v20230901/notification_hub.py +1 -1
  86. pulumi_azure_native/notificationhubs/v20230901/notification_hub_authorization_rule.py +1 -1
  87. pulumi_azure_native/notificationhubs/v20230901/private_endpoint_connection.py +1 -1
  88. pulumi_azure_native/notificationhubs/v20231001preview/__init__.py +24 -0
  89. pulumi_azure_native/notificationhubs/v20231001preview/_enums.py +121 -0
  90. pulumi_azure_native/notificationhubs/v20231001preview/_inputs.py +1638 -0
  91. pulumi_azure_native/notificationhubs/v20231001preview/get_namespace.py +170 -0
  92. pulumi_azure_native/notificationhubs/v20231001preview/get_namespace_authorization_rule.py +162 -0
  93. pulumi_azure_native/notificationhubs/v20231001preview/get_namespace_pns_credentials.py +160 -0
  94. pulumi_azure_native/notificationhubs/v20231001preview/get_notification_hub.py +175 -0
  95. pulumi_azure_native/notificationhubs/v20231001preview/get_notification_hub_authorization_rule.py +167 -0
  96. pulumi_azure_native/notificationhubs/v20231001preview/get_notification_hub_pns_credentials.py +165 -0
  97. pulumi_azure_native/notificationhubs/v20231001preview/get_private_endpoint_connection.py +136 -0
  98. pulumi_azure_native/notificationhubs/v20231001preview/list_namespace_keys.py +136 -0
  99. pulumi_azure_native/notificationhubs/v20231001preview/list_notification_hub_keys.py +141 -0
  100. pulumi_azure_native/notificationhubs/v20231001preview/namespace.py +283 -0
  101. pulumi_azure_native/notificationhubs/v20231001preview/namespace_authorization_rule.py +274 -0
  102. pulumi_azure_native/notificationhubs/v20231001preview/notification_hub.py +303 -0
  103. pulumi_azure_native/notificationhubs/v20231001preview/notification_hub_authorization_rule.py +295 -0
  104. pulumi_azure_native/notificationhubs/v20231001preview/outputs.py +2248 -0
  105. pulumi_azure_native/notificationhubs/v20231001preview/private_endpoint_connection.py +216 -0
  106. {pulumi_azure_native-2.19.1a1701158701.dist-info → pulumi_azure_native-2.20.0.dist-info}/METADATA +1 -1
  107. {pulumi_azure_native-2.19.1a1701158701.dist-info → pulumi_azure_native-2.20.0.dist-info}/RECORD +109 -77
  108. {pulumi_azure_native-2.19.1a1701158701.dist-info → pulumi_azure_native-2.20.0.dist-info}/WHEEL +0 -0
  109. {pulumi_azure_native-2.19.1a1701158701.dist-info → pulumi_azure_native-2.20.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,167 @@
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
+ 'GetNotificationHubAuthorizationRuleResult',
15
+ 'AwaitableGetNotificationHubAuthorizationRuleResult',
16
+ 'get_notification_hub_authorization_rule',
17
+ 'get_notification_hub_authorization_rule_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetNotificationHubAuthorizationRuleResult:
22
+ """
23
+ Response for POST requests that return single SharedAccessAuthorizationRule.
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
+ Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
53
+ """
54
+ return pulumi.get(self, "id")
55
+
56
+ @property
57
+ @pulumi.getter
58
+ def location(self) -> Optional[str]:
59
+ """
60
+ Deprecated - only for compatibility.
61
+ """
62
+ return pulumi.get(self, "location")
63
+
64
+ @property
65
+ @pulumi.getter
66
+ def name(self) -> str:
67
+ """
68
+ The name of the resource
69
+ """
70
+ return pulumi.get(self, "name")
71
+
72
+ @property
73
+ @pulumi.getter
74
+ def properties(self) -> 'outputs.SharedAccessAuthorizationRulePropertiesResponse':
75
+ """
76
+ SharedAccessAuthorizationRule properties.
77
+ """
78
+ return pulumi.get(self, "properties")
79
+
80
+ @property
81
+ @pulumi.getter(name="systemData")
82
+ def system_data(self) -> 'outputs.SystemDataResponse':
83
+ """
84
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
85
+ """
86
+ return pulumi.get(self, "system_data")
87
+
88
+ @property
89
+ @pulumi.getter
90
+ def tags(self) -> Optional[Mapping[str, str]]:
91
+ """
92
+ Deprecated - only for compatibility.
93
+ """
94
+ return pulumi.get(self, "tags")
95
+
96
+ @property
97
+ @pulumi.getter
98
+ def type(self) -> str:
99
+ """
100
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
101
+ """
102
+ return pulumi.get(self, "type")
103
+
104
+
105
+ class AwaitableGetNotificationHubAuthorizationRuleResult(GetNotificationHubAuthorizationRuleResult):
106
+ # pylint: disable=using-constant-test
107
+ def __await__(self):
108
+ if False:
109
+ yield self
110
+ return GetNotificationHubAuthorizationRuleResult(
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_notification_hub_authorization_rule(authorization_rule_name: Optional[str] = None,
121
+ namespace_name: Optional[str] = None,
122
+ notification_hub_name: Optional[str] = None,
123
+ resource_group_name: Optional[str] = None,
124
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotificationHubAuthorizationRuleResult:
125
+ """
126
+ Response for POST requests that return single SharedAccessAuthorizationRule.
127
+
128
+
129
+ :param str authorization_rule_name: Authorization Rule Name
130
+ :param str namespace_name: Namespace name
131
+ :param str notification_hub_name: Notification Hub name
132
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
133
+ """
134
+ __args__ = dict()
135
+ __args__['authorizationRuleName'] = authorization_rule_name
136
+ __args__['namespaceName'] = namespace_name
137
+ __args__['notificationHubName'] = notification_hub_name
138
+ __args__['resourceGroupName'] = resource_group_name
139
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
140
+ __ret__ = pulumi.runtime.invoke('azure-native:notificationhubs/v20231001preview:getNotificationHubAuthorizationRule', __args__, opts=opts, typ=GetNotificationHubAuthorizationRuleResult).value
141
+
142
+ return AwaitableGetNotificationHubAuthorizationRuleResult(
143
+ id=pulumi.get(__ret__, 'id'),
144
+ location=pulumi.get(__ret__, 'location'),
145
+ name=pulumi.get(__ret__, 'name'),
146
+ properties=pulumi.get(__ret__, 'properties'),
147
+ system_data=pulumi.get(__ret__, 'system_data'),
148
+ tags=pulumi.get(__ret__, 'tags'),
149
+ type=pulumi.get(__ret__, 'type'))
150
+
151
+
152
+ @_utilities.lift_output_func(get_notification_hub_authorization_rule)
153
+ def get_notification_hub_authorization_rule_output(authorization_rule_name: Optional[pulumi.Input[str]] = None,
154
+ namespace_name: Optional[pulumi.Input[str]] = None,
155
+ notification_hub_name: Optional[pulumi.Input[str]] = None,
156
+ resource_group_name: Optional[pulumi.Input[str]] = None,
157
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNotificationHubAuthorizationRuleResult]:
158
+ """
159
+ Response for POST requests that return single SharedAccessAuthorizationRule.
160
+
161
+
162
+ :param str authorization_rule_name: Authorization Rule Name
163
+ :param str namespace_name: Namespace name
164
+ :param str notification_hub_name: Notification Hub name
165
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
166
+ """
167
+ ...
@@ -0,0 +1,165 @@
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
+ 'GetNotificationHubPnsCredentialsResult',
15
+ 'AwaitableGetNotificationHubPnsCredentialsResult',
16
+ 'get_notification_hub_pns_credentials',
17
+ 'get_notification_hub_pns_credentials_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetNotificationHubPnsCredentialsResult:
22
+ """
23
+ Description of a NotificationHub PNS Credentials. This is a response of the POST requests that return namespace or hubs
24
+ PNS credentials.
25
+ """
26
+ def __init__(__self__, id=None, location=None, name=None, properties=None, system_data=None, tags=None, type=None):
27
+ if id and not isinstance(id, str):
28
+ raise TypeError("Expected argument 'id' to be a str")
29
+ pulumi.set(__self__, "id", id)
30
+ if location and not isinstance(location, str):
31
+ raise TypeError("Expected argument 'location' to be a str")
32
+ pulumi.set(__self__, "location", location)
33
+ if name and not isinstance(name, str):
34
+ raise TypeError("Expected argument 'name' to be a str")
35
+ pulumi.set(__self__, "name", name)
36
+ if properties and not isinstance(properties, dict):
37
+ raise TypeError("Expected argument 'properties' to be a dict")
38
+ pulumi.set(__self__, "properties", properties)
39
+ if system_data and not isinstance(system_data, dict):
40
+ raise TypeError("Expected argument 'system_data' to be a dict")
41
+ pulumi.set(__self__, "system_data", system_data)
42
+ if tags and not isinstance(tags, dict):
43
+ raise TypeError("Expected argument 'tags' to be a dict")
44
+ pulumi.set(__self__, "tags", tags)
45
+ if type and not isinstance(type, str):
46
+ raise TypeError("Expected argument 'type' to be a str")
47
+ pulumi.set(__self__, "type", type)
48
+
49
+ @property
50
+ @pulumi.getter
51
+ def id(self) -> str:
52
+ """
53
+ Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
54
+ """
55
+ return pulumi.get(self, "id")
56
+
57
+ @property
58
+ @pulumi.getter
59
+ def location(self) -> Optional[str]:
60
+ """
61
+ Deprecated - only for compatibility.
62
+ """
63
+ return pulumi.get(self, "location")
64
+
65
+ @property
66
+ @pulumi.getter
67
+ def name(self) -> str:
68
+ """
69
+ The name of the resource
70
+ """
71
+ return pulumi.get(self, "name")
72
+
73
+ @property
74
+ @pulumi.getter
75
+ def properties(self) -> 'outputs.PnsCredentialsResponse':
76
+ """
77
+ Collection of Notification Hub or Notification Hub Namespace PNS credentials.
78
+ """
79
+ return pulumi.get(self, "properties")
80
+
81
+ @property
82
+ @pulumi.getter(name="systemData")
83
+ def system_data(self) -> 'outputs.SystemDataResponse':
84
+ """
85
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
86
+ """
87
+ return pulumi.get(self, "system_data")
88
+
89
+ @property
90
+ @pulumi.getter
91
+ def tags(self) -> Optional[Mapping[str, str]]:
92
+ """
93
+ Deprecated - only for compatibility.
94
+ """
95
+ return pulumi.get(self, "tags")
96
+
97
+ @property
98
+ @pulumi.getter
99
+ def type(self) -> str:
100
+ """
101
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
102
+ """
103
+ return pulumi.get(self, "type")
104
+
105
+
106
+ class AwaitableGetNotificationHubPnsCredentialsResult(GetNotificationHubPnsCredentialsResult):
107
+ # pylint: disable=using-constant-test
108
+ def __await__(self):
109
+ if False:
110
+ yield self
111
+ return GetNotificationHubPnsCredentialsResult(
112
+ id=self.id,
113
+ location=self.location,
114
+ name=self.name,
115
+ properties=self.properties,
116
+ system_data=self.system_data,
117
+ tags=self.tags,
118
+ type=self.type)
119
+
120
+
121
+ def get_notification_hub_pns_credentials(namespace_name: Optional[str] = None,
122
+ notification_hub_name: Optional[str] = None,
123
+ resource_group_name: Optional[str] = None,
124
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotificationHubPnsCredentialsResult:
125
+ """
126
+ Description of a NotificationHub PNS Credentials. This is a response of the POST requests that return namespace or hubs
127
+ PNS credentials.
128
+
129
+
130
+ :param str namespace_name: Namespace name
131
+ :param str notification_hub_name: Notification Hub name
132
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
133
+ """
134
+ __args__ = dict()
135
+ __args__['namespaceName'] = namespace_name
136
+ __args__['notificationHubName'] = notification_hub_name
137
+ __args__['resourceGroupName'] = resource_group_name
138
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
139
+ __ret__ = pulumi.runtime.invoke('azure-native:notificationhubs/v20231001preview:getNotificationHubPnsCredentials', __args__, opts=opts, typ=GetNotificationHubPnsCredentialsResult).value
140
+
141
+ return AwaitableGetNotificationHubPnsCredentialsResult(
142
+ id=pulumi.get(__ret__, 'id'),
143
+ location=pulumi.get(__ret__, 'location'),
144
+ name=pulumi.get(__ret__, 'name'),
145
+ properties=pulumi.get(__ret__, 'properties'),
146
+ system_data=pulumi.get(__ret__, 'system_data'),
147
+ tags=pulumi.get(__ret__, 'tags'),
148
+ type=pulumi.get(__ret__, 'type'))
149
+
150
+
151
+ @_utilities.lift_output_func(get_notification_hub_pns_credentials)
152
+ def get_notification_hub_pns_credentials_output(namespace_name: Optional[pulumi.Input[str]] = None,
153
+ notification_hub_name: Optional[pulumi.Input[str]] = None,
154
+ resource_group_name: Optional[pulumi.Input[str]] = None,
155
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNotificationHubPnsCredentialsResult]:
156
+ """
157
+ Description of a NotificationHub PNS Credentials. This is a response of the POST requests that return namespace or hubs
158
+ PNS credentials.
159
+
160
+
161
+ :param str namespace_name: Namespace name
162
+ :param str notification_hub_name: Notification Hub name
163
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
164
+ """
165
+ ...
@@ -0,0 +1,136 @@
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
+ 'GetPrivateEndpointConnectionResult',
15
+ 'AwaitableGetPrivateEndpointConnectionResult',
16
+ 'get_private_endpoint_connection',
17
+ 'get_private_endpoint_connection_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetPrivateEndpointConnectionResult:
22
+ """
23
+ Represents a Private Endpoint Connection ARM resource - a sub-resource of Notification Hubs namespace.
24
+ """
25
+ def __init__(__self__, id=None, name=None, properties=None, system_data=None, type=None):
26
+ if id and not isinstance(id, str):
27
+ raise TypeError("Expected argument 'id' to be a str")
28
+ pulumi.set(__self__, "id", id)
29
+ if name and not isinstance(name, str):
30
+ raise TypeError("Expected argument 'name' to be a str")
31
+ pulumi.set(__self__, "name", name)
32
+ if properties and not isinstance(properties, dict):
33
+ raise TypeError("Expected argument 'properties' to be a dict")
34
+ pulumi.set(__self__, "properties", properties)
35
+ if system_data and not isinstance(system_data, dict):
36
+ raise TypeError("Expected argument 'system_data' to be a dict")
37
+ pulumi.set(__self__, "system_data", system_data)
38
+ if type and not isinstance(type, str):
39
+ raise TypeError("Expected argument 'type' to be a str")
40
+ pulumi.set(__self__, "type", type)
41
+
42
+ @property
43
+ @pulumi.getter
44
+ def id(self) -> str:
45
+ """
46
+ Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
47
+ """
48
+ return pulumi.get(self, "id")
49
+
50
+ @property
51
+ @pulumi.getter
52
+ def name(self) -> str:
53
+ """
54
+ The name of the resource
55
+ """
56
+ return pulumi.get(self, "name")
57
+
58
+ @property
59
+ @pulumi.getter
60
+ def properties(self) -> 'outputs.PrivateEndpointConnectionPropertiesResponse':
61
+ """
62
+ Private Endpoint Connection properties.
63
+ """
64
+ return pulumi.get(self, "properties")
65
+
66
+ @property
67
+ @pulumi.getter(name="systemData")
68
+ def system_data(self) -> 'outputs.SystemDataResponse':
69
+ """
70
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
71
+ """
72
+ return pulumi.get(self, "system_data")
73
+
74
+ @property
75
+ @pulumi.getter
76
+ def type(self) -> str:
77
+ """
78
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
79
+ """
80
+ return pulumi.get(self, "type")
81
+
82
+
83
+ class AwaitableGetPrivateEndpointConnectionResult(GetPrivateEndpointConnectionResult):
84
+ # pylint: disable=using-constant-test
85
+ def __await__(self):
86
+ if False:
87
+ yield self
88
+ return GetPrivateEndpointConnectionResult(
89
+ id=self.id,
90
+ name=self.name,
91
+ properties=self.properties,
92
+ system_data=self.system_data,
93
+ type=self.type)
94
+
95
+
96
+ def get_private_endpoint_connection(namespace_name: Optional[str] = None,
97
+ private_endpoint_connection_name: Optional[str] = None,
98
+ resource_group_name: Optional[str] = None,
99
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionResult:
100
+ """
101
+ Represents a Private Endpoint Connection ARM resource - a sub-resource of Notification Hubs namespace.
102
+
103
+
104
+ :param str namespace_name: Namespace name
105
+ :param str private_endpoint_connection_name: Private Endpoint Connection Name
106
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
107
+ """
108
+ __args__ = dict()
109
+ __args__['namespaceName'] = namespace_name
110
+ __args__['privateEndpointConnectionName'] = private_endpoint_connection_name
111
+ __args__['resourceGroupName'] = resource_group_name
112
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
113
+ __ret__ = pulumi.runtime.invoke('azure-native:notificationhubs/v20231001preview:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult).value
114
+
115
+ return AwaitableGetPrivateEndpointConnectionResult(
116
+ id=pulumi.get(__ret__, 'id'),
117
+ name=pulumi.get(__ret__, 'name'),
118
+ properties=pulumi.get(__ret__, 'properties'),
119
+ system_data=pulumi.get(__ret__, 'system_data'),
120
+ type=pulumi.get(__ret__, 'type'))
121
+
122
+
123
+ @_utilities.lift_output_func(get_private_endpoint_connection)
124
+ def get_private_endpoint_connection_output(namespace_name: Optional[pulumi.Input[str]] = None,
125
+ private_endpoint_connection_name: Optional[pulumi.Input[str]] = None,
126
+ resource_group_name: Optional[pulumi.Input[str]] = None,
127
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointConnectionResult]:
128
+ """
129
+ Represents a Private Endpoint Connection ARM resource - a sub-resource of Notification Hubs namespace.
130
+
131
+
132
+ :param str namespace_name: Namespace name
133
+ :param str private_endpoint_connection_name: Private Endpoint Connection Name
134
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
135
+ """
136
+ ...
@@ -0,0 +1,136 @@
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
+ 'ListNamespaceKeysResult',
14
+ 'AwaitableListNamespaceKeysResult',
15
+ 'list_namespace_keys',
16
+ 'list_namespace_keys_output',
17
+ ]
18
+
19
+ @pulumi.output_type
20
+ class ListNamespaceKeysResult:
21
+ """
22
+ Response for the POST request that returns Namespace or NotificationHub access keys (connection strings).
23
+ """
24
+ def __init__(__self__, key_name=None, primary_connection_string=None, primary_key=None, secondary_connection_string=None, secondary_key=None):
25
+ if key_name and not isinstance(key_name, str):
26
+ raise TypeError("Expected argument 'key_name' to be a str")
27
+ pulumi.set(__self__, "key_name", key_name)
28
+ if primary_connection_string and not isinstance(primary_connection_string, str):
29
+ raise TypeError("Expected argument 'primary_connection_string' to be a str")
30
+ pulumi.set(__self__, "primary_connection_string", primary_connection_string)
31
+ if primary_key and not isinstance(primary_key, str):
32
+ raise TypeError("Expected argument 'primary_key' to be a str")
33
+ pulumi.set(__self__, "primary_key", primary_key)
34
+ if secondary_connection_string and not isinstance(secondary_connection_string, str):
35
+ raise TypeError("Expected argument 'secondary_connection_string' to be a str")
36
+ pulumi.set(__self__, "secondary_connection_string", secondary_connection_string)
37
+ if secondary_key and not isinstance(secondary_key, str):
38
+ raise TypeError("Expected argument 'secondary_key' to be a str")
39
+ pulumi.set(__self__, "secondary_key", secondary_key)
40
+
41
+ @property
42
+ @pulumi.getter(name="keyName")
43
+ def key_name(self) -> str:
44
+ """
45
+ Gets or sets keyName of the created AuthorizationRule
46
+ """
47
+ return pulumi.get(self, "key_name")
48
+
49
+ @property
50
+ @pulumi.getter(name="primaryConnectionString")
51
+ def primary_connection_string(self) -> str:
52
+ """
53
+ Gets or sets primaryConnectionString of the AuthorizationRule.
54
+ """
55
+ return pulumi.get(self, "primary_connection_string")
56
+
57
+ @property
58
+ @pulumi.getter(name="primaryKey")
59
+ def primary_key(self) -> str:
60
+ """
61
+ Gets or sets primaryKey of the created AuthorizationRule.
62
+ """
63
+ return pulumi.get(self, "primary_key")
64
+
65
+ @property
66
+ @pulumi.getter(name="secondaryConnectionString")
67
+ def secondary_connection_string(self) -> str:
68
+ """
69
+ Gets or sets secondaryConnectionString of the created
70
+ AuthorizationRule
71
+ """
72
+ return pulumi.get(self, "secondary_connection_string")
73
+
74
+ @property
75
+ @pulumi.getter(name="secondaryKey")
76
+ def secondary_key(self) -> str:
77
+ """
78
+ Gets or sets secondaryKey of the created AuthorizationRule
79
+ """
80
+ return pulumi.get(self, "secondary_key")
81
+
82
+
83
+ class AwaitableListNamespaceKeysResult(ListNamespaceKeysResult):
84
+ # pylint: disable=using-constant-test
85
+ def __await__(self):
86
+ if False:
87
+ yield self
88
+ return ListNamespaceKeysResult(
89
+ key_name=self.key_name,
90
+ primary_connection_string=self.primary_connection_string,
91
+ primary_key=self.primary_key,
92
+ secondary_connection_string=self.secondary_connection_string,
93
+ secondary_key=self.secondary_key)
94
+
95
+
96
+ def list_namespace_keys(authorization_rule_name: Optional[str] = None,
97
+ namespace_name: Optional[str] = None,
98
+ resource_group_name: Optional[str] = None,
99
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListNamespaceKeysResult:
100
+ """
101
+ Response for the POST request that returns Namespace or NotificationHub access keys (connection strings).
102
+
103
+
104
+ :param str authorization_rule_name: Authorization Rule Name
105
+ :param str namespace_name: Namespace name
106
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
107
+ """
108
+ __args__ = dict()
109
+ __args__['authorizationRuleName'] = authorization_rule_name
110
+ __args__['namespaceName'] = namespace_name
111
+ __args__['resourceGroupName'] = resource_group_name
112
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
113
+ __ret__ = pulumi.runtime.invoke('azure-native:notificationhubs/v20231001preview:listNamespaceKeys', __args__, opts=opts, typ=ListNamespaceKeysResult).value
114
+
115
+ return AwaitableListNamespaceKeysResult(
116
+ key_name=pulumi.get(__ret__, 'key_name'),
117
+ primary_connection_string=pulumi.get(__ret__, 'primary_connection_string'),
118
+ primary_key=pulumi.get(__ret__, 'primary_key'),
119
+ secondary_connection_string=pulumi.get(__ret__, 'secondary_connection_string'),
120
+ secondary_key=pulumi.get(__ret__, 'secondary_key'))
121
+
122
+
123
+ @_utilities.lift_output_func(list_namespace_keys)
124
+ def list_namespace_keys_output(authorization_rule_name: Optional[pulumi.Input[str]] = None,
125
+ namespace_name: Optional[pulumi.Input[str]] = None,
126
+ resource_group_name: Optional[pulumi.Input[str]] = None,
127
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListNamespaceKeysResult]:
128
+ """
129
+ Response for the POST request that returns Namespace or NotificationHub access keys (connection strings).
130
+
131
+
132
+ :param str authorization_rule_name: Authorization Rule Name
133
+ :param str namespace_name: Namespace name
134
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
135
+ """
136
+ ...