pulumi-azure-native 2.19.1a1701158701__py3-none-any.whl → 2.19.1a1701217948__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.19.1a1701217948.dist-info}/METADATA +1 -1
  107. {pulumi_azure_native-2.19.1a1701158701.dist-info → pulumi_azure_native-2.19.1a1701217948.dist-info}/RECORD +109 -77
  108. {pulumi_azure_native-2.19.1a1701158701.dist-info → pulumi_azure_native-2.19.1a1701217948.dist-info}/WHEEL +0 -0
  109. {pulumi_azure_native-2.19.1a1701158701.dist-info → pulumi_azure_native-2.19.1a1701217948.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,170 @@
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
+ 'GetNamespaceResult',
15
+ 'AwaitableGetNamespaceResult',
16
+ 'get_namespace',
17
+ 'get_namespace_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetNamespaceResult:
22
+ """
23
+ Notification Hubs Namespace Resource.
24
+ """
25
+ def __init__(__self__, id=None, location=None, name=None, properties=None, sku=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 sku and not isinstance(sku, dict):
39
+ raise TypeError("Expected argument 'sku' to be a dict")
40
+ pulumi.set(__self__, "sku", sku)
41
+ if system_data and not isinstance(system_data, dict):
42
+ raise TypeError("Expected argument 'system_data' to be a dict")
43
+ pulumi.set(__self__, "system_data", system_data)
44
+ if tags and not isinstance(tags, dict):
45
+ raise TypeError("Expected argument 'tags' to be a dict")
46
+ pulumi.set(__self__, "tags", tags)
47
+ if type and not isinstance(type, str):
48
+ raise TypeError("Expected argument 'type' to be a str")
49
+ pulumi.set(__self__, "type", type)
50
+
51
+ @property
52
+ @pulumi.getter
53
+ def id(self) -> str:
54
+ """
55
+ Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
56
+ """
57
+ return pulumi.get(self, "id")
58
+
59
+ @property
60
+ @pulumi.getter
61
+ def location(self) -> str:
62
+ """
63
+ The geo-location where the resource lives
64
+ """
65
+ return pulumi.get(self, "location")
66
+
67
+ @property
68
+ @pulumi.getter
69
+ def name(self) -> str:
70
+ """
71
+ The name of the resource
72
+ """
73
+ return pulumi.get(self, "name")
74
+
75
+ @property
76
+ @pulumi.getter
77
+ def properties(self) -> 'outputs.NamespacePropertiesResponse':
78
+ """
79
+ Represents namespace properties.
80
+ """
81
+ return pulumi.get(self, "properties")
82
+
83
+ @property
84
+ @pulumi.getter
85
+ def sku(self) -> 'outputs.SkuResponse':
86
+ """
87
+ The Sku description for a namespace
88
+ """
89
+ return pulumi.get(self, "sku")
90
+
91
+ @property
92
+ @pulumi.getter(name="systemData")
93
+ def system_data(self) -> 'outputs.SystemDataResponse':
94
+ """
95
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
96
+ """
97
+ return pulumi.get(self, "system_data")
98
+
99
+ @property
100
+ @pulumi.getter
101
+ def tags(self) -> Optional[Mapping[str, str]]:
102
+ """
103
+ Resource tags.
104
+ """
105
+ return pulumi.get(self, "tags")
106
+
107
+ @property
108
+ @pulumi.getter
109
+ def type(self) -> str:
110
+ """
111
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
112
+ """
113
+ return pulumi.get(self, "type")
114
+
115
+
116
+ class AwaitableGetNamespaceResult(GetNamespaceResult):
117
+ # pylint: disable=using-constant-test
118
+ def __await__(self):
119
+ if False:
120
+ yield self
121
+ return GetNamespaceResult(
122
+ id=self.id,
123
+ location=self.location,
124
+ name=self.name,
125
+ properties=self.properties,
126
+ sku=self.sku,
127
+ system_data=self.system_data,
128
+ tags=self.tags,
129
+ type=self.type)
130
+
131
+
132
+ def get_namespace(namespace_name: Optional[str] = None,
133
+ resource_group_name: Optional[str] = None,
134
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNamespaceResult:
135
+ """
136
+ Notification Hubs Namespace Resource.
137
+
138
+
139
+ :param str namespace_name: Namespace name
140
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
141
+ """
142
+ __args__ = dict()
143
+ __args__['namespaceName'] = namespace_name
144
+ __args__['resourceGroupName'] = resource_group_name
145
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
146
+ __ret__ = pulumi.runtime.invoke('azure-native:notificationhubs/v20231001preview:getNamespace', __args__, opts=opts, typ=GetNamespaceResult).value
147
+
148
+ return AwaitableGetNamespaceResult(
149
+ id=pulumi.get(__ret__, 'id'),
150
+ location=pulumi.get(__ret__, 'location'),
151
+ name=pulumi.get(__ret__, 'name'),
152
+ properties=pulumi.get(__ret__, 'properties'),
153
+ sku=pulumi.get(__ret__, 'sku'),
154
+ system_data=pulumi.get(__ret__, 'system_data'),
155
+ tags=pulumi.get(__ret__, 'tags'),
156
+ type=pulumi.get(__ret__, 'type'))
157
+
158
+
159
+ @_utilities.lift_output_func(get_namespace)
160
+ def get_namespace_output(namespace_name: Optional[pulumi.Input[str]] = None,
161
+ resource_group_name: Optional[pulumi.Input[str]] = None,
162
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNamespaceResult]:
163
+ """
164
+ Notification Hubs Namespace Resource.
165
+
166
+
167
+ :param str namespace_name: Namespace name
168
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
169
+ """
170
+ ...
@@ -0,0 +1,162 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from ... import _utilities
11
+ from . import outputs
12
+
13
+ __all__ = [
14
+ 'GetNamespaceAuthorizationRuleResult',
15
+ 'AwaitableGetNamespaceAuthorizationRuleResult',
16
+ 'get_namespace_authorization_rule',
17
+ 'get_namespace_authorization_rule_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetNamespaceAuthorizationRuleResult:
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 AwaitableGetNamespaceAuthorizationRuleResult(GetNamespaceAuthorizationRuleResult):
106
+ # pylint: disable=using-constant-test
107
+ def __await__(self):
108
+ if False:
109
+ yield self
110
+ return GetNamespaceAuthorizationRuleResult(
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_namespace_authorization_rule(authorization_rule_name: Optional[str] = None,
121
+ namespace_name: Optional[str] = None,
122
+ resource_group_name: Optional[str] = None,
123
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNamespaceAuthorizationRuleResult:
124
+ """
125
+ Response for POST requests that return single SharedAccessAuthorizationRule.
126
+
127
+
128
+ :param str authorization_rule_name: Authorization Rule Name
129
+ :param str namespace_name: Namespace name
130
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
131
+ """
132
+ __args__ = dict()
133
+ __args__['authorizationRuleName'] = authorization_rule_name
134
+ __args__['namespaceName'] = namespace_name
135
+ __args__['resourceGroupName'] = resource_group_name
136
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
137
+ __ret__ = pulumi.runtime.invoke('azure-native:notificationhubs/v20231001preview:getNamespaceAuthorizationRule', __args__, opts=opts, typ=GetNamespaceAuthorizationRuleResult).value
138
+
139
+ return AwaitableGetNamespaceAuthorizationRuleResult(
140
+ id=pulumi.get(__ret__, 'id'),
141
+ location=pulumi.get(__ret__, 'location'),
142
+ name=pulumi.get(__ret__, 'name'),
143
+ properties=pulumi.get(__ret__, 'properties'),
144
+ system_data=pulumi.get(__ret__, 'system_data'),
145
+ tags=pulumi.get(__ret__, 'tags'),
146
+ type=pulumi.get(__ret__, 'type'))
147
+
148
+
149
+ @_utilities.lift_output_func(get_namespace_authorization_rule)
150
+ def get_namespace_authorization_rule_output(authorization_rule_name: Optional[pulumi.Input[str]] = None,
151
+ namespace_name: Optional[pulumi.Input[str]] = None,
152
+ resource_group_name: Optional[pulumi.Input[str]] = None,
153
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNamespaceAuthorizationRuleResult]:
154
+ """
155
+ Response for POST requests that return single SharedAccessAuthorizationRule.
156
+
157
+
158
+ :param str authorization_rule_name: Authorization Rule Name
159
+ :param str namespace_name: Namespace name
160
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
161
+ """
162
+ ...
@@ -0,0 +1,160 @@
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
+ 'GetNamespacePnsCredentialsResult',
15
+ 'AwaitableGetNamespacePnsCredentialsResult',
16
+ 'get_namespace_pns_credentials',
17
+ 'get_namespace_pns_credentials_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetNamespacePnsCredentialsResult:
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 AwaitableGetNamespacePnsCredentialsResult(GetNamespacePnsCredentialsResult):
107
+ # pylint: disable=using-constant-test
108
+ def __await__(self):
109
+ if False:
110
+ yield self
111
+ return GetNamespacePnsCredentialsResult(
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_namespace_pns_credentials(namespace_name: Optional[str] = None,
122
+ resource_group_name: Optional[str] = None,
123
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNamespacePnsCredentialsResult:
124
+ """
125
+ Description of a NotificationHub PNS Credentials. This is a response of the POST requests that return namespace or hubs
126
+ PNS credentials.
127
+
128
+
129
+ :param str namespace_name: Namespace name
130
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
131
+ """
132
+ __args__ = dict()
133
+ __args__['namespaceName'] = namespace_name
134
+ __args__['resourceGroupName'] = resource_group_name
135
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
136
+ __ret__ = pulumi.runtime.invoke('azure-native:notificationhubs/v20231001preview:getNamespacePnsCredentials', __args__, opts=opts, typ=GetNamespacePnsCredentialsResult).value
137
+
138
+ return AwaitableGetNamespacePnsCredentialsResult(
139
+ id=pulumi.get(__ret__, 'id'),
140
+ location=pulumi.get(__ret__, 'location'),
141
+ name=pulumi.get(__ret__, 'name'),
142
+ properties=pulumi.get(__ret__, 'properties'),
143
+ system_data=pulumi.get(__ret__, 'system_data'),
144
+ tags=pulumi.get(__ret__, 'tags'),
145
+ type=pulumi.get(__ret__, 'type'))
146
+
147
+
148
+ @_utilities.lift_output_func(get_namespace_pns_credentials)
149
+ def get_namespace_pns_credentials_output(namespace_name: Optional[pulumi.Input[str]] = None,
150
+ resource_group_name: Optional[pulumi.Input[str]] = None,
151
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNamespacePnsCredentialsResult]:
152
+ """
153
+ Description of a NotificationHub PNS Credentials. This is a response of the POST requests that return namespace or hubs
154
+ PNS credentials.
155
+
156
+
157
+ :param str namespace_name: Namespace name
158
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
159
+ """
160
+ ...
@@ -0,0 +1,175 @@
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
+ 'GetNotificationHubResult',
15
+ 'AwaitableGetNotificationHubResult',
16
+ 'get_notification_hub',
17
+ 'get_notification_hub_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetNotificationHubResult:
22
+ """
23
+ Notification Hub Resource.
24
+ """
25
+ def __init__(__self__, id=None, location=None, name=None, properties=None, sku=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 sku and not isinstance(sku, dict):
39
+ raise TypeError("Expected argument 'sku' to be a dict")
40
+ pulumi.set(__self__, "sku", sku)
41
+ if system_data and not isinstance(system_data, dict):
42
+ raise TypeError("Expected argument 'system_data' to be a dict")
43
+ pulumi.set(__self__, "system_data", system_data)
44
+ if tags and not isinstance(tags, dict):
45
+ raise TypeError("Expected argument 'tags' to be a dict")
46
+ pulumi.set(__self__, "tags", tags)
47
+ if type and not isinstance(type, str):
48
+ raise TypeError("Expected argument 'type' to be a str")
49
+ pulumi.set(__self__, "type", type)
50
+
51
+ @property
52
+ @pulumi.getter
53
+ def id(self) -> str:
54
+ """
55
+ Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
56
+ """
57
+ return pulumi.get(self, "id")
58
+
59
+ @property
60
+ @pulumi.getter
61
+ def location(self) -> str:
62
+ """
63
+ The geo-location where the resource lives
64
+ """
65
+ return pulumi.get(self, "location")
66
+
67
+ @property
68
+ @pulumi.getter
69
+ def name(self) -> str:
70
+ """
71
+ The name of the resource
72
+ """
73
+ return pulumi.get(self, "name")
74
+
75
+ @property
76
+ @pulumi.getter
77
+ def properties(self) -> 'outputs.NotificationHubPropertiesResponse':
78
+ """
79
+ NotificationHub properties.
80
+ """
81
+ return pulumi.get(self, "properties")
82
+
83
+ @property
84
+ @pulumi.getter
85
+ def sku(self) -> Optional['outputs.SkuResponse']:
86
+ """
87
+ The Sku description for a namespace
88
+ """
89
+ return pulumi.get(self, "sku")
90
+
91
+ @property
92
+ @pulumi.getter(name="systemData")
93
+ def system_data(self) -> 'outputs.SystemDataResponse':
94
+ """
95
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
96
+ """
97
+ return pulumi.get(self, "system_data")
98
+
99
+ @property
100
+ @pulumi.getter
101
+ def tags(self) -> Optional[Mapping[str, str]]:
102
+ """
103
+ Resource tags.
104
+ """
105
+ return pulumi.get(self, "tags")
106
+
107
+ @property
108
+ @pulumi.getter
109
+ def type(self) -> str:
110
+ """
111
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
112
+ """
113
+ return pulumi.get(self, "type")
114
+
115
+
116
+ class AwaitableGetNotificationHubResult(GetNotificationHubResult):
117
+ # pylint: disable=using-constant-test
118
+ def __await__(self):
119
+ if False:
120
+ yield self
121
+ return GetNotificationHubResult(
122
+ id=self.id,
123
+ location=self.location,
124
+ name=self.name,
125
+ properties=self.properties,
126
+ sku=self.sku,
127
+ system_data=self.system_data,
128
+ tags=self.tags,
129
+ type=self.type)
130
+
131
+
132
+ def get_notification_hub(namespace_name: Optional[str] = None,
133
+ notification_hub_name: Optional[str] = None,
134
+ resource_group_name: Optional[str] = None,
135
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotificationHubResult:
136
+ """
137
+ Notification Hub Resource.
138
+
139
+
140
+ :param str namespace_name: Namespace name
141
+ :param str notification_hub_name: Notification Hub name
142
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
143
+ """
144
+ __args__ = dict()
145
+ __args__['namespaceName'] = namespace_name
146
+ __args__['notificationHubName'] = notification_hub_name
147
+ __args__['resourceGroupName'] = resource_group_name
148
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
149
+ __ret__ = pulumi.runtime.invoke('azure-native:notificationhubs/v20231001preview:getNotificationHub', __args__, opts=opts, typ=GetNotificationHubResult).value
150
+
151
+ return AwaitableGetNotificationHubResult(
152
+ id=pulumi.get(__ret__, 'id'),
153
+ location=pulumi.get(__ret__, 'location'),
154
+ name=pulumi.get(__ret__, 'name'),
155
+ properties=pulumi.get(__ret__, 'properties'),
156
+ sku=pulumi.get(__ret__, 'sku'),
157
+ system_data=pulumi.get(__ret__, 'system_data'),
158
+ tags=pulumi.get(__ret__, 'tags'),
159
+ type=pulumi.get(__ret__, 'type'))
160
+
161
+
162
+ @_utilities.lift_output_func(get_notification_hub)
163
+ def get_notification_hub_output(namespace_name: Optional[pulumi.Input[str]] = None,
164
+ notification_hub_name: Optional[pulumi.Input[str]] = None,
165
+ resource_group_name: Optional[pulumi.Input[str]] = None,
166
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNotificationHubResult]:
167
+ """
168
+ Notification Hub Resource.
169
+
170
+
171
+ :param str namespace_name: Namespace name
172
+ :param str notification_hub_name: Notification Hub name
173
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
174
+ """
175
+ ...