pulumi-azure-native 2.85.0a1737718880__py3-none-any.whl → 2.85.0a1737727749__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 (19) hide show
  1. pulumi_azure_native/__init__.py +2 -0
  2. pulumi_azure_native/network/__init__.py +4 -0
  3. pulumi_azure_native/network/dnssec_config.py +202 -0
  4. pulumi_azure_native/network/get_dnssec_config.py +173 -0
  5. pulumi_azure_native/network/get_network_virtual_appliance_connection.py +197 -0
  6. pulumi_azure_native/network/network_virtual_appliance_connection.py +372 -0
  7. pulumi_azure_native/network/outputs.py +165 -0
  8. pulumi_azure_native/network/v20230601/network_virtual_appliance_connection.py +1 -1
  9. pulumi_azure_native/network/v20230701preview/dnssec_config.py +2 -0
  10. pulumi_azure_native/network/v20230901/network_virtual_appliance_connection.py +1 -1
  11. pulumi_azure_native/network/v20231101/network_virtual_appliance_connection.py +1 -1
  12. pulumi_azure_native/network/v20240101/network_virtual_appliance_connection.py +1 -1
  13. pulumi_azure_native/network/v20240301/network_virtual_appliance_connection.py +1 -1
  14. pulumi_azure_native/network/v20240501/network_virtual_appliance_connection.py +1 -1
  15. pulumi_azure_native/pulumi-plugin.json +1 -1
  16. {pulumi_azure_native-2.85.0a1737718880.dist-info → pulumi_azure_native-2.85.0a1737727749.dist-info}/METADATA +1 -1
  17. {pulumi_azure_native-2.85.0a1737718880.dist-info → pulumi_azure_native-2.85.0a1737727749.dist-info}/RECORD +19 -15
  18. {pulumi_azure_native-2.85.0a1737718880.dist-info → pulumi_azure_native-2.85.0a1737727749.dist-info}/WHEEL +0 -0
  19. {pulumi_azure_native-2.85.0a1737718880.dist-info → pulumi_azure_native-2.85.0a1737727749.dist-info}/top_level.txt +0 -0
@@ -14290,6 +14290,7 @@ _utilities.register(
14290
14290
  "azure-native:network:DnsResolverPolicy": "DnsResolverPolicy",
14291
14291
  "azure-native:network:DnsResolverPolicyVirtualNetworkLink": "DnsResolverPolicyVirtualNetworkLink",
14292
14292
  "azure-native:network:DnsSecurityRule": "DnsSecurityRule",
14293
+ "azure-native:network:DnssecConfig": "DnssecConfig",
14293
14294
  "azure-native:network:DscpConfiguration": "DscpConfiguration",
14294
14295
  "azure-native:network:Endpoint": "Endpoint",
14295
14296
  "azure-native:network:Experiment": "Experiment",
@@ -14334,6 +14335,7 @@ _utilities.register(
14334
14335
  "azure-native:network:NetworkSecurityGroup": "NetworkSecurityGroup",
14335
14336
  "azure-native:network:NetworkSecurityPerimeter": "NetworkSecurityPerimeter",
14336
14337
  "azure-native:network:NetworkVirtualAppliance": "NetworkVirtualAppliance",
14338
+ "azure-native:network:NetworkVirtualApplianceConnection": "NetworkVirtualApplianceConnection",
14337
14339
  "azure-native:network:NetworkWatcher": "NetworkWatcher",
14338
14340
  "azure-native:network:NspAccessRule": "NspAccessRule",
14339
14341
  "azure-native:network:NspAssociation": "NspAssociation",
@@ -27,6 +27,7 @@ from .dns_resolver_domain_list import *
27
27
  from .dns_resolver_policy import *
28
28
  from .dns_resolver_policy_virtual_network_link import *
29
29
  from .dns_security_rule import *
30
+ from .dnssec_config import *
30
31
  from .dscp_configuration import *
31
32
  from .endpoint import *
32
33
  from .experiment import *
@@ -72,6 +73,7 @@ from .get_dns_resolver_policy import *
72
73
  from .get_dns_resolver_policy_virtual_network_link import *
73
74
  from .get_dns_resource_reference_by_tar_resources import *
74
75
  from .get_dns_security_rule import *
76
+ from .get_dnssec_config import *
75
77
  from .get_dscp_configuration import *
76
78
  from .get_endpoint import *
77
79
  from .get_experiment import *
@@ -117,6 +119,7 @@ from .get_network_profile import *
117
119
  from .get_network_security_group import *
118
120
  from .get_network_security_perimeter import *
119
121
  from .get_network_virtual_appliance import *
122
+ from .get_network_virtual_appliance_connection import *
120
123
  from .get_network_watcher import *
121
124
  from .get_nsp_access_rule import *
122
125
  from .get_nsp_association import *
@@ -242,6 +245,7 @@ from .network_profile import *
242
245
  from .network_security_group import *
243
246
  from .network_security_perimeter import *
244
247
  from .network_virtual_appliance import *
248
+ from .network_virtual_appliance_connection import *
245
249
  from .network_watcher import *
246
250
  from .nsp_access_rule import *
247
251
  from .nsp_association import *
@@ -0,0 +1,202 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = ['DnssecConfigArgs', 'DnssecConfig']
19
+
20
+ @pulumi.input_type
21
+ class DnssecConfigArgs:
22
+ def __init__(__self__, *,
23
+ resource_group_name: pulumi.Input[str],
24
+ zone_name: pulumi.Input[str]):
25
+ """
26
+ The set of arguments for constructing a DnssecConfig resource.
27
+ :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
28
+ :param pulumi.Input[str] zone_name: The name of the DNS zone (without a terminating dot).
29
+ """
30
+ pulumi.set(__self__, "resource_group_name", resource_group_name)
31
+ pulumi.set(__self__, "zone_name", zone_name)
32
+
33
+ @property
34
+ @pulumi.getter(name="resourceGroupName")
35
+ def resource_group_name(self) -> pulumi.Input[str]:
36
+ """
37
+ The name of the resource group. The name is case insensitive.
38
+ """
39
+ return pulumi.get(self, "resource_group_name")
40
+
41
+ @resource_group_name.setter
42
+ def resource_group_name(self, value: pulumi.Input[str]):
43
+ pulumi.set(self, "resource_group_name", value)
44
+
45
+ @property
46
+ @pulumi.getter(name="zoneName")
47
+ def zone_name(self) -> pulumi.Input[str]:
48
+ """
49
+ The name of the DNS zone (without a terminating dot).
50
+ """
51
+ return pulumi.get(self, "zone_name")
52
+
53
+ @zone_name.setter
54
+ def zone_name(self, value: pulumi.Input[str]):
55
+ pulumi.set(self, "zone_name", value)
56
+
57
+
58
+ class DnssecConfig(pulumi.CustomResource):
59
+ @overload
60
+ def __init__(__self__,
61
+ resource_name: str,
62
+ opts: Optional[pulumi.ResourceOptions] = None,
63
+ resource_group_name: Optional[pulumi.Input[str]] = None,
64
+ zone_name: Optional[pulumi.Input[str]] = None,
65
+ __props__=None):
66
+ """
67
+ Represents the DNSSEC configuration.
68
+ Azure REST API version: 2023-07-01-preview.
69
+
70
+ :param str resource_name: The name of the resource.
71
+ :param pulumi.ResourceOptions opts: Options for the resource.
72
+ :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
73
+ :param pulumi.Input[str] zone_name: The name of the DNS zone (without a terminating dot).
74
+ """
75
+ ...
76
+ @overload
77
+ def __init__(__self__,
78
+ resource_name: str,
79
+ args: DnssecConfigArgs,
80
+ opts: Optional[pulumi.ResourceOptions] = None):
81
+ """
82
+ Represents the DNSSEC configuration.
83
+ Azure REST API version: 2023-07-01-preview.
84
+
85
+ :param str resource_name: The name of the resource.
86
+ :param DnssecConfigArgs args: The arguments to use to populate this resource's properties.
87
+ :param pulumi.ResourceOptions opts: Options for the resource.
88
+ """
89
+ ...
90
+ def __init__(__self__, resource_name: str, *args, **kwargs):
91
+ resource_args, opts = _utilities.get_resource_args_opts(DnssecConfigArgs, pulumi.ResourceOptions, *args, **kwargs)
92
+ if resource_args is not None:
93
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
94
+ else:
95
+ __self__._internal_init(resource_name, *args, **kwargs)
96
+
97
+ def _internal_init(__self__,
98
+ resource_name: str,
99
+ opts: Optional[pulumi.ResourceOptions] = None,
100
+ resource_group_name: Optional[pulumi.Input[str]] = None,
101
+ zone_name: Optional[pulumi.Input[str]] = None,
102
+ __props__=None):
103
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
104
+ if not isinstance(opts, pulumi.ResourceOptions):
105
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
106
+ if opts.id is None:
107
+ if __props__ is not None:
108
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
109
+ __props__ = DnssecConfigArgs.__new__(DnssecConfigArgs)
110
+
111
+ if resource_group_name is None and not opts.urn:
112
+ raise TypeError("Missing required property 'resource_group_name'")
113
+ __props__.__dict__["resource_group_name"] = resource_group_name
114
+ if zone_name is None and not opts.urn:
115
+ raise TypeError("Missing required property 'zone_name'")
116
+ __props__.__dict__["zone_name"] = zone_name
117
+ __props__.__dict__["etag"] = None
118
+ __props__.__dict__["name"] = None
119
+ __props__.__dict__["provisioning_state"] = None
120
+ __props__.__dict__["signing_keys"] = None
121
+ __props__.__dict__["system_data"] = None
122
+ __props__.__dict__["type"] = None
123
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:network/v20230701preview:DnssecConfig")])
124
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
125
+ super(DnssecConfig, __self__).__init__(
126
+ 'azure-native:network:DnssecConfig',
127
+ resource_name,
128
+ __props__,
129
+ opts)
130
+
131
+ @staticmethod
132
+ def get(resource_name: str,
133
+ id: pulumi.Input[str],
134
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'DnssecConfig':
135
+ """
136
+ Get an existing DnssecConfig resource's state with the given name, id, and optional extra
137
+ properties used to qualify the lookup.
138
+
139
+ :param str resource_name: The unique name of the resulting resource.
140
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
141
+ :param pulumi.ResourceOptions opts: Options for the resource.
142
+ """
143
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
144
+
145
+ __props__ = DnssecConfigArgs.__new__(DnssecConfigArgs)
146
+
147
+ __props__.__dict__["etag"] = None
148
+ __props__.__dict__["name"] = None
149
+ __props__.__dict__["provisioning_state"] = None
150
+ __props__.__dict__["signing_keys"] = None
151
+ __props__.__dict__["system_data"] = None
152
+ __props__.__dict__["type"] = None
153
+ return DnssecConfig(resource_name, opts=opts, __props__=__props__)
154
+
155
+ @property
156
+ @pulumi.getter
157
+ def etag(self) -> pulumi.Output[Optional[str]]:
158
+ """
159
+ The etag of the DNSSEC configuration.
160
+ """
161
+ return pulumi.get(self, "etag")
162
+
163
+ @property
164
+ @pulumi.getter
165
+ def name(self) -> pulumi.Output[str]:
166
+ """
167
+ The name of the DNSSEC configuration.
168
+ """
169
+ return pulumi.get(self, "name")
170
+
171
+ @property
172
+ @pulumi.getter(name="provisioningState")
173
+ def provisioning_state(self) -> pulumi.Output[str]:
174
+ """
175
+ Provisioning State of the DNSSEC configuration.
176
+ """
177
+ return pulumi.get(self, "provisioning_state")
178
+
179
+ @property
180
+ @pulumi.getter(name="signingKeys")
181
+ def signing_keys(self) -> pulumi.Output[Sequence['outputs.SigningKeyResponse']]:
182
+ """
183
+ The list of signing keys.
184
+ """
185
+ return pulumi.get(self, "signing_keys")
186
+
187
+ @property
188
+ @pulumi.getter(name="systemData")
189
+ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
190
+ """
191
+ Metadata pertaining to creation and last modification of the resource.
192
+ """
193
+ return pulumi.get(self, "system_data")
194
+
195
+ @property
196
+ @pulumi.getter
197
+ def type(self) -> pulumi.Output[str]:
198
+ """
199
+ The type of the DNSSEC configuration.
200
+ """
201
+ return pulumi.get(self, "type")
202
+
@@ -0,0 +1,173 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetDnssecConfigResult',
20
+ 'AwaitableGetDnssecConfigResult',
21
+ 'get_dnssec_config',
22
+ 'get_dnssec_config_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetDnssecConfigResult:
27
+ """
28
+ Represents the DNSSEC configuration.
29
+ """
30
+ def __init__(__self__, etag=None, id=None, name=None, provisioning_state=None, signing_keys=None, system_data=None, type=None):
31
+ if etag and not isinstance(etag, str):
32
+ raise TypeError("Expected argument 'etag' to be a str")
33
+ pulumi.set(__self__, "etag", etag)
34
+ if id and not isinstance(id, str):
35
+ raise TypeError("Expected argument 'id' to be a str")
36
+ pulumi.set(__self__, "id", id)
37
+ if name and not isinstance(name, str):
38
+ raise TypeError("Expected argument 'name' to be a str")
39
+ pulumi.set(__self__, "name", name)
40
+ if provisioning_state and not isinstance(provisioning_state, str):
41
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
42
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
43
+ if signing_keys and not isinstance(signing_keys, list):
44
+ raise TypeError("Expected argument 'signing_keys' to be a list")
45
+ pulumi.set(__self__, "signing_keys", signing_keys)
46
+ if system_data and not isinstance(system_data, dict):
47
+ raise TypeError("Expected argument 'system_data' to be a dict")
48
+ pulumi.set(__self__, "system_data", system_data)
49
+ if type and not isinstance(type, str):
50
+ raise TypeError("Expected argument 'type' to be a str")
51
+ pulumi.set(__self__, "type", type)
52
+
53
+ @property
54
+ @pulumi.getter
55
+ def etag(self) -> Optional[str]:
56
+ """
57
+ The etag of the DNSSEC configuration.
58
+ """
59
+ return pulumi.get(self, "etag")
60
+
61
+ @property
62
+ @pulumi.getter
63
+ def id(self) -> str:
64
+ """
65
+ The ID of the DNSSEC configuration.
66
+ """
67
+ return pulumi.get(self, "id")
68
+
69
+ @property
70
+ @pulumi.getter
71
+ def name(self) -> str:
72
+ """
73
+ The name of the DNSSEC configuration.
74
+ """
75
+ return pulumi.get(self, "name")
76
+
77
+ @property
78
+ @pulumi.getter(name="provisioningState")
79
+ def provisioning_state(self) -> str:
80
+ """
81
+ Provisioning State of the DNSSEC configuration.
82
+ """
83
+ return pulumi.get(self, "provisioning_state")
84
+
85
+ @property
86
+ @pulumi.getter(name="signingKeys")
87
+ def signing_keys(self) -> Sequence['outputs.SigningKeyResponse']:
88
+ """
89
+ The list of signing keys.
90
+ """
91
+ return pulumi.get(self, "signing_keys")
92
+
93
+ @property
94
+ @pulumi.getter(name="systemData")
95
+ def system_data(self) -> 'outputs.SystemDataResponse':
96
+ """
97
+ Metadata pertaining to creation and last modification of the resource.
98
+ """
99
+ return pulumi.get(self, "system_data")
100
+
101
+ @property
102
+ @pulumi.getter
103
+ def type(self) -> str:
104
+ """
105
+ The type of the DNSSEC configuration.
106
+ """
107
+ return pulumi.get(self, "type")
108
+
109
+
110
+ class AwaitableGetDnssecConfigResult(GetDnssecConfigResult):
111
+ # pylint: disable=using-constant-test
112
+ def __await__(self):
113
+ if False:
114
+ yield self
115
+ return GetDnssecConfigResult(
116
+ etag=self.etag,
117
+ id=self.id,
118
+ name=self.name,
119
+ provisioning_state=self.provisioning_state,
120
+ signing_keys=self.signing_keys,
121
+ system_data=self.system_data,
122
+ type=self.type)
123
+
124
+
125
+ def get_dnssec_config(resource_group_name: Optional[str] = None,
126
+ zone_name: Optional[str] = None,
127
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDnssecConfigResult:
128
+ """
129
+ Gets the DNSSEC configuration.
130
+ Azure REST API version: 2023-07-01-preview.
131
+
132
+
133
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
134
+ :param str zone_name: The name of the DNS zone (without a terminating dot).
135
+ """
136
+ __args__ = dict()
137
+ __args__['resourceGroupName'] = resource_group_name
138
+ __args__['zoneName'] = zone_name
139
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
140
+ __ret__ = pulumi.runtime.invoke('azure-native:network:getDnssecConfig', __args__, opts=opts, typ=GetDnssecConfigResult).value
141
+
142
+ return AwaitableGetDnssecConfigResult(
143
+ etag=pulumi.get(__ret__, 'etag'),
144
+ id=pulumi.get(__ret__, 'id'),
145
+ name=pulumi.get(__ret__, 'name'),
146
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
147
+ signing_keys=pulumi.get(__ret__, 'signing_keys'),
148
+ system_data=pulumi.get(__ret__, 'system_data'),
149
+ type=pulumi.get(__ret__, 'type'))
150
+ def get_dnssec_config_output(resource_group_name: Optional[pulumi.Input[str]] = None,
151
+ zone_name: Optional[pulumi.Input[str]] = None,
152
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDnssecConfigResult]:
153
+ """
154
+ Gets the DNSSEC configuration.
155
+ Azure REST API version: 2023-07-01-preview.
156
+
157
+
158
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
159
+ :param str zone_name: The name of the DNS zone (without a terminating dot).
160
+ """
161
+ __args__ = dict()
162
+ __args__['resourceGroupName'] = resource_group_name
163
+ __args__['zoneName'] = zone_name
164
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
165
+ __ret__ = pulumi.runtime.invoke_output('azure-native:network:getDnssecConfig', __args__, opts=opts, typ=GetDnssecConfigResult)
166
+ return __ret__.apply(lambda __response__: GetDnssecConfigResult(
167
+ etag=pulumi.get(__response__, 'etag'),
168
+ id=pulumi.get(__response__, 'id'),
169
+ name=pulumi.get(__response__, 'name'),
170
+ provisioning_state=pulumi.get(__response__, 'provisioning_state'),
171
+ signing_keys=pulumi.get(__response__, 'signing_keys'),
172
+ system_data=pulumi.get(__response__, 'system_data'),
173
+ type=pulumi.get(__response__, 'type')))
@@ -0,0 +1,197 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetNetworkVirtualApplianceConnectionResult',
20
+ 'AwaitableGetNetworkVirtualApplianceConnectionResult',
21
+ 'get_network_virtual_appliance_connection',
22
+ 'get_network_virtual_appliance_connection_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetNetworkVirtualApplianceConnectionResult:
27
+ """
28
+ NetworkVirtualApplianceConnection resource.
29
+ """
30
+ def __init__(__self__, asn=None, bgp_peer_address=None, enable_internet_security=None, id=None, name=None, provisioning_state=None, routing_configuration=None, tunnel_identifier=None):
31
+ if asn and not isinstance(asn, float):
32
+ raise TypeError("Expected argument 'asn' to be a float")
33
+ pulumi.set(__self__, "asn", asn)
34
+ if bgp_peer_address and not isinstance(bgp_peer_address, list):
35
+ raise TypeError("Expected argument 'bgp_peer_address' to be a list")
36
+ pulumi.set(__self__, "bgp_peer_address", bgp_peer_address)
37
+ if enable_internet_security and not isinstance(enable_internet_security, bool):
38
+ raise TypeError("Expected argument 'enable_internet_security' to be a bool")
39
+ pulumi.set(__self__, "enable_internet_security", enable_internet_security)
40
+ if id and not isinstance(id, str):
41
+ raise TypeError("Expected argument 'id' to be a str")
42
+ pulumi.set(__self__, "id", id)
43
+ if name and not isinstance(name, str):
44
+ raise TypeError("Expected argument 'name' to be a str")
45
+ pulumi.set(__self__, "name", name)
46
+ if provisioning_state and not isinstance(provisioning_state, str):
47
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
48
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
49
+ if routing_configuration and not isinstance(routing_configuration, dict):
50
+ raise TypeError("Expected argument 'routing_configuration' to be a dict")
51
+ pulumi.set(__self__, "routing_configuration", routing_configuration)
52
+ if tunnel_identifier and not isinstance(tunnel_identifier, float):
53
+ raise TypeError("Expected argument 'tunnel_identifier' to be a float")
54
+ pulumi.set(__self__, "tunnel_identifier", tunnel_identifier)
55
+
56
+ @property
57
+ @pulumi.getter
58
+ def asn(self) -> Optional[float]:
59
+ """
60
+ Network Virtual Appliance ASN.
61
+ """
62
+ return pulumi.get(self, "asn")
63
+
64
+ @property
65
+ @pulumi.getter(name="bgpPeerAddress")
66
+ def bgp_peer_address(self) -> Optional[Sequence[str]]:
67
+ """
68
+ List of bgpPeerAddresses for the NVA instances
69
+ """
70
+ return pulumi.get(self, "bgp_peer_address")
71
+
72
+ @property
73
+ @pulumi.getter(name="enableInternetSecurity")
74
+ def enable_internet_security(self) -> Optional[bool]:
75
+ """
76
+ Enable internet security.
77
+ """
78
+ return pulumi.get(self, "enable_internet_security")
79
+
80
+ @property
81
+ @pulumi.getter
82
+ def id(self) -> Optional[str]:
83
+ """
84
+ Resource ID.
85
+ """
86
+ return pulumi.get(self, "id")
87
+
88
+ @property
89
+ @pulumi.getter
90
+ def name(self) -> Optional[str]:
91
+ """
92
+ The name of the resource.
93
+ """
94
+ return pulumi.get(self, "name")
95
+
96
+ @property
97
+ @pulumi.getter(name="provisioningState")
98
+ def provisioning_state(self) -> str:
99
+ """
100
+ The provisioning state of the NetworkVirtualApplianceConnection resource.
101
+ """
102
+ return pulumi.get(self, "provisioning_state")
103
+
104
+ @property
105
+ @pulumi.getter(name="routingConfiguration")
106
+ def routing_configuration(self) -> Optional['outputs.RoutingConfigurationResponse']:
107
+ """
108
+ The Routing Configuration indicating the associated and propagated route tables on this connection.
109
+ """
110
+ return pulumi.get(self, "routing_configuration")
111
+
112
+ @property
113
+ @pulumi.getter(name="tunnelIdentifier")
114
+ def tunnel_identifier(self) -> Optional[float]:
115
+ """
116
+ Unique identifier for the connection.
117
+ """
118
+ return pulumi.get(self, "tunnel_identifier")
119
+
120
+
121
+ class AwaitableGetNetworkVirtualApplianceConnectionResult(GetNetworkVirtualApplianceConnectionResult):
122
+ # pylint: disable=using-constant-test
123
+ def __await__(self):
124
+ if False:
125
+ yield self
126
+ return GetNetworkVirtualApplianceConnectionResult(
127
+ asn=self.asn,
128
+ bgp_peer_address=self.bgp_peer_address,
129
+ enable_internet_security=self.enable_internet_security,
130
+ id=self.id,
131
+ name=self.name,
132
+ provisioning_state=self.provisioning_state,
133
+ routing_configuration=self.routing_configuration,
134
+ tunnel_identifier=self.tunnel_identifier)
135
+
136
+
137
+ def get_network_virtual_appliance_connection(connection_name: Optional[str] = None,
138
+ network_virtual_appliance_name: Optional[str] = None,
139
+ resource_group_name: Optional[str] = None,
140
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkVirtualApplianceConnectionResult:
141
+ """
142
+ Retrieves the details of specified NVA connection.
143
+ Azure REST API version: 2023-06-01.
144
+
145
+ Other available API versions: 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.
146
+
147
+
148
+ :param str connection_name: The name of the NVA connection.
149
+ :param str network_virtual_appliance_name: The name of the Network Virtual Appliance.
150
+ :param str resource_group_name: The name of the resource group.
151
+ """
152
+ __args__ = dict()
153
+ __args__['connectionName'] = connection_name
154
+ __args__['networkVirtualApplianceName'] = network_virtual_appliance_name
155
+ __args__['resourceGroupName'] = resource_group_name
156
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
157
+ __ret__ = pulumi.runtime.invoke('azure-native:network:getNetworkVirtualApplianceConnection', __args__, opts=opts, typ=GetNetworkVirtualApplianceConnectionResult).value
158
+
159
+ return AwaitableGetNetworkVirtualApplianceConnectionResult(
160
+ asn=pulumi.get(__ret__, 'asn'),
161
+ bgp_peer_address=pulumi.get(__ret__, 'bgp_peer_address'),
162
+ enable_internet_security=pulumi.get(__ret__, 'enable_internet_security'),
163
+ id=pulumi.get(__ret__, 'id'),
164
+ name=pulumi.get(__ret__, 'name'),
165
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
166
+ routing_configuration=pulumi.get(__ret__, 'routing_configuration'),
167
+ tunnel_identifier=pulumi.get(__ret__, 'tunnel_identifier'))
168
+ def get_network_virtual_appliance_connection_output(connection_name: Optional[pulumi.Input[str]] = None,
169
+ network_virtual_appliance_name: Optional[pulumi.Input[str]] = None,
170
+ resource_group_name: Optional[pulumi.Input[str]] = None,
171
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworkVirtualApplianceConnectionResult]:
172
+ """
173
+ Retrieves the details of specified NVA connection.
174
+ Azure REST API version: 2023-06-01.
175
+
176
+ Other available API versions: 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.
177
+
178
+
179
+ :param str connection_name: The name of the NVA connection.
180
+ :param str network_virtual_appliance_name: The name of the Network Virtual Appliance.
181
+ :param str resource_group_name: The name of the resource group.
182
+ """
183
+ __args__ = dict()
184
+ __args__['connectionName'] = connection_name
185
+ __args__['networkVirtualApplianceName'] = network_virtual_appliance_name
186
+ __args__['resourceGroupName'] = resource_group_name
187
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
188
+ __ret__ = pulumi.runtime.invoke_output('azure-native:network:getNetworkVirtualApplianceConnection', __args__, opts=opts, typ=GetNetworkVirtualApplianceConnectionResult)
189
+ return __ret__.apply(lambda __response__: GetNetworkVirtualApplianceConnectionResult(
190
+ asn=pulumi.get(__response__, 'asn'),
191
+ bgp_peer_address=pulumi.get(__response__, 'bgp_peer_address'),
192
+ enable_internet_security=pulumi.get(__response__, 'enable_internet_security'),
193
+ id=pulumi.get(__response__, 'id'),
194
+ name=pulumi.get(__response__, 'name'),
195
+ provisioning_state=pulumi.get(__response__, 'provisioning_state'),
196
+ routing_configuration=pulumi.get(__response__, 'routing_configuration'),
197
+ tunnel_identifier=pulumi.get(__response__, 'tunnel_identifier')))