Workaround pulumi/pulumi#3621
MODIFY
azure-py-vm-scaleset/__main__.py
azure-py-vm-scaleset/__main__.py
@@ -63,7 +63,8 @@ subnet = network.Subnet(
"subnet",
resource_group_name=resource_group.name,
address_prefix="10.0.2.0/24",
- virtual_network_name=vnet.name)
+ virtual_network_name=vnet.name,
+ enforce_private_link_endpoint_network_policies="false")
scale_set = compute.ScaleSet(
"vmscaleset",

MODIFY
azure-py-webserver/__main__.py
azure-py-webserver/__main__.py
@@ -21,7 +21,8 @@ subnet = network.Subnet(
"server-subnet",
resource_group_name=resource_group.name,
virtual_network_name=net.name,
- address_prefix="10.0.2.0/24")
+ address_prefix="10.0.2.0/24",
+ enforce_private_link_endpoint_network_policies="false")
public_ip = network.PublicIp(
"server-ip",
resource_group_name=resource_group.name,

MODIFY
azure-ts-vm-scaleset/index.ts
azure-ts-vm-scaleset/index.ts
@@ -62,6 +62,7 @@ const vnet = new azure.network.VirtualNetwork("vnet", {
});
const subnet = new azure.network.Subnet("subnet", {
+ enforcePrivateLinkEndpointNetworkPolicies: false,
resourceGroupName: resourceGroup.name,
addressPrefix: "10.0.2.0/24",
virtualNetworkName: vnet.name,

Workaround pulumi/pulumi#3621