azure-native.servicefabric.NodeType
Explore with Pulumi AI
Describes a node type in the cluster, each node type represents sub set of nodes in the cluster. Azure REST API version: 2023-03-01-preview. Prior API version in Azure Native 1.x: 2020-01-01-preview.
Other available API versions: 2021-09-01-privatepreview, 2023-07-01-preview, 2023-09-01-preview, 2023-11-01-preview, 2023-12-01-preview, 2024-02-01-preview, 2024-04-01.
Example Usage
Put a node type with auto-scale parameters
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var nodeType = new AzureNative.ServiceFabric.NodeType("nodeType", new()
{
Capacities =
{
{ "ClientConnections", "65536" },
},
ClusterName = "myCluster",
DataDiskSizeGB = 200,
DataDiskType = AzureNative.ServiceFabric.DiskType.Premium_LRS,
IsPrimary = false,
IsStateless = true,
MultiplePlacementGroups = true,
NodeTypeName = "BE",
PlacementProperties =
{
{ "HasSSD", "true" },
{ "NodeColor", "green" },
{ "SomeProperty", "5" },
},
ResourceGroupName = "resRg",
VmExtensions = new[]
{
new AzureNative.ServiceFabric.Inputs.VMSSExtensionArgs
{
AutoUpgradeMinorVersion = true,
Name = "Microsoft.Azure.Geneva.GenevaMonitoring",
Publisher = "Microsoft.Azure.Geneva",
Settings = null,
Type = "GenevaMonitoring",
TypeHandlerVersion = "2.0",
},
},
VmImageOffer = "WindowsServer",
VmImagePublisher = "MicrosoftWindowsServer",
VmImageSku = "2016-Datacenter-Server-Core",
VmImageVersion = "latest",
VmInstanceCount = -1,
VmManagedIdentity = new AzureNative.ServiceFabric.Inputs.VmManagedIdentityArgs
{
UserAssignedIdentities = new[]
{
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2",
},
},
VmSecrets = new[]
{
new AzureNative.ServiceFabric.Inputs.VaultSecretGroupArgs
{
SourceVault = new AzureNative.ServiceFabric.Inputs.SubResourceArgs
{
Id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault",
},
VaultCertificates = new[]
{
new AzureNative.ServiceFabric.Inputs.VaultCertificateArgs
{
CertificateStore = "My",
CertificateUrl = "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c",
},
},
},
},
VmSize = "Standard_DS3",
});
});
package main
import (
servicefabric "github.com/pulumi/pulumi-azure-native-sdk/servicefabric/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := servicefabric.NewNodeType(ctx, "nodeType", &servicefabric.NodeTypeArgs{
Capacities: pulumi.StringMap{
"ClientConnections": pulumi.String("65536"),
},
ClusterName: pulumi.String("myCluster"),
DataDiskSizeGB: pulumi.Int(200),
DataDiskType: pulumi.String(servicefabric.DiskType_Premium_LRS),
IsPrimary: pulumi.Bool(false),
IsStateless: pulumi.Bool(true),
MultiplePlacementGroups: pulumi.Bool(true),
NodeTypeName: pulumi.String("BE"),
PlacementProperties: pulumi.StringMap{
"HasSSD": pulumi.String("true"),
"NodeColor": pulumi.String("green"),
"SomeProperty": pulumi.String("5"),
},
ResourceGroupName: pulumi.String("resRg"),
VmExtensions: servicefabric.VMSSExtensionArray{
&servicefabric.VMSSExtensionArgs{
AutoUpgradeMinorVersion: pulumi.Bool(true),
Name: pulumi.String("Microsoft.Azure.Geneva.GenevaMonitoring"),
Publisher: pulumi.String("Microsoft.Azure.Geneva"),
Settings: pulumi.Any(nil),
Type: pulumi.String("GenevaMonitoring"),
TypeHandlerVersion: pulumi.String("2.0"),
},
},
VmImageOffer: pulumi.String("WindowsServer"),
VmImagePublisher: pulumi.String("MicrosoftWindowsServer"),
VmImageSku: pulumi.String("2016-Datacenter-Server-Core"),
VmImageVersion: pulumi.String("latest"),
VmInstanceCount: -1,
VmManagedIdentity: &servicefabric.VmManagedIdentityArgs{
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity"),
pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2"),
},
},
VmSecrets: servicefabric.VaultSecretGroupArray{
&servicefabric.VaultSecretGroupArgs{
SourceVault: &servicefabric.SubResourceArgs{
Id: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault"),
},
VaultCertificates: servicefabric.VaultCertificateArray{
&servicefabric.VaultCertificateArgs{
CertificateStore: pulumi.String("My"),
CertificateUrl: pulumi.String("https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c"),
},
},
},
},
VmSize: pulumi.String("Standard_DS3"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicefabric.NodeType;
import com.pulumi.azurenative.servicefabric.NodeTypeArgs;
import com.pulumi.azurenative.servicefabric.inputs.VMSSExtensionArgs;
import com.pulumi.azurenative.servicefabric.inputs.VmManagedIdentityArgs;
import com.pulumi.azurenative.servicefabric.inputs.VaultSecretGroupArgs;
import com.pulumi.azurenative.servicefabric.inputs.SubResourceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var nodeType = new NodeType("nodeType", NodeTypeArgs.builder()
.capacities(Map.of("ClientConnections", "65536"))
.clusterName("myCluster")
.dataDiskSizeGB(200)
.dataDiskType("Premium_LRS")
.isPrimary(false)
.isStateless(true)
.multiplePlacementGroups(true)
.nodeTypeName("BE")
.placementProperties(Map.ofEntries(
Map.entry("HasSSD", "true"),
Map.entry("NodeColor", "green"),
Map.entry("SomeProperty", "5")
))
.resourceGroupName("resRg")
.vmExtensions(VMSSExtensionArgs.builder()
.autoUpgradeMinorVersion(true)
.name("Microsoft.Azure.Geneva.GenevaMonitoring")
.publisher("Microsoft.Azure.Geneva")
.settings()
.type("GenevaMonitoring")
.typeHandlerVersion("2.0")
.build())
.vmImageOffer("WindowsServer")
.vmImagePublisher("MicrosoftWindowsServer")
.vmImageSku("2016-Datacenter-Server-Core")
.vmImageVersion("latest")
.vmInstanceCount("TODO: GenUnaryOpExpression")
.vmManagedIdentity(VmManagedIdentityArgs.builder()
.userAssignedIdentities(
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2")
.build())
.vmSecrets(VaultSecretGroupArgs.builder()
.sourceVault(SubResourceArgs.builder()
.id("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault")
.build())
.vaultCertificates(VaultCertificateArgs.builder()
.certificateStore("My")
.certificateUrl("https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c")
.build())
.build())
.vmSize("Standard_DS3")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
node_type = azure_native.servicefabric.NodeType("nodeType",
capacities={
"ClientConnections": "65536",
},
cluster_name="myCluster",
data_disk_size_gb=200,
data_disk_type=azure_native.servicefabric.DiskType.PREMIUM_LRS,
is_primary=False,
is_stateless=True,
multiple_placement_groups=True,
node_type_name="BE",
placement_properties={
"HasSSD": "true",
"NodeColor": "green",
"SomeProperty": "5",
},
resource_group_name="resRg",
vm_extensions=[azure_native.servicefabric.VMSSExtensionArgs(
auto_upgrade_minor_version=True,
name="Microsoft.Azure.Geneva.GenevaMonitoring",
publisher="Microsoft.Azure.Geneva",
settings={},
type="GenevaMonitoring",
type_handler_version="2.0",
)],
vm_image_offer="WindowsServer",
vm_image_publisher="MicrosoftWindowsServer",
vm_image_sku="2016-Datacenter-Server-Core",
vm_image_version="latest",
vm_instance_count=-1,
vm_managed_identity=azure_native.servicefabric.VmManagedIdentityArgs(
user_assigned_identities=[
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2",
],
),
vm_secrets=[azure_native.servicefabric.VaultSecretGroupArgs(
source_vault=azure_native.servicefabric.SubResourceArgs(
id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault",
),
vault_certificates=[azure_native.servicefabric.VaultCertificateArgs(
certificate_store="My",
certificate_url="https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c",
)],
)],
vm_size="Standard_DS3")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const nodeType = new azure_native.servicefabric.NodeType("nodeType", {
capacities: {
ClientConnections: "65536",
},
clusterName: "myCluster",
dataDiskSizeGB: 200,
dataDiskType: azure_native.servicefabric.DiskType.Premium_LRS,
isPrimary: false,
isStateless: true,
multiplePlacementGroups: true,
nodeTypeName: "BE",
placementProperties: {
HasSSD: "true",
NodeColor: "green",
SomeProperty: "5",
},
resourceGroupName: "resRg",
vmExtensions: [{
autoUpgradeMinorVersion: true,
name: "Microsoft.Azure.Geneva.GenevaMonitoring",
publisher: "Microsoft.Azure.Geneva",
settings: {},
type: "GenevaMonitoring",
typeHandlerVersion: "2.0",
}],
vmImageOffer: "WindowsServer",
vmImagePublisher: "MicrosoftWindowsServer",
vmImageSku: "2016-Datacenter-Server-Core",
vmImageVersion: "latest",
vmInstanceCount: -1,
vmManagedIdentity: {
userAssignedIdentities: [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2",
],
},
vmSecrets: [{
sourceVault: {
id: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault",
},
vaultCertificates: [{
certificateStore: "My",
certificateUrl: "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c",
}],
}],
vmSize: "Standard_DS3",
});
resources:
nodeType:
type: azure-native:servicefabric:NodeType
properties:
capacities:
ClientConnections: '65536'
clusterName: myCluster
dataDiskSizeGB: 200
dataDiskType: Premium_LRS
isPrimary: false
isStateless: true
multiplePlacementGroups: true
nodeTypeName: BE
placementProperties:
HasSSD: 'true'
NodeColor: green
SomeProperty: '5'
resourceGroupName: resRg
vmExtensions:
- autoUpgradeMinorVersion: true
name: Microsoft.Azure.Geneva.GenevaMonitoring
publisher: Microsoft.Azure.Geneva
settings: {}
type: GenevaMonitoring
typeHandlerVersion: '2.0'
vmImageOffer: WindowsServer
vmImagePublisher: MicrosoftWindowsServer
vmImageSku: 2016-Datacenter-Server-Core
vmImageVersion: latest
vmInstanceCount: -1
vmManagedIdentity:
userAssignedIdentities:
- /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity
- /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2
vmSecrets:
- sourceVault:
id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault
vaultCertificates:
- certificateStore: My
certificateUrl: https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c
vmSize: Standard_DS3
Put a node type with maximum parameters
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var nodeType = new AzureNative.ServiceFabric.NodeType("nodeType", new()
{
AdditionalDataDisks = new[]
{
new AzureNative.ServiceFabric.Inputs.VmssDataDiskArgs
{
DiskLetter = "F",
DiskSizeGB = 256,
DiskType = AzureNative.ServiceFabric.DiskType.StandardSSD_LRS,
Lun = 1,
},
new AzureNative.ServiceFabric.Inputs.VmssDataDiskArgs
{
DiskLetter = "G",
DiskSizeGB = 150,
DiskType = AzureNative.ServiceFabric.DiskType.Premium_LRS,
Lun = 2,
},
},
Capacities =
{
{ "ClientConnections", "65536" },
},
ClusterName = "myCluster",
DataDiskLetter = "S",
DataDiskSizeGB = 200,
DataDiskType = AzureNative.ServiceFabric.DiskType.Premium_LRS,
EnableAcceleratedNetworking = true,
EnableEncryptionAtHost = true,
EnableNodePublicIP = true,
EnableOverProvisioning = false,
EvictionPolicy = AzureNative.ServiceFabric.EvictionPolicyType.Deallocate,
FrontendConfigurations = new[]
{
new AzureNative.ServiceFabric.Inputs.FrontendConfigurationArgs
{
ApplicationGatewayBackendAddressPoolId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest",
LoadBalancerBackendAddressPoolId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool",
LoadBalancerInboundNatPoolId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool",
},
},
IsPrimary = false,
IsSpotVM = true,
IsStateless = true,
MultiplePlacementGroups = true,
NatGatewayId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/natGateways/myNatGateway",
NodeTypeName = "BE",
PlacementProperties =
{
{ "HasSSD", "true" },
{ "NodeColor", "green" },
{ "SomeProperty", "5" },
},
ResourceGroupName = "resRg",
SecureBootEnabled = true,
SecurityType = AzureNative.ServiceFabric.SecurityType.TrustedLaunch,
SpotRestoreTimeout = "PT30M",
SubnetId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
UseDefaultPublicLoadBalancer = true,
UseEphemeralOSDisk = true,
VmExtensions = new[]
{
new AzureNative.ServiceFabric.Inputs.VMSSExtensionArgs
{
AutoUpgradeMinorVersion = true,
EnableAutomaticUpgrade = true,
ForceUpdateTag = "v.1.0",
Name = "Microsoft.Azure.Geneva.GenevaMonitoring",
Publisher = "Microsoft.Azure.Geneva",
Settings = null,
Type = "GenevaMonitoring",
TypeHandlerVersion = "2.0",
},
},
VmImageOffer = "WindowsServer",
VmImagePublisher = "MicrosoftWindowsServer",
VmImageSku = "2016-Datacenter-Server-Core",
VmImageVersion = "latest",
VmInstanceCount = 10,
VmManagedIdentity = new AzureNative.ServiceFabric.Inputs.VmManagedIdentityArgs
{
UserAssignedIdentities = new[]
{
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2",
},
},
VmSecrets = new[]
{
new AzureNative.ServiceFabric.Inputs.VaultSecretGroupArgs
{
SourceVault = new AzureNative.ServiceFabric.Inputs.SubResourceArgs
{
Id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault",
},
VaultCertificates = new[]
{
new AzureNative.ServiceFabric.Inputs.VaultCertificateArgs
{
CertificateStore = "My",
CertificateUrl = "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c",
},
},
},
},
VmSetupActions = new[]
{
AzureNative.ServiceFabric.VmSetupAction.EnableContainers,
AzureNative.ServiceFabric.VmSetupAction.EnableHyperV,
},
VmSize = "Standard_DS3",
});
});
package main
import (
servicefabric "github.com/pulumi/pulumi-azure-native-sdk/servicefabric/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := servicefabric.NewNodeType(ctx, "nodeType", &servicefabric.NodeTypeArgs{
AdditionalDataDisks: servicefabric.VmssDataDiskArray{
&servicefabric.VmssDataDiskArgs{
DiskLetter: pulumi.String("F"),
DiskSizeGB: pulumi.Int(256),
DiskType: pulumi.String(servicefabric.DiskType_StandardSSD_LRS),
Lun: pulumi.Int(1),
},
&servicefabric.VmssDataDiskArgs{
DiskLetter: pulumi.String("G"),
DiskSizeGB: pulumi.Int(150),
DiskType: pulumi.String(servicefabric.DiskType_Premium_LRS),
Lun: pulumi.Int(2),
},
},
Capacities: pulumi.StringMap{
"ClientConnections": pulumi.String("65536"),
},
ClusterName: pulumi.String("myCluster"),
DataDiskLetter: pulumi.String("S"),
DataDiskSizeGB: pulumi.Int(200),
DataDiskType: pulumi.String(servicefabric.DiskType_Premium_LRS),
EnableAcceleratedNetworking: pulumi.Bool(true),
EnableEncryptionAtHost: pulumi.Bool(true),
EnableNodePublicIP: pulumi.Bool(true),
EnableOverProvisioning: pulumi.Bool(false),
EvictionPolicy: pulumi.String(servicefabric.EvictionPolicyTypeDeallocate),
FrontendConfigurations: servicefabric.FrontendConfigurationArray{
&servicefabric.FrontendConfigurationArgs{
ApplicationGatewayBackendAddressPoolId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest"),
LoadBalancerBackendAddressPoolId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool"),
LoadBalancerInboundNatPoolId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool"),
},
},
IsPrimary: pulumi.Bool(false),
IsSpotVM: pulumi.Bool(true),
IsStateless: pulumi.Bool(true),
MultiplePlacementGroups: pulumi.Bool(true),
NatGatewayId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/natGateways/myNatGateway"),
NodeTypeName: pulumi.String("BE"),
PlacementProperties: pulumi.StringMap{
"HasSSD": pulumi.String("true"),
"NodeColor": pulumi.String("green"),
"SomeProperty": pulumi.String("5"),
},
ResourceGroupName: pulumi.String("resRg"),
SecureBootEnabled: pulumi.Bool(true),
SecurityType: pulumi.String(servicefabric.SecurityTypeTrustedLaunch),
SpotRestoreTimeout: pulumi.String("PT30M"),
SubnetId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"),
UseDefaultPublicLoadBalancer: pulumi.Bool(true),
UseEphemeralOSDisk: pulumi.Bool(true),
VmExtensions: servicefabric.VMSSExtensionArray{
&servicefabric.VMSSExtensionArgs{
AutoUpgradeMinorVersion: pulumi.Bool(true),
EnableAutomaticUpgrade: pulumi.Bool(true),
ForceUpdateTag: pulumi.String("v.1.0"),
Name: pulumi.String("Microsoft.Azure.Geneva.GenevaMonitoring"),
Publisher: pulumi.String("Microsoft.Azure.Geneva"),
Settings: pulumi.Any(nil),
Type: pulumi.String("GenevaMonitoring"),
TypeHandlerVersion: pulumi.String("2.0"),
},
},
VmImageOffer: pulumi.String("WindowsServer"),
VmImagePublisher: pulumi.String("MicrosoftWindowsServer"),
VmImageSku: pulumi.String("2016-Datacenter-Server-Core"),
VmImageVersion: pulumi.String("latest"),
VmInstanceCount: pulumi.Int(10),
VmManagedIdentity: &servicefabric.VmManagedIdentityArgs{
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity"),
pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2"),
},
},
VmSecrets: servicefabric.VaultSecretGroupArray{
&servicefabric.VaultSecretGroupArgs{
SourceVault: &servicefabric.SubResourceArgs{
Id: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault"),
},
VaultCertificates: servicefabric.VaultCertificateArray{
&servicefabric.VaultCertificateArgs{
CertificateStore: pulumi.String("My"),
CertificateUrl: pulumi.String("https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c"),
},
},
},
},
VmSetupActions: pulumi.StringArray{
pulumi.String(servicefabric.VmSetupActionEnableContainers),
pulumi.String(servicefabric.VmSetupActionEnableHyperV),
},
VmSize: pulumi.String("Standard_DS3"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicefabric.NodeType;
import com.pulumi.azurenative.servicefabric.NodeTypeArgs;
import com.pulumi.azurenative.servicefabric.inputs.VmssDataDiskArgs;
import com.pulumi.azurenative.servicefabric.inputs.FrontendConfigurationArgs;
import com.pulumi.azurenative.servicefabric.inputs.VMSSExtensionArgs;
import com.pulumi.azurenative.servicefabric.inputs.VmManagedIdentityArgs;
import com.pulumi.azurenative.servicefabric.inputs.VaultSecretGroupArgs;
import com.pulumi.azurenative.servicefabric.inputs.SubResourceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var nodeType = new NodeType("nodeType", NodeTypeArgs.builder()
.additionalDataDisks(
VmssDataDiskArgs.builder()
.diskLetter("F")
.diskSizeGB(256)
.diskType("StandardSSD_LRS")
.lun(1)
.build(),
VmssDataDiskArgs.builder()
.diskLetter("G")
.diskSizeGB(150)
.diskType("Premium_LRS")
.lun(2)
.build())
.capacities(Map.of("ClientConnections", "65536"))
.clusterName("myCluster")
.dataDiskLetter("S")
.dataDiskSizeGB(200)
.dataDiskType("Premium_LRS")
.enableAcceleratedNetworking(true)
.enableEncryptionAtHost(true)
.enableNodePublicIP(true)
.enableOverProvisioning(false)
.evictionPolicy("Deallocate")
.frontendConfigurations(FrontendConfigurationArgs.builder()
.applicationGatewayBackendAddressPoolId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest")
.loadBalancerBackendAddressPoolId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool")
.loadBalancerInboundNatPoolId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool")
.build())
.isPrimary(false)
.isSpotVM(true)
.isStateless(true)
.multiplePlacementGroups(true)
.natGatewayId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/natGateways/myNatGateway")
.nodeTypeName("BE")
.placementProperties(Map.ofEntries(
Map.entry("HasSSD", "true"),
Map.entry("NodeColor", "green"),
Map.entry("SomeProperty", "5")
))
.resourceGroupName("resRg")
.secureBootEnabled(true)
.securityType("TrustedLaunch")
.spotRestoreTimeout("PT30M")
.subnetId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1")
.useDefaultPublicLoadBalancer(true)
.useEphemeralOSDisk(true)
.vmExtensions(VMSSExtensionArgs.builder()
.autoUpgradeMinorVersion(true)
.enableAutomaticUpgrade(true)
.forceUpdateTag("v.1.0")
.name("Microsoft.Azure.Geneva.GenevaMonitoring")
.publisher("Microsoft.Azure.Geneva")
.settings()
.type("GenevaMonitoring")
.typeHandlerVersion("2.0")
.build())
.vmImageOffer("WindowsServer")
.vmImagePublisher("MicrosoftWindowsServer")
.vmImageSku("2016-Datacenter-Server-Core")
.vmImageVersion("latest")
.vmInstanceCount(10)
.vmManagedIdentity(VmManagedIdentityArgs.builder()
.userAssignedIdentities(
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2")
.build())
.vmSecrets(VaultSecretGroupArgs.builder()
.sourceVault(SubResourceArgs.builder()
.id("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault")
.build())
.vaultCertificates(VaultCertificateArgs.builder()
.certificateStore("My")
.certificateUrl("https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c")
.build())
.build())
.vmSetupActions(
"EnableContainers",
"EnableHyperV")
.vmSize("Standard_DS3")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
node_type = azure_native.servicefabric.NodeType("nodeType",
additional_data_disks=[
azure_native.servicefabric.VmssDataDiskArgs(
disk_letter="F",
disk_size_gb=256,
disk_type=azure_native.servicefabric.DiskType.STANDARD_SS_D_LRS,
lun=1,
),
azure_native.servicefabric.VmssDataDiskArgs(
disk_letter="G",
disk_size_gb=150,
disk_type=azure_native.servicefabric.DiskType.PREMIUM_LRS,
lun=2,
),
],
capacities={
"ClientConnections": "65536",
},
cluster_name="myCluster",
data_disk_letter="S",
data_disk_size_gb=200,
data_disk_type=azure_native.servicefabric.DiskType.PREMIUM_LRS,
enable_accelerated_networking=True,
enable_encryption_at_host=True,
enable_node_public_ip=True,
enable_over_provisioning=False,
eviction_policy=azure_native.servicefabric.EvictionPolicyType.DEALLOCATE,
frontend_configurations=[azure_native.servicefabric.FrontendConfigurationArgs(
application_gateway_backend_address_pool_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest",
load_balancer_backend_address_pool_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool",
load_balancer_inbound_nat_pool_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool",
)],
is_primary=False,
is_spot_vm=True,
is_stateless=True,
multiple_placement_groups=True,
nat_gateway_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/natGateways/myNatGateway",
node_type_name="BE",
placement_properties={
"HasSSD": "true",
"NodeColor": "green",
"SomeProperty": "5",
},
resource_group_name="resRg",
secure_boot_enabled=True,
security_type=azure_native.servicefabric.SecurityType.TRUSTED_LAUNCH,
spot_restore_timeout="PT30M",
subnet_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
use_default_public_load_balancer=True,
use_ephemeral_os_disk=True,
vm_extensions=[azure_native.servicefabric.VMSSExtensionArgs(
auto_upgrade_minor_version=True,
enable_automatic_upgrade=True,
force_update_tag="v.1.0",
name="Microsoft.Azure.Geneva.GenevaMonitoring",
publisher="Microsoft.Azure.Geneva",
settings={},
type="GenevaMonitoring",
type_handler_version="2.0",
)],
vm_image_offer="WindowsServer",
vm_image_publisher="MicrosoftWindowsServer",
vm_image_sku="2016-Datacenter-Server-Core",
vm_image_version="latest",
vm_instance_count=10,
vm_managed_identity=azure_native.servicefabric.VmManagedIdentityArgs(
user_assigned_identities=[
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2",
],
),
vm_secrets=[azure_native.servicefabric.VaultSecretGroupArgs(
source_vault=azure_native.servicefabric.SubResourceArgs(
id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault",
),
vault_certificates=[azure_native.servicefabric.VaultCertificateArgs(
certificate_store="My",
certificate_url="https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c",
)],
)],
vm_setup_actions=[
azure_native.servicefabric.VmSetupAction.ENABLE_CONTAINERS,
azure_native.servicefabric.VmSetupAction.ENABLE_HYPER_V,
],
vm_size="Standard_DS3")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const nodeType = new azure_native.servicefabric.NodeType("nodeType", {
additionalDataDisks: [
{
diskLetter: "F",
diskSizeGB: 256,
diskType: azure_native.servicefabric.DiskType.StandardSSD_LRS,
lun: 1,
},
{
diskLetter: "G",
diskSizeGB: 150,
diskType: azure_native.servicefabric.DiskType.Premium_LRS,
lun: 2,
},
],
capacities: {
ClientConnections: "65536",
},
clusterName: "myCluster",
dataDiskLetter: "S",
dataDiskSizeGB: 200,
dataDiskType: azure_native.servicefabric.DiskType.Premium_LRS,
enableAcceleratedNetworking: true,
enableEncryptionAtHost: true,
enableNodePublicIP: true,
enableOverProvisioning: false,
evictionPolicy: azure_native.servicefabric.EvictionPolicyType.Deallocate,
frontendConfigurations: [{
applicationGatewayBackendAddressPoolId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest",
loadBalancerBackendAddressPoolId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool",
loadBalancerInboundNatPoolId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool",
}],
isPrimary: false,
isSpotVM: true,
isStateless: true,
multiplePlacementGroups: true,
natGatewayId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/natGateways/myNatGateway",
nodeTypeName: "BE",
placementProperties: {
HasSSD: "true",
NodeColor: "green",
SomeProperty: "5",
},
resourceGroupName: "resRg",
secureBootEnabled: true,
securityType: azure_native.servicefabric.SecurityType.TrustedLaunch,
spotRestoreTimeout: "PT30M",
subnetId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
useDefaultPublicLoadBalancer: true,
useEphemeralOSDisk: true,
vmExtensions: [{
autoUpgradeMinorVersion: true,
enableAutomaticUpgrade: true,
forceUpdateTag: "v.1.0",
name: "Microsoft.Azure.Geneva.GenevaMonitoring",
publisher: "Microsoft.Azure.Geneva",
settings: {},
type: "GenevaMonitoring",
typeHandlerVersion: "2.0",
}],
vmImageOffer: "WindowsServer",
vmImagePublisher: "MicrosoftWindowsServer",
vmImageSku: "2016-Datacenter-Server-Core",
vmImageVersion: "latest",
vmInstanceCount: 10,
vmManagedIdentity: {
userAssignedIdentities: [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2",
],
},
vmSecrets: [{
sourceVault: {
id: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault",
},
vaultCertificates: [{
certificateStore: "My",
certificateUrl: "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c",
}],
}],
vmSetupActions: [
azure_native.servicefabric.VmSetupAction.EnableContainers,
azure_native.servicefabric.VmSetupAction.EnableHyperV,
],
vmSize: "Standard_DS3",
});
resources:
nodeType:
type: azure-native:servicefabric:NodeType
properties:
additionalDataDisks:
- diskLetter: F
diskSizeGB: 256
diskType: StandardSSD_LRS
lun: 1
- diskLetter: G
diskSizeGB: 150
diskType: Premium_LRS
lun: 2
capacities:
ClientConnections: '65536'
clusterName: myCluster
dataDiskLetter: S
dataDiskSizeGB: 200
dataDiskType: Premium_LRS
enableAcceleratedNetworking: true
enableEncryptionAtHost: true
enableNodePublicIP: true
enableOverProvisioning: false
evictionPolicy: Deallocate
frontendConfigurations:
- applicationGatewayBackendAddressPoolId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest
loadBalancerBackendAddressPoolId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool
loadBalancerInboundNatPoolId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool
isPrimary: false
isSpotVM: true
isStateless: true
multiplePlacementGroups: true
natGatewayId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/natGateways/myNatGateway
nodeTypeName: BE
placementProperties:
HasSSD: 'true'
NodeColor: green
SomeProperty: '5'
resourceGroupName: resRg
secureBootEnabled: true
securityType: TrustedLaunch
spotRestoreTimeout: PT30M
subnetId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1
useDefaultPublicLoadBalancer: true
useEphemeralOSDisk: true
vmExtensions:
- autoUpgradeMinorVersion: true
enableAutomaticUpgrade: true
forceUpdateTag: v.1.0
name: Microsoft.Azure.Geneva.GenevaMonitoring
publisher: Microsoft.Azure.Geneva
settings: {}
type: GenevaMonitoring
typeHandlerVersion: '2.0'
vmImageOffer: WindowsServer
vmImagePublisher: MicrosoftWindowsServer
vmImageSku: 2016-Datacenter-Server-Core
vmImageVersion: latest
vmInstanceCount: 10
vmManagedIdentity:
userAssignedIdentities:
- /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity
- /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2
vmSecrets:
- sourceVault:
id: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault
vaultCertificates:
- certificateStore: My
certificateUrl: https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c
vmSetupActions:
- EnableContainers
- EnableHyperV
vmSize: Standard_DS3
Put a node type with minimum parameters
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var nodeType = new AzureNative.ServiceFabric.NodeType("nodeType", new()
{
ClusterName = "myCluster",
DataDiskSizeGB = 200,
IsPrimary = false,
NodeTypeName = "BE",
ResourceGroupName = "resRg",
VmImageOffer = "WindowsServer",
VmImagePublisher = "MicrosoftWindowsServer",
VmImageSku = "2016-Datacenter-Server-Core",
VmImageVersion = "latest",
VmInstanceCount = 10,
VmSize = "Standard_D3",
});
});
package main
import (
servicefabric "github.com/pulumi/pulumi-azure-native-sdk/servicefabric/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := servicefabric.NewNodeType(ctx, "nodeType", &servicefabric.NodeTypeArgs{
ClusterName: pulumi.String("myCluster"),
DataDiskSizeGB: pulumi.Int(200),
IsPrimary: pulumi.Bool(false),
NodeTypeName: pulumi.String("BE"),
ResourceGroupName: pulumi.String("resRg"),
VmImageOffer: pulumi.String("WindowsServer"),
VmImagePublisher: pulumi.String("MicrosoftWindowsServer"),
VmImageSku: pulumi.String("2016-Datacenter-Server-Core"),
VmImageVersion: pulumi.String("latest"),
VmInstanceCount: pulumi.Int(10),
VmSize: pulumi.String("Standard_D3"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicefabric.NodeType;
import com.pulumi.azurenative.servicefabric.NodeTypeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var nodeType = new NodeType("nodeType", NodeTypeArgs.builder()
.clusterName("myCluster")
.dataDiskSizeGB(200)
.isPrimary(false)
.nodeTypeName("BE")
.resourceGroupName("resRg")
.vmImageOffer("WindowsServer")
.vmImagePublisher("MicrosoftWindowsServer")
.vmImageSku("2016-Datacenter-Server-Core")
.vmImageVersion("latest")
.vmInstanceCount(10)
.vmSize("Standard_D3")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
node_type = azure_native.servicefabric.NodeType("nodeType",
cluster_name="myCluster",
data_disk_size_gb=200,
is_primary=False,
node_type_name="BE",
resource_group_name="resRg",
vm_image_offer="WindowsServer",
vm_image_publisher="MicrosoftWindowsServer",
vm_image_sku="2016-Datacenter-Server-Core",
vm_image_version="latest",
vm_instance_count=10,
vm_size="Standard_D3")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const nodeType = new azure_native.servicefabric.NodeType("nodeType", {
clusterName: "myCluster",
dataDiskSizeGB: 200,
isPrimary: false,
nodeTypeName: "BE",
resourceGroupName: "resRg",
vmImageOffer: "WindowsServer",
vmImagePublisher: "MicrosoftWindowsServer",
vmImageSku: "2016-Datacenter-Server-Core",
vmImageVersion: "latest",
vmInstanceCount: 10,
vmSize: "Standard_D3",
});
resources:
nodeType:
type: azure-native:servicefabric:NodeType
properties:
clusterName: myCluster
dataDiskSizeGB: 200
isPrimary: false
nodeTypeName: BE
resourceGroupName: resRg
vmImageOffer: WindowsServer
vmImagePublisher: MicrosoftWindowsServer
vmImageSku: 2016-Datacenter-Server-Core
vmImageVersion: latest
vmInstanceCount: 10
vmSize: Standard_D3
Put an stateless node type with temporary disk for service fabric
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var nodeType = new AzureNative.ServiceFabric.NodeType("nodeType", new()
{
ClusterName = "myCluster",
EnableEncryptionAtHost = true,
IsPrimary = false,
IsStateless = true,
MultiplePlacementGroups = true,
NodeTypeName = "BE",
ResourceGroupName = "resRg",
UseTempDataDisk = true,
VmExtensions = new[]
{
new AzureNative.ServiceFabric.Inputs.VMSSExtensionArgs
{
AutoUpgradeMinorVersion = true,
Name = "Microsoft.Azure.Geneva.GenevaMonitoring",
Publisher = "Microsoft.Azure.Geneva",
Settings = null,
Type = "GenevaMonitoring",
TypeHandlerVersion = "2.0",
},
},
VmImageOffer = "WindowsServer",
VmImagePublisher = "MicrosoftWindowsServer",
VmImageSku = "2016-Datacenter-Server-Core",
VmImageVersion = "latest",
VmInstanceCount = 10,
VmSize = "Standard_DS3",
});
});
package main
import (
servicefabric "github.com/pulumi/pulumi-azure-native-sdk/servicefabric/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := servicefabric.NewNodeType(ctx, "nodeType", &servicefabric.NodeTypeArgs{
ClusterName: pulumi.String("myCluster"),
EnableEncryptionAtHost: pulumi.Bool(true),
IsPrimary: pulumi.Bool(false),
IsStateless: pulumi.Bool(true),
MultiplePlacementGroups: pulumi.Bool(true),
NodeTypeName: pulumi.String("BE"),
ResourceGroupName: pulumi.String("resRg"),
UseTempDataDisk: pulumi.Bool(true),
VmExtensions: servicefabric.VMSSExtensionArray{
&servicefabric.VMSSExtensionArgs{
AutoUpgradeMinorVersion: pulumi.Bool(true),
Name: pulumi.String("Microsoft.Azure.Geneva.GenevaMonitoring"),
Publisher: pulumi.String("Microsoft.Azure.Geneva"),
Settings: pulumi.Any(nil),
Type: pulumi.String("GenevaMonitoring"),
TypeHandlerVersion: pulumi.String("2.0"),
},
},
VmImageOffer: pulumi.String("WindowsServer"),
VmImagePublisher: pulumi.String("MicrosoftWindowsServer"),
VmImageSku: pulumi.String("2016-Datacenter-Server-Core"),
VmImageVersion: pulumi.String("latest"),
VmInstanceCount: pulumi.Int(10),
VmSize: pulumi.String("Standard_DS3"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicefabric.NodeType;
import com.pulumi.azurenative.servicefabric.NodeTypeArgs;
import com.pulumi.azurenative.servicefabric.inputs.VMSSExtensionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var nodeType = new NodeType("nodeType", NodeTypeArgs.builder()
.clusterName("myCluster")
.enableEncryptionAtHost(true)
.isPrimary(false)
.isStateless(true)
.multiplePlacementGroups(true)
.nodeTypeName("BE")
.resourceGroupName("resRg")
.useTempDataDisk(true)
.vmExtensions(VMSSExtensionArgs.builder()
.autoUpgradeMinorVersion(true)
.name("Microsoft.Azure.Geneva.GenevaMonitoring")
.publisher("Microsoft.Azure.Geneva")
.settings()
.type("GenevaMonitoring")
.typeHandlerVersion("2.0")
.build())
.vmImageOffer("WindowsServer")
.vmImagePublisher("MicrosoftWindowsServer")
.vmImageSku("2016-Datacenter-Server-Core")
.vmImageVersion("latest")
.vmInstanceCount(10)
.vmSize("Standard_DS3")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
node_type = azure_native.servicefabric.NodeType("nodeType",
cluster_name="myCluster",
enable_encryption_at_host=True,
is_primary=False,
is_stateless=True,
multiple_placement_groups=True,
node_type_name="BE",
resource_group_name="resRg",
use_temp_data_disk=True,
vm_extensions=[azure_native.servicefabric.VMSSExtensionArgs(
auto_upgrade_minor_version=True,
name="Microsoft.Azure.Geneva.GenevaMonitoring",
publisher="Microsoft.Azure.Geneva",
settings={},
type="GenevaMonitoring",
type_handler_version="2.0",
)],
vm_image_offer="WindowsServer",
vm_image_publisher="MicrosoftWindowsServer",
vm_image_sku="2016-Datacenter-Server-Core",
vm_image_version="latest",
vm_instance_count=10,
vm_size="Standard_DS3")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const nodeType = new azure_native.servicefabric.NodeType("nodeType", {
clusterName: "myCluster",
enableEncryptionAtHost: true,
isPrimary: false,
isStateless: true,
multiplePlacementGroups: true,
nodeTypeName: "BE",
resourceGroupName: "resRg",
useTempDataDisk: true,
vmExtensions: [{
autoUpgradeMinorVersion: true,
name: "Microsoft.Azure.Geneva.GenevaMonitoring",
publisher: "Microsoft.Azure.Geneva",
settings: {},
type: "GenevaMonitoring",
typeHandlerVersion: "2.0",
}],
vmImageOffer: "WindowsServer",
vmImagePublisher: "MicrosoftWindowsServer",
vmImageSku: "2016-Datacenter-Server-Core",
vmImageVersion: "latest",
vmInstanceCount: 10,
vmSize: "Standard_DS3",
});
resources:
nodeType:
type: azure-native:servicefabric:NodeType
properties:
clusterName: myCluster
enableEncryptionAtHost: true
isPrimary: false
isStateless: true
multiplePlacementGroups: true
nodeTypeName: BE
resourceGroupName: resRg
useTempDataDisk: true
vmExtensions:
- autoUpgradeMinorVersion: true
name: Microsoft.Azure.Geneva.GenevaMonitoring
publisher: Microsoft.Azure.Geneva
settings: {}
type: GenevaMonitoring
typeHandlerVersion: '2.0'
vmImageOffer: WindowsServer
vmImagePublisher: MicrosoftWindowsServer
vmImageSku: 2016-Datacenter-Server-Core
vmImageVersion: latest
vmInstanceCount: 10
vmSize: Standard_DS3
Put node type with custom vm image
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var nodeType = new AzureNative.ServiceFabric.NodeType("nodeType", new()
{
ClusterName = "myCluster",
DataDiskSizeGB = 200,
IsPrimary = false,
NodeTypeName = "BE",
ResourceGroupName = "resRg",
VmImageResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/galleries/myCustomImages/images/Win2019DC",
VmInstanceCount = 10,
VmSize = "Standard_D3",
});
});
package main
import (
servicefabric "github.com/pulumi/pulumi-azure-native-sdk/servicefabric/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := servicefabric.NewNodeType(ctx, "nodeType", &servicefabric.NodeTypeArgs{
ClusterName: pulumi.String("myCluster"),
DataDiskSizeGB: pulumi.Int(200),
IsPrimary: pulumi.Bool(false),
NodeTypeName: pulumi.String("BE"),
ResourceGroupName: pulumi.String("resRg"),
VmImageResourceId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/galleries/myCustomImages/images/Win2019DC"),
VmInstanceCount: pulumi.Int(10),
VmSize: pulumi.String("Standard_D3"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicefabric.NodeType;
import com.pulumi.azurenative.servicefabric.NodeTypeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var nodeType = new NodeType("nodeType", NodeTypeArgs.builder()
.clusterName("myCluster")
.dataDiskSizeGB(200)
.isPrimary(false)
.nodeTypeName("BE")
.resourceGroupName("resRg")
.vmImageResourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/galleries/myCustomImages/images/Win2019DC")
.vmInstanceCount(10)
.vmSize("Standard_D3")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
node_type = azure_native.servicefabric.NodeType("nodeType",
cluster_name="myCluster",
data_disk_size_gb=200,
is_primary=False,
node_type_name="BE",
resource_group_name="resRg",
vm_image_resource_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/galleries/myCustomImages/images/Win2019DC",
vm_instance_count=10,
vm_size="Standard_D3")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const nodeType = new azure_native.servicefabric.NodeType("nodeType", {
clusterName: "myCluster",
dataDiskSizeGB: 200,
isPrimary: false,
nodeTypeName: "BE",
resourceGroupName: "resRg",
vmImageResourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/galleries/myCustomImages/images/Win2019DC",
vmInstanceCount: 10,
vmSize: "Standard_D3",
});
resources:
nodeType:
type: azure-native:servicefabric:NodeType
properties:
clusterName: myCluster
dataDiskSizeGB: 200
isPrimary: false
nodeTypeName: BE
resourceGroupName: resRg
vmImageResourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/galleries/myCustomImages/images/Win2019DC
vmInstanceCount: 10
vmSize: Standard_D3
Put node type with dedicated hosts
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var nodeType = new AzureNative.ServiceFabric.NodeType("nodeType", new()
{
Capacities = null,
ClusterName = "myCluster",
DataDiskSizeGB = 200,
DataDiskType = AzureNative.ServiceFabric.DiskType.StandardSSD_LRS,
HostGroupId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testhostgroupRG/providers/Microsoft.Compute/hostGroups/testHostGroup",
IsPrimary = false,
NodeTypeName = "BE",
PlacementProperties = null,
ResourceGroupName = "resRg",
VmImageOffer = "WindowsServer",
VmImagePublisher = "MicrosoftWindowsServer",
VmImageSku = "2019-Datacenter",
VmImageVersion = "latest",
VmInstanceCount = 10,
VmSize = "Standard_D8s_v3",
Zones = new[]
{
"1",
},
});
});
package main
import (
servicefabric "github.com/pulumi/pulumi-azure-native-sdk/servicefabric/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := servicefabric.NewNodeType(ctx, "nodeType", &servicefabric.NodeTypeArgs{
Capacities: nil,
ClusterName: pulumi.String("myCluster"),
DataDiskSizeGB: pulumi.Int(200),
DataDiskType: pulumi.String(servicefabric.DiskType_StandardSSD_LRS),
HostGroupId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testhostgroupRG/providers/Microsoft.Compute/hostGroups/testHostGroup"),
IsPrimary: pulumi.Bool(false),
NodeTypeName: pulumi.String("BE"),
PlacementProperties: nil,
ResourceGroupName: pulumi.String("resRg"),
VmImageOffer: pulumi.String("WindowsServer"),
VmImagePublisher: pulumi.String("MicrosoftWindowsServer"),
VmImageSku: pulumi.String("2019-Datacenter"),
VmImageVersion: pulumi.String("latest"),
VmInstanceCount: pulumi.Int(10),
VmSize: pulumi.String("Standard_D8s_v3"),
Zones: pulumi.StringArray{
pulumi.String("1"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicefabric.NodeType;
import com.pulumi.azurenative.servicefabric.NodeTypeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var nodeType = new NodeType("nodeType", NodeTypeArgs.builder()
.capacities()
.clusterName("myCluster")
.dataDiskSizeGB(200)
.dataDiskType("StandardSSD_LRS")
.hostGroupId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testhostgroupRG/providers/Microsoft.Compute/hostGroups/testHostGroup")
.isPrimary(false)
.nodeTypeName("BE")
.placementProperties()
.resourceGroupName("resRg")
.vmImageOffer("WindowsServer")
.vmImagePublisher("MicrosoftWindowsServer")
.vmImageSku("2019-Datacenter")
.vmImageVersion("latest")
.vmInstanceCount(10)
.vmSize("Standard_D8s_v3")
.zones("1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
node_type = azure_native.servicefabric.NodeType("nodeType",
capacities={},
cluster_name="myCluster",
data_disk_size_gb=200,
data_disk_type=azure_native.servicefabric.DiskType.STANDARD_SS_D_LRS,
host_group_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testhostgroupRG/providers/Microsoft.Compute/hostGroups/testHostGroup",
is_primary=False,
node_type_name="BE",
placement_properties={},
resource_group_name="resRg",
vm_image_offer="WindowsServer",
vm_image_publisher="MicrosoftWindowsServer",
vm_image_sku="2019-Datacenter",
vm_image_version="latest",
vm_instance_count=10,
vm_size="Standard_D8s_v3",
zones=["1"])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const nodeType = new azure_native.servicefabric.NodeType("nodeType", {
capacities: {},
clusterName: "myCluster",
dataDiskSizeGB: 200,
dataDiskType: azure_native.servicefabric.DiskType.StandardSSD_LRS,
hostGroupId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testhostgroupRG/providers/Microsoft.Compute/hostGroups/testHostGroup",
isPrimary: false,
nodeTypeName: "BE",
placementProperties: {},
resourceGroupName: "resRg",
vmImageOffer: "WindowsServer",
vmImagePublisher: "MicrosoftWindowsServer",
vmImageSku: "2019-Datacenter",
vmImageVersion: "latest",
vmInstanceCount: 10,
vmSize: "Standard_D8s_v3",
zones: ["1"],
});
resources:
nodeType:
type: azure-native:servicefabric:NodeType
properties:
capacities: {}
clusterName: myCluster
dataDiskSizeGB: 200
dataDiskType: StandardSSD_LRS
hostGroupId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testhostgroupRG/providers/Microsoft.Compute/hostGroups/testHostGroup
isPrimary: false
nodeTypeName: BE
placementProperties: {}
resourceGroupName: resRg
vmImageOffer: WindowsServer
vmImagePublisher: MicrosoftWindowsServer
vmImageSku: 2019-Datacenter
vmImageVersion: latest
vmInstanceCount: 10
vmSize: Standard_D8s_v3
zones:
- '1'
Put node type with shared galleries custom vm image
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var nodeType = new AzureNative.ServiceFabric.NodeType("nodeType", new()
{
ClusterName = "myCluster",
DataDiskSizeGB = 200,
IsPrimary = false,
NodeTypeName = "BE",
ResourceGroupName = "resRg",
VmInstanceCount = 10,
VmSharedGalleryImageId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/sharedGalleries/35349201-a0b3-405e-8a23-9f1450984307-SFSHAREDGALLERY/images/TestNoProdContainerDImage/versions/latest",
VmSize = "Standard_D3",
});
});
package main
import (
servicefabric "github.com/pulumi/pulumi-azure-native-sdk/servicefabric/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := servicefabric.NewNodeType(ctx, "nodeType", &servicefabric.NodeTypeArgs{
ClusterName: pulumi.String("myCluster"),
DataDiskSizeGB: pulumi.Int(200),
IsPrimary: pulumi.Bool(false),
NodeTypeName: pulumi.String("BE"),
ResourceGroupName: pulumi.String("resRg"),
VmInstanceCount: pulumi.Int(10),
VmSharedGalleryImageId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/sharedGalleries/35349201-a0b3-405e-8a23-9f1450984307-SFSHAREDGALLERY/images/TestNoProdContainerDImage/versions/latest"),
VmSize: pulumi.String("Standard_D3"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicefabric.NodeType;
import com.pulumi.azurenative.servicefabric.NodeTypeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var nodeType = new NodeType("nodeType", NodeTypeArgs.builder()
.clusterName("myCluster")
.dataDiskSizeGB(200)
.isPrimary(false)
.nodeTypeName("BE")
.resourceGroupName("resRg")
.vmInstanceCount(10)
.vmSharedGalleryImageId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/sharedGalleries/35349201-a0b3-405e-8a23-9f1450984307-SFSHAREDGALLERY/images/TestNoProdContainerDImage/versions/latest")
.vmSize("Standard_D3")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
node_type = azure_native.servicefabric.NodeType("nodeType",
cluster_name="myCluster",
data_disk_size_gb=200,
is_primary=False,
node_type_name="BE",
resource_group_name="resRg",
vm_instance_count=10,
vm_shared_gallery_image_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/sharedGalleries/35349201-a0b3-405e-8a23-9f1450984307-SFSHAREDGALLERY/images/TestNoProdContainerDImage/versions/latest",
vm_size="Standard_D3")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const nodeType = new azure_native.servicefabric.NodeType("nodeType", {
clusterName: "myCluster",
dataDiskSizeGB: 200,
isPrimary: false,
nodeTypeName: "BE",
resourceGroupName: "resRg",
vmInstanceCount: 10,
vmSharedGalleryImageId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/sharedGalleries/35349201-a0b3-405e-8a23-9f1450984307-SFSHAREDGALLERY/images/TestNoProdContainerDImage/versions/latest",
vmSize: "Standard_D3",
});
resources:
nodeType:
type: azure-native:servicefabric:NodeType
properties:
clusterName: myCluster
dataDiskSizeGB: 200
isPrimary: false
nodeTypeName: BE
resourceGroupName: resRg
vmInstanceCount: 10
vmSharedGalleryImageId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/sharedGalleries/35349201-a0b3-405e-8a23-9f1450984307-SFSHAREDGALLERY/images/TestNoProdContainerDImage/versions/latest
vmSize: Standard_D3
Put node type with vm image plan
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var nodeType = new AzureNative.ServiceFabric.NodeType("nodeType", new()
{
ClusterName = "myCluster",
DataDiskSizeGB = 200,
IsPrimary = false,
NodeTypeName = "BE",
ResourceGroupName = "resRg",
VmImageOffer = "windows_2022_test",
VmImagePlan = new AzureNative.ServiceFabric.Inputs.VmImagePlanArgs
{
Name = "win_2022_test_20_10_gen2",
Product = "windows_2022_test",
Publisher = "testpublisher",
},
VmImagePublisher = "testpublisher",
VmImageSku = "win_2022_test_20_10_gen2",
VmImageVersion = "latest",
VmInstanceCount = 10,
VmSize = "Standard_D3",
});
});
package main
import (
servicefabric "github.com/pulumi/pulumi-azure-native-sdk/servicefabric/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := servicefabric.NewNodeType(ctx, "nodeType", &servicefabric.NodeTypeArgs{
ClusterName: pulumi.String("myCluster"),
DataDiskSizeGB: pulumi.Int(200),
IsPrimary: pulumi.Bool(false),
NodeTypeName: pulumi.String("BE"),
ResourceGroupName: pulumi.String("resRg"),
VmImageOffer: pulumi.String("windows_2022_test"),
VmImagePlan: &servicefabric.VmImagePlanArgs{
Name: pulumi.String("win_2022_test_20_10_gen2"),
Product: pulumi.String("windows_2022_test"),
Publisher: pulumi.String("testpublisher"),
},
VmImagePublisher: pulumi.String("testpublisher"),
VmImageSku: pulumi.String("win_2022_test_20_10_gen2"),
VmImageVersion: pulumi.String("latest"),
VmInstanceCount: pulumi.Int(10),
VmSize: pulumi.String("Standard_D3"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicefabric.NodeType;
import com.pulumi.azurenative.servicefabric.NodeTypeArgs;
import com.pulumi.azurenative.servicefabric.inputs.VmImagePlanArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var nodeType = new NodeType("nodeType", NodeTypeArgs.builder()
.clusterName("myCluster")
.dataDiskSizeGB(200)
.isPrimary(false)
.nodeTypeName("BE")
.resourceGroupName("resRg")
.vmImageOffer("windows_2022_test")
.vmImagePlan(VmImagePlanArgs.builder()
.name("win_2022_test_20_10_gen2")
.product("windows_2022_test")
.publisher("testpublisher")
.build())
.vmImagePublisher("testpublisher")
.vmImageSku("win_2022_test_20_10_gen2")
.vmImageVersion("latest")
.vmInstanceCount(10)
.vmSize("Standard_D3")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
node_type = azure_native.servicefabric.NodeType("nodeType",
cluster_name="myCluster",
data_disk_size_gb=200,
is_primary=False,
node_type_name="BE",
resource_group_name="resRg",
vm_image_offer="windows_2022_test",
vm_image_plan=azure_native.servicefabric.VmImagePlanArgs(
name="win_2022_test_20_10_gen2",
product="windows_2022_test",
publisher="testpublisher",
),
vm_image_publisher="testpublisher",
vm_image_sku="win_2022_test_20_10_gen2",
vm_image_version="latest",
vm_instance_count=10,
vm_size="Standard_D3")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const nodeType = new azure_native.servicefabric.NodeType("nodeType", {
clusterName: "myCluster",
dataDiskSizeGB: 200,
isPrimary: false,
nodeTypeName: "BE",
resourceGroupName: "resRg",
vmImageOffer: "windows_2022_test",
vmImagePlan: {
name: "win_2022_test_20_10_gen2",
product: "windows_2022_test",
publisher: "testpublisher",
},
vmImagePublisher: "testpublisher",
vmImageSku: "win_2022_test_20_10_gen2",
vmImageVersion: "latest",
vmInstanceCount: 10,
vmSize: "Standard_D3",
});
resources:
nodeType:
type: azure-native:servicefabric:NodeType
properties:
clusterName: myCluster
dataDiskSizeGB: 200
isPrimary: false
nodeTypeName: BE
resourceGroupName: resRg
vmImageOffer: windows_2022_test
vmImagePlan:
name: win_2022_test_20_10_gen2
product: windows_2022_test
publisher: testpublisher
vmImagePublisher: testpublisher
vmImageSku: win_2022_test_20_10_gen2
vmImageVersion: latest
vmInstanceCount: 10
vmSize: Standard_D3
Create NodeType Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NodeType(name: string, args: NodeTypeArgs, opts?: CustomResourceOptions);
@overload
def NodeType(resource_name: str,
args: NodeTypeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NodeType(resource_name: str,
opts: Optional[ResourceOptions] = None,
is_primary: Optional[bool] = None,
vm_instance_count: Optional[int] = None,
resource_group_name: Optional[str] = None,
cluster_name: Optional[str] = None,
placement_properties: Optional[Mapping[str, str]] = None,
enable_accelerated_networking: Optional[bool] = None,
data_disk_type: Optional[Union[str, DiskType]] = None,
security_type: Optional[Union[str, SecurityType]] = None,
enable_encryption_at_host: Optional[bool] = None,
enable_node_public_ip: Optional[bool] = None,
enable_over_provisioning: Optional[bool] = None,
ephemeral_ports: Optional[EndpointRangeDescriptionArgs] = None,
eviction_policy: Optional[Union[str, EvictionPolicyType]] = None,
frontend_configurations: Optional[Sequence[FrontendConfigurationArgs]] = None,
host_group_id: Optional[str] = None,
data_disk_letter: Optional[str] = None,
is_spot_vm: Optional[bool] = None,
is_stateless: Optional[bool] = None,
multiple_placement_groups: Optional[bool] = None,
sku: Optional[NodeTypeSkuArgs] = None,
network_security_rules: Optional[Sequence[NetworkSecurityRuleArgs]] = None,
node_type_name: Optional[str] = None,
additional_data_disks: Optional[Sequence[VmssDataDiskArgs]] = None,
capacities: Optional[Mapping[str, str]] = None,
vm_size: Optional[str] = None,
data_disk_size_gb: Optional[int] = None,
nat_gateway_id: Optional[str] = None,
spot_restore_timeout: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
use_default_public_load_balancer: Optional[bool] = None,
use_ephemeral_os_disk: Optional[bool] = None,
use_temp_data_disk: Optional[bool] = None,
vm_extensions: Optional[Sequence[VMSSExtensionArgs]] = None,
vm_image_offer: Optional[str] = None,
vm_image_plan: Optional[VmImagePlanArgs] = None,
vm_image_publisher: Optional[str] = None,
vm_image_resource_id: Optional[str] = None,
vm_image_sku: Optional[str] = None,
vm_image_version: Optional[str] = None,
application_ports: Optional[EndpointRangeDescriptionArgs] = None,
vm_managed_identity: Optional[VmManagedIdentityArgs] = None,
vm_secrets: Optional[Sequence[VaultSecretGroupArgs]] = None,
vm_setup_actions: Optional[Sequence[Union[str, VmSetupAction]]] = None,
vm_shared_gallery_image_id: Optional[str] = None,
secure_boot_enabled: Optional[bool] = None,
zones: Optional[Sequence[str]] = None)
func NewNodeType(ctx *Context, name string, args NodeTypeArgs, opts ...ResourceOption) (*NodeType, error)
public NodeType(string name, NodeTypeArgs args, CustomResourceOptions? opts = null)
public NodeType(String name, NodeTypeArgs args)
public NodeType(String name, NodeTypeArgs args, CustomResourceOptions options)
type: azure-native:servicefabric:NodeType
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NodeTypeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NodeTypeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NodeTypeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NodeTypeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NodeTypeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var nodeTypeResource = new AzureNative.ServiceFabric.NodeType("nodeTypeResource", new()
{
IsPrimary = false,
VmInstanceCount = 0,
ResourceGroupName = "string",
ClusterName = "string",
PlacementProperties =
{
{ "string", "string" },
},
EnableAcceleratedNetworking = false,
DataDiskType = "string",
SecurityType = "string",
EnableEncryptionAtHost = false,
EnableNodePublicIP = false,
EnableOverProvisioning = false,
EphemeralPorts = new AzureNative.ServiceFabric.Inputs.EndpointRangeDescriptionArgs
{
EndPort = 0,
StartPort = 0,
},
EvictionPolicy = "string",
FrontendConfigurations = new[]
{
new AzureNative.ServiceFabric.Inputs.FrontendConfigurationArgs
{
ApplicationGatewayBackendAddressPoolId = "string",
IpAddressType = "string",
LoadBalancerBackendAddressPoolId = "string",
LoadBalancerInboundNatPoolId = "string",
},
},
HostGroupId = "string",
DataDiskLetter = "string",
IsSpotVM = false,
IsStateless = false,
MultiplePlacementGroups = false,
Sku = new AzureNative.ServiceFabric.Inputs.NodeTypeSkuArgs
{
Capacity = 0,
Name = "string",
Tier = "string",
},
NetworkSecurityRules = new[]
{
new AzureNative.ServiceFabric.Inputs.NetworkSecurityRuleArgs
{
Protocol = "string",
Priority = 0,
Name = "string",
Access = "string",
Direction = "string",
DestinationPortRanges = new[]
{
"string",
},
Description = "string",
DestinationPortRange = "string",
SourceAddressPrefix = "string",
DestinationAddressPrefixes = new[]
{
"string",
},
DestinationAddressPrefix = "string",
SourceAddressPrefixes = new[]
{
"string",
},
SourcePortRange = "string",
SourcePortRanges = new[]
{
"string",
},
},
},
NodeTypeName = "string",
AdditionalDataDisks = new[]
{
new AzureNative.ServiceFabric.Inputs.VmssDataDiskArgs
{
DiskLetter = "string",
DiskSizeGB = 0,
DiskType = "string",
Lun = 0,
},
},
Capacities =
{
{ "string", "string" },
},
VmSize = "string",
DataDiskSizeGB = 0,
NatGatewayId = "string",
SpotRestoreTimeout = "string",
SubnetId = "string",
Tags =
{
{ "string", "string" },
},
UseDefaultPublicLoadBalancer = false,
UseEphemeralOSDisk = false,
UseTempDataDisk = false,
VmExtensions = new[]
{
new AzureNative.ServiceFabric.Inputs.VMSSExtensionArgs
{
Name = "string",
Publisher = "string",
Type = "string",
TypeHandlerVersion = "string",
AutoUpgradeMinorVersion = false,
EnableAutomaticUpgrade = false,
ForceUpdateTag = "string",
ProtectedSettings = "any",
ProvisionAfterExtensions = new[]
{
"string",
},
Settings = "any",
},
},
VmImageOffer = "string",
VmImagePlan = new AzureNative.ServiceFabric.Inputs.VmImagePlanArgs
{
Name = "string",
Product = "string",
PromotionCode = "string",
Publisher = "string",
},
VmImagePublisher = "string",
VmImageResourceId = "string",
VmImageSku = "string",
VmImageVersion = "string",
ApplicationPorts = new AzureNative.ServiceFabric.Inputs.EndpointRangeDescriptionArgs
{
EndPort = 0,
StartPort = 0,
},
VmManagedIdentity = new AzureNative.ServiceFabric.Inputs.VmManagedIdentityArgs
{
UserAssignedIdentities = new[]
{
"string",
},
},
VmSecrets = new[]
{
new AzureNative.ServiceFabric.Inputs.VaultSecretGroupArgs
{
SourceVault = new AzureNative.ServiceFabric.Inputs.SubResourceArgs
{
Id = "string",
},
VaultCertificates = new[]
{
new AzureNative.ServiceFabric.Inputs.VaultCertificateArgs
{
CertificateStore = "string",
CertificateUrl = "string",
},
},
},
},
VmSetupActions = new[]
{
"string",
},
VmSharedGalleryImageId = "string",
SecureBootEnabled = false,
Zones = new[]
{
"string",
},
});
example, err := servicefabric.NewNodeType(ctx, "nodeTypeResource", &servicefabric.NodeTypeArgs{
IsPrimary: pulumi.Bool(false),
VmInstanceCount: pulumi.Int(0),
ResourceGroupName: pulumi.String("string"),
ClusterName: pulumi.String("string"),
PlacementProperties: pulumi.StringMap{
"string": pulumi.String("string"),
},
EnableAcceleratedNetworking: pulumi.Bool(false),
DataDiskType: pulumi.String("string"),
SecurityType: pulumi.String("string"),
EnableEncryptionAtHost: pulumi.Bool(false),
EnableNodePublicIP: pulumi.Bool(false),
EnableOverProvisioning: pulumi.Bool(false),
EphemeralPorts: &servicefabric.EndpointRangeDescriptionArgs{
EndPort: pulumi.Int(0),
StartPort: pulumi.Int(0),
},
EvictionPolicy: pulumi.String("string"),
FrontendConfigurations: servicefabric.FrontendConfigurationArray{
&servicefabric.FrontendConfigurationArgs{
ApplicationGatewayBackendAddressPoolId: pulumi.String("string"),
IpAddressType: pulumi.String("string"),
LoadBalancerBackendAddressPoolId: pulumi.String("string"),
LoadBalancerInboundNatPoolId: pulumi.String("string"),
},
},
HostGroupId: pulumi.String("string"),
DataDiskLetter: pulumi.String("string"),
IsSpotVM: pulumi.Bool(false),
IsStateless: pulumi.Bool(false),
MultiplePlacementGroups: pulumi.Bool(false),
Sku: &servicefabric.NodeTypeSkuArgs{
Capacity: pulumi.Int(0),
Name: pulumi.String("string"),
Tier: pulumi.String("string"),
},
NetworkSecurityRules: servicefabric.NetworkSecurityRuleArray{
&servicefabric.NetworkSecurityRuleArgs{
Protocol: pulumi.String("string"),
Priority: pulumi.Int(0),
Name: pulumi.String("string"),
Access: pulumi.String("string"),
Direction: pulumi.String("string"),
DestinationPortRanges: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
DestinationPortRange: pulumi.String("string"),
SourceAddressPrefix: pulumi.String("string"),
DestinationAddressPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
DestinationAddressPrefix: pulumi.String("string"),
SourceAddressPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
SourcePortRange: pulumi.String("string"),
SourcePortRanges: pulumi.StringArray{
pulumi.String("string"),
},
},
},
NodeTypeName: pulumi.String("string"),
AdditionalDataDisks: servicefabric.VmssDataDiskArray{
&servicefabric.VmssDataDiskArgs{
DiskLetter: pulumi.String("string"),
DiskSizeGB: pulumi.Int(0),
DiskType: pulumi.String("string"),
Lun: pulumi.Int(0),
},
},
Capacities: pulumi.StringMap{
"string": pulumi.String("string"),
},
VmSize: pulumi.String("string"),
DataDiskSizeGB: pulumi.Int(0),
NatGatewayId: pulumi.String("string"),
SpotRestoreTimeout: pulumi.String("string"),
SubnetId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
UseDefaultPublicLoadBalancer: pulumi.Bool(false),
UseEphemeralOSDisk: pulumi.Bool(false),
UseTempDataDisk: pulumi.Bool(false),
VmExtensions: servicefabric.VMSSExtensionArray{
&servicefabric.VMSSExtensionArgs{
Name: pulumi.String("string"),
Publisher: pulumi.String("string"),
Type: pulumi.String("string"),
TypeHandlerVersion: pulumi.String("string"),
AutoUpgradeMinorVersion: pulumi.Bool(false),
EnableAutomaticUpgrade: pulumi.Bool(false),
ForceUpdateTag: pulumi.String("string"),
ProtectedSettings: pulumi.Any("any"),
ProvisionAfterExtensions: pulumi.StringArray{
pulumi.String("string"),
},
Settings: pulumi.Any("any"),
},
},
VmImageOffer: pulumi.String("string"),
VmImagePlan: &servicefabric.VmImagePlanArgs{
Name: pulumi.String("string"),
Product: pulumi.String("string"),
PromotionCode: pulumi.String("string"),
Publisher: pulumi.String("string"),
},
VmImagePublisher: pulumi.String("string"),
VmImageResourceId: pulumi.String("string"),
VmImageSku: pulumi.String("string"),
VmImageVersion: pulumi.String("string"),
ApplicationPorts: &servicefabric.EndpointRangeDescriptionArgs{
EndPort: pulumi.Int(0),
StartPort: pulumi.Int(0),
},
VmManagedIdentity: &servicefabric.VmManagedIdentityArgs{
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("string"),
},
},
VmSecrets: servicefabric.VaultSecretGroupArray{
&servicefabric.VaultSecretGroupArgs{
SourceVault: &servicefabric.SubResourceArgs{
Id: pulumi.String("string"),
},
VaultCertificates: servicefabric.VaultCertificateArray{
&servicefabric.VaultCertificateArgs{
CertificateStore: pulumi.String("string"),
CertificateUrl: pulumi.String("string"),
},
},
},
},
VmSetupActions: pulumi.StringArray{
pulumi.String("string"),
},
VmSharedGalleryImageId: pulumi.String("string"),
SecureBootEnabled: pulumi.Bool(false),
Zones: pulumi.StringArray{
pulumi.String("string"),
},
})
var nodeTypeResource = new NodeType("nodeTypeResource", NodeTypeArgs.builder()
.isPrimary(false)
.vmInstanceCount(0)
.resourceGroupName("string")
.clusterName("string")
.placementProperties(Map.of("string", "string"))
.enableAcceleratedNetworking(false)
.dataDiskType("string")
.securityType("string")
.enableEncryptionAtHost(false)
.enableNodePublicIP(false)
.enableOverProvisioning(false)
.ephemeralPorts(EndpointRangeDescriptionArgs.builder()
.endPort(0)
.startPort(0)
.build())
.evictionPolicy("string")
.frontendConfigurations(FrontendConfigurationArgs.builder()
.applicationGatewayBackendAddressPoolId("string")
.ipAddressType("string")
.loadBalancerBackendAddressPoolId("string")
.loadBalancerInboundNatPoolId("string")
.build())
.hostGroupId("string")
.dataDiskLetter("string")
.isSpotVM(false)
.isStateless(false)
.multiplePlacementGroups(false)
.sku(NodeTypeSkuArgs.builder()
.capacity(0)
.name("string")
.tier("string")
.build())
.networkSecurityRules(NetworkSecurityRuleArgs.builder()
.protocol("string")
.priority(0)
.name("string")
.access("string")
.direction("string")
.destinationPortRanges("string")
.description("string")
.destinationPortRange("string")
.sourceAddressPrefix("string")
.destinationAddressPrefixes("string")
.destinationAddressPrefix("string")
.sourceAddressPrefixes("string")
.sourcePortRange("string")
.sourcePortRanges("string")
.build())
.nodeTypeName("string")
.additionalDataDisks(VmssDataDiskArgs.builder()
.diskLetter("string")
.diskSizeGB(0)
.diskType("string")
.lun(0)
.build())
.capacities(Map.of("string", "string"))
.vmSize("string")
.dataDiskSizeGB(0)
.natGatewayId("string")
.spotRestoreTimeout("string")
.subnetId("string")
.tags(Map.of("string", "string"))
.useDefaultPublicLoadBalancer(false)
.useEphemeralOSDisk(false)
.useTempDataDisk(false)
.vmExtensions(VMSSExtensionArgs.builder()
.name("string")
.publisher("string")
.type("string")
.typeHandlerVersion("string")
.autoUpgradeMinorVersion(false)
.enableAutomaticUpgrade(false)
.forceUpdateTag("string")
.protectedSettings("any")
.provisionAfterExtensions("string")
.settings("any")
.build())
.vmImageOffer("string")
.vmImagePlan(VmImagePlanArgs.builder()
.name("string")
.product("string")
.promotionCode("string")
.publisher("string")
.build())
.vmImagePublisher("string")
.vmImageResourceId("string")
.vmImageSku("string")
.vmImageVersion("string")
.applicationPorts(EndpointRangeDescriptionArgs.builder()
.endPort(0)
.startPort(0)
.build())
.vmManagedIdentity(VmManagedIdentityArgs.builder()
.userAssignedIdentities("string")
.build())
.vmSecrets(VaultSecretGroupArgs.builder()
.sourceVault(SubResourceArgs.builder()
.id("string")
.build())
.vaultCertificates(VaultCertificateArgs.builder()
.certificateStore("string")
.certificateUrl("string")
.build())
.build())
.vmSetupActions("string")
.vmSharedGalleryImageId("string")
.secureBootEnabled(false)
.zones("string")
.build());
node_type_resource = azure_native.servicefabric.NodeType("nodeTypeResource",
is_primary=False,
vm_instance_count=0,
resource_group_name="string",
cluster_name="string",
placement_properties={
"string": "string",
},
enable_accelerated_networking=False,
data_disk_type="string",
security_type="string",
enable_encryption_at_host=False,
enable_node_public_ip=False,
enable_over_provisioning=False,
ephemeral_ports=azure_native.servicefabric.EndpointRangeDescriptionArgs(
end_port=0,
start_port=0,
),
eviction_policy="string",
frontend_configurations=[azure_native.servicefabric.FrontendConfigurationArgs(
application_gateway_backend_address_pool_id="string",
ip_address_type="string",
load_balancer_backend_address_pool_id="string",
load_balancer_inbound_nat_pool_id="string",
)],
host_group_id="string",
data_disk_letter="string",
is_spot_vm=False,
is_stateless=False,
multiple_placement_groups=False,
sku=azure_native.servicefabric.NodeTypeSkuArgs(
capacity=0,
name="string",
tier="string",
),
network_security_rules=[azure_native.servicefabric.NetworkSecurityRuleArgs(
protocol="string",
priority=0,
name="string",
access="string",
direction="string",
destination_port_ranges=["string"],
description="string",
destination_port_range="string",
source_address_prefix="string",
destination_address_prefixes=["string"],
destination_address_prefix="string",
source_address_prefixes=["string"],
source_port_range="string",
source_port_ranges=["string"],
)],
node_type_name="string",
additional_data_disks=[azure_native.servicefabric.VmssDataDiskArgs(
disk_letter="string",
disk_size_gb=0,
disk_type="string",
lun=0,
)],
capacities={
"string": "string",
},
vm_size="string",
data_disk_size_gb=0,
nat_gateway_id="string",
spot_restore_timeout="string",
subnet_id="string",
tags={
"string": "string",
},
use_default_public_load_balancer=False,
use_ephemeral_os_disk=False,
use_temp_data_disk=False,
vm_extensions=[azure_native.servicefabric.VMSSExtensionArgs(
name="string",
publisher="string",
type="string",
type_handler_version="string",
auto_upgrade_minor_version=False,
enable_automatic_upgrade=False,
force_update_tag="string",
protected_settings="any",
provision_after_extensions=["string"],
settings="any",
)],
vm_image_offer="string",
vm_image_plan=azure_native.servicefabric.VmImagePlanArgs(
name="string",
product="string",
promotion_code="string",
publisher="string",
),
vm_image_publisher="string",
vm_image_resource_id="string",
vm_image_sku="string",
vm_image_version="string",
application_ports=azure_native.servicefabric.EndpointRangeDescriptionArgs(
end_port=0,
start_port=0,
),
vm_managed_identity=azure_native.servicefabric.VmManagedIdentityArgs(
user_assigned_identities=["string"],
),
vm_secrets=[azure_native.servicefabric.VaultSecretGroupArgs(
source_vault=azure_native.servicefabric.SubResourceArgs(
id="string",
),
vault_certificates=[azure_native.servicefabric.VaultCertificateArgs(
certificate_store="string",
certificate_url="string",
)],
)],
vm_setup_actions=["string"],
vm_shared_gallery_image_id="string",
secure_boot_enabled=False,
zones=["string"])
const nodeTypeResource = new azure_native.servicefabric.NodeType("nodeTypeResource", {
isPrimary: false,
vmInstanceCount: 0,
resourceGroupName: "string",
clusterName: "string",
placementProperties: {
string: "string",
},
enableAcceleratedNetworking: false,
dataDiskType: "string",
securityType: "string",
enableEncryptionAtHost: false,
enableNodePublicIP: false,
enableOverProvisioning: false,
ephemeralPorts: {
endPort: 0,
startPort: 0,
},
evictionPolicy: "string",
frontendConfigurations: [{
applicationGatewayBackendAddressPoolId: "string",
ipAddressType: "string",
loadBalancerBackendAddressPoolId: "string",
loadBalancerInboundNatPoolId: "string",
}],
hostGroupId: "string",
dataDiskLetter: "string",
isSpotVM: false,
isStateless: false,
multiplePlacementGroups: false,
sku: {
capacity: 0,
name: "string",
tier: "string",
},
networkSecurityRules: [{
protocol: "string",
priority: 0,
name: "string",
access: "string",
direction: "string",
destinationPortRanges: ["string"],
description: "string",
destinationPortRange: "string",
sourceAddressPrefix: "string",
destinationAddressPrefixes: ["string"],
destinationAddressPrefix: "string",
sourceAddressPrefixes: ["string"],
sourcePortRange: "string",
sourcePortRanges: ["string"],
}],
nodeTypeName: "string",
additionalDataDisks: [{
diskLetter: "string",
diskSizeGB: 0,
diskType: "string",
lun: 0,
}],
capacities: {
string: "string",
},
vmSize: "string",
dataDiskSizeGB: 0,
natGatewayId: "string",
spotRestoreTimeout: "string",
subnetId: "string",
tags: {
string: "string",
},
useDefaultPublicLoadBalancer: false,
useEphemeralOSDisk: false,
useTempDataDisk: false,
vmExtensions: [{
name: "string",
publisher: "string",
type: "string",
typeHandlerVersion: "string",
autoUpgradeMinorVersion: false,
enableAutomaticUpgrade: false,
forceUpdateTag: "string",
protectedSettings: "any",
provisionAfterExtensions: ["string"],
settings: "any",
}],
vmImageOffer: "string",
vmImagePlan: {
name: "string",
product: "string",
promotionCode: "string",
publisher: "string",
},
vmImagePublisher: "string",
vmImageResourceId: "string",
vmImageSku: "string",
vmImageVersion: "string",
applicationPorts: {
endPort: 0,
startPort: 0,
},
vmManagedIdentity: {
userAssignedIdentities: ["string"],
},
vmSecrets: [{
sourceVault: {
id: "string",
},
vaultCertificates: [{
certificateStore: "string",
certificateUrl: "string",
}],
}],
vmSetupActions: ["string"],
vmSharedGalleryImageId: "string",
secureBootEnabled: false,
zones: ["string"],
});
type: azure-native:servicefabric:NodeType
properties:
additionalDataDisks:
- diskLetter: string
diskSizeGB: 0
diskType: string
lun: 0
applicationPorts:
endPort: 0
startPort: 0
capacities:
string: string
clusterName: string
dataDiskLetter: string
dataDiskSizeGB: 0
dataDiskType: string
enableAcceleratedNetworking: false
enableEncryptionAtHost: false
enableNodePublicIP: false
enableOverProvisioning: false
ephemeralPorts:
endPort: 0
startPort: 0
evictionPolicy: string
frontendConfigurations:
- applicationGatewayBackendAddressPoolId: string
ipAddressType: string
loadBalancerBackendAddressPoolId: string
loadBalancerInboundNatPoolId: string
hostGroupId: string
isPrimary: false
isSpotVM: false
isStateless: false
multiplePlacementGroups: false
natGatewayId: string
networkSecurityRules:
- access: string
description: string
destinationAddressPrefix: string
destinationAddressPrefixes:
- string
destinationPortRange: string
destinationPortRanges:
- string
direction: string
name: string
priority: 0
protocol: string
sourceAddressPrefix: string
sourceAddressPrefixes:
- string
sourcePortRange: string
sourcePortRanges:
- string
nodeTypeName: string
placementProperties:
string: string
resourceGroupName: string
secureBootEnabled: false
securityType: string
sku:
capacity: 0
name: string
tier: string
spotRestoreTimeout: string
subnetId: string
tags:
string: string
useDefaultPublicLoadBalancer: false
useEphemeralOSDisk: false
useTempDataDisk: false
vmExtensions:
- autoUpgradeMinorVersion: false
enableAutomaticUpgrade: false
forceUpdateTag: string
name: string
protectedSettings: any
provisionAfterExtensions:
- string
publisher: string
settings: any
type: string
typeHandlerVersion: string
vmImageOffer: string
vmImagePlan:
name: string
product: string
promotionCode: string
publisher: string
vmImagePublisher: string
vmImageResourceId: string
vmImageSku: string
vmImageVersion: string
vmInstanceCount: 0
vmManagedIdentity:
userAssignedIdentities:
- string
vmSecrets:
- sourceVault:
id: string
vaultCertificates:
- certificateStore: string
certificateUrl: string
vmSetupActions:
- string
vmSharedGalleryImageId: string
vmSize: string
zones:
- string
NodeType Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The NodeType resource accepts the following input properties:
- Cluster
Name string - The name of the cluster resource.
- Is
Primary bool - Indicates the Service Fabric system services for the cluster will run on this node type. This setting cannot be changed once the node type is created.
- Resource
Group stringName - The name of the resource group.
- Vm
Instance intCount - The number of nodes in the node type. Values: -1 - Use when auto scale rules are configured or sku.capacity is defined 0 - Not supported >0 - Use for manual scale.
- Additional
Data List<Pulumi.Disks Azure Native. Service Fabric. Inputs. Vmss Data Disk> - Additional managed data disks.
- Application
Ports Pulumi.Azure Native. Service Fabric. Inputs. Endpoint Range Description - The range of ports from which cluster assigned port to Service Fabric applications.
- Capacities Dictionary<string, string>
- The capacity tags applied to the nodes in the node type, the cluster resource manager uses these tags to understand how much resource a node has.
- Data
Disk stringLetter - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- Data
Disk intSize GB - Disk size for the managed disk attached to the vms on the node type in GBs.
- Data
Disk string | Pulumi.Type Azure Native. Service Fabric. Disk Type - Managed data disk type. Specifies the storage account type for the managed disk
- Enable
Accelerated boolNetworking - Specifies whether the network interface is accelerated networking-enabled.
- Enable
Encryption boolAt Host - Enable or disable the Host Encryption for the virtual machines on the node type. This will enable the encryption for all the disks including Resource/Temp disk at host itself. Default: The Encryption at host will be disabled unless this property is set to true for the resource.
- Enable
Node boolPublic IP - Specifies whether each node is allocated its own public IP address. This is only supported on secondary node types with custom Load Balancers.
- Enable
Over boolProvisioning - Specifies whether the node type should be overprovisioned. It is only allowed for stateless node types.
- Ephemeral
Ports Pulumi.Azure Native. Service Fabric. Inputs. Endpoint Range Description - The range of ephemeral ports that nodes in this node type should be configured with.
- Eviction
Policy string | Pulumi.Azure Native. Service Fabric. Eviction Policy Type - Specifies the eviction policy for virtual machines in a SPOT node type. Default is Delete.
- Frontend
Configurations List<Pulumi.Azure Native. Service Fabric. Inputs. Frontend Configuration> - Indicates the node type uses its own frontend configurations instead of the default one for the cluster. This setting can only be specified for non-primary node types and can not be added or removed after the node type is created.
- Host
Group stringId - Specifies the full host group resource Id. This property is used for deploying on azure dedicated hosts.
- Is
Spot boolVM - Indicates whether the node type will be Spot Virtual Machines. Azure will allocate the VMs if there is capacity available and the VMs can be evicted at any time.
- Is
Stateless bool - Indicates if the node type can only host Stateless workloads.
- Multiple
Placement boolGroups - Indicates if scale set associated with the node type can be composed of multiple placement groups.
- Nat
Gateway stringId - Specifies the resource id of a NAT Gateway to attach to the subnet of this node type. Node type must use custom load balancer.
- Network
Security List<Pulumi.Rules Azure Native. Service Fabric. Inputs. Network Security Rule> - The Network Security Rules for this node type. This setting can only be specified for node types that are configured with frontend configurations.
- Node
Type stringName - The name of the node type.
- Placement
Properties Dictionary<string, string> - The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run.
- Secure
Boot boolEnabled - Specifies whether secure boot should be enabled on the nodeType. Can only be used with TrustedLaunch SecurityType
- Security
Type string | Pulumi.Azure Native. Service Fabric. Security Type - Specifies the security type of the nodeType. Only TrustedLaunch is currently supported
- Sku
Pulumi.
Azure Native. Service Fabric. Inputs. Node Type Sku - The node type sku.
- Spot
Restore stringTimeout - Indicates the time duration after which the platform will not try to restore the VMSS SPOT instances specified as ISO 8601.
- Subnet
Id string - Indicates the resource id of the subnet for the node type.
- Dictionary<string, string>
- Azure resource tags.
- Use
Default boolPublic Load Balancer - Specifies whether the use public load balancer. If not specified and the node type doesn't have its own frontend configuration, it will be attached to the default load balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is true, then the frontend has to be an Internal Load Balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is false or not set, then the custom load balancer must include a public load balancer to provide outbound connectivity.
- Use
Ephemeral boolOSDisk - Indicates whether to use ephemeral os disk. The sku selected on the vmSize property needs to support this feature.
- Use
Temp boolData Disk - Specifies whether to use the temporary disk for the service fabric data root, in which case no managed data disk will be attached and the temporary disk will be used. It is only allowed for stateless node types.
- Vm
Extensions List<Pulumi.Azure Native. Service Fabric. Inputs. VMSSExtension> - Set of extensions that should be installed onto the virtual machines.
- Vm
Image stringOffer - The offer type of the Azure Virtual Machines Marketplace image. For example, UbuntuServer or WindowsServer.
- Vm
Image Pulumi.Plan Azure Native. Service Fabric. Inputs. Vm Image Plan - Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.
- Vm
Image stringPublisher - The publisher of the Azure Virtual Machines Marketplace image. For example, Canonical or MicrosoftWindowsServer.
- Vm
Image stringResource Id - Indicates the resource id of the vm image. This parameter is used for custom vm image.
- Vm
Image stringSku - The SKU of the Azure Virtual Machines Marketplace image. For example, 14.04.0-LTS or 2012-R2-Datacenter.
- Vm
Image stringVersion - The version of the Azure Virtual Machines Marketplace image. A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- Vm
Managed Pulumi.Identity Azure Native. Service Fabric. Inputs. Vm Managed Identity - Identities to assign to the virtual machine scale set under the node type.
- Vm
Secrets List<Pulumi.Azure Native. Service Fabric. Inputs. Vault Secret Group> - The secrets to install in the virtual machines.
- Vm
Setup List<Union<string, Pulumi.Actions Azure Native. Service Fabric. Vm Setup Action>> - Specifies the actions to be performed on the vms before bootstrapping the service fabric runtime.
- string
- Indicates the resource id of the vm shared galleries image. This parameter is used for custom vm image.
- Vm
Size string - The size of virtual machines in the pool. All virtual machines in a pool are the same size. For example, Standard_D3.
- Zones List<string>
- Specifies the availability zones where the node type would span across. If the cluster is not spanning across availability zones, initiates az migration for the cluster.
- Cluster
Name string - The name of the cluster resource.
- Is
Primary bool - Indicates the Service Fabric system services for the cluster will run on this node type. This setting cannot be changed once the node type is created.
- Resource
Group stringName - The name of the resource group.
- Vm
Instance intCount - The number of nodes in the node type. Values: -1 - Use when auto scale rules are configured or sku.capacity is defined 0 - Not supported >0 - Use for manual scale.
- Additional
Data []VmssDisks Data Disk Args - Additional managed data disks.
- Application
Ports EndpointRange Description Args - The range of ports from which cluster assigned port to Service Fabric applications.
- Capacities map[string]string
- The capacity tags applied to the nodes in the node type, the cluster resource manager uses these tags to understand how much resource a node has.
- Data
Disk stringLetter - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- Data
Disk intSize GB - Disk size for the managed disk attached to the vms on the node type in GBs.
- Data
Disk string | DiskType Type - Managed data disk type. Specifies the storage account type for the managed disk
- Enable
Accelerated boolNetworking - Specifies whether the network interface is accelerated networking-enabled.
- Enable
Encryption boolAt Host - Enable or disable the Host Encryption for the virtual machines on the node type. This will enable the encryption for all the disks including Resource/Temp disk at host itself. Default: The Encryption at host will be disabled unless this property is set to true for the resource.
- Enable
Node boolPublic IP - Specifies whether each node is allocated its own public IP address. This is only supported on secondary node types with custom Load Balancers.
- Enable
Over boolProvisioning - Specifies whether the node type should be overprovisioned. It is only allowed for stateless node types.
- Ephemeral
Ports EndpointRange Description Args - The range of ephemeral ports that nodes in this node type should be configured with.
- Eviction
Policy string | EvictionPolicy Type - Specifies the eviction policy for virtual machines in a SPOT node type. Default is Delete.
- Frontend
Configurations []FrontendConfiguration Args - Indicates the node type uses its own frontend configurations instead of the default one for the cluster. This setting can only be specified for non-primary node types and can not be added or removed after the node type is created.
- Host
Group stringId - Specifies the full host group resource Id. This property is used for deploying on azure dedicated hosts.
- Is
Spot boolVM - Indicates whether the node type will be Spot Virtual Machines. Azure will allocate the VMs if there is capacity available and the VMs can be evicted at any time.
- Is
Stateless bool - Indicates if the node type can only host Stateless workloads.
- Multiple
Placement boolGroups - Indicates if scale set associated with the node type can be composed of multiple placement groups.
- Nat
Gateway stringId - Specifies the resource id of a NAT Gateway to attach to the subnet of this node type. Node type must use custom load balancer.
- Network
Security []NetworkRules Security Rule Args - The Network Security Rules for this node type. This setting can only be specified for node types that are configured with frontend configurations.
- Node
Type stringName - The name of the node type.
- Placement
Properties map[string]string - The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run.
- Secure
Boot boolEnabled - Specifies whether secure boot should be enabled on the nodeType. Can only be used with TrustedLaunch SecurityType
- Security
Type string | SecurityType - Specifies the security type of the nodeType. Only TrustedLaunch is currently supported
- Sku
Node
Type Sku Args - The node type sku.
- Spot
Restore stringTimeout - Indicates the time duration after which the platform will not try to restore the VMSS SPOT instances specified as ISO 8601.
- Subnet
Id string - Indicates the resource id of the subnet for the node type.
- map[string]string
- Azure resource tags.
- Use
Default boolPublic Load Balancer - Specifies whether the use public load balancer. If not specified and the node type doesn't have its own frontend configuration, it will be attached to the default load balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is true, then the frontend has to be an Internal Load Balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is false or not set, then the custom load balancer must include a public load balancer to provide outbound connectivity.
- Use
Ephemeral boolOSDisk - Indicates whether to use ephemeral os disk. The sku selected on the vmSize property needs to support this feature.
- Use
Temp boolData Disk - Specifies whether to use the temporary disk for the service fabric data root, in which case no managed data disk will be attached and the temporary disk will be used. It is only allowed for stateless node types.
- Vm
Extensions []VMSSExtensionArgs - Set of extensions that should be installed onto the virtual machines.
- Vm
Image stringOffer - The offer type of the Azure Virtual Machines Marketplace image. For example, UbuntuServer or WindowsServer.
- Vm
Image VmPlan Image Plan Args - Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.
- Vm
Image stringPublisher - The publisher of the Azure Virtual Machines Marketplace image. For example, Canonical or MicrosoftWindowsServer.
- Vm
Image stringResource Id - Indicates the resource id of the vm image. This parameter is used for custom vm image.
- Vm
Image stringSku - The SKU of the Azure Virtual Machines Marketplace image. For example, 14.04.0-LTS or 2012-R2-Datacenter.
- Vm
Image stringVersion - The version of the Azure Virtual Machines Marketplace image. A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- Vm
Managed VmIdentity Managed Identity Args - Identities to assign to the virtual machine scale set under the node type.
- Vm
Secrets []VaultSecret Group Args - The secrets to install in the virtual machines.
- Vm
Setup []stringActions - Specifies the actions to be performed on the vms before bootstrapping the service fabric runtime.
- string
- Indicates the resource id of the vm shared galleries image. This parameter is used for custom vm image.
- Vm
Size string - The size of virtual machines in the pool. All virtual machines in a pool are the same size. For example, Standard_D3.
- Zones []string
- Specifies the availability zones where the node type would span across. If the cluster is not spanning across availability zones, initiates az migration for the cluster.
- cluster
Name String - The name of the cluster resource.
- is
Primary Boolean - Indicates the Service Fabric system services for the cluster will run on this node type. This setting cannot be changed once the node type is created.
- resource
Group StringName - The name of the resource group.
- vm
Instance IntegerCount - The number of nodes in the node type. Values: -1 - Use when auto scale rules are configured or sku.capacity is defined 0 - Not supported >0 - Use for manual scale.
- additional
Data List<VmssDisks Data Disk> - Additional managed data disks.
- application
Ports EndpointRange Description - The range of ports from which cluster assigned port to Service Fabric applications.
- capacities Map<String,String>
- The capacity tags applied to the nodes in the node type, the cluster resource manager uses these tags to understand how much resource a node has.
- data
Disk StringLetter - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- data
Disk IntegerSize GB - Disk size for the managed disk attached to the vms on the node type in GBs.
- data
Disk String | DiskType Type - Managed data disk type. Specifies the storage account type for the managed disk
- enable
Accelerated BooleanNetworking - Specifies whether the network interface is accelerated networking-enabled.
- enable
Encryption BooleanAt Host - Enable or disable the Host Encryption for the virtual machines on the node type. This will enable the encryption for all the disks including Resource/Temp disk at host itself. Default: The Encryption at host will be disabled unless this property is set to true for the resource.
- enable
Node BooleanPublic IP - Specifies whether each node is allocated its own public IP address. This is only supported on secondary node types with custom Load Balancers.
- enable
Over BooleanProvisioning - Specifies whether the node type should be overprovisioned. It is only allowed for stateless node types.
- ephemeral
Ports EndpointRange Description - The range of ephemeral ports that nodes in this node type should be configured with.
- eviction
Policy String | EvictionPolicy Type - Specifies the eviction policy for virtual machines in a SPOT node type. Default is Delete.
- frontend
Configurations List<FrontendConfiguration> - Indicates the node type uses its own frontend configurations instead of the default one for the cluster. This setting can only be specified for non-primary node types and can not be added or removed after the node type is created.
- host
Group StringId - Specifies the full host group resource Id. This property is used for deploying on azure dedicated hosts.
- is
Spot BooleanVM - Indicates whether the node type will be Spot Virtual Machines. Azure will allocate the VMs if there is capacity available and the VMs can be evicted at any time.
- is
Stateless Boolean - Indicates if the node type can only host Stateless workloads.
- multiple
Placement BooleanGroups - Indicates if scale set associated with the node type can be composed of multiple placement groups.
- nat
Gateway StringId - Specifies the resource id of a NAT Gateway to attach to the subnet of this node type. Node type must use custom load balancer.
- network
Security List<NetworkRules Security Rule> - The Network Security Rules for this node type. This setting can only be specified for node types that are configured with frontend configurations.
- node
Type StringName - The name of the node type.
- placement
Properties Map<String,String> - The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run.
- secure
Boot BooleanEnabled - Specifies whether secure boot should be enabled on the nodeType. Can only be used with TrustedLaunch SecurityType
- security
Type String | SecurityType - Specifies the security type of the nodeType. Only TrustedLaunch is currently supported
- sku
Node
Type Sku - The node type sku.
- spot
Restore StringTimeout - Indicates the time duration after which the platform will not try to restore the VMSS SPOT instances specified as ISO 8601.
- subnet
Id String - Indicates the resource id of the subnet for the node type.
- Map<String,String>
- Azure resource tags.
- use
Default BooleanPublic Load Balancer - Specifies whether the use public load balancer. If not specified and the node type doesn't have its own frontend configuration, it will be attached to the default load balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is true, then the frontend has to be an Internal Load Balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is false or not set, then the custom load balancer must include a public load balancer to provide outbound connectivity.
- use
Ephemeral BooleanOSDisk - Indicates whether to use ephemeral os disk. The sku selected on the vmSize property needs to support this feature.
- use
Temp BooleanData Disk - Specifies whether to use the temporary disk for the service fabric data root, in which case no managed data disk will be attached and the temporary disk will be used. It is only allowed for stateless node types.
- vm
Extensions List<VMSSExtension> - Set of extensions that should be installed onto the virtual machines.
- vm
Image StringOffer - The offer type of the Azure Virtual Machines Marketplace image. For example, UbuntuServer or WindowsServer.
- vm
Image VmPlan Image Plan - Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.
- vm
Image StringPublisher - The publisher of the Azure Virtual Machines Marketplace image. For example, Canonical or MicrosoftWindowsServer.
- vm
Image StringResource Id - Indicates the resource id of the vm image. This parameter is used for custom vm image.
- vm
Image StringSku - The SKU of the Azure Virtual Machines Marketplace image. For example, 14.04.0-LTS or 2012-R2-Datacenter.
- vm
Image StringVersion - The version of the Azure Virtual Machines Marketplace image. A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- vm
Managed VmIdentity Managed Identity - Identities to assign to the virtual machine scale set under the node type.
- vm
Secrets List<VaultSecret Group> - The secrets to install in the virtual machines.
- vm
Setup List<Either<String,VmActions Setup Action>> - Specifies the actions to be performed on the vms before bootstrapping the service fabric runtime.
- String
- Indicates the resource id of the vm shared galleries image. This parameter is used for custom vm image.
- vm
Size String - The size of virtual machines in the pool. All virtual machines in a pool are the same size. For example, Standard_D3.
- zones List<String>
- Specifies the availability zones where the node type would span across. If the cluster is not spanning across availability zones, initiates az migration for the cluster.
- cluster
Name string - The name of the cluster resource.
- is
Primary boolean - Indicates the Service Fabric system services for the cluster will run on this node type. This setting cannot be changed once the node type is created.
- resource
Group stringName - The name of the resource group.
- vm
Instance numberCount - The number of nodes in the node type. Values: -1 - Use when auto scale rules are configured or sku.capacity is defined 0 - Not supported >0 - Use for manual scale.
- additional
Data VmssDisks Data Disk[] - Additional managed data disks.
- application
Ports EndpointRange Description - The range of ports from which cluster assigned port to Service Fabric applications.
- capacities {[key: string]: string}
- The capacity tags applied to the nodes in the node type, the cluster resource manager uses these tags to understand how much resource a node has.
- data
Disk stringLetter - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- data
Disk numberSize GB - Disk size for the managed disk attached to the vms on the node type in GBs.
- data
Disk string | DiskType Type - Managed data disk type. Specifies the storage account type for the managed disk
- enable
Accelerated booleanNetworking - Specifies whether the network interface is accelerated networking-enabled.
- enable
Encryption booleanAt Host - Enable or disable the Host Encryption for the virtual machines on the node type. This will enable the encryption for all the disks including Resource/Temp disk at host itself. Default: The Encryption at host will be disabled unless this property is set to true for the resource.
- enable
Node booleanPublic IP - Specifies whether each node is allocated its own public IP address. This is only supported on secondary node types with custom Load Balancers.
- enable
Over booleanProvisioning - Specifies whether the node type should be overprovisioned. It is only allowed for stateless node types.
- ephemeral
Ports EndpointRange Description - The range of ephemeral ports that nodes in this node type should be configured with.
- eviction
Policy string | EvictionPolicy Type - Specifies the eviction policy for virtual machines in a SPOT node type. Default is Delete.
- frontend
Configurations FrontendConfiguration[] - Indicates the node type uses its own frontend configurations instead of the default one for the cluster. This setting can only be specified for non-primary node types and can not be added or removed after the node type is created.
- host
Group stringId - Specifies the full host group resource Id. This property is used for deploying on azure dedicated hosts.
- is
Spot booleanVM - Indicates whether the node type will be Spot Virtual Machines. Azure will allocate the VMs if there is capacity available and the VMs can be evicted at any time.
- is
Stateless boolean - Indicates if the node type can only host Stateless workloads.
- multiple
Placement booleanGroups - Indicates if scale set associated with the node type can be composed of multiple placement groups.
- nat
Gateway stringId - Specifies the resource id of a NAT Gateway to attach to the subnet of this node type. Node type must use custom load balancer.
- network
Security NetworkRules Security Rule[] - The Network Security Rules for this node type. This setting can only be specified for node types that are configured with frontend configurations.
- node
Type stringName - The name of the node type.
- placement
Properties {[key: string]: string} - The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run.
- secure
Boot booleanEnabled - Specifies whether secure boot should be enabled on the nodeType. Can only be used with TrustedLaunch SecurityType
- security
Type string | SecurityType - Specifies the security type of the nodeType. Only TrustedLaunch is currently supported
- sku
Node
Type Sku - The node type sku.
- spot
Restore stringTimeout - Indicates the time duration after which the platform will not try to restore the VMSS SPOT instances specified as ISO 8601.
- subnet
Id string - Indicates the resource id of the subnet for the node type.
- {[key: string]: string}
- Azure resource tags.
- use
Default booleanPublic Load Balancer - Specifies whether the use public load balancer. If not specified and the node type doesn't have its own frontend configuration, it will be attached to the default load balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is true, then the frontend has to be an Internal Load Balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is false or not set, then the custom load balancer must include a public load balancer to provide outbound connectivity.
- use
Ephemeral booleanOSDisk - Indicates whether to use ephemeral os disk. The sku selected on the vmSize property needs to support this feature.
- use
Temp booleanData Disk - Specifies whether to use the temporary disk for the service fabric data root, in which case no managed data disk will be attached and the temporary disk will be used. It is only allowed for stateless node types.
- vm
Extensions VMSSExtension[] - Set of extensions that should be installed onto the virtual machines.
- vm
Image stringOffer - The offer type of the Azure Virtual Machines Marketplace image. For example, UbuntuServer or WindowsServer.
- vm
Image VmPlan Image Plan - Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.
- vm
Image stringPublisher - The publisher of the Azure Virtual Machines Marketplace image. For example, Canonical or MicrosoftWindowsServer.
- vm
Image stringResource Id - Indicates the resource id of the vm image. This parameter is used for custom vm image.
- vm
Image stringSku - The SKU of the Azure Virtual Machines Marketplace image. For example, 14.04.0-LTS or 2012-R2-Datacenter.
- vm
Image stringVersion - The version of the Azure Virtual Machines Marketplace image. A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- vm
Managed VmIdentity Managed Identity - Identities to assign to the virtual machine scale set under the node type.
- vm
Secrets VaultSecret Group[] - The secrets to install in the virtual machines.
- vm
Setup (string | VmActions Setup Action)[] - Specifies the actions to be performed on the vms before bootstrapping the service fabric runtime.
- string
- Indicates the resource id of the vm shared galleries image. This parameter is used for custom vm image.
- vm
Size string - The size of virtual machines in the pool. All virtual machines in a pool are the same size. For example, Standard_D3.
- zones string[]
- Specifies the availability zones where the node type would span across. If the cluster is not spanning across availability zones, initiates az migration for the cluster.
- cluster_
name str - The name of the cluster resource.
- is_
primary bool - Indicates the Service Fabric system services for the cluster will run on this node type. This setting cannot be changed once the node type is created.
- resource_
group_ strname - The name of the resource group.
- vm_
instance_ intcount - The number of nodes in the node type. Values: -1 - Use when auto scale rules are configured or sku.capacity is defined 0 - Not supported >0 - Use for manual scale.
- additional_
data_ Sequence[Vmssdisks Data Disk Args] - Additional managed data disks.
- application_
ports EndpointRange Description Args - The range of ports from which cluster assigned port to Service Fabric applications.
- capacities Mapping[str, str]
- The capacity tags applied to the nodes in the node type, the cluster resource manager uses these tags to understand how much resource a node has.
- data_
disk_ strletter - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- data_
disk_ intsize_ gb - Disk size for the managed disk attached to the vms on the node type in GBs.
- data_
disk_ str | Disktype Type - Managed data disk type. Specifies the storage account type for the managed disk
- enable_
accelerated_ boolnetworking - Specifies whether the network interface is accelerated networking-enabled.
- enable_
encryption_ boolat_ host - Enable or disable the Host Encryption for the virtual machines on the node type. This will enable the encryption for all the disks including Resource/Temp disk at host itself. Default: The Encryption at host will be disabled unless this property is set to true for the resource.
- enable_
node_ boolpublic_ ip - Specifies whether each node is allocated its own public IP address. This is only supported on secondary node types with custom Load Balancers.
- enable_
over_ boolprovisioning - Specifies whether the node type should be overprovisioned. It is only allowed for stateless node types.
- ephemeral_
ports EndpointRange Description Args - The range of ephemeral ports that nodes in this node type should be configured with.
- eviction_
policy str | EvictionPolicy Type - Specifies the eviction policy for virtual machines in a SPOT node type. Default is Delete.
- frontend_
configurations Sequence[FrontendConfiguration Args] - Indicates the node type uses its own frontend configurations instead of the default one for the cluster. This setting can only be specified for non-primary node types and can not be added or removed after the node type is created.
- host_
group_ strid - Specifies the full host group resource Id. This property is used for deploying on azure dedicated hosts.
- is_
spot_ boolvm - Indicates whether the node type will be Spot Virtual Machines. Azure will allocate the VMs if there is capacity available and the VMs can be evicted at any time.
- is_
stateless bool - Indicates if the node type can only host Stateless workloads.
- multiple_
placement_ boolgroups - Indicates if scale set associated with the node type can be composed of multiple placement groups.
- nat_
gateway_ strid - Specifies the resource id of a NAT Gateway to attach to the subnet of this node type. Node type must use custom load balancer.
- network_
security_ Sequence[Networkrules Security Rule Args] - The Network Security Rules for this node type. This setting can only be specified for node types that are configured with frontend configurations.
- node_
type_ strname - The name of the node type.
- placement_
properties Mapping[str, str] - The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run.
- secure_
boot_ boolenabled - Specifies whether secure boot should be enabled on the nodeType. Can only be used with TrustedLaunch SecurityType
- security_
type str | SecurityType - Specifies the security type of the nodeType. Only TrustedLaunch is currently supported
- sku
Node
Type Sku Args - The node type sku.
- spot_
restore_ strtimeout - Indicates the time duration after which the platform will not try to restore the VMSS SPOT instances specified as ISO 8601.
- subnet_
id str - Indicates the resource id of the subnet for the node type.
- Mapping[str, str]
- Azure resource tags.
- use_
default_ boolpublic_ load_ balancer - Specifies whether the use public load balancer. If not specified and the node type doesn't have its own frontend configuration, it will be attached to the default load balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is true, then the frontend has to be an Internal Load Balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is false or not set, then the custom load balancer must include a public load balancer to provide outbound connectivity.
- use_
ephemeral_ boolos_ disk - Indicates whether to use ephemeral os disk. The sku selected on the vmSize property needs to support this feature.
- use_
temp_ booldata_ disk - Specifies whether to use the temporary disk for the service fabric data root, in which case no managed data disk will be attached and the temporary disk will be used. It is only allowed for stateless node types.
- vm_
extensions Sequence[VMSSExtensionArgs] - Set of extensions that should be installed onto the virtual machines.
- vm_
image_ stroffer - The offer type of the Azure Virtual Machines Marketplace image. For example, UbuntuServer or WindowsServer.
- vm_
image_ Vmplan Image Plan Args - Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.
- vm_
image_ strpublisher - The publisher of the Azure Virtual Machines Marketplace image. For example, Canonical or MicrosoftWindowsServer.
- vm_
image_ strresource_ id - Indicates the resource id of the vm image. This parameter is used for custom vm image.
- vm_
image_ strsku - The SKU of the Azure Virtual Machines Marketplace image. For example, 14.04.0-LTS or 2012-R2-Datacenter.
- vm_
image_ strversion - The version of the Azure Virtual Machines Marketplace image. A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- vm_
managed_ Vmidentity Managed Identity Args - Identities to assign to the virtual machine scale set under the node type.
- vm_
secrets Sequence[VaultSecret Group Args] - The secrets to install in the virtual machines.
- vm_
setup_ Sequence[Union[str, Vmactions Setup Action]] - Specifies the actions to be performed on the vms before bootstrapping the service fabric runtime.
- str
- Indicates the resource id of the vm shared galleries image. This parameter is used for custom vm image.
- vm_
size str - The size of virtual machines in the pool. All virtual machines in a pool are the same size. For example, Standard_D3.
- zones Sequence[str]
- Specifies the availability zones where the node type would span across. If the cluster is not spanning across availability zones, initiates az migration for the cluster.
- cluster
Name String - The name of the cluster resource.
- is
Primary Boolean - Indicates the Service Fabric system services for the cluster will run on this node type. This setting cannot be changed once the node type is created.
- resource
Group StringName - The name of the resource group.
- vm
Instance NumberCount - The number of nodes in the node type. Values: -1 - Use when auto scale rules are configured or sku.capacity is defined 0 - Not supported >0 - Use for manual scale.
- additional
Data List<Property Map>Disks - Additional managed data disks.
- application
Ports Property Map - The range of ports from which cluster assigned port to Service Fabric applications.
- capacities Map<String>
- The capacity tags applied to the nodes in the node type, the cluster resource manager uses these tags to understand how much resource a node has.
- data
Disk StringLetter - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- data
Disk NumberSize GB - Disk size for the managed disk attached to the vms on the node type in GBs.
- data
Disk String | "Standard_LRS" | "StandardType SSD_LRS" | "Premium_LRS" - Managed data disk type. Specifies the storage account type for the managed disk
- enable
Accelerated BooleanNetworking - Specifies whether the network interface is accelerated networking-enabled.
- enable
Encryption BooleanAt Host - Enable or disable the Host Encryption for the virtual machines on the node type. This will enable the encryption for all the disks including Resource/Temp disk at host itself. Default: The Encryption at host will be disabled unless this property is set to true for the resource.
- enable
Node BooleanPublic IP - Specifies whether each node is allocated its own public IP address. This is only supported on secondary node types with custom Load Balancers.
- enable
Over BooleanProvisioning - Specifies whether the node type should be overprovisioned. It is only allowed for stateless node types.
- ephemeral
Ports Property Map - The range of ephemeral ports that nodes in this node type should be configured with.
- eviction
Policy String | "Delete" | "Deallocate" - Specifies the eviction policy for virtual machines in a SPOT node type. Default is Delete.
- frontend
Configurations List<Property Map> - Indicates the node type uses its own frontend configurations instead of the default one for the cluster. This setting can only be specified for non-primary node types and can not be added or removed after the node type is created.
- host
Group StringId - Specifies the full host group resource Id. This property is used for deploying on azure dedicated hosts.
- is
Spot BooleanVM - Indicates whether the node type will be Spot Virtual Machines. Azure will allocate the VMs if there is capacity available and the VMs can be evicted at any time.
- is
Stateless Boolean - Indicates if the node type can only host Stateless workloads.
- multiple
Placement BooleanGroups - Indicates if scale set associated with the node type can be composed of multiple placement groups.
- nat
Gateway StringId - Specifies the resource id of a NAT Gateway to attach to the subnet of this node type. Node type must use custom load balancer.
- network
Security List<Property Map>Rules - The Network Security Rules for this node type. This setting can only be specified for node types that are configured with frontend configurations.
- node
Type StringName - The name of the node type.
- placement
Properties Map<String> - The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run.
- secure
Boot BooleanEnabled - Specifies whether secure boot should be enabled on the nodeType. Can only be used with TrustedLaunch SecurityType
- security
Type String | "TrustedLaunch" - Specifies the security type of the nodeType. Only TrustedLaunch is currently supported
- sku Property Map
- The node type sku.
- spot
Restore StringTimeout - Indicates the time duration after which the platform will not try to restore the VMSS SPOT instances specified as ISO 8601.
- subnet
Id String - Indicates the resource id of the subnet for the node type.
- Map<String>
- Azure resource tags.
- use
Default BooleanPublic Load Balancer - Specifies whether the use public load balancer. If not specified and the node type doesn't have its own frontend configuration, it will be attached to the default load balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is true, then the frontend has to be an Internal Load Balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is false or not set, then the custom load balancer must include a public load balancer to provide outbound connectivity.
- use
Ephemeral BooleanOSDisk - Indicates whether to use ephemeral os disk. The sku selected on the vmSize property needs to support this feature.
- use
Temp BooleanData Disk - Specifies whether to use the temporary disk for the service fabric data root, in which case no managed data disk will be attached and the temporary disk will be used. It is only allowed for stateless node types.
- vm
Extensions List<Property Map> - Set of extensions that should be installed onto the virtual machines.
- vm
Image StringOffer - The offer type of the Azure Virtual Machines Marketplace image. For example, UbuntuServer or WindowsServer.
- vm
Image Property MapPlan - Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.
- vm
Image StringPublisher - The publisher of the Azure Virtual Machines Marketplace image. For example, Canonical or MicrosoftWindowsServer.
- vm
Image StringResource Id - Indicates the resource id of the vm image. This parameter is used for custom vm image.
- vm
Image StringSku - The SKU of the Azure Virtual Machines Marketplace image. For example, 14.04.0-LTS or 2012-R2-Datacenter.
- vm
Image StringVersion - The version of the Azure Virtual Machines Marketplace image. A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- vm
Managed Property MapIdentity - Identities to assign to the virtual machine scale set under the node type.
- vm
Secrets List<Property Map> - The secrets to install in the virtual machines.
- vm
Setup List<String | "EnableActions Containers" | "Enable Hyper V"> - Specifies the actions to be performed on the vms before bootstrapping the service fabric runtime.
- String
- Indicates the resource id of the vm shared galleries image. This parameter is used for custom vm image.
- vm
Size String - The size of virtual machines in the pool. All virtual machines in a pool are the same size. For example, Standard_D3.
- zones List<String>
- Specifies the availability zones where the node type would span across. If the cluster is not spanning across availability zones, initiates az migration for the cluster.
Outputs
All input properties are implicitly available as output properties. Additionally, the NodeType resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Azure resource name.
- Provisioning
State string - The provisioning state of the node type resource.
- System
Data Pulumi.Azure Native. Service Fabric. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- Azure resource type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Azure resource name.
- Provisioning
State string - The provisioning state of the node type resource.
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- Azure resource type.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Azure resource name.
- provisioning
State String - The provisioning state of the node type resource.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- Azure resource type.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Azure resource name.
- provisioning
State string - The provisioning state of the node type resource.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type string
- Azure resource type.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Azure resource name.
- provisioning_
state str - The provisioning state of the node type resource.
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type str
- Azure resource type.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Azure resource name.
- provisioning
State String - The provisioning state of the node type resource.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- Azure resource type.
Supporting Types
Access, AccessArgs
- Allow
- allow
- Deny
- deny
- Access
Allow - allow
- Access
Deny - deny
- Allow
- allow
- Deny
- deny
- Allow
- allow
- Deny
- deny
- ALLOW
- allow
- DENY
- deny
- "allow"
- allow
- "deny"
- deny
Direction, DirectionArgs
- Inbound
- inbound
- Outbound
- outbound
- Direction
Inbound - inbound
- Direction
Outbound - outbound
- Inbound
- inbound
- Outbound
- outbound
- Inbound
- inbound
- Outbound
- outbound
- INBOUND
- inbound
- OUTBOUND
- outbound
- "inbound"
- inbound
- "outbound"
- outbound
DiskType, DiskTypeArgs
- Standard_LRS
- Standard_LRSStandard HDD locally redundant storage. Best for backup, non-critical, and infrequent access.
- Standard
SSD_LRS - StandardSSD_LRSStandard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev/test.
- Premium_LRS
- Premium_LRSPremium SSD locally redundant storage. Best for production and performance sensitive workloads.
- Disk
Type_Standard_LRS - Standard_LRSStandard HDD locally redundant storage. Best for backup, non-critical, and infrequent access.
- Disk
Type_Standard SSD_LRS - StandardSSD_LRSStandard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev/test.
- Disk
Type_Premium_LRS - Premium_LRSPremium SSD locally redundant storage. Best for production and performance sensitive workloads.
- Standard_LRS
- Standard_LRSStandard HDD locally redundant storage. Best for backup, non-critical, and infrequent access.
- Standard
SSD_LRS - StandardSSD_LRSStandard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev/test.
- Premium_LRS
- Premium_LRSPremium SSD locally redundant storage. Best for production and performance sensitive workloads.
- Standard_LRS
- Standard_LRSStandard HDD locally redundant storage. Best for backup, non-critical, and infrequent access.
- Standard
SSD_LRS - StandardSSD_LRSStandard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev/test.
- Premium_LRS
- Premium_LRSPremium SSD locally redundant storage. Best for production and performance sensitive workloads.
- STANDARD_LRS
- Standard_LRSStandard HDD locally redundant storage. Best for backup, non-critical, and infrequent access.
- STANDARD_SS_D_LRS
- StandardSSD_LRSStandard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev/test.
- PREMIUM_LRS
- Premium_LRSPremium SSD locally redundant storage. Best for production and performance sensitive workloads.
- "Standard_LRS"
- Standard_LRSStandard HDD locally redundant storage. Best for backup, non-critical, and infrequent access.
- "Standard
SSD_LRS" - StandardSSD_LRSStandard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev/test.
- "Premium_LRS"
- Premium_LRSPremium SSD locally redundant storage. Best for production and performance sensitive workloads.
EndpointRangeDescription, EndpointRangeDescriptionArgs
- end_
port int - End port of a range of ports
- start_
port int - Starting port of a range of ports
EndpointRangeDescriptionResponse, EndpointRangeDescriptionResponseArgs
- end_
port int - End port of a range of ports
- start_
port int - Starting port of a range of ports
EvictionPolicyType, EvictionPolicyTypeArgs
- Delete
- DeleteEviction policy will be Delete for SPOT vms.
- Deallocate
- DeallocateEviction policy will be Deallocate for SPOT vms.
- Eviction
Policy Type Delete - DeleteEviction policy will be Delete for SPOT vms.
- Eviction
Policy Type Deallocate - DeallocateEviction policy will be Deallocate for SPOT vms.
- Delete
- DeleteEviction policy will be Delete for SPOT vms.
- Deallocate
- DeallocateEviction policy will be Deallocate for SPOT vms.
- Delete
- DeleteEviction policy will be Delete for SPOT vms.
- Deallocate
- DeallocateEviction policy will be Deallocate for SPOT vms.
- DELETE
- DeleteEviction policy will be Delete for SPOT vms.
- DEALLOCATE
- DeallocateEviction policy will be Deallocate for SPOT vms.
- "Delete"
- DeleteEviction policy will be Delete for SPOT vms.
- "Deallocate"
- DeallocateEviction policy will be Deallocate for SPOT vms.
FrontendConfiguration, FrontendConfigurationArgs
- Application
Gateway stringBackend Address Pool Id - The resource Id of application gateway backend address pool. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/applicationGateways//backendAddressPools/'.
- Ip
Address string | Pulumi.Type Azure Native. Service Fabric. IPAddress Type - The IP address type of this frontend configuration. If omitted the default value is IPv4.
- Load
Balancer stringBackend Address Pool Id - The resource Id of the Load Balancer backend address pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//backendAddressPools/'.
- Load
Balancer stringInbound Nat Pool Id - The resource Id of the Load Balancer inbound NAT pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//inboundNatPools/'.
- Application
Gateway stringBackend Address Pool Id - The resource Id of application gateway backend address pool. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/applicationGateways//backendAddressPools/'.
- Ip
Address string | IPAddressType Type - The IP address type of this frontend configuration. If omitted the default value is IPv4.
- Load
Balancer stringBackend Address Pool Id - The resource Id of the Load Balancer backend address pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//backendAddressPools/'.
- Load
Balancer stringInbound Nat Pool Id - The resource Id of the Load Balancer inbound NAT pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//inboundNatPools/'.
- application
Gateway StringBackend Address Pool Id - The resource Id of application gateway backend address pool. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/applicationGateways//backendAddressPools/'.
- ip
Address String | IPAddressType Type - The IP address type of this frontend configuration. If omitted the default value is IPv4.
- load
Balancer StringBackend Address Pool Id - The resource Id of the Load Balancer backend address pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//backendAddressPools/'.
- load
Balancer StringInbound Nat Pool Id - The resource Id of the Load Balancer inbound NAT pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//inboundNatPools/'.
- application
Gateway stringBackend Address Pool Id - The resource Id of application gateway backend address pool. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/applicationGateways//backendAddressPools/'.
- ip
Address string | IPAddressType Type - The IP address type of this frontend configuration. If omitted the default value is IPv4.
- load
Balancer stringBackend Address Pool Id - The resource Id of the Load Balancer backend address pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//backendAddressPools/'.
- load
Balancer stringInbound Nat Pool Id - The resource Id of the Load Balancer inbound NAT pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//inboundNatPools/'.
- application_
gateway_ strbackend_ address_ pool_ id - The resource Id of application gateway backend address pool. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/applicationGateways//backendAddressPools/'.
- ip_
address_ str | IPAddresstype Type - The IP address type of this frontend configuration. If omitted the default value is IPv4.
- load_
balancer_ strbackend_ address_ pool_ id - The resource Id of the Load Balancer backend address pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//backendAddressPools/'.
- load_
balancer_ strinbound_ nat_ pool_ id - The resource Id of the Load Balancer inbound NAT pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//inboundNatPools/'.
- application
Gateway StringBackend Address Pool Id - The resource Id of application gateway backend address pool. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/applicationGateways//backendAddressPools/'.
- ip
Address String | "IPv4" | "IPv6"Type - The IP address type of this frontend configuration. If omitted the default value is IPv4.
- load
Balancer StringBackend Address Pool Id - The resource Id of the Load Balancer backend address pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//backendAddressPools/'.
- load
Balancer StringInbound Nat Pool Id - The resource Id of the Load Balancer inbound NAT pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//inboundNatPools/'.
FrontendConfigurationResponse, FrontendConfigurationResponseArgs
- Application
Gateway stringBackend Address Pool Id - The resource Id of application gateway backend address pool. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/applicationGateways//backendAddressPools/'.
- Ip
Address stringType - The IP address type of this frontend configuration. If omitted the default value is IPv4.
- Load
Balancer stringBackend Address Pool Id - The resource Id of the Load Balancer backend address pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//backendAddressPools/'.
- Load
Balancer stringInbound Nat Pool Id - The resource Id of the Load Balancer inbound NAT pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//inboundNatPools/'.
- Application
Gateway stringBackend Address Pool Id - The resource Id of application gateway backend address pool. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/applicationGateways//backendAddressPools/'.
- Ip
Address stringType - The IP address type of this frontend configuration. If omitted the default value is IPv4.
- Load
Balancer stringBackend Address Pool Id - The resource Id of the Load Balancer backend address pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//backendAddressPools/'.
- Load
Balancer stringInbound Nat Pool Id - The resource Id of the Load Balancer inbound NAT pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//inboundNatPools/'.
- application
Gateway StringBackend Address Pool Id - The resource Id of application gateway backend address pool. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/applicationGateways//backendAddressPools/'.
- ip
Address StringType - The IP address type of this frontend configuration. If omitted the default value is IPv4.
- load
Balancer StringBackend Address Pool Id - The resource Id of the Load Balancer backend address pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//backendAddressPools/'.
- load
Balancer StringInbound Nat Pool Id - The resource Id of the Load Balancer inbound NAT pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//inboundNatPools/'.
- application
Gateway stringBackend Address Pool Id - The resource Id of application gateway backend address pool. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/applicationGateways//backendAddressPools/'.
- ip
Address stringType - The IP address type of this frontend configuration. If omitted the default value is IPv4.
- load
Balancer stringBackend Address Pool Id - The resource Id of the Load Balancer backend address pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//backendAddressPools/'.
- load
Balancer stringInbound Nat Pool Id - The resource Id of the Load Balancer inbound NAT pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//inboundNatPools/'.
- application_
gateway_ strbackend_ address_ pool_ id - The resource Id of application gateway backend address pool. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/applicationGateways//backendAddressPools/'.
- ip_
address_ strtype - The IP address type of this frontend configuration. If omitted the default value is IPv4.
- load_
balancer_ strbackend_ address_ pool_ id - The resource Id of the Load Balancer backend address pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//backendAddressPools/'.
- load_
balancer_ strinbound_ nat_ pool_ id - The resource Id of the Load Balancer inbound NAT pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//inboundNatPools/'.
- application
Gateway StringBackend Address Pool Id - The resource Id of application gateway backend address pool. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/applicationGateways//backendAddressPools/'.
- ip
Address StringType - The IP address type of this frontend configuration. If omitted the default value is IPv4.
- load
Balancer StringBackend Address Pool Id - The resource Id of the Load Balancer backend address pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//backendAddressPools/'.
- load
Balancer StringInbound Nat Pool Id - The resource Id of the Load Balancer inbound NAT pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//inboundNatPools/'.
IPAddressType, IPAddressTypeArgs
- IPv4
- IPv4IPv4 address type.
- IPv6
- IPv6IPv6 address type.
- IPAddress
Type IPv4 - IPv4IPv4 address type.
- IPAddress
Type IPv6 - IPv6IPv6 address type.
- IPv4
- IPv4IPv4 address type.
- IPv6
- IPv6IPv6 address type.
- IPv4
- IPv4IPv4 address type.
- IPv6
- IPv6IPv6 address type.
- I_PV4
- IPv4IPv4 address type.
- I_PV6
- IPv6IPv6 address type.
- "IPv4"
- IPv4IPv4 address type.
- "IPv6"
- IPv6IPv6 address type.
NetworkSecurityRule, NetworkSecurityRuleArgs
- Access
string | Pulumi.
Azure Native. Service Fabric. Access - The network traffic is allowed or denied.
- Direction
string | Pulumi.
Azure Native. Service Fabric. Direction - Network security rule direction.
- Name string
- Network security rule name.
- Priority int
- The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Protocol
string | Pulumi.
Azure Native. Service Fabric. Nsg Protocol - Network protocol this rule applies to.
- Description string
- Network security rule description.
- Destination
Address stringPrefix - The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- Destination
Address List<string>Prefixes - The destination address prefixes. CIDR or destination IP ranges.
- Destination
Port stringRange - he destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- Destination
Port List<string>Ranges - The destination port ranges.
- Source
Address stringPrefix - The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- Source
Address List<string>Prefixes - The CIDR or source IP ranges.
- Source
Port stringRange - The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- Source
Port List<string>Ranges - The source port ranges.
- Access string | Access
- The network traffic is allowed or denied.
- Direction string | Direction
- Network security rule direction.
- Name string
- Network security rule name.
- Priority int
- The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Protocol
string | Nsg
Protocol - Network protocol this rule applies to.
- Description string
- Network security rule description.
- Destination
Address stringPrefix - The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- Destination
Address []stringPrefixes - The destination address prefixes. CIDR or destination IP ranges.
- Destination
Port stringRange - he destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- Destination
Port []stringRanges - The destination port ranges.
- Source
Address stringPrefix - The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- Source
Address []stringPrefixes - The CIDR or source IP ranges.
- Source
Port stringRange - The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- Source
Port []stringRanges - The source port ranges.
- access String | Access
- The network traffic is allowed or denied.
- direction String | Direction
- Network security rule direction.
- name String
- Network security rule name.
- priority Integer
- The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- protocol
String | Nsg
Protocol - Network protocol this rule applies to.
- description String
- Network security rule description.
- destination
Address StringPrefix - The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- destination
Address List<String>Prefixes - The destination address prefixes. CIDR or destination IP ranges.
- destination
Port StringRange - he destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- destination
Port List<String>Ranges - The destination port ranges.
- source
Address StringPrefix - The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- source
Address List<String>Prefixes - The CIDR or source IP ranges.
- source
Port StringRange - The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- source
Port List<String>Ranges - The source port ranges.
- access string | Access
- The network traffic is allowed or denied.
- direction string | Direction
- Network security rule direction.
- name string
- Network security rule name.
- priority number
- The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- protocol
string | Nsg
Protocol - Network protocol this rule applies to.
- description string
- Network security rule description.
- destination
Address stringPrefix - The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- destination
Address string[]Prefixes - The destination address prefixes. CIDR or destination IP ranges.
- destination
Port stringRange - he destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- destination
Port string[]Ranges - The destination port ranges.
- source
Address stringPrefix - The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- source
Address string[]Prefixes - The CIDR or source IP ranges.
- source
Port stringRange - The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- source
Port string[]Ranges - The source port ranges.
- access str | Access
- The network traffic is allowed or denied.
- direction str | Direction
- Network security rule direction.
- name str
- Network security rule name.
- priority int
- The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- protocol
str | Nsg
Protocol - Network protocol this rule applies to.
- description str
- Network security rule description.
- destination_
address_ strprefix - The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- destination_
address_ Sequence[str]prefixes - The destination address prefixes. CIDR or destination IP ranges.
- destination_
port_ strrange - he destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- destination_
port_ Sequence[str]ranges - The destination port ranges.
- source_
address_ strprefix - The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- source_
address_ Sequence[str]prefixes - The CIDR or source IP ranges.
- source_
port_ strrange - The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- source_
port_ Sequence[str]ranges - The source port ranges.
- access String | "allow" | "deny"
- The network traffic is allowed or denied.
- direction String | "inbound" | "outbound"
- Network security rule direction.
- name String
- Network security rule name.
- priority Number
- The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- protocol String | "http" | "https" | "tcp" | "udp" | "icmp" | "ah" | "esp"
- Network protocol this rule applies to.
- description String
- Network security rule description.
- destination
Address StringPrefix - The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- destination
Address List<String>Prefixes - The destination address prefixes. CIDR or destination IP ranges.
- destination
Port StringRange - he destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- destination
Port List<String>Ranges - The destination port ranges.
- source
Address StringPrefix - The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- source
Address List<String>Prefixes - The CIDR or source IP ranges.
- source
Port StringRange - The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- source
Port List<String>Ranges - The source port ranges.
NetworkSecurityRuleResponse, NetworkSecurityRuleResponseArgs
- Access string
- The network traffic is allowed or denied.
- Direction string
- Network security rule direction.
- Name string
- Network security rule name.
- Priority int
- The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Protocol string
- Network protocol this rule applies to.
- Description string
- Network security rule description.
- Destination
Address stringPrefix - The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- Destination
Address List<string>Prefixes - The destination address prefixes. CIDR or destination IP ranges.
- Destination
Port stringRange - he destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- Destination
Port List<string>Ranges - The destination port ranges.
- Source
Address stringPrefix - The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- Source
Address List<string>Prefixes - The CIDR or source IP ranges.
- Source
Port stringRange - The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- Source
Port List<string>Ranges - The source port ranges.
- Access string
- The network traffic is allowed or denied.
- Direction string
- Network security rule direction.
- Name string
- Network security rule name.
- Priority int
- The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Protocol string
- Network protocol this rule applies to.
- Description string
- Network security rule description.
- Destination
Address stringPrefix - The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- Destination
Address []stringPrefixes - The destination address prefixes. CIDR or destination IP ranges.
- Destination
Port stringRange - he destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- Destination
Port []stringRanges - The destination port ranges.
- Source
Address stringPrefix - The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- Source
Address []stringPrefixes - The CIDR or source IP ranges.
- Source
Port stringRange - The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- Source
Port []stringRanges - The source port ranges.
- access String
- The network traffic is allowed or denied.
- direction String
- Network security rule direction.
- name String
- Network security rule name.
- priority Integer
- The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- protocol String
- Network protocol this rule applies to.
- description String
- Network security rule description.
- destination
Address StringPrefix - The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- destination
Address List<String>Prefixes - The destination address prefixes. CIDR or destination IP ranges.
- destination
Port StringRange - he destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- destination
Port List<String>Ranges - The destination port ranges.
- source
Address StringPrefix - The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- source
Address List<String>Prefixes - The CIDR or source IP ranges.
- source
Port StringRange - The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- source
Port List<String>Ranges - The source port ranges.
- access string
- The network traffic is allowed or denied.
- direction string
- Network security rule direction.
- name string
- Network security rule name.
- priority number
- The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- protocol string
- Network protocol this rule applies to.
- description string
- Network security rule description.
- destination
Address stringPrefix - The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- destination
Address string[]Prefixes - The destination address prefixes. CIDR or destination IP ranges.
- destination
Port stringRange - he destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- destination
Port string[]Ranges - The destination port ranges.
- source
Address stringPrefix - The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- source
Address string[]Prefixes - The CIDR or source IP ranges.
- source
Port stringRange - The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- source
Port string[]Ranges - The source port ranges.
- access str
- The network traffic is allowed or denied.
- direction str
- Network security rule direction.
- name str
- Network security rule name.
- priority int
- The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- protocol str
- Network protocol this rule applies to.
- description str
- Network security rule description.
- destination_
address_ strprefix - The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- destination_
address_ Sequence[str]prefixes - The destination address prefixes. CIDR or destination IP ranges.
- destination_
port_ strrange - he destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- destination_
port_ Sequence[str]ranges - The destination port ranges.
- source_
address_ strprefix - The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- source_
address_ Sequence[str]prefixes - The CIDR or source IP ranges.
- source_
port_ strrange - The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- source_
port_ Sequence[str]ranges - The source port ranges.
- access String
- The network traffic is allowed or denied.
- direction String
- Network security rule direction.
- name String
- Network security rule name.
- priority Number
- The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- protocol String
- Network protocol this rule applies to.
- description String
- Network security rule description.
- destination
Address StringPrefix - The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- destination
Address List<String>Prefixes - The destination address prefixes. CIDR or destination IP ranges.
- destination
Port StringRange - he destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- destination
Port List<String>Ranges - The destination port ranges.
- source
Address StringPrefix - The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- source
Address List<String>Prefixes - The CIDR or source IP ranges.
- source
Port StringRange - The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- source
Port List<String>Ranges - The source port ranges.
NodeTypeSku, NodeTypeSkuArgs
- Capacity int
- The number of nodes in the node type.If present in request it will override properties.vmInstanceCount.
- Name string
- The sku name. Name is internally generated and is used in auto-scale scenarios. Property does not allow to be changed to other values than generated. To avoid deployment errors please omit the property.
- Tier string
- Specifies the tier of the node type. Possible Values: Standard
- Capacity int
- The number of nodes in the node type.If present in request it will override properties.vmInstanceCount.
- Name string
- The sku name. Name is internally generated and is used in auto-scale scenarios. Property does not allow to be changed to other values than generated. To avoid deployment errors please omit the property.
- Tier string
- Specifies the tier of the node type. Possible Values: Standard
- capacity Integer
- The number of nodes in the node type.If present in request it will override properties.vmInstanceCount.
- name String
- The sku name. Name is internally generated and is used in auto-scale scenarios. Property does not allow to be changed to other values than generated. To avoid deployment errors please omit the property.
- tier String
- Specifies the tier of the node type. Possible Values: Standard
- capacity number
- The number of nodes in the node type.If present in request it will override properties.vmInstanceCount.
- name string
- The sku name. Name is internally generated and is used in auto-scale scenarios. Property does not allow to be changed to other values than generated. To avoid deployment errors please omit the property.
- tier string
- Specifies the tier of the node type. Possible Values: Standard
- capacity int
- The number of nodes in the node type.If present in request it will override properties.vmInstanceCount.
- name str
- The sku name. Name is internally generated and is used in auto-scale scenarios. Property does not allow to be changed to other values than generated. To avoid deployment errors please omit the property.
- tier str
- Specifies the tier of the node type. Possible Values: Standard
- capacity Number
- The number of nodes in the node type.If present in request it will override properties.vmInstanceCount.
- name String
- The sku name. Name is internally generated and is used in auto-scale scenarios. Property does not allow to be changed to other values than generated. To avoid deployment errors please omit the property.
- tier String
- Specifies the tier of the node type. Possible Values: Standard
NodeTypeSkuResponse, NodeTypeSkuResponseArgs
- Capacity int
- The number of nodes in the node type.If present in request it will override properties.vmInstanceCount.
- Name string
- The sku name. Name is internally generated and is used in auto-scale scenarios. Property does not allow to be changed to other values than generated. To avoid deployment errors please omit the property.
- Tier string
- Specifies the tier of the node type. Possible Values: Standard
- Capacity int
- The number of nodes in the node type.If present in request it will override properties.vmInstanceCount.
- Name string
- The sku name. Name is internally generated and is used in auto-scale scenarios. Property does not allow to be changed to other values than generated. To avoid deployment errors please omit the property.
- Tier string
- Specifies the tier of the node type. Possible Values: Standard
- capacity Integer
- The number of nodes in the node type.If present in request it will override properties.vmInstanceCount.
- name String
- The sku name. Name is internally generated and is used in auto-scale scenarios. Property does not allow to be changed to other values than generated. To avoid deployment errors please omit the property.
- tier String
- Specifies the tier of the node type. Possible Values: Standard
- capacity number
- The number of nodes in the node type.If present in request it will override properties.vmInstanceCount.
- name string
- The sku name. Name is internally generated and is used in auto-scale scenarios. Property does not allow to be changed to other values than generated. To avoid deployment errors please omit the property.
- tier string
- Specifies the tier of the node type. Possible Values: Standard
- capacity int
- The number of nodes in the node type.If present in request it will override properties.vmInstanceCount.
- name str
- The sku name. Name is internally generated and is used in auto-scale scenarios. Property does not allow to be changed to other values than generated. To avoid deployment errors please omit the property.
- tier str
- Specifies the tier of the node type. Possible Values: Standard
- capacity Number
- The number of nodes in the node type.If present in request it will override properties.vmInstanceCount.
- name String
- The sku name. Name is internally generated and is used in auto-scale scenarios. Property does not allow to be changed to other values than generated. To avoid deployment errors please omit the property.
- tier String
- Specifies the tier of the node type. Possible Values: Standard
NsgProtocol, NsgProtocolArgs
- Http
- http
- Https
- https
- Tcp
- tcp
- Udp
- udp
- Icmp
- icmp
- Ah
- ah
- Esp
- esp
- Nsg
Protocol Http - http
- Nsg
Protocol Https - https
- Nsg
Protocol Tcp - tcp
- Nsg
Protocol Udp - udp
- Nsg
Protocol Icmp - icmp
- Nsg
Protocol Ah - ah
- Nsg
Protocol Esp - esp
- Http
- http
- Https
- https
- Tcp
- tcp
- Udp
- udp
- Icmp
- icmp
- Ah
- ah
- Esp
- esp
- Http
- http
- Https
- https
- Tcp
- tcp
- Udp
- udp
- Icmp
- icmp
- Ah
- ah
- Esp
- esp
- HTTP
- http
- HTTPS
- https
- TCP
- tcp
- UDP
- udp
- ICMP
- icmp
- AH
- ah
- ESP
- esp
- "http"
- http
- "https"
- https
- "tcp"
- tcp
- "udp"
- udp
- "icmp"
- icmp
- "ah"
- ah
- "esp"
- esp
SecurityType, SecurityTypeArgs
- Trusted
Launch - TrustedLaunchTrusted Launch is a security type that secures generation 2 virtual machines.
- Security
Type Trusted Launch - TrustedLaunchTrusted Launch is a security type that secures generation 2 virtual machines.
- Trusted
Launch - TrustedLaunchTrusted Launch is a security type that secures generation 2 virtual machines.
- Trusted
Launch - TrustedLaunchTrusted Launch is a security type that secures generation 2 virtual machines.
- TRUSTED_LAUNCH
- TrustedLaunchTrusted Launch is a security type that secures generation 2 virtual machines.
- "Trusted
Launch" - TrustedLaunchTrusted Launch is a security type that secures generation 2 virtual machines.
SubResource, SubResourceArgs
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id str
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
SubResourceResponse, SubResourceResponseArgs
- Id string
- Azure resource identifier.
- Id string
- Azure resource identifier.
- id String
- Azure resource identifier.
- id string
- Azure resource identifier.
- id str
- Azure resource identifier.
- id String
- Azure resource identifier.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC).
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC).
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC).
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC).
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC).
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC).
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
VMSSExtension, VMSSExtensionArgs
- Name string
- The name of the extension.
- Publisher string
- The name of the extension handler publisher.
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- Type
Handler stringVersion - Specifies the version of the script handler.
- Auto
Upgrade boolMinor Version - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- Enable
Automatic boolUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- Force
Update stringTag - If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- Protected
Settings object - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- Provision
After List<string>Extensions - Collection of extension names after which this extension needs to be provisioned.
- Settings object
- Json formatted public settings for the extension.
- Name string
- The name of the extension.
- Publisher string
- The name of the extension handler publisher.
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- Type
Handler stringVersion - Specifies the version of the script handler.
- Auto
Upgrade boolMinor Version - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- Enable
Automatic boolUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- Force
Update stringTag - If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- Protected
Settings interface{} - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- Provision
After []stringExtensions - Collection of extension names after which this extension needs to be provisioned.
- Settings interface{}
- Json formatted public settings for the extension.
- name String
- The name of the extension.
- publisher String
- The name of the extension handler publisher.
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type
Handler StringVersion - Specifies the version of the script handler.
- auto
Upgrade BooleanMinor Version - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enable
Automatic BooleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force
Update StringTag - If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- protected
Settings Object - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After List<String>Extensions - Collection of extension names after which this extension needs to be provisioned.
- settings Object
- Json formatted public settings for the extension.
- name string
- The name of the extension.
- publisher string
- The name of the extension handler publisher.
- type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type
Handler stringVersion - Specifies the version of the script handler.
- auto
Upgrade booleanMinor Version - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enable
Automatic booleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force
Update stringTag - If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- protected
Settings any - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After string[]Extensions - Collection of extension names after which this extension needs to be provisioned.
- settings any
- Json formatted public settings for the extension.
- name str
- The name of the extension.
- publisher str
- The name of the extension handler publisher.
- type str
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type_
handler_ strversion - Specifies the version of the script handler.
- auto_
upgrade_ boolminor_ version - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enable_
automatic_ boolupgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force_
update_ strtag - If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- protected_
settings Any - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision_
after_ Sequence[str]extensions - Collection of extension names after which this extension needs to be provisioned.
- settings Any
- Json formatted public settings for the extension.
- name String
- The name of the extension.
- publisher String
- The name of the extension handler publisher.
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type
Handler StringVersion - Specifies the version of the script handler.
- auto
Upgrade BooleanMinor Version - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enable
Automatic BooleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force
Update StringTag - If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- protected
Settings Any - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After List<String>Extensions - Collection of extension names after which this extension needs to be provisioned.
- settings Any
- Json formatted public settings for the extension.
VMSSExtensionResponse, VMSSExtensionResponseArgs
- Name string
- The name of the extension.
- Provisioning
State string - The provisioning state, which only appears in the response.
- Publisher string
- The name of the extension handler publisher.
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- Type
Handler stringVersion - Specifies the version of the script handler.
- Auto
Upgrade boolMinor Version - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- Enable
Automatic boolUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- Force
Update stringTag - If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- Protected
Settings object - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- Provision
After List<string>Extensions - Collection of extension names after which this extension needs to be provisioned.
- Settings object
- Json formatted public settings for the extension.
- Name string
- The name of the extension.
- Provisioning
State string - The provisioning state, which only appears in the response.
- Publisher string
- The name of the extension handler publisher.
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- Type
Handler stringVersion - Specifies the version of the script handler.
- Auto
Upgrade boolMinor Version - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- Enable
Automatic boolUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- Force
Update stringTag - If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- Protected
Settings interface{} - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- Provision
After []stringExtensions - Collection of extension names after which this extension needs to be provisioned.
- Settings interface{}
- Json formatted public settings for the extension.
- name String
- The name of the extension.
- provisioning
State String - The provisioning state, which only appears in the response.
- publisher String
- The name of the extension handler publisher.
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type
Handler StringVersion - Specifies the version of the script handler.
- auto
Upgrade BooleanMinor Version - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enable
Automatic BooleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force
Update StringTag - If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- protected
Settings Object - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After List<String>Extensions - Collection of extension names after which this extension needs to be provisioned.
- settings Object
- Json formatted public settings for the extension.
- name string
- The name of the extension.
- provisioning
State string - The provisioning state, which only appears in the response.
- publisher string
- The name of the extension handler publisher.
- type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type
Handler stringVersion - Specifies the version of the script handler.
- auto
Upgrade booleanMinor Version - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enable
Automatic booleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force
Update stringTag - If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- protected
Settings any - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After string[]Extensions - Collection of extension names after which this extension needs to be provisioned.
- settings any
- Json formatted public settings for the extension.
- name str
- The name of the extension.
- provisioning_
state str - The provisioning state, which only appears in the response.
- publisher str
- The name of the extension handler publisher.
- type str
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type_
handler_ strversion - Specifies the version of the script handler.
- auto_
upgrade_ boolminor_ version - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enable_
automatic_ boolupgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force_
update_ strtag - If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- protected_
settings Any - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision_
after_ Sequence[str]extensions - Collection of extension names after which this extension needs to be provisioned.
- settings Any
- Json formatted public settings for the extension.
- name String
- The name of the extension.
- provisioning
State String - The provisioning state, which only appears in the response.
- publisher String
- The name of the extension handler publisher.
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type
Handler StringVersion - Specifies the version of the script handler.
- auto
Upgrade BooleanMinor Version - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enable
Automatic BooleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force
Update StringTag - If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- protected
Settings Any - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After List<String>Extensions - Collection of extension names after which this extension needs to be provisioned.
- settings Any
- Json formatted public settings for the extension.
VaultCertificate, VaultCertificateArgs
- Certificate
Store string - For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted.
- Certificate
Url string - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""}
- Certificate
Store string - For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted.
- Certificate
Url string - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""}
- certificate
Store String - For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted.
- certificate
Url String - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""}
- certificate
Store string - For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted.
- certificate
Url string - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""}
- certificate_
store str - For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted.
- certificate_
url str - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""}
- certificate
Store String - For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted.
- certificate
Url String - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""}
VaultCertificateResponse, VaultCertificateResponseArgs
- Certificate
Store string - For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted.
- Certificate
Url string - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""}
- Certificate
Store string - For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted.
- Certificate
Url string - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""}
- certificate
Store String - For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted.
- certificate
Url String - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""}
- certificate
Store string - For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted.
- certificate
Url string - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""}
- certificate_
store str - For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted.
- certificate_
url str - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""}
- certificate
Store String - For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted.
- certificate
Url String - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""}
VaultSecretGroup, VaultSecretGroupArgs
- Source
Vault Pulumi.Azure Native. Service Fabric. Inputs. Sub Resource - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- Vault
Certificates List<Pulumi.Azure Native. Service Fabric. Inputs. Vault Certificate> - The list of key vault references in SourceVault which contain certificates.
- Source
Vault SubResource - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- Vault
Certificates []VaultCertificate - The list of key vault references in SourceVault which contain certificates.
- source
Vault SubResource - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vault
Certificates List<VaultCertificate> - The list of key vault references in SourceVault which contain certificates.
- source
Vault SubResource - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vault
Certificates VaultCertificate[] - The list of key vault references in SourceVault which contain certificates.
- source_
vault SubResource - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vault_
certificates Sequence[VaultCertificate] - The list of key vault references in SourceVault which contain certificates.
- source
Vault Property Map - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vault
Certificates List<Property Map> - The list of key vault references in SourceVault which contain certificates.
VaultSecretGroupResponse, VaultSecretGroupResponseArgs
- Source
Vault Pulumi.Azure Native. Service Fabric. Inputs. Sub Resource Response - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- Vault
Certificates List<Pulumi.Azure Native. Service Fabric. Inputs. Vault Certificate Response> - The list of key vault references in SourceVault which contain certificates.
- Source
Vault SubResource Response - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- Vault
Certificates []VaultCertificate Response - The list of key vault references in SourceVault which contain certificates.
- source
Vault SubResource Response - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vault
Certificates List<VaultCertificate Response> - The list of key vault references in SourceVault which contain certificates.
- source
Vault SubResource Response - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vault
Certificates VaultCertificate Response[] - The list of key vault references in SourceVault which contain certificates.
- source_
vault SubResource Response - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vault_
certificates Sequence[VaultCertificate Response] - The list of key vault references in SourceVault which contain certificates.
- source
Vault Property Map - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vault
Certificates List<Property Map> - The list of key vault references in SourceVault which contain certificates.
VmImagePlan, VmImagePlanArgs
- Name string
- The plan ID.
- Product string
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- Promotion
Code string - The promotion code.
- Publisher string
- The publisher ID.
- Name string
- The plan ID.
- Product string
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- Promotion
Code string - The promotion code.
- Publisher string
- The publisher ID.
- name String
- The plan ID.
- product String
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- promotion
Code String - The promotion code.
- publisher String
- The publisher ID.
- name string
- The plan ID.
- product string
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- promotion
Code string - The promotion code.
- publisher string
- The publisher ID.
- name str
- The plan ID.
- product str
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- promotion_
code str - The promotion code.
- publisher str
- The publisher ID.
- name String
- The plan ID.
- product String
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- promotion
Code String - The promotion code.
- publisher String
- The publisher ID.
VmImagePlanResponse, VmImagePlanResponseArgs
- Name string
- The plan ID.
- Product string
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- Promotion
Code string - The promotion code.
- Publisher string
- The publisher ID.
- Name string
- The plan ID.
- Product string
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- Promotion
Code string - The promotion code.
- Publisher string
- The publisher ID.
- name String
- The plan ID.
- product String
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- promotion
Code String - The promotion code.
- publisher String
- The publisher ID.
- name string
- The plan ID.
- product string
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- promotion
Code string - The promotion code.
- publisher string
- The publisher ID.
- name str
- The plan ID.
- product str
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- promotion_
code str - The promotion code.
- publisher str
- The publisher ID.
- name String
- The plan ID.
- product String
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- promotion
Code String - The promotion code.
- publisher String
- The publisher ID.
VmManagedIdentity, VmManagedIdentityArgs
- User
Assigned List<string>Identities - The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- User
Assigned []stringIdentities - The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- user
Assigned List<String>Identities - The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- user
Assigned string[]Identities - The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- user_
assigned_ Sequence[str]identities - The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- user
Assigned List<String>Identities - The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
VmManagedIdentityResponse, VmManagedIdentityResponseArgs
- User
Assigned List<string>Identities - The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- User
Assigned []stringIdentities - The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- user
Assigned List<String>Identities - The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- user
Assigned string[]Identities - The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- user_
assigned_ Sequence[str]identities - The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- user
Assigned List<String>Identities - The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
VmSetupAction, VmSetupActionArgs
- Enable
Containers - EnableContainersEnable windows containers feature.
- Enable
Hyper V - EnableHyperVEnables windows HyperV feature.
- Vm
Setup Action Enable Containers - EnableContainersEnable windows containers feature.
- Vm
Setup Action Enable Hyper V - EnableHyperVEnables windows HyperV feature.
- Enable
Containers - EnableContainersEnable windows containers feature.
- Enable
Hyper V - EnableHyperVEnables windows HyperV feature.
- Enable
Containers - EnableContainersEnable windows containers feature.
- Enable
Hyper V - EnableHyperVEnables windows HyperV feature.
- ENABLE_CONTAINERS
- EnableContainersEnable windows containers feature.
- ENABLE_HYPER_V
- EnableHyperVEnables windows HyperV feature.
- "Enable
Containers" - EnableContainersEnable windows containers feature.
- "Enable
Hyper V" - EnableHyperVEnables windows HyperV feature.
VmssDataDisk, VmssDataDiskArgs
- Disk
Letter string - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- Disk
Size intGB - Disk size for each vm in the node type in GBs.
- Disk
Type string | Pulumi.Azure Native. Service Fabric. Disk Type - Managed data disk type. Specifies the storage account type for the managed disk
- Lun int
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun 0 is reserved for the service fabric data disk.
- Disk
Letter string - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- Disk
Size intGB - Disk size for each vm in the node type in GBs.
- Disk
Type string | DiskType - Managed data disk type. Specifies the storage account type for the managed disk
- Lun int
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun 0 is reserved for the service fabric data disk.
- disk
Letter String - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- disk
Size IntegerGB - Disk size for each vm in the node type in GBs.
- disk
Type String | DiskType - Managed data disk type. Specifies the storage account type for the managed disk
- lun Integer
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun 0 is reserved for the service fabric data disk.
- disk
Letter string - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- disk
Size numberGB - Disk size for each vm in the node type in GBs.
- disk
Type string | DiskType - Managed data disk type. Specifies the storage account type for the managed disk
- lun number
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun 0 is reserved for the service fabric data disk.
- disk_
letter str - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- disk_
size_ intgb - Disk size for each vm in the node type in GBs.
- disk_
type str | DiskType - Managed data disk type. Specifies the storage account type for the managed disk
- lun int
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun 0 is reserved for the service fabric data disk.
- disk
Letter String - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- disk
Size NumberGB - Disk size for each vm in the node type in GBs.
- disk
Type String | "Standard_LRS" | "StandardSSD_LRS" | "Premium_LRS" - Managed data disk type. Specifies the storage account type for the managed disk
- lun Number
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun 0 is reserved for the service fabric data disk.
VmssDataDiskResponse, VmssDataDiskResponseArgs
- Disk
Letter string - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- Disk
Size intGB - Disk size for each vm in the node type in GBs.
- Disk
Type string - Managed data disk type. Specifies the storage account type for the managed disk
- Lun int
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun 0 is reserved for the service fabric data disk.
- Disk
Letter string - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- Disk
Size intGB - Disk size for each vm in the node type in GBs.
- Disk
Type string - Managed data disk type. Specifies the storage account type for the managed disk
- Lun int
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun 0 is reserved for the service fabric data disk.
- disk
Letter String - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- disk
Size IntegerGB - Disk size for each vm in the node type in GBs.
- disk
Type String - Managed data disk type. Specifies the storage account type for the managed disk
- lun Integer
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun 0 is reserved for the service fabric data disk.
- disk
Letter string - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- disk
Size numberGB - Disk size for each vm in the node type in GBs.
- disk
Type string - Managed data disk type. Specifies the storage account type for the managed disk
- lun number
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun 0 is reserved for the service fabric data disk.
- disk_
letter str - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- disk_
size_ intgb - Disk size for each vm in the node type in GBs.
- disk_
type str - Managed data disk type. Specifies the storage account type for the managed disk
- lun int
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun 0 is reserved for the service fabric data disk.
- disk
Letter String - Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.
- disk
Size NumberGB - Disk size for each vm in the node type in GBs.
- disk
Type String - Managed data disk type. Specifies the storage account type for the managed disk
- lun Number
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun 0 is reserved for the service fabric data disk.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:servicefabric:NodeType BE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0