sparse-intern-71089
09/03/2021, 9:25 AMtall-librarian-49374
09/03/2021, 9:28 AMtall-librarian-49374
09/03/2021, 9:30 AMtall-librarian-49374
09/03/2021, 9:31 AMhandsome-state-59775
09/03/2021, 9:39 AMerror: Code="Failed" Message="The async operation failed." AdditionalInfo=[{"message":"No HTTP resource was found that matches the request URI '<https://management.azure.com/subscriptions/.../providers/Microsoft.Network/publicIPAddresses/iacazuresandbox-ingress-ip?api-version=2020-08-01>'."}]
with v20201101, same InvalidApiVersionParameter as without specifying API versionhandsome-state-59775
09/03/2021, 9:40 AMimport pulumi as p
import pulumi_azure_native as az
import pulumi_azure_native.network as net
def create_public_static_ingress_ip(
resource_group: az.resources.ResourceGroup,
resource_name: str,
location: str,
tags: Mapping[str, str],
) -> None:
"""Provisions a static IP for use with the cluster ingress."""
api = net.v20201101
public_static_ip = api.PublicIPAddress(
resource_name=resource_name,
resource_group_name=resource_group,
public_ip_address_name=resource_name,
location=location,
public_ip_allocation_method=api.IPAllocationMethod.STATIC,
sku=api.PublicIPAddressSkuArgs(
name=api.PublicIPAddressSkuName.STANDARD,
tier=api.PublicIPAddressSkuTier.GLOBAL_,
),
ddos_settings=api.DdosSettingsArgs(
protected_ip=True,
protection_coverage=api.DdosSettingsProtectionCoverage(
value=api.DdosSettingsProtectionCoverage.STANDARD,
),
),
tags=tags,
opts=p.ResourceOptions(
protect=True,
),
)
p.export('ingress-ip', public_static_ip)
handsome-state-59775
09/03/2021, 9:41 AMpulumi-azure-native==1.25.0
pulumi==3.11.0
handsome-state-59775
09/03/2021, 9:53 AMtall-librarian-49374
09/03/2021, 10:46 AM