azure-native.compute.CloudService
Explore with Pulumi AI
Describes the cloud service. Azure REST API version: 2022-09-04. Prior API version in Azure Native 1.x: 2021-03-01.
Other available API versions: 2024-11-04.
Example Usage
Create New Cloud Service with Multiple Roles
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var cloudService = new AzureNative.Compute.CloudService("cloudService", new()
    {
        CloudServiceName = "{cs-name}",
        Location = "westus",
        Properties = new AzureNative.Compute.Inputs.CloudServicePropertiesArgs
        {
            Configuration = "{ServiceConfiguration}",
            NetworkProfile = new AzureNative.Compute.Inputs.CloudServiceNetworkProfileArgs
            {
                LoadBalancerConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.LoadBalancerConfigurationArgs
                    {
                        Name = "contosolb",
                        Properties = new AzureNative.Compute.Inputs.LoadBalancerConfigurationPropertiesArgs
                        {
                            FrontendIpConfigurations = new[]
                            {
                                new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationArgs
                                {
                                    Name = "contosofe",
                                    Properties = new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationPropertiesArgs
                                    {
                                        PublicIPAddress = new AzureNative.Compute.Inputs.SubResourceArgs
                                        {
                                            Id = "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
            },
            PackageUrl = "{PackageUrl}",
            RoleProfile = new AzureNative.Compute.Inputs.CloudServiceRoleProfileArgs
            {
                Roles = new[]
                {
                    new AzureNative.Compute.Inputs.CloudServiceRoleProfilePropertiesArgs
                    {
                        Name = "ContosoFrontend",
                        Sku = new AzureNative.Compute.Inputs.CloudServiceRoleSkuArgs
                        {
                            Capacity = 1,
                            Name = "Standard_D1_v2",
                            Tier = "Standard",
                        },
                    },
                    new AzureNative.Compute.Inputs.CloudServiceRoleProfilePropertiesArgs
                    {
                        Name = "ContosoBackend",
                        Sku = new AzureNative.Compute.Inputs.CloudServiceRoleSkuArgs
                        {
                            Capacity = 1,
                            Name = "Standard_D1_v2",
                            Tier = "Standard",
                        },
                    },
                },
            },
            UpgradeMode = AzureNative.Compute.CloudServiceUpgradeMode.Auto,
        },
        ResourceGroupName = "ConstosoRG",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewCloudService(ctx, "cloudService", &compute.CloudServiceArgs{
			CloudServiceName: pulumi.String("{cs-name}"),
			Location:         pulumi.String("westus"),
			Properties: &compute.CloudServicePropertiesArgs{
				Configuration: pulumi.String("{ServiceConfiguration}"),
				NetworkProfile: &compute.CloudServiceNetworkProfileArgs{
					LoadBalancerConfigurations: compute.LoadBalancerConfigurationArray{
						&compute.LoadBalancerConfigurationArgs{
							Name: pulumi.String("contosolb"),
							Properties: &compute.LoadBalancerConfigurationPropertiesArgs{
								FrontendIpConfigurations: compute.LoadBalancerFrontendIpConfigurationArray{
									&compute.LoadBalancerFrontendIpConfigurationArgs{
										Name: pulumi.String("contosofe"),
										Properties: &compute.LoadBalancerFrontendIpConfigurationPropertiesArgs{
											PublicIPAddress: &compute.SubResourceArgs{
												Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip"),
											},
										},
									},
								},
							},
						},
					},
				},
				PackageUrl: pulumi.String("{PackageUrl}"),
				RoleProfile: &compute.CloudServiceRoleProfileArgs{
					Roles: compute.CloudServiceRoleProfilePropertiesArray{
						&compute.CloudServiceRoleProfilePropertiesArgs{
							Name: pulumi.String("ContosoFrontend"),
							Sku: &compute.CloudServiceRoleSkuArgs{
								Capacity: pulumi.Float64(1),
								Name:     pulumi.String("Standard_D1_v2"),
								Tier:     pulumi.String("Standard"),
							},
						},
						&compute.CloudServiceRoleProfilePropertiesArgs{
							Name: pulumi.String("ContosoBackend"),
							Sku: &compute.CloudServiceRoleSkuArgs{
								Capacity: pulumi.Float64(1),
								Name:     pulumi.String("Standard_D1_v2"),
								Tier:     pulumi.String("Standard"),
							},
						},
					},
				},
				UpgradeMode: pulumi.String(compute.CloudServiceUpgradeModeAuto),
			},
			ResourceGroupName: pulumi.String("ConstosoRG"),
		})
		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.compute.CloudService;
import com.pulumi.azurenative.compute.CloudServiceArgs;
import com.pulumi.azurenative.compute.inputs.CloudServicePropertiesArgs;
import com.pulumi.azurenative.compute.inputs.CloudServiceNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.CloudServiceRoleProfileArgs;
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 cloudService = new CloudService("cloudService", CloudServiceArgs.builder()
            .cloudServiceName("{cs-name}")
            .location("westus")
            .properties(CloudServicePropertiesArgs.builder()
                .configuration("{ServiceConfiguration}")
                .networkProfile(CloudServiceNetworkProfileArgs.builder()
                    .loadBalancerConfigurations(LoadBalancerConfigurationArgs.builder()
                        .name("contosolb")
                        .properties(LoadBalancerConfigurationPropertiesArgs.builder()
                            .frontendIpConfigurations(LoadBalancerFrontendIpConfigurationArgs.builder()
                                .name("contosofe")
                                .properties(LoadBalancerFrontendIpConfigurationPropertiesArgs.builder()
                                    .publicIPAddress(SubResourceArgs.builder()
                                        .id("/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip")
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .packageUrl("{PackageUrl}")
                .roleProfile(CloudServiceRoleProfileArgs.builder()
                    .roles(                    
                        CloudServiceRoleProfilePropertiesArgs.builder()
                            .name("ContosoFrontend")
                            .sku(CloudServiceRoleSkuArgs.builder()
                                .capacity(1)
                                .name("Standard_D1_v2")
                                .tier("Standard")
                                .build())
                            .build(),
                        CloudServiceRoleProfilePropertiesArgs.builder()
                            .name("ContosoBackend")
                            .sku(CloudServiceRoleSkuArgs.builder()
                                .capacity(1)
                                .name("Standard_D1_v2")
                                .tier("Standard")
                                .build())
                            .build())
                    .build())
                .upgradeMode("Auto")
                .build())
            .resourceGroupName("ConstosoRG")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cloudService = new azure_native.compute.CloudService("cloudService", {
    cloudServiceName: "{cs-name}",
    location: "westus",
    properties: {
        configuration: "{ServiceConfiguration}",
        networkProfile: {
            loadBalancerConfigurations: [{
                name: "contosolb",
                properties: {
                    frontendIpConfigurations: [{
                        name: "contosofe",
                        properties: {
                            publicIPAddress: {
                                id: "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                            },
                        },
                    }],
                },
            }],
        },
        packageUrl: "{PackageUrl}",
        roleProfile: {
            roles: [
                {
                    name: "ContosoFrontend",
                    sku: {
                        capacity: 1,
                        name: "Standard_D1_v2",
                        tier: "Standard",
                    },
                },
                {
                    name: "ContosoBackend",
                    sku: {
                        capacity: 1,
                        name: "Standard_D1_v2",
                        tier: "Standard",
                    },
                },
            ],
        },
        upgradeMode: azure_native.compute.CloudServiceUpgradeMode.Auto,
    },
    resourceGroupName: "ConstosoRG",
});
import pulumi
import pulumi_azure_native as azure_native
cloud_service = azure_native.compute.CloudService("cloudService",
    cloud_service_name="{cs-name}",
    location="westus",
    properties={
        "configuration": "{ServiceConfiguration}",
        "network_profile": {
            "load_balancer_configurations": [{
                "name": "contosolb",
                "properties": {
                    "frontend_ip_configurations": [{
                        "name": "contosofe",
                        "properties": {
                            "public_ip_address": {
                                "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                            },
                        },
                    }],
                },
            }],
        },
        "package_url": "{PackageUrl}",
        "role_profile": {
            "roles": [
                {
                    "name": "ContosoFrontend",
                    "sku": {
                        "capacity": 1,
                        "name": "Standard_D1_v2",
                        "tier": "Standard",
                    },
                },
                {
                    "name": "ContosoBackend",
                    "sku": {
                        "capacity": 1,
                        "name": "Standard_D1_v2",
                        "tier": "Standard",
                    },
                },
            ],
        },
        "upgrade_mode": azure_native.compute.CloudServiceUpgradeMode.AUTO,
    },
    resource_group_name="ConstosoRG")
resources:
  cloudService:
    type: azure-native:compute:CloudService
    properties:
      cloudServiceName: '{cs-name}'
      location: westus
      properties:
        configuration: '{ServiceConfiguration}'
        networkProfile:
          loadBalancerConfigurations:
            - name: contosolb
              properties:
                frontendIpConfigurations:
                  - name: contosofe
                    properties:
                      publicIPAddress:
                        id: /subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip
        packageUrl: '{PackageUrl}'
        roleProfile:
          roles:
            - name: ContosoFrontend
              sku:
                capacity: 1
                name: Standard_D1_v2
                tier: Standard
            - name: ContosoBackend
              sku:
                capacity: 1
                name: Standard_D1_v2
                tier: Standard
        upgradeMode: Auto
      resourceGroupName: ConstosoRG
Create New Cloud Service with Multiple Roles in a specific availability zone
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var cloudService = new AzureNative.Compute.CloudService("cloudService", new()
    {
        CloudServiceName = "{cs-name}",
        Location = "westus",
        Properties = new AzureNative.Compute.Inputs.CloudServicePropertiesArgs
        {
            Configuration = "{ServiceConfiguration}",
            NetworkProfile = new AzureNative.Compute.Inputs.CloudServiceNetworkProfileArgs
            {
                LoadBalancerConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.LoadBalancerConfigurationArgs
                    {
                        Name = "contosolb",
                        Properties = new AzureNative.Compute.Inputs.LoadBalancerConfigurationPropertiesArgs
                        {
                            FrontendIpConfigurations = new[]
                            {
                                new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationArgs
                                {
                                    Name = "contosofe",
                                    Properties = new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationPropertiesArgs
                                    {
                                        PublicIPAddress = new AzureNative.Compute.Inputs.SubResourceArgs
                                        {
                                            Id = "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
            },
            PackageUrl = "{PackageUrl}",
            RoleProfile = new AzureNative.Compute.Inputs.CloudServiceRoleProfileArgs
            {
                Roles = new[]
                {
                    new AzureNative.Compute.Inputs.CloudServiceRoleProfilePropertiesArgs
                    {
                        Name = "ContosoFrontend",
                        Sku = new AzureNative.Compute.Inputs.CloudServiceRoleSkuArgs
                        {
                            Capacity = 1,
                            Name = "Standard_D1_v2",
                            Tier = "Standard",
                        },
                    },
                    new AzureNative.Compute.Inputs.CloudServiceRoleProfilePropertiesArgs
                    {
                        Name = "ContosoBackend",
                        Sku = new AzureNative.Compute.Inputs.CloudServiceRoleSkuArgs
                        {
                            Capacity = 1,
                            Name = "Standard_D1_v2",
                            Tier = "Standard",
                        },
                    },
                },
            },
            UpgradeMode = AzureNative.Compute.CloudServiceUpgradeMode.Auto,
        },
        ResourceGroupName = "ConstosoRG",
        Zones = new[]
        {
            "1",
        },
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewCloudService(ctx, "cloudService", &compute.CloudServiceArgs{
			CloudServiceName: pulumi.String("{cs-name}"),
			Location:         pulumi.String("westus"),
			Properties: &compute.CloudServicePropertiesArgs{
				Configuration: pulumi.String("{ServiceConfiguration}"),
				NetworkProfile: &compute.CloudServiceNetworkProfileArgs{
					LoadBalancerConfigurations: compute.LoadBalancerConfigurationArray{
						&compute.LoadBalancerConfigurationArgs{
							Name: pulumi.String("contosolb"),
							Properties: &compute.LoadBalancerConfigurationPropertiesArgs{
								FrontendIpConfigurations: compute.LoadBalancerFrontendIpConfigurationArray{
									&compute.LoadBalancerFrontendIpConfigurationArgs{
										Name: pulumi.String("contosofe"),
										Properties: &compute.LoadBalancerFrontendIpConfigurationPropertiesArgs{
											PublicIPAddress: &compute.SubResourceArgs{
												Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip"),
											},
										},
									},
								},
							},
						},
					},
				},
				PackageUrl: pulumi.String("{PackageUrl}"),
				RoleProfile: &compute.CloudServiceRoleProfileArgs{
					Roles: compute.CloudServiceRoleProfilePropertiesArray{
						&compute.CloudServiceRoleProfilePropertiesArgs{
							Name: pulumi.String("ContosoFrontend"),
							Sku: &compute.CloudServiceRoleSkuArgs{
								Capacity: pulumi.Float64(1),
								Name:     pulumi.String("Standard_D1_v2"),
								Tier:     pulumi.String("Standard"),
							},
						},
						&compute.CloudServiceRoleProfilePropertiesArgs{
							Name: pulumi.String("ContosoBackend"),
							Sku: &compute.CloudServiceRoleSkuArgs{
								Capacity: pulumi.Float64(1),
								Name:     pulumi.String("Standard_D1_v2"),
								Tier:     pulumi.String("Standard"),
							},
						},
					},
				},
				UpgradeMode: pulumi.String(compute.CloudServiceUpgradeModeAuto),
			},
			ResourceGroupName: pulumi.String("ConstosoRG"),
			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.compute.CloudService;
import com.pulumi.azurenative.compute.CloudServiceArgs;
import com.pulumi.azurenative.compute.inputs.CloudServicePropertiesArgs;
import com.pulumi.azurenative.compute.inputs.CloudServiceNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.CloudServiceRoleProfileArgs;
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 cloudService = new CloudService("cloudService", CloudServiceArgs.builder()
            .cloudServiceName("{cs-name}")
            .location("westus")
            .properties(CloudServicePropertiesArgs.builder()
                .configuration("{ServiceConfiguration}")
                .networkProfile(CloudServiceNetworkProfileArgs.builder()
                    .loadBalancerConfigurations(LoadBalancerConfigurationArgs.builder()
                        .name("contosolb")
                        .properties(LoadBalancerConfigurationPropertiesArgs.builder()
                            .frontendIpConfigurations(LoadBalancerFrontendIpConfigurationArgs.builder()
                                .name("contosofe")
                                .properties(LoadBalancerFrontendIpConfigurationPropertiesArgs.builder()
                                    .publicIPAddress(SubResourceArgs.builder()
                                        .id("/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip")
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .packageUrl("{PackageUrl}")
                .roleProfile(CloudServiceRoleProfileArgs.builder()
                    .roles(                    
                        CloudServiceRoleProfilePropertiesArgs.builder()
                            .name("ContosoFrontend")
                            .sku(CloudServiceRoleSkuArgs.builder()
                                .capacity(1)
                                .name("Standard_D1_v2")
                                .tier("Standard")
                                .build())
                            .build(),
                        CloudServiceRoleProfilePropertiesArgs.builder()
                            .name("ContosoBackend")
                            .sku(CloudServiceRoleSkuArgs.builder()
                                .capacity(1)
                                .name("Standard_D1_v2")
                                .tier("Standard")
                                .build())
                            .build())
                    .build())
                .upgradeMode("Auto")
                .build())
            .resourceGroupName("ConstosoRG")
            .zones("1")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cloudService = new azure_native.compute.CloudService("cloudService", {
    cloudServiceName: "{cs-name}",
    location: "westus",
    properties: {
        configuration: "{ServiceConfiguration}",
        networkProfile: {
            loadBalancerConfigurations: [{
                name: "contosolb",
                properties: {
                    frontendIpConfigurations: [{
                        name: "contosofe",
                        properties: {
                            publicIPAddress: {
                                id: "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                            },
                        },
                    }],
                },
            }],
        },
        packageUrl: "{PackageUrl}",
        roleProfile: {
            roles: [
                {
                    name: "ContosoFrontend",
                    sku: {
                        capacity: 1,
                        name: "Standard_D1_v2",
                        tier: "Standard",
                    },
                },
                {
                    name: "ContosoBackend",
                    sku: {
                        capacity: 1,
                        name: "Standard_D1_v2",
                        tier: "Standard",
                    },
                },
            ],
        },
        upgradeMode: azure_native.compute.CloudServiceUpgradeMode.Auto,
    },
    resourceGroupName: "ConstosoRG",
    zones: ["1"],
});
import pulumi
import pulumi_azure_native as azure_native
cloud_service = azure_native.compute.CloudService("cloudService",
    cloud_service_name="{cs-name}",
    location="westus",
    properties={
        "configuration": "{ServiceConfiguration}",
        "network_profile": {
            "load_balancer_configurations": [{
                "name": "contosolb",
                "properties": {
                    "frontend_ip_configurations": [{
                        "name": "contosofe",
                        "properties": {
                            "public_ip_address": {
                                "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                            },
                        },
                    }],
                },
            }],
        },
        "package_url": "{PackageUrl}",
        "role_profile": {
            "roles": [
                {
                    "name": "ContosoFrontend",
                    "sku": {
                        "capacity": 1,
                        "name": "Standard_D1_v2",
                        "tier": "Standard",
                    },
                },
                {
                    "name": "ContosoBackend",
                    "sku": {
                        "capacity": 1,
                        "name": "Standard_D1_v2",
                        "tier": "Standard",
                    },
                },
            ],
        },
        "upgrade_mode": azure_native.compute.CloudServiceUpgradeMode.AUTO,
    },
    resource_group_name="ConstosoRG",
    zones=["1"])
resources:
  cloudService:
    type: azure-native:compute:CloudService
    properties:
      cloudServiceName: '{cs-name}'
      location: westus
      properties:
        configuration: '{ServiceConfiguration}'
        networkProfile:
          loadBalancerConfigurations:
            - name: contosolb
              properties:
                frontendIpConfigurations:
                  - name: contosofe
                    properties:
                      publicIPAddress:
                        id: /subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip
        packageUrl: '{PackageUrl}'
        roleProfile:
          roles:
            - name: ContosoFrontend
              sku:
                capacity: 1
                name: Standard_D1_v2
                tier: Standard
            - name: ContosoBackend
              sku:
                capacity: 1
                name: Standard_D1_v2
                tier: Standard
        upgradeMode: Auto
      resourceGroupName: ConstosoRG
      zones:
        - '1'
Create New Cloud Service with Single Role
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var cloudService = new AzureNative.Compute.CloudService("cloudService", new()
    {
        CloudServiceName = "{cs-name}",
        Location = "westus",
        Properties = new AzureNative.Compute.Inputs.CloudServicePropertiesArgs
        {
            Configuration = "{ServiceConfiguration}",
            NetworkProfile = new AzureNative.Compute.Inputs.CloudServiceNetworkProfileArgs
            {
                LoadBalancerConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.LoadBalancerConfigurationArgs
                    {
                        Name = "myLoadBalancer",
                        Properties = new AzureNative.Compute.Inputs.LoadBalancerConfigurationPropertiesArgs
                        {
                            FrontendIpConfigurations = new[]
                            {
                                new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationArgs
                                {
                                    Name = "myfe",
                                    Properties = new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationPropertiesArgs
                                    {
                                        PublicIPAddress = new AzureNative.Compute.Inputs.SubResourceArgs
                                        {
                                            Id = "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP",
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
            },
            PackageUrl = "{PackageUrl}",
            RoleProfile = new AzureNative.Compute.Inputs.CloudServiceRoleProfileArgs
            {
                Roles = new[]
                {
                    new AzureNative.Compute.Inputs.CloudServiceRoleProfilePropertiesArgs
                    {
                        Name = "ContosoFrontend",
                        Sku = new AzureNative.Compute.Inputs.CloudServiceRoleSkuArgs
                        {
                            Capacity = 1,
                            Name = "Standard_D1_v2",
                            Tier = "Standard",
                        },
                    },
                },
            },
            UpgradeMode = AzureNative.Compute.CloudServiceUpgradeMode.Auto,
        },
        ResourceGroupName = "ConstosoRG",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewCloudService(ctx, "cloudService", &compute.CloudServiceArgs{
			CloudServiceName: pulumi.String("{cs-name}"),
			Location:         pulumi.String("westus"),
			Properties: &compute.CloudServicePropertiesArgs{
				Configuration: pulumi.String("{ServiceConfiguration}"),
				NetworkProfile: &compute.CloudServiceNetworkProfileArgs{
					LoadBalancerConfigurations: compute.LoadBalancerConfigurationArray{
						&compute.LoadBalancerConfigurationArgs{
							Name: pulumi.String("myLoadBalancer"),
							Properties: &compute.LoadBalancerConfigurationPropertiesArgs{
								FrontendIpConfigurations: compute.LoadBalancerFrontendIpConfigurationArray{
									&compute.LoadBalancerFrontendIpConfigurationArgs{
										Name: pulumi.String("myfe"),
										Properties: &compute.LoadBalancerFrontendIpConfigurationPropertiesArgs{
											PublicIPAddress: &compute.SubResourceArgs{
												Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP"),
											},
										},
									},
								},
							},
						},
					},
				},
				PackageUrl: pulumi.String("{PackageUrl}"),
				RoleProfile: &compute.CloudServiceRoleProfileArgs{
					Roles: compute.CloudServiceRoleProfilePropertiesArray{
						&compute.CloudServiceRoleProfilePropertiesArgs{
							Name: pulumi.String("ContosoFrontend"),
							Sku: &compute.CloudServiceRoleSkuArgs{
								Capacity: pulumi.Float64(1),
								Name:     pulumi.String("Standard_D1_v2"),
								Tier:     pulumi.String("Standard"),
							},
						},
					},
				},
				UpgradeMode: pulumi.String(compute.CloudServiceUpgradeModeAuto),
			},
			ResourceGroupName: pulumi.String("ConstosoRG"),
		})
		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.compute.CloudService;
import com.pulumi.azurenative.compute.CloudServiceArgs;
import com.pulumi.azurenative.compute.inputs.CloudServicePropertiesArgs;
import com.pulumi.azurenative.compute.inputs.CloudServiceNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.CloudServiceRoleProfileArgs;
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 cloudService = new CloudService("cloudService", CloudServiceArgs.builder()
            .cloudServiceName("{cs-name}")
            .location("westus")
            .properties(CloudServicePropertiesArgs.builder()
                .configuration("{ServiceConfiguration}")
                .networkProfile(CloudServiceNetworkProfileArgs.builder()
                    .loadBalancerConfigurations(LoadBalancerConfigurationArgs.builder()
                        .name("myLoadBalancer")
                        .properties(LoadBalancerConfigurationPropertiesArgs.builder()
                            .frontendIpConfigurations(LoadBalancerFrontendIpConfigurationArgs.builder()
                                .name("myfe")
                                .properties(LoadBalancerFrontendIpConfigurationPropertiesArgs.builder()
                                    .publicIPAddress(SubResourceArgs.builder()
                                        .id("/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP")
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .packageUrl("{PackageUrl}")
                .roleProfile(CloudServiceRoleProfileArgs.builder()
                    .roles(CloudServiceRoleProfilePropertiesArgs.builder()
                        .name("ContosoFrontend")
                        .sku(CloudServiceRoleSkuArgs.builder()
                            .capacity(1)
                            .name("Standard_D1_v2")
                            .tier("Standard")
                            .build())
                        .build())
                    .build())
                .upgradeMode("Auto")
                .build())
            .resourceGroupName("ConstosoRG")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cloudService = new azure_native.compute.CloudService("cloudService", {
    cloudServiceName: "{cs-name}",
    location: "westus",
    properties: {
        configuration: "{ServiceConfiguration}",
        networkProfile: {
            loadBalancerConfigurations: [{
                name: "myLoadBalancer",
                properties: {
                    frontendIpConfigurations: [{
                        name: "myfe",
                        properties: {
                            publicIPAddress: {
                                id: "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP",
                            },
                        },
                    }],
                },
            }],
        },
        packageUrl: "{PackageUrl}",
        roleProfile: {
            roles: [{
                name: "ContosoFrontend",
                sku: {
                    capacity: 1,
                    name: "Standard_D1_v2",
                    tier: "Standard",
                },
            }],
        },
        upgradeMode: azure_native.compute.CloudServiceUpgradeMode.Auto,
    },
    resourceGroupName: "ConstosoRG",
});
import pulumi
import pulumi_azure_native as azure_native
cloud_service = azure_native.compute.CloudService("cloudService",
    cloud_service_name="{cs-name}",
    location="westus",
    properties={
        "configuration": "{ServiceConfiguration}",
        "network_profile": {
            "load_balancer_configurations": [{
                "name": "myLoadBalancer",
                "properties": {
                    "frontend_ip_configurations": [{
                        "name": "myfe",
                        "properties": {
                            "public_ip_address": {
                                "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP",
                            },
                        },
                    }],
                },
            }],
        },
        "package_url": "{PackageUrl}",
        "role_profile": {
            "roles": [{
                "name": "ContosoFrontend",
                "sku": {
                    "capacity": 1,
                    "name": "Standard_D1_v2",
                    "tier": "Standard",
                },
            }],
        },
        "upgrade_mode": azure_native.compute.CloudServiceUpgradeMode.AUTO,
    },
    resource_group_name="ConstosoRG")
resources:
  cloudService:
    type: azure-native:compute:CloudService
    properties:
      cloudServiceName: '{cs-name}'
      location: westus
      properties:
        configuration: '{ServiceConfiguration}'
        networkProfile:
          loadBalancerConfigurations:
            - name: myLoadBalancer
              properties:
                frontendIpConfigurations:
                  - name: myfe
                    properties:
                      publicIPAddress:
                        id: /subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP
        packageUrl: '{PackageUrl}'
        roleProfile:
          roles:
            - name: ContosoFrontend
              sku:
                capacity: 1
                name: Standard_D1_v2
                tier: Standard
        upgradeMode: Auto
      resourceGroupName: ConstosoRG
Create New Cloud Service with Single Role and Certificate from Key Vault
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var cloudService = new AzureNative.Compute.CloudService("cloudService", new()
    {
        CloudServiceName = "{cs-name}",
        Location = "westus",
        Properties = new AzureNative.Compute.Inputs.CloudServicePropertiesArgs
        {
            Configuration = "{ServiceConfiguration}",
            NetworkProfile = new AzureNative.Compute.Inputs.CloudServiceNetworkProfileArgs
            {
                LoadBalancerConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.LoadBalancerConfigurationArgs
                    {
                        Name = "contosolb",
                        Properties = new AzureNative.Compute.Inputs.LoadBalancerConfigurationPropertiesArgs
                        {
                            FrontendIpConfigurations = new[]
                            {
                                new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationArgs
                                {
                                    Name = "contosofe",
                                    Properties = new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationPropertiesArgs
                                    {
                                        PublicIPAddress = new AzureNative.Compute.Inputs.SubResourceArgs
                                        {
                                            Id = "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.CloudServiceOsProfileArgs
            {
                Secrets = new[]
                {
                    new AzureNative.Compute.Inputs.CloudServiceVaultSecretGroupArgs
                    {
                        SourceVault = new AzureNative.Compute.Inputs.SubResourceArgs
                        {
                            Id = "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.KeyVault/vaults/{keyvault-name}",
                        },
                        VaultCertificates = new[]
                        {
                            new AzureNative.Compute.Inputs.CloudServiceVaultCertificateArgs
                            {
                                CertificateUrl = "https://{keyvault-name}.vault.azure.net:443/secrets/ContosoCertificate/{secret-id}",
                            },
                        },
                    },
                },
            },
            PackageUrl = "{PackageUrl}",
            RoleProfile = new AzureNative.Compute.Inputs.CloudServiceRoleProfileArgs
            {
                Roles = new[]
                {
                    new AzureNative.Compute.Inputs.CloudServiceRoleProfilePropertiesArgs
                    {
                        Name = "ContosoFrontend",
                        Sku = new AzureNative.Compute.Inputs.CloudServiceRoleSkuArgs
                        {
                            Capacity = 1,
                            Name = "Standard_D1_v2",
                            Tier = "Standard",
                        },
                    },
                },
            },
            UpgradeMode = AzureNative.Compute.CloudServiceUpgradeMode.Auto,
        },
        ResourceGroupName = "ConstosoRG",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewCloudService(ctx, "cloudService", &compute.CloudServiceArgs{
			CloudServiceName: pulumi.String("{cs-name}"),
			Location:         pulumi.String("westus"),
			Properties: &compute.CloudServicePropertiesArgs{
				Configuration: pulumi.String("{ServiceConfiguration}"),
				NetworkProfile: &compute.CloudServiceNetworkProfileArgs{
					LoadBalancerConfigurations: compute.LoadBalancerConfigurationArray{
						&compute.LoadBalancerConfigurationArgs{
							Name: pulumi.String("contosolb"),
							Properties: &compute.LoadBalancerConfigurationPropertiesArgs{
								FrontendIpConfigurations: compute.LoadBalancerFrontendIpConfigurationArray{
									&compute.LoadBalancerFrontendIpConfigurationArgs{
										Name: pulumi.String("contosofe"),
										Properties: &compute.LoadBalancerFrontendIpConfigurationPropertiesArgs{
											PublicIPAddress: &compute.SubResourceArgs{
												Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip"),
											},
										},
									},
								},
							},
						},
					},
				},
				OsProfile: &compute.CloudServiceOsProfileArgs{
					Secrets: compute.CloudServiceVaultSecretGroupArray{
						&compute.CloudServiceVaultSecretGroupArgs{
							SourceVault: &compute.SubResourceArgs{
								Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.KeyVault/vaults/{keyvault-name}"),
							},
							VaultCertificates: compute.CloudServiceVaultCertificateArray{
								&compute.CloudServiceVaultCertificateArgs{
									CertificateUrl: pulumi.String("https://{keyvault-name}.vault.azure.net:443/secrets/ContosoCertificate/{secret-id}"),
								},
							},
						},
					},
				},
				PackageUrl: pulumi.String("{PackageUrl}"),
				RoleProfile: &compute.CloudServiceRoleProfileArgs{
					Roles: compute.CloudServiceRoleProfilePropertiesArray{
						&compute.CloudServiceRoleProfilePropertiesArgs{
							Name: pulumi.String("ContosoFrontend"),
							Sku: &compute.CloudServiceRoleSkuArgs{
								Capacity: pulumi.Float64(1),
								Name:     pulumi.String("Standard_D1_v2"),
								Tier:     pulumi.String("Standard"),
							},
						},
					},
				},
				UpgradeMode: pulumi.String(compute.CloudServiceUpgradeModeAuto),
			},
			ResourceGroupName: pulumi.String("ConstosoRG"),
		})
		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.compute.CloudService;
import com.pulumi.azurenative.compute.CloudServiceArgs;
import com.pulumi.azurenative.compute.inputs.CloudServicePropertiesArgs;
import com.pulumi.azurenative.compute.inputs.CloudServiceNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.CloudServiceOsProfileArgs;
import com.pulumi.azurenative.compute.inputs.CloudServiceRoleProfileArgs;
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 cloudService = new CloudService("cloudService", CloudServiceArgs.builder()
            .cloudServiceName("{cs-name}")
            .location("westus")
            .properties(CloudServicePropertiesArgs.builder()
                .configuration("{ServiceConfiguration}")
                .networkProfile(CloudServiceNetworkProfileArgs.builder()
                    .loadBalancerConfigurations(LoadBalancerConfigurationArgs.builder()
                        .name("contosolb")
                        .properties(LoadBalancerConfigurationPropertiesArgs.builder()
                            .frontendIpConfigurations(LoadBalancerFrontendIpConfigurationArgs.builder()
                                .name("contosofe")
                                .properties(LoadBalancerFrontendIpConfigurationPropertiesArgs.builder()
                                    .publicIPAddress(SubResourceArgs.builder()
                                        .id("/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip")
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .osProfile(CloudServiceOsProfileArgs.builder()
                    .secrets(CloudServiceVaultSecretGroupArgs.builder()
                        .sourceVault(SubResourceArgs.builder()
                            .id("/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.KeyVault/vaults/{keyvault-name}")
                            .build())
                        .vaultCertificates(CloudServiceVaultCertificateArgs.builder()
                            .certificateUrl("https://{keyvault-name}.vault.azure.net:443/secrets/ContosoCertificate/{secret-id}")
                            .build())
                        .build())
                    .build())
                .packageUrl("{PackageUrl}")
                .roleProfile(CloudServiceRoleProfileArgs.builder()
                    .roles(CloudServiceRoleProfilePropertiesArgs.builder()
                        .name("ContosoFrontend")
                        .sku(CloudServiceRoleSkuArgs.builder()
                            .capacity(1)
                            .name("Standard_D1_v2")
                            .tier("Standard")
                            .build())
                        .build())
                    .build())
                .upgradeMode("Auto")
                .build())
            .resourceGroupName("ConstosoRG")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cloudService = new azure_native.compute.CloudService("cloudService", {
    cloudServiceName: "{cs-name}",
    location: "westus",
    properties: {
        configuration: "{ServiceConfiguration}",
        networkProfile: {
            loadBalancerConfigurations: [{
                name: "contosolb",
                properties: {
                    frontendIpConfigurations: [{
                        name: "contosofe",
                        properties: {
                            publicIPAddress: {
                                id: "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                            },
                        },
                    }],
                },
            }],
        },
        osProfile: {
            secrets: [{
                sourceVault: {
                    id: "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.KeyVault/vaults/{keyvault-name}",
                },
                vaultCertificates: [{
                    certificateUrl: "https://{keyvault-name}.vault.azure.net:443/secrets/ContosoCertificate/{secret-id}",
                }],
            }],
        },
        packageUrl: "{PackageUrl}",
        roleProfile: {
            roles: [{
                name: "ContosoFrontend",
                sku: {
                    capacity: 1,
                    name: "Standard_D1_v2",
                    tier: "Standard",
                },
            }],
        },
        upgradeMode: azure_native.compute.CloudServiceUpgradeMode.Auto,
    },
    resourceGroupName: "ConstosoRG",
});
import pulumi
import pulumi_azure_native as azure_native
cloud_service = azure_native.compute.CloudService("cloudService",
    cloud_service_name="{cs-name}",
    location="westus",
    properties={
        "configuration": "{ServiceConfiguration}",
        "network_profile": {
            "load_balancer_configurations": [{
                "name": "contosolb",
                "properties": {
                    "frontend_ip_configurations": [{
                        "name": "contosofe",
                        "properties": {
                            "public_ip_address": {
                                "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                            },
                        },
                    }],
                },
            }],
        },
        "os_profile": {
            "secrets": [{
                "source_vault": {
                    "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.KeyVault/vaults/{keyvault-name}",
                },
                "vault_certificates": [{
                    "certificate_url": "https://{keyvault-name}.vault.azure.net:443/secrets/ContosoCertificate/{secret-id}",
                }],
            }],
        },
        "package_url": "{PackageUrl}",
        "role_profile": {
            "roles": [{
                "name": "ContosoFrontend",
                "sku": {
                    "capacity": 1,
                    "name": "Standard_D1_v2",
                    "tier": "Standard",
                },
            }],
        },
        "upgrade_mode": azure_native.compute.CloudServiceUpgradeMode.AUTO,
    },
    resource_group_name="ConstosoRG")
resources:
  cloudService:
    type: azure-native:compute:CloudService
    properties:
      cloudServiceName: '{cs-name}'
      location: westus
      properties:
        configuration: '{ServiceConfiguration}'
        networkProfile:
          loadBalancerConfigurations:
            - name: contosolb
              properties:
                frontendIpConfigurations:
                  - name: contosofe
                    properties:
                      publicIPAddress:
                        id: /subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip
        osProfile:
          secrets:
            - sourceVault:
                id: /subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.KeyVault/vaults/{keyvault-name}
              vaultCertificates:
                - certificateUrl: https://{keyvault-name}.vault.azure.net:443/secrets/ContosoCertificate/{secret-id}
        packageUrl: '{PackageUrl}'
        roleProfile:
          roles:
            - name: ContosoFrontend
              sku:
                capacity: 1
                name: Standard_D1_v2
                tier: Standard
        upgradeMode: Auto
      resourceGroupName: ConstosoRG
Create New Cloud Service with Single Role and RDP Extension
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var cloudService = new AzureNative.Compute.CloudService("cloudService", new()
    {
        CloudServiceName = "{cs-name}",
        Location = "westus",
        Properties = new AzureNative.Compute.Inputs.CloudServicePropertiesArgs
        {
            Configuration = "{ServiceConfiguration}",
            ExtensionProfile = new AzureNative.Compute.Inputs.CloudServiceExtensionProfileArgs
            {
                Extensions = new[]
                {
                    new AzureNative.Compute.Inputs.ExtensionArgs
                    {
                        Name = "RDPExtension",
                        Properties = new AzureNative.Compute.Inputs.CloudServiceExtensionPropertiesArgs
                        {
                            AutoUpgradeMinorVersion = false,
                            ProtectedSettings = "<PrivateConfig><Password>{password}</Password></PrivateConfig>",
                            Publisher = "Microsoft.Windows.Azure.Extensions",
                            Settings = "<PublicConfig><UserName>UserAzure</UserName><Expiration>10/22/2021 15:05:45</Expiration></PublicConfig>",
                            Type = "RDP",
                            TypeHandlerVersion = "1.2",
                        },
                    },
                },
            },
            NetworkProfile = new AzureNative.Compute.Inputs.CloudServiceNetworkProfileArgs
            {
                LoadBalancerConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.LoadBalancerConfigurationArgs
                    {
                        Name = "contosolb",
                        Properties = new AzureNative.Compute.Inputs.LoadBalancerConfigurationPropertiesArgs
                        {
                            FrontendIpConfigurations = new[]
                            {
                                new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationArgs
                                {
                                    Name = "contosofe",
                                    Properties = new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationPropertiesArgs
                                    {
                                        PublicIPAddress = new AzureNative.Compute.Inputs.SubResourceArgs
                                        {
                                            Id = "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
            },
            PackageUrl = "{PackageUrl}",
            RoleProfile = new AzureNative.Compute.Inputs.CloudServiceRoleProfileArgs
            {
                Roles = new[]
                {
                    new AzureNative.Compute.Inputs.CloudServiceRoleProfilePropertiesArgs
                    {
                        Name = "ContosoFrontend",
                        Sku = new AzureNative.Compute.Inputs.CloudServiceRoleSkuArgs
                        {
                            Capacity = 1,
                            Name = "Standard_D1_v2",
                            Tier = "Standard",
                        },
                    },
                },
            },
            UpgradeMode = AzureNative.Compute.CloudServiceUpgradeMode.Auto,
        },
        ResourceGroupName = "ConstosoRG",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewCloudService(ctx, "cloudService", &compute.CloudServiceArgs{
			CloudServiceName: pulumi.String("{cs-name}"),
			Location:         pulumi.String("westus"),
			Properties: &compute.CloudServicePropertiesArgs{
				Configuration: pulumi.String("{ServiceConfiguration}"),
				ExtensionProfile: &compute.CloudServiceExtensionProfileArgs{
					Extensions: compute.ExtensionArray{
						&compute.ExtensionArgs{
							Name: pulumi.String("RDPExtension"),
							Properties: &compute.CloudServiceExtensionPropertiesArgs{
								AutoUpgradeMinorVersion: pulumi.Bool(false),
								ProtectedSettings:       pulumi.Any("<PrivateConfig><Password>{password}</Password></PrivateConfig>"),
								Publisher:               pulumi.String("Microsoft.Windows.Azure.Extensions"),
								Settings:                pulumi.Any("<PublicConfig><UserName>UserAzure</UserName><Expiration>10/22/2021 15:05:45</Expiration></PublicConfig>"),
								Type:                    pulumi.String("RDP"),
								TypeHandlerVersion:      pulumi.String("1.2"),
							},
						},
					},
				},
				NetworkProfile: &compute.CloudServiceNetworkProfileArgs{
					LoadBalancerConfigurations: compute.LoadBalancerConfigurationArray{
						&compute.LoadBalancerConfigurationArgs{
							Name: pulumi.String("contosolb"),
							Properties: &compute.LoadBalancerConfigurationPropertiesArgs{
								FrontendIpConfigurations: compute.LoadBalancerFrontendIpConfigurationArray{
									&compute.LoadBalancerFrontendIpConfigurationArgs{
										Name: pulumi.String("contosofe"),
										Properties: &compute.LoadBalancerFrontendIpConfigurationPropertiesArgs{
											PublicIPAddress: &compute.SubResourceArgs{
												Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip"),
											},
										},
									},
								},
							},
						},
					},
				},
				PackageUrl: pulumi.String("{PackageUrl}"),
				RoleProfile: &compute.CloudServiceRoleProfileArgs{
					Roles: compute.CloudServiceRoleProfilePropertiesArray{
						&compute.CloudServiceRoleProfilePropertiesArgs{
							Name: pulumi.String("ContosoFrontend"),
							Sku: &compute.CloudServiceRoleSkuArgs{
								Capacity: pulumi.Float64(1),
								Name:     pulumi.String("Standard_D1_v2"),
								Tier:     pulumi.String("Standard"),
							},
						},
					},
				},
				UpgradeMode: pulumi.String(compute.CloudServiceUpgradeModeAuto),
			},
			ResourceGroupName: pulumi.String("ConstosoRG"),
		})
		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.compute.CloudService;
import com.pulumi.azurenative.compute.CloudServiceArgs;
import com.pulumi.azurenative.compute.inputs.CloudServicePropertiesArgs;
import com.pulumi.azurenative.compute.inputs.CloudServiceExtensionProfileArgs;
import com.pulumi.azurenative.compute.inputs.CloudServiceNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.CloudServiceRoleProfileArgs;
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 cloudService = new CloudService("cloudService", CloudServiceArgs.builder()
            .cloudServiceName("{cs-name}")
            .location("westus")
            .properties(CloudServicePropertiesArgs.builder()
                .configuration("{ServiceConfiguration}")
                .extensionProfile(CloudServiceExtensionProfileArgs.builder()
                    .extensions(ExtensionArgs.builder()
                        .name("RDPExtension")
                        .properties(CloudServiceExtensionPropertiesArgs.builder()
                            .autoUpgradeMinorVersion(false)
                            .protectedSettings("<PrivateConfig><Password>{password}</Password></PrivateConfig>")
                            .publisher("Microsoft.Windows.Azure.Extensions")
                            .settings("<PublicConfig><UserName>UserAzure</UserName><Expiration>10/22/2021 15:05:45</Expiration></PublicConfig>")
                            .type("RDP")
                            .typeHandlerVersion("1.2")
                            .build())
                        .build())
                    .build())
                .networkProfile(CloudServiceNetworkProfileArgs.builder()
                    .loadBalancerConfigurations(LoadBalancerConfigurationArgs.builder()
                        .name("contosolb")
                        .properties(LoadBalancerConfigurationPropertiesArgs.builder()
                            .frontendIpConfigurations(LoadBalancerFrontendIpConfigurationArgs.builder()
                                .name("contosofe")
                                .properties(LoadBalancerFrontendIpConfigurationPropertiesArgs.builder()
                                    .publicIPAddress(SubResourceArgs.builder()
                                        .id("/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip")
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .packageUrl("{PackageUrl}")
                .roleProfile(CloudServiceRoleProfileArgs.builder()
                    .roles(CloudServiceRoleProfilePropertiesArgs.builder()
                        .name("ContosoFrontend")
                        .sku(CloudServiceRoleSkuArgs.builder()
                            .capacity(1)
                            .name("Standard_D1_v2")
                            .tier("Standard")
                            .build())
                        .build())
                    .build())
                .upgradeMode("Auto")
                .build())
            .resourceGroupName("ConstosoRG")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const cloudService = new azure_native.compute.CloudService("cloudService", {
    cloudServiceName: "{cs-name}",
    location: "westus",
    properties: {
        configuration: "{ServiceConfiguration}",
        extensionProfile: {
            extensions: [{
                name: "RDPExtension",
                properties: {
                    autoUpgradeMinorVersion: false,
                    protectedSettings: "<PrivateConfig><Password>{password}</Password></PrivateConfig>",
                    publisher: "Microsoft.Windows.Azure.Extensions",
                    settings: "<PublicConfig><UserName>UserAzure</UserName><Expiration>10/22/2021 15:05:45</Expiration></PublicConfig>",
                    type: "RDP",
                    typeHandlerVersion: "1.2",
                },
            }],
        },
        networkProfile: {
            loadBalancerConfigurations: [{
                name: "contosolb",
                properties: {
                    frontendIpConfigurations: [{
                        name: "contosofe",
                        properties: {
                            publicIPAddress: {
                                id: "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                            },
                        },
                    }],
                },
            }],
        },
        packageUrl: "{PackageUrl}",
        roleProfile: {
            roles: [{
                name: "ContosoFrontend",
                sku: {
                    capacity: 1,
                    name: "Standard_D1_v2",
                    tier: "Standard",
                },
            }],
        },
        upgradeMode: azure_native.compute.CloudServiceUpgradeMode.Auto,
    },
    resourceGroupName: "ConstosoRG",
});
import pulumi
import pulumi_azure_native as azure_native
cloud_service = azure_native.compute.CloudService("cloudService",
    cloud_service_name="{cs-name}",
    location="westus",
    properties={
        "configuration": "{ServiceConfiguration}",
        "extension_profile": {
            "extensions": [{
                "name": "RDPExtension",
                "properties": {
                    "auto_upgrade_minor_version": False,
                    "protected_settings": "<PrivateConfig><Password>{password}</Password></PrivateConfig>",
                    "publisher": "Microsoft.Windows.Azure.Extensions",
                    "settings": "<PublicConfig><UserName>UserAzure</UserName><Expiration>10/22/2021 15:05:45</Expiration></PublicConfig>",
                    "type": "RDP",
                    "type_handler_version": "1.2",
                },
            }],
        },
        "network_profile": {
            "load_balancer_configurations": [{
                "name": "contosolb",
                "properties": {
                    "frontend_ip_configurations": [{
                        "name": "contosofe",
                        "properties": {
                            "public_ip_address": {
                                "id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                            },
                        },
                    }],
                },
            }],
        },
        "package_url": "{PackageUrl}",
        "role_profile": {
            "roles": [{
                "name": "ContosoFrontend",
                "sku": {
                    "capacity": 1,
                    "name": "Standard_D1_v2",
                    "tier": "Standard",
                },
            }],
        },
        "upgrade_mode": azure_native.compute.CloudServiceUpgradeMode.AUTO,
    },
    resource_group_name="ConstosoRG")
resources:
  cloudService:
    type: azure-native:compute:CloudService
    properties:
      cloudServiceName: '{cs-name}'
      location: westus
      properties:
        configuration: '{ServiceConfiguration}'
        extensionProfile:
          extensions:
            - name: RDPExtension
              properties:
                autoUpgradeMinorVersion: false
                protectedSettings: <PrivateConfig><Password>{password}</Password></PrivateConfig>
                publisher: Microsoft.Windows.Azure.Extensions
                settings: <PublicConfig><UserName>UserAzure</UserName><Expiration>10/22/2021 15:05:45</Expiration></PublicConfig>
                type: RDP
                typeHandlerVersion: '1.2'
        networkProfile:
          loadBalancerConfigurations:
            - name: contosolb
              properties:
                frontendIpConfigurations:
                  - name: contosofe
                    properties:
                      publicIPAddress:
                        id: /subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip
        packageUrl: '{PackageUrl}'
        roleProfile:
          roles:
            - name: ContosoFrontend
              sku:
                capacity: 1
                name: Standard_D1_v2
                tier: Standard
        upgradeMode: Auto
      resourceGroupName: ConstosoRG
Create CloudService Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudService(name: string, args: CloudServiceArgs, opts?: CustomResourceOptions);@overload
def CloudService(resource_name: str,
                 args: CloudServiceArgs,
                 opts: Optional[ResourceOptions] = None)
@overload
def CloudService(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 resource_group_name: Optional[str] = None,
                 cloud_service_name: Optional[str] = None,
                 location: Optional[str] = None,
                 properties: Optional[CloudServicePropertiesArgs] = None,
                 tags: Optional[Mapping[str, str]] = None,
                 zones: Optional[Sequence[str]] = None)func NewCloudService(ctx *Context, name string, args CloudServiceArgs, opts ...ResourceOption) (*CloudService, error)public CloudService(string name, CloudServiceArgs args, CustomResourceOptions? opts = null)
public CloudService(String name, CloudServiceArgs args)
public CloudService(String name, CloudServiceArgs args, CustomResourceOptions options)
type: azure-native:compute:CloudService
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 CloudServiceArgs
- 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 CloudServiceArgs
- 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 CloudServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudServiceArgs
- 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 cloudServiceResource = new AzureNative.Compute.CloudService("cloudServiceResource", new()
{
    ResourceGroupName = "string",
    CloudServiceName = "string",
    Location = "string",
    Properties = new AzureNative.Compute.Inputs.CloudServicePropertiesArgs
    {
        AllowModelOverride = false,
        Configuration = "string",
        ConfigurationUrl = "string",
        ExtensionProfile = new AzureNative.Compute.Inputs.CloudServiceExtensionProfileArgs
        {
            Extensions = new[]
            {
                new AzureNative.Compute.Inputs.ExtensionArgs
                {
                    Name = "string",
                    Properties = new AzureNative.Compute.Inputs.CloudServiceExtensionPropertiesArgs
                    {
                        AutoUpgradeMinorVersion = false,
                        ForceUpdateTag = "string",
                        ProtectedSettings = "any",
                        ProtectedSettingsFromKeyVault = new AzureNative.Compute.Inputs.CloudServiceVaultAndSecretReferenceArgs
                        {
                            SecretUrl = "string",
                            SourceVault = new AzureNative.Compute.Inputs.SubResourceArgs
                            {
                                Id = "string",
                            },
                        },
                        Publisher = "string",
                        RolesAppliedTo = new[]
                        {
                            "string",
                        },
                        Settings = "any",
                        Type = "string",
                        TypeHandlerVersion = "string",
                    },
                },
            },
        },
        NetworkProfile = new AzureNative.Compute.Inputs.CloudServiceNetworkProfileArgs
        {
            LoadBalancerConfigurations = new[]
            {
                new AzureNative.Compute.Inputs.LoadBalancerConfigurationArgs
                {
                    Name = "string",
                    Properties = new AzureNative.Compute.Inputs.LoadBalancerConfigurationPropertiesArgs
                    {
                        FrontendIpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationArgs
                            {
                                Name = "string",
                                Properties = new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationPropertiesArgs
                                {
                                    PrivateIPAddress = "string",
                                    PublicIPAddress = new AzureNative.Compute.Inputs.SubResourceArgs
                                    {
                                        Id = "string",
                                    },
                                    Subnet = new AzureNative.Compute.Inputs.SubResourceArgs
                                    {
                                        Id = "string",
                                    },
                                },
                            },
                        },
                    },
                    Id = "string",
                },
            },
            SlotType = "string",
            SwappableCloudService = new AzureNative.Compute.Inputs.SubResourceArgs
            {
                Id = "string",
            },
        },
        OsProfile = new AzureNative.Compute.Inputs.CloudServiceOsProfileArgs
        {
            Secrets = new[]
            {
                new AzureNative.Compute.Inputs.CloudServiceVaultSecretGroupArgs
                {
                    SourceVault = new AzureNative.Compute.Inputs.SubResourceArgs
                    {
                        Id = "string",
                    },
                    VaultCertificates = new[]
                    {
                        new AzureNative.Compute.Inputs.CloudServiceVaultCertificateArgs
                        {
                            CertificateUrl = "string",
                        },
                    },
                },
            },
        },
        PackageUrl = "string",
        RoleProfile = new AzureNative.Compute.Inputs.CloudServiceRoleProfileArgs
        {
            Roles = new[]
            {
                new AzureNative.Compute.Inputs.CloudServiceRoleProfilePropertiesArgs
                {
                    Name = "string",
                    Sku = new AzureNative.Compute.Inputs.CloudServiceRoleSkuArgs
                    {
                        Capacity = 0,
                        Name = "string",
                        Tier = "string",
                    },
                },
            },
        },
        StartCloudService = false,
        UpgradeMode = "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
    Zones = new[]
    {
        "string",
    },
});
example, err := compute.NewCloudService(ctx, "cloudServiceResource", &compute.CloudServiceArgs{
	ResourceGroupName: pulumi.String("string"),
	CloudServiceName:  pulumi.String("string"),
	Location:          pulumi.String("string"),
	Properties: &compute.CloudServicePropertiesArgs{
		AllowModelOverride: pulumi.Bool(false),
		Configuration:      pulumi.String("string"),
		ConfigurationUrl:   pulumi.String("string"),
		ExtensionProfile: &compute.CloudServiceExtensionProfileArgs{
			Extensions: compute.ExtensionArray{
				&compute.ExtensionArgs{
					Name: pulumi.String("string"),
					Properties: &compute.CloudServiceExtensionPropertiesArgs{
						AutoUpgradeMinorVersion: pulumi.Bool(false),
						ForceUpdateTag:          pulumi.String("string"),
						ProtectedSettings:       pulumi.Any("any"),
						ProtectedSettingsFromKeyVault: &compute.CloudServiceVaultAndSecretReferenceArgs{
							SecretUrl: pulumi.String("string"),
							SourceVault: &compute.SubResourceArgs{
								Id: pulumi.String("string"),
							},
						},
						Publisher: pulumi.String("string"),
						RolesAppliedTo: pulumi.StringArray{
							pulumi.String("string"),
						},
						Settings:           pulumi.Any("any"),
						Type:               pulumi.String("string"),
						TypeHandlerVersion: pulumi.String("string"),
					},
				},
			},
		},
		NetworkProfile: &compute.CloudServiceNetworkProfileArgs{
			LoadBalancerConfigurations: compute.LoadBalancerConfigurationArray{
				&compute.LoadBalancerConfigurationArgs{
					Name: pulumi.String("string"),
					Properties: &compute.LoadBalancerConfigurationPropertiesArgs{
						FrontendIpConfigurations: compute.LoadBalancerFrontendIpConfigurationArray{
							&compute.LoadBalancerFrontendIpConfigurationArgs{
								Name: pulumi.String("string"),
								Properties: &compute.LoadBalancerFrontendIpConfigurationPropertiesArgs{
									PrivateIPAddress: pulumi.String("string"),
									PublicIPAddress: &compute.SubResourceArgs{
										Id: pulumi.String("string"),
									},
									Subnet: &compute.SubResourceArgs{
										Id: pulumi.String("string"),
									},
								},
							},
						},
					},
					Id: pulumi.String("string"),
				},
			},
			SlotType: pulumi.String("string"),
			SwappableCloudService: &compute.SubResourceArgs{
				Id: pulumi.String("string"),
			},
		},
		OsProfile: &compute.CloudServiceOsProfileArgs{
			Secrets: compute.CloudServiceVaultSecretGroupArray{
				&compute.CloudServiceVaultSecretGroupArgs{
					SourceVault: &compute.SubResourceArgs{
						Id: pulumi.String("string"),
					},
					VaultCertificates: compute.CloudServiceVaultCertificateArray{
						&compute.CloudServiceVaultCertificateArgs{
							CertificateUrl: pulumi.String("string"),
						},
					},
				},
			},
		},
		PackageUrl: pulumi.String("string"),
		RoleProfile: &compute.CloudServiceRoleProfileArgs{
			Roles: compute.CloudServiceRoleProfilePropertiesArray{
				&compute.CloudServiceRoleProfilePropertiesArgs{
					Name: pulumi.String("string"),
					Sku: &compute.CloudServiceRoleSkuArgs{
						Capacity: pulumi.Float64(0),
						Name:     pulumi.String("string"),
						Tier:     pulumi.String("string"),
					},
				},
			},
		},
		StartCloudService: pulumi.Bool(false),
		UpgradeMode:       pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Zones: pulumi.StringArray{
		pulumi.String("string"),
	},
})
var cloudServiceResource = new CloudService("cloudServiceResource", CloudServiceArgs.builder()
    .resourceGroupName("string")
    .cloudServiceName("string")
    .location("string")
    .properties(CloudServicePropertiesArgs.builder()
        .allowModelOverride(false)
        .configuration("string")
        .configurationUrl("string")
        .extensionProfile(CloudServiceExtensionProfileArgs.builder()
            .extensions(ExtensionArgs.builder()
                .name("string")
                .properties(CloudServiceExtensionPropertiesArgs.builder()
                    .autoUpgradeMinorVersion(false)
                    .forceUpdateTag("string")
                    .protectedSettings("any")
                    .protectedSettingsFromKeyVault(CloudServiceVaultAndSecretReferenceArgs.builder()
                        .secretUrl("string")
                        .sourceVault(SubResourceArgs.builder()
                            .id("string")
                            .build())
                        .build())
                    .publisher("string")
                    .rolesAppliedTo("string")
                    .settings("any")
                    .type("string")
                    .typeHandlerVersion("string")
                    .build())
                .build())
            .build())
        .networkProfile(CloudServiceNetworkProfileArgs.builder()
            .loadBalancerConfigurations(LoadBalancerConfigurationArgs.builder()
                .name("string")
                .properties(LoadBalancerConfigurationPropertiesArgs.builder()
                    .frontendIpConfigurations(LoadBalancerFrontendIpConfigurationArgs.builder()
                        .name("string")
                        .properties(LoadBalancerFrontendIpConfigurationPropertiesArgs.builder()
                            .privateIPAddress("string")
                            .publicIPAddress(SubResourceArgs.builder()
                                .id("string")
                                .build())
                            .subnet(SubResourceArgs.builder()
                                .id("string")
                                .build())
                            .build())
                        .build())
                    .build())
                .id("string")
                .build())
            .slotType("string")
            .swappableCloudService(SubResourceArgs.builder()
                .id("string")
                .build())
            .build())
        .osProfile(CloudServiceOsProfileArgs.builder()
            .secrets(CloudServiceVaultSecretGroupArgs.builder()
                .sourceVault(SubResourceArgs.builder()
                    .id("string")
                    .build())
                .vaultCertificates(CloudServiceVaultCertificateArgs.builder()
                    .certificateUrl("string")
                    .build())
                .build())
            .build())
        .packageUrl("string")
        .roleProfile(CloudServiceRoleProfileArgs.builder()
            .roles(CloudServiceRoleProfilePropertiesArgs.builder()
                .name("string")
                .sku(CloudServiceRoleSkuArgs.builder()
                    .capacity(0)
                    .name("string")
                    .tier("string")
                    .build())
                .build())
            .build())
        .startCloudService(false)
        .upgradeMode("string")
        .build())
    .tags(Map.of("string", "string"))
    .zones("string")
    .build());
cloud_service_resource = azure_native.compute.CloudService("cloudServiceResource",
    resource_group_name="string",
    cloud_service_name="string",
    location="string",
    properties={
        "allow_model_override": False,
        "configuration": "string",
        "configuration_url": "string",
        "extension_profile": {
            "extensions": [{
                "name": "string",
                "properties": {
                    "auto_upgrade_minor_version": False,
                    "force_update_tag": "string",
                    "protected_settings": "any",
                    "protected_settings_from_key_vault": {
                        "secret_url": "string",
                        "source_vault": {
                            "id": "string",
                        },
                    },
                    "publisher": "string",
                    "roles_applied_to": ["string"],
                    "settings": "any",
                    "type": "string",
                    "type_handler_version": "string",
                },
            }],
        },
        "network_profile": {
            "load_balancer_configurations": [{
                "name": "string",
                "properties": {
                    "frontend_ip_configurations": [{
                        "name": "string",
                        "properties": {
                            "private_ip_address": "string",
                            "public_ip_address": {
                                "id": "string",
                            },
                            "subnet": {
                                "id": "string",
                            },
                        },
                    }],
                },
                "id": "string",
            }],
            "slot_type": "string",
            "swappable_cloud_service": {
                "id": "string",
            },
        },
        "os_profile": {
            "secrets": [{
                "source_vault": {
                    "id": "string",
                },
                "vault_certificates": [{
                    "certificate_url": "string",
                }],
            }],
        },
        "package_url": "string",
        "role_profile": {
            "roles": [{
                "name": "string",
                "sku": {
                    "capacity": 0,
                    "name": "string",
                    "tier": "string",
                },
            }],
        },
        "start_cloud_service": False,
        "upgrade_mode": "string",
    },
    tags={
        "string": "string",
    },
    zones=["string"])
const cloudServiceResource = new azure_native.compute.CloudService("cloudServiceResource", {
    resourceGroupName: "string",
    cloudServiceName: "string",
    location: "string",
    properties: {
        allowModelOverride: false,
        configuration: "string",
        configurationUrl: "string",
        extensionProfile: {
            extensions: [{
                name: "string",
                properties: {
                    autoUpgradeMinorVersion: false,
                    forceUpdateTag: "string",
                    protectedSettings: "any",
                    protectedSettingsFromKeyVault: {
                        secretUrl: "string",
                        sourceVault: {
                            id: "string",
                        },
                    },
                    publisher: "string",
                    rolesAppliedTo: ["string"],
                    settings: "any",
                    type: "string",
                    typeHandlerVersion: "string",
                },
            }],
        },
        networkProfile: {
            loadBalancerConfigurations: [{
                name: "string",
                properties: {
                    frontendIpConfigurations: [{
                        name: "string",
                        properties: {
                            privateIPAddress: "string",
                            publicIPAddress: {
                                id: "string",
                            },
                            subnet: {
                                id: "string",
                            },
                        },
                    }],
                },
                id: "string",
            }],
            slotType: "string",
            swappableCloudService: {
                id: "string",
            },
        },
        osProfile: {
            secrets: [{
                sourceVault: {
                    id: "string",
                },
                vaultCertificates: [{
                    certificateUrl: "string",
                }],
            }],
        },
        packageUrl: "string",
        roleProfile: {
            roles: [{
                name: "string",
                sku: {
                    capacity: 0,
                    name: "string",
                    tier: "string",
                },
            }],
        },
        startCloudService: false,
        upgradeMode: "string",
    },
    tags: {
        string: "string",
    },
    zones: ["string"],
});
type: azure-native:compute:CloudService
properties:
    cloudServiceName: string
    location: string
    properties:
        allowModelOverride: false
        configuration: string
        configurationUrl: string
        extensionProfile:
            extensions:
                - name: string
                  properties:
                    autoUpgradeMinorVersion: false
                    forceUpdateTag: string
                    protectedSettings: any
                    protectedSettingsFromKeyVault:
                        secretUrl: string
                        sourceVault:
                            id: string
                    publisher: string
                    rolesAppliedTo:
                        - string
                    settings: any
                    type: string
                    typeHandlerVersion: string
        networkProfile:
            loadBalancerConfigurations:
                - id: string
                  name: string
                  properties:
                    frontendIpConfigurations:
                        - name: string
                          properties:
                            privateIPAddress: string
                            publicIPAddress:
                                id: string
                            subnet:
                                id: string
            slotType: string
            swappableCloudService:
                id: string
        osProfile:
            secrets:
                - sourceVault:
                    id: string
                  vaultCertificates:
                    - certificateUrl: string
        packageUrl: string
        roleProfile:
            roles:
                - name: string
                  sku:
                    capacity: 0
                    name: string
                    tier: string
        startCloudService: false
        upgradeMode: string
    resourceGroupName: string
    tags:
        string: string
    zones:
        - string
CloudService Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CloudService resource accepts the following input properties:
- ResourceGroup stringName 
- Name of the resource group.
- CloudService stringName 
- Name of the cloud service.
- Location string
- Resource location.
- Properties
Pulumi.Azure Native. Compute. Inputs. Cloud Service Properties 
- Cloud service properties
- Dictionary<string, string>
- Resource tags.
- Zones List<string>
- List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.
- ResourceGroup stringName 
- Name of the resource group.
- CloudService stringName 
- Name of the cloud service.
- Location string
- Resource location.
- Properties
CloudService Properties Args 
- Cloud service properties
- map[string]string
- Resource tags.
- Zones []string
- List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.
- resourceGroup StringName 
- Name of the resource group.
- cloudService StringName 
- Name of the cloud service.
- location String
- Resource location.
- properties
CloudService Properties 
- Cloud service properties
- Map<String,String>
- Resource tags.
- zones List<String>
- List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.
- resourceGroup stringName 
- Name of the resource group.
- cloudService stringName 
- Name of the cloud service.
- location string
- Resource location.
- properties
CloudService Properties 
- Cloud service properties
- {[key: string]: string}
- Resource tags.
- zones string[]
- List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.
- resource_group_ strname 
- Name of the resource group.
- cloud_service_ strname 
- Name of the cloud service.
- location str
- Resource location.
- properties
CloudService Properties Args 
- Cloud service properties
- Mapping[str, str]
- Resource tags.
- zones Sequence[str]
- List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.
- resourceGroup StringName 
- Name of the resource group.
- cloudService StringName 
- Name of the cloud service.
- location String
- Resource location.
- properties Property Map
- Cloud service properties
- Map<String>
- Resource tags.
- zones List<String>
- List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudService resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- Type string
- Resource type.
- SystemData Pulumi.Azure Native. Compute. Outputs. System Data Response 
- The system meta data relating to this resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- Type string
- Resource type.
- SystemData SystemData Response 
- The system meta data relating to this resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- type String
- Resource type.
- systemData SystemData Response 
- The system meta data relating to this resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name.
- type string
- Resource type.
- systemData SystemData Response 
- The system meta data relating to this resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name.
- type str
- Resource type.
- system_data SystemData Response 
- The system meta data relating to this resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- type String
- Resource type.
- systemData Property Map
- The system meta data relating to this resource.
Supporting Types
CloudServiceExtensionProfile, CloudServiceExtensionProfileArgs        
- Extensions
List<Pulumi.Azure Native. Compute. Inputs. Extension> 
- List of extensions for the cloud service.
- Extensions []Extension
- List of extensions for the cloud service.
- extensions List<Extension>
- List of extensions for the cloud service.
- extensions Extension[]
- List of extensions for the cloud service.
- extensions Sequence[Extension]
- List of extensions for the cloud service.
- extensions List<Property Map>
- List of extensions for the cloud service.
CloudServiceExtensionProfileResponse, CloudServiceExtensionProfileResponseArgs          
- Extensions
List<Pulumi.Azure Native. Compute. Inputs. Extension Response> 
- List of extensions for the cloud service.
- Extensions
[]ExtensionResponse 
- List of extensions for the cloud service.
- extensions
List<ExtensionResponse> 
- List of extensions for the cloud service.
- extensions
ExtensionResponse[] 
- List of extensions for the cloud service.
- extensions
Sequence[ExtensionResponse] 
- List of extensions for the cloud service.
- extensions List<Property Map>
- List of extensions for the cloud service.
CloudServiceExtensionProperties, CloudServiceExtensionPropertiesArgs        
- AutoUpgrade boolMinor Version 
- Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
- ForceUpdate stringTag 
- Tag to force apply the provided public and protected settings. Changing the tag value allows for re-running the extension without changing any of the public or protected settings. If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and it is up to handler implementation whether to re-run it or not
- ProtectedSettings object
- Protected settings for the extension which are encrypted before sent to the role instance.
- ProtectedSettings Pulumi.From Key Vault Azure Native. Compute. Inputs. Cloud Service Vault And Secret Reference 
- Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.
- Publisher string
- The name of the extension handler publisher.
- RolesApplied List<string>To 
- Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.
- Settings object
- Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.
- Type string
- Specifies the type of the extension.
- TypeHandler stringVersion 
- Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.
- AutoUpgrade boolMinor Version 
- Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
- ForceUpdate stringTag 
- Tag to force apply the provided public and protected settings. Changing the tag value allows for re-running the extension without changing any of the public or protected settings. If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and it is up to handler implementation whether to re-run it or not
- ProtectedSettings interface{}
- Protected settings for the extension which are encrypted before sent to the role instance.
- ProtectedSettings CloudFrom Key Vault Service Vault And Secret Reference 
- Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.
- Publisher string
- The name of the extension handler publisher.
- RolesApplied []stringTo 
- Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.
- Settings interface{}
- Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.
- Type string
- Specifies the type of the extension.
- TypeHandler stringVersion 
- Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.
- autoUpgrade BooleanMinor Version 
- Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
- forceUpdate StringTag 
- Tag to force apply the provided public and protected settings. Changing the tag value allows for re-running the extension without changing any of the public or protected settings. If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and it is up to handler implementation whether to re-run it or not
- protectedSettings Object
- Protected settings for the extension which are encrypted before sent to the role instance.
- protectedSettings CloudFrom Key Vault Service Vault And Secret Reference 
- Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.
- publisher String
- The name of the extension handler publisher.
- rolesApplied List<String>To 
- Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.
- settings Object
- Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.
- type String
- Specifies the type of the extension.
- typeHandler StringVersion 
- Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.
- autoUpgrade booleanMinor Version 
- Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
- forceUpdate stringTag 
- Tag to force apply the provided public and protected settings. Changing the tag value allows for re-running the extension without changing any of the public or protected settings. If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and it is up to handler implementation whether to re-run it or not
- protectedSettings any
- Protected settings for the extension which are encrypted before sent to the role instance.
- protectedSettings CloudFrom Key Vault Service Vault And Secret Reference 
- Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.
- publisher string
- The name of the extension handler publisher.
- rolesApplied string[]To 
- Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.
- settings any
- Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.
- type string
- Specifies the type of the extension.
- typeHandler stringVersion 
- Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.
- auto_upgrade_ boolminor_ version 
- Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
- force_update_ strtag 
- Tag to force apply the provided public and protected settings. Changing the tag value allows for re-running the extension without changing any of the public or protected settings. If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and it is up to handler implementation whether to re-run it or not
- protected_settings Any
- Protected settings for the extension which are encrypted before sent to the role instance.
- protected_settings_ Cloudfrom_ key_ vault Service Vault And Secret Reference 
- Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.
- publisher str
- The name of the extension handler publisher.
- roles_applied_ Sequence[str]to 
- Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.
- settings Any
- Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.
- type str
- Specifies the type of the extension.
- type_handler_ strversion 
- Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.
- autoUpgrade BooleanMinor Version 
- Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
- forceUpdate StringTag 
- Tag to force apply the provided public and protected settings. Changing the tag value allows for re-running the extension without changing any of the public or protected settings. If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and it is up to handler implementation whether to re-run it or not
- protectedSettings Any
- Protected settings for the extension which are encrypted before sent to the role instance.
- protectedSettings Property MapFrom Key Vault 
- Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.
- publisher String
- The name of the extension handler publisher.
- rolesApplied List<String>To 
- Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.
- settings Any
- Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.
- type String
- Specifies the type of the extension.
- typeHandler StringVersion 
- Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.
CloudServiceExtensionPropertiesResponse, CloudServiceExtensionPropertiesResponseArgs          
- ProvisioningState string
- The provisioning state, which only appears in the response.
- AutoUpgrade boolMinor Version 
- Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
- ForceUpdate stringTag 
- Tag to force apply the provided public and protected settings. Changing the tag value allows for re-running the extension without changing any of the public or protected settings. If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and it is up to handler implementation whether to re-run it or not
- ProtectedSettings object
- Protected settings for the extension which are encrypted before sent to the role instance.
- ProtectedSettings Pulumi.From Key Vault Azure Native. Compute. Inputs. Cloud Service Vault And Secret Reference Response 
- Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.
- Publisher string
- The name of the extension handler publisher.
- RolesApplied List<string>To 
- Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.
- Settings object
- Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.
- Type string
- Specifies the type of the extension.
- TypeHandler stringVersion 
- Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.
- ProvisioningState string
- The provisioning state, which only appears in the response.
- AutoUpgrade boolMinor Version 
- Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
- ForceUpdate stringTag 
- Tag to force apply the provided public and protected settings. Changing the tag value allows for re-running the extension without changing any of the public or protected settings. If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and it is up to handler implementation whether to re-run it or not
- ProtectedSettings interface{}
- Protected settings for the extension which are encrypted before sent to the role instance.
- ProtectedSettings CloudFrom Key Vault Service Vault And Secret Reference Response 
- Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.
- Publisher string
- The name of the extension handler publisher.
- RolesApplied []stringTo 
- Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.
- Settings interface{}
- Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.
- Type string
- Specifies the type of the extension.
- TypeHandler stringVersion 
- Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.
- provisioningState String
- The provisioning state, which only appears in the response.
- autoUpgrade BooleanMinor Version 
- Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
- forceUpdate StringTag 
- Tag to force apply the provided public and protected settings. Changing the tag value allows for re-running the extension without changing any of the public or protected settings. If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and it is up to handler implementation whether to re-run it or not
- protectedSettings Object
- Protected settings for the extension which are encrypted before sent to the role instance.
- protectedSettings CloudFrom Key Vault Service Vault And Secret Reference Response 
- Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.
- publisher String
- The name of the extension handler publisher.
- rolesApplied List<String>To 
- Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.
- settings Object
- Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.
- type String
- Specifies the type of the extension.
- typeHandler StringVersion 
- Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.
- provisioningState string
- The provisioning state, which only appears in the response.
- autoUpgrade booleanMinor Version 
- Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
- forceUpdate stringTag 
- Tag to force apply the provided public and protected settings. Changing the tag value allows for re-running the extension without changing any of the public or protected settings. If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and it is up to handler implementation whether to re-run it or not
- protectedSettings any
- Protected settings for the extension which are encrypted before sent to the role instance.
- protectedSettings CloudFrom Key Vault Service Vault And Secret Reference Response 
- Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.
- publisher string
- The name of the extension handler publisher.
- rolesApplied string[]To 
- Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.
- settings any
- Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.
- type string
- Specifies the type of the extension.
- typeHandler stringVersion 
- Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.
- provisioning_state str
- The provisioning state, which only appears in the response.
- auto_upgrade_ boolminor_ version 
- Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
- force_update_ strtag 
- Tag to force apply the provided public and protected settings. Changing the tag value allows for re-running the extension without changing any of the public or protected settings. If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and it is up to handler implementation whether to re-run it or not
- protected_settings Any
- Protected settings for the extension which are encrypted before sent to the role instance.
- protected_settings_ Cloudfrom_ key_ vault Service Vault And Secret Reference Response 
- Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.
- publisher str
- The name of the extension handler publisher.
- roles_applied_ Sequence[str]to 
- Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.
- settings Any
- Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.
- type str
- Specifies the type of the extension.
- type_handler_ strversion 
- Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.
- provisioningState String
- The provisioning state, which only appears in the response.
- autoUpgrade BooleanMinor Version 
- Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
- forceUpdate StringTag 
- Tag to force apply the provided public and protected settings. Changing the tag value allows for re-running the extension without changing any of the public or protected settings. If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and it is up to handler implementation whether to re-run it or not
- protectedSettings Any
- Protected settings for the extension which are encrypted before sent to the role instance.
- protectedSettings Property MapFrom Key Vault 
- Protected settings for the extension, referenced using KeyVault which are encrypted before sent to the role instance.
- publisher String
- The name of the extension handler publisher.
- rolesApplied List<String>To 
- Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.
- settings Any
- Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.
- type String
- Specifies the type of the extension.
- typeHandler StringVersion 
- Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.
CloudServiceNetworkProfile, CloudServiceNetworkProfileArgs        
- LoadBalancer List<Pulumi.Configurations Azure Native. Compute. Inputs. Load Balancer Configuration> 
- List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.
- SlotType string | Pulumi.Azure Native. Compute. Cloud Service Slot Type 
- Slot type for the cloud service. Possible values are ProductionStaging If not specified, the default value is Production.
- SwappableCloud Pulumi.Service Azure Native. Compute. Inputs. Sub Resource 
- The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.
- LoadBalancer []LoadConfigurations Balancer Configuration 
- List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.
- SlotType string | CloudService Slot Type 
- Slot type for the cloud service. Possible values are ProductionStaging If not specified, the default value is Production.
- SwappableCloud SubService Resource 
- The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.
- loadBalancer List<LoadConfigurations Balancer Configuration> 
- List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.
- slotType String | CloudService Slot Type 
- Slot type for the cloud service. Possible values are ProductionStaging If not specified, the default value is Production.
- swappableCloud SubService Resource 
- The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.
- loadBalancer LoadConfigurations Balancer Configuration[] 
- List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.
- slotType string | CloudService Slot Type 
- Slot type for the cloud service. Possible values are ProductionStaging If not specified, the default value is Production.
- swappableCloud SubService Resource 
- The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.
- load_balancer_ Sequence[Loadconfigurations Balancer Configuration] 
- List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.
- slot_type str | CloudService Slot Type 
- Slot type for the cloud service. Possible values are ProductionStaging If not specified, the default value is Production.
- swappable_cloud_ Subservice Resource 
- The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.
- loadBalancer List<Property Map>Configurations 
- List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.
- slotType String | "Production" | "Staging"
- Slot type for the cloud service. Possible values are ProductionStaging If not specified, the default value is Production.
- swappableCloud Property MapService 
- The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.
CloudServiceNetworkProfileResponse, CloudServiceNetworkProfileResponseArgs          
- LoadBalancer List<Pulumi.Configurations Azure Native. Compute. Inputs. Load Balancer Configuration Response> 
- List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.
- SlotType string
- Slot type for the cloud service. Possible values are ProductionStaging If not specified, the default value is Production.
- SwappableCloud Pulumi.Service Azure Native. Compute. Inputs. Sub Resource Response 
- The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.
- LoadBalancer []LoadConfigurations Balancer Configuration Response 
- List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.
- SlotType string
- Slot type for the cloud service. Possible values are ProductionStaging If not specified, the default value is Production.
- SwappableCloud SubService Resource Response 
- The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.
- loadBalancer List<LoadConfigurations Balancer Configuration Response> 
- List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.
- slotType String
- Slot type for the cloud service. Possible values are ProductionStaging If not specified, the default value is Production.
- swappableCloud SubService Resource Response 
- The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.
- loadBalancer LoadConfigurations Balancer Configuration Response[] 
- List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.
- slotType string
- Slot type for the cloud service. Possible values are ProductionStaging If not specified, the default value is Production.
- swappableCloud SubService Resource Response 
- The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.
- load_balancer_ Sequence[Loadconfigurations Balancer Configuration Response] 
- List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.
- slot_type str
- Slot type for the cloud service. Possible values are ProductionStaging If not specified, the default value is Production.
- swappable_cloud_ Subservice Resource Response 
- The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.
- loadBalancer List<Property Map>Configurations 
- List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.
- slotType String
- Slot type for the cloud service. Possible values are ProductionStaging If not specified, the default value is Production.
- swappableCloud Property MapService 
- The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.
CloudServiceOsProfile, CloudServiceOsProfileArgs        
- Secrets
List<Pulumi.Azure Native. Compute. Inputs. Cloud Service Vault Secret Group> 
- Specifies set of certificates that should be installed onto the role instances.
- Secrets
[]CloudService Vault Secret Group 
- Specifies set of certificates that should be installed onto the role instances.
- secrets
List<CloudService Vault Secret Group> 
- Specifies set of certificates that should be installed onto the role instances.
- secrets
CloudService Vault Secret Group[] 
- Specifies set of certificates that should be installed onto the role instances.
- secrets
Sequence[CloudService Vault Secret Group] 
- Specifies set of certificates that should be installed onto the role instances.
- secrets List<Property Map>
- Specifies set of certificates that should be installed onto the role instances.
CloudServiceOsProfileResponse, CloudServiceOsProfileResponseArgs          
- Secrets
List<Pulumi.Azure Native. Compute. Inputs. Cloud Service Vault Secret Group Response> 
- Specifies set of certificates that should be installed onto the role instances.
- Secrets
[]CloudService Vault Secret Group Response 
- Specifies set of certificates that should be installed onto the role instances.
- secrets
List<CloudService Vault Secret Group Response> 
- Specifies set of certificates that should be installed onto the role instances.
- secrets
CloudService Vault Secret Group Response[] 
- Specifies set of certificates that should be installed onto the role instances.
- secrets
Sequence[CloudService Vault Secret Group Response] 
- Specifies set of certificates that should be installed onto the role instances.
- secrets List<Property Map>
- Specifies set of certificates that should be installed onto the role instances.
CloudServiceProperties, CloudServicePropertiesArgs      
- AllowModel boolOverride 
- (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively.
The default value is false.
- Configuration string
- Specifies the XML service configuration (.cscfg) for the cloud service.
- ConfigurationUrl string
- Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- ExtensionProfile Pulumi.Azure Native. Compute. Inputs. Cloud Service Extension Profile 
- Describes a cloud service extension profile.
- NetworkProfile Pulumi.Azure Native. Compute. Inputs. Cloud Service Network Profile 
- Network Profile for the cloud service.
- OsProfile Pulumi.Azure Native. Compute. Inputs. Cloud Service Os Profile 
- Describes the OS profile for the cloud service.
- PackageUrl string
- Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- RoleProfile Pulumi.Azure Native. Compute. Inputs. Cloud Service Role Profile 
- Describes the role profile for the cloud service.
- StartCloud boolService 
- (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is true. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.
- UpgradeMode string | Pulumi.Azure Native. Compute. Cloud Service Upgrade Mode 
- Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are AutoManual Simultaneous If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.
- AllowModel boolOverride 
- (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively.
The default value is false.
- Configuration string
- Specifies the XML service configuration (.cscfg) for the cloud service.
- ConfigurationUrl string
- Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- ExtensionProfile CloudService Extension Profile 
- Describes a cloud service extension profile.
- NetworkProfile CloudService Network Profile 
- Network Profile for the cloud service.
- OsProfile CloudService Os Profile 
- Describes the OS profile for the cloud service.
- PackageUrl string
- Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- RoleProfile CloudService Role Profile 
- Describes the role profile for the cloud service.
- StartCloud boolService 
- (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is true. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.
- UpgradeMode string | CloudService Upgrade Mode 
- Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are AutoManual Simultaneous If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.
- allowModel BooleanOverride 
- (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively.
The default value is false.
- configuration String
- Specifies the XML service configuration (.cscfg) for the cloud service.
- configurationUrl String
- Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- extensionProfile CloudService Extension Profile 
- Describes a cloud service extension profile.
- networkProfile CloudService Network Profile 
- Network Profile for the cloud service.
- osProfile CloudService Os Profile 
- Describes the OS profile for the cloud service.
- packageUrl String
- Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- roleProfile CloudService Role Profile 
- Describes the role profile for the cloud service.
- startCloud BooleanService 
- (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is true. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.
- upgradeMode String | CloudService Upgrade Mode 
- Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are AutoManual Simultaneous If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.
- allowModel booleanOverride 
- (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively.
The default value is false.
- configuration string
- Specifies the XML service configuration (.cscfg) for the cloud service.
- configurationUrl string
- Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- extensionProfile CloudService Extension Profile 
- Describes a cloud service extension profile.
- networkProfile CloudService Network Profile 
- Network Profile for the cloud service.
- osProfile CloudService Os Profile 
- Describes the OS profile for the cloud service.
- packageUrl string
- Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- roleProfile CloudService Role Profile 
- Describes the role profile for the cloud service.
- startCloud booleanService 
- (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is true. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.
- upgradeMode string | CloudService Upgrade Mode 
- Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are AutoManual Simultaneous If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.
- allow_model_ booloverride 
- (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively.
The default value is false.
- configuration str
- Specifies the XML service configuration (.cscfg) for the cloud service.
- configuration_url str
- Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- extension_profile CloudService Extension Profile 
- Describes a cloud service extension profile.
- network_profile CloudService Network Profile 
- Network Profile for the cloud service.
- os_profile CloudService Os Profile 
- Describes the OS profile for the cloud service.
- package_url str
- Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- role_profile CloudService Role Profile 
- Describes the role profile for the cloud service.
- start_cloud_ boolservice 
- (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is true. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.
- upgrade_mode str | CloudService Upgrade Mode 
- Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are AutoManual Simultaneous If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.
- allowModel BooleanOverride 
- (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively.
The default value is false.
- configuration String
- Specifies the XML service configuration (.cscfg) for the cloud service.
- configurationUrl String
- Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- extensionProfile Property Map
- Describes a cloud service extension profile.
- networkProfile Property Map
- Network Profile for the cloud service.
- osProfile Property Map
- Describes the OS profile for the cloud service.
- packageUrl String
- Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- roleProfile Property Map
- Describes the role profile for the cloud service.
- startCloud BooleanService 
- (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is true. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.
- upgradeMode String | "Auto" | "Manual" | "Simultaneous"
- Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are AutoManual Simultaneous If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.
CloudServicePropertiesResponse, CloudServicePropertiesResponseArgs        
- ProvisioningState string
- The provisioning state, which only appears in the response.
- UniqueId string
- The unique identifier for the cloud service.
- AllowModel boolOverride 
- (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively.
The default value is false.
- Configuration string
- Specifies the XML service configuration (.cscfg) for the cloud service.
- ConfigurationUrl string
- Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- ExtensionProfile Pulumi.Azure Native. Compute. Inputs. Cloud Service Extension Profile Response 
- Describes a cloud service extension profile.
- NetworkProfile Pulumi.Azure Native. Compute. Inputs. Cloud Service Network Profile Response 
- Network Profile for the cloud service.
- OsProfile Pulumi.Azure Native. Compute. Inputs. Cloud Service Os Profile Response 
- Describes the OS profile for the cloud service.
- PackageUrl string
- Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- RoleProfile Pulumi.Azure Native. Compute. Inputs. Cloud Service Role Profile Response 
- Describes the role profile for the cloud service.
- StartCloud boolService 
- (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is true. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.
- UpgradeMode string
- Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are AutoManual Simultaneous If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.
- ProvisioningState string
- The provisioning state, which only appears in the response.
- UniqueId string
- The unique identifier for the cloud service.
- AllowModel boolOverride 
- (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively.
The default value is false.
- Configuration string
- Specifies the XML service configuration (.cscfg) for the cloud service.
- ConfigurationUrl string
- Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- ExtensionProfile CloudService Extension Profile Response 
- Describes a cloud service extension profile.
- NetworkProfile CloudService Network Profile Response 
- Network Profile for the cloud service.
- OsProfile CloudService Os Profile Response 
- Describes the OS profile for the cloud service.
- PackageUrl string
- Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- RoleProfile CloudService Role Profile Response 
- Describes the role profile for the cloud service.
- StartCloud boolService 
- (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is true. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.
- UpgradeMode string
- Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are AutoManual Simultaneous If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.
- provisioningState String
- The provisioning state, which only appears in the response.
- uniqueId String
- The unique identifier for the cloud service.
- allowModel BooleanOverride 
- (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively.
The default value is false.
- configuration String
- Specifies the XML service configuration (.cscfg) for the cloud service.
- configurationUrl String
- Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- extensionProfile CloudService Extension Profile Response 
- Describes a cloud service extension profile.
- networkProfile CloudService Network Profile Response 
- Network Profile for the cloud service.
- osProfile CloudService Os Profile Response 
- Describes the OS profile for the cloud service.
- packageUrl String
- Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- roleProfile CloudService Role Profile Response 
- Describes the role profile for the cloud service.
- startCloud BooleanService 
- (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is true. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.
- upgradeMode String
- Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are AutoManual Simultaneous If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.
- provisioningState string
- The provisioning state, which only appears in the response.
- uniqueId string
- The unique identifier for the cloud service.
- allowModel booleanOverride 
- (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively.
The default value is false.
- configuration string
- Specifies the XML service configuration (.cscfg) for the cloud service.
- configurationUrl string
- Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- extensionProfile CloudService Extension Profile Response 
- Describes a cloud service extension profile.
- networkProfile CloudService Network Profile Response 
- Network Profile for the cloud service.
- osProfile CloudService Os Profile Response 
- Describes the OS profile for the cloud service.
- packageUrl string
- Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- roleProfile CloudService Role Profile Response 
- Describes the role profile for the cloud service.
- startCloud booleanService 
- (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is true. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.
- upgradeMode string
- Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are AutoManual Simultaneous If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.
- provisioning_state str
- The provisioning state, which only appears in the response.
- unique_id str
- The unique identifier for the cloud service.
- allow_model_ booloverride 
- (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively.
The default value is false.
- configuration str
- Specifies the XML service configuration (.cscfg) for the cloud service.
- configuration_url str
- Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- extension_profile CloudService Extension Profile Response 
- Describes a cloud service extension profile.
- network_profile CloudService Network Profile Response 
- Network Profile for the cloud service.
- os_profile CloudService Os Profile Response 
- Describes the OS profile for the cloud service.
- package_url str
- Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- role_profile CloudService Role Profile Response 
- Describes the role profile for the cloud service.
- start_cloud_ boolservice 
- (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is true. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.
- upgrade_mode str
- Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are AutoManual Simultaneous If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.
- provisioningState String
- The provisioning state, which only appears in the response.
- uniqueId String
- The unique identifier for the cloud service.
- allowModel BooleanOverride 
- (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively.
The default value is false.
- configuration String
- Specifies the XML service configuration (.cscfg) for the cloud service.
- configurationUrl String
- Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- extensionProfile Property Map
- Describes a cloud service extension profile.
- networkProfile Property Map
- Network Profile for the cloud service.
- osProfile Property Map
- Describes the OS profile for the cloud service.
- packageUrl String
- Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
- roleProfile Property Map
- Describes the role profile for the cloud service.
- startCloud BooleanService 
- (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is true. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.
- upgradeMode String
- Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are AutoManual Simultaneous If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.
CloudServiceRoleProfile, CloudServiceRoleProfileArgs        
- Roles
List<Pulumi.Azure Native. Compute. Inputs. Cloud Service Role Profile Properties> 
- List of roles for the cloud service.
- Roles
[]CloudService Role Profile Properties 
- List of roles for the cloud service.
- roles
List<CloudService Role Profile Properties> 
- List of roles for the cloud service.
- roles
CloudService Role Profile Properties[] 
- List of roles for the cloud service.
- roles
Sequence[CloudService Role Profile Properties] 
- List of roles for the cloud service.
- roles List<Property Map>
- List of roles for the cloud service.
CloudServiceRoleProfileProperties, CloudServiceRoleProfilePropertiesArgs          
- Name string
- Resource name.
- Sku
Pulumi.Azure Native. Compute. Inputs. Cloud Service Role Sku 
- Describes the cloud service role sku.
- Name string
- Resource name.
- Sku
CloudService Role Sku 
- Describes the cloud service role sku.
- name String
- Resource name.
- sku
CloudService Role Sku 
- Describes the cloud service role sku.
- name string
- Resource name.
- sku
CloudService Role Sku 
- Describes the cloud service role sku.
- name str
- Resource name.
- sku
CloudService Role Sku 
- Describes the cloud service role sku.
- name String
- Resource name.
- sku Property Map
- Describes the cloud service role sku.
CloudServiceRoleProfilePropertiesResponse, CloudServiceRoleProfilePropertiesResponseArgs            
- Name string
- Resource name.
- Sku
Pulumi.Azure Native. Compute. Inputs. Cloud Service Role Sku Response 
- Describes the cloud service role sku.
- Name string
- Resource name.
- Sku
CloudService Role Sku Response 
- Describes the cloud service role sku.
- name String
- Resource name.
- sku
CloudService Role Sku Response 
- Describes the cloud service role sku.
- name string
- Resource name.
- sku
CloudService Role Sku Response 
- Describes the cloud service role sku.
- name str
- Resource name.
- sku
CloudService Role Sku Response 
- Describes the cloud service role sku.
- name String
- Resource name.
- sku Property Map
- Describes the cloud service role sku.
CloudServiceRoleProfileResponse, CloudServiceRoleProfileResponseArgs          
- Roles
List<Pulumi.Azure Native. Compute. Inputs. Cloud Service Role Profile Properties Response> 
- List of roles for the cloud service.
- Roles
[]CloudService Role Profile Properties Response 
- List of roles for the cloud service.
- roles
List<CloudService Role Profile Properties Response> 
- List of roles for the cloud service.
- roles
CloudService Role Profile Properties Response[] 
- List of roles for the cloud service.
- roles
Sequence[CloudService Role Profile Properties Response] 
- List of roles for the cloud service.
- roles List<Property Map>
- List of roles for the cloud service.
CloudServiceRoleSku, CloudServiceRoleSkuArgs        
- Capacity double
- Specifies the number of role instances in the cloud service.
- Name string
- The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
- Tier string
- Specifies the tier of the cloud service. Possible Values are Standard Basic
- Capacity float64
- Specifies the number of role instances in the cloud service.
- Name string
- The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
- Tier string
- Specifies the tier of the cloud service. Possible Values are Standard Basic
- capacity Double
- Specifies the number of role instances in the cloud service.
- name String
- The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
- tier String
- Specifies the tier of the cloud service. Possible Values are Standard Basic
- capacity number
- Specifies the number of role instances in the cloud service.
- name string
- The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
- tier string
- Specifies the tier of the cloud service. Possible Values are Standard Basic
- capacity float
- Specifies the number of role instances in the cloud service.
- name str
- The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
- tier str
- Specifies the tier of the cloud service. Possible Values are Standard Basic
- capacity Number
- Specifies the number of role instances in the cloud service.
- name String
- The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
- tier String
- Specifies the tier of the cloud service. Possible Values are Standard Basic
CloudServiceRoleSkuResponse, CloudServiceRoleSkuResponseArgs          
- Capacity double
- Specifies the number of role instances in the cloud service.
- Name string
- The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
- Tier string
- Specifies the tier of the cloud service. Possible Values are Standard Basic
- Capacity float64
- Specifies the number of role instances in the cloud service.
- Name string
- The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
- Tier string
- Specifies the tier of the cloud service. Possible Values are Standard Basic
- capacity Double
- Specifies the number of role instances in the cloud service.
- name String
- The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
- tier String
- Specifies the tier of the cloud service. Possible Values are Standard Basic
- capacity number
- Specifies the number of role instances in the cloud service.
- name string
- The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
- tier string
- Specifies the tier of the cloud service. Possible Values are Standard Basic
- capacity float
- Specifies the number of role instances in the cloud service.
- name str
- The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
- tier str
- Specifies the tier of the cloud service. Possible Values are Standard Basic
- capacity Number
- Specifies the number of role instances in the cloud service.
- name String
- The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
- tier String
- Specifies the tier of the cloud service. Possible Values are Standard Basic
CloudServiceSlotType, CloudServiceSlotTypeArgs        
- Production
- Production
- Staging
- Staging
- CloudService Slot Type Production 
- Production
- CloudService Slot Type Staging 
- Staging
- Production
- Production
- Staging
- Staging
- Production
- Production
- Staging
- Staging
- PRODUCTION
- Production
- STAGING
- Staging
- "Production"
- Production
- "Staging"
- Staging
CloudServiceUpgradeMode, CloudServiceUpgradeModeArgs        
- Auto
- Auto
- Manual
- Manual
- Simultaneous
- Simultaneous
- CloudService Upgrade Mode Auto 
- Auto
- CloudService Upgrade Mode Manual 
- Manual
- CloudService Upgrade Mode Simultaneous 
- Simultaneous
- Auto
- Auto
- Manual
- Manual
- Simultaneous
- Simultaneous
- Auto
- Auto
- Manual
- Manual
- Simultaneous
- Simultaneous
- AUTO
- Auto
- MANUAL
- Manual
- SIMULTANEOUS
- Simultaneous
- "Auto"
- Auto
- "Manual"
- Manual
- "Simultaneous"
- Simultaneous
CloudServiceVaultAndSecretReference, CloudServiceVaultAndSecretReferenceArgs            
- SecretUrl string
- Secret URL which contains the protected settings of the extension
- SourceVault Pulumi.Azure Native. Compute. Inputs. Sub Resource 
- The ARM Resource ID of the Key Vault
- SecretUrl string
- Secret URL which contains the protected settings of the extension
- SourceVault SubResource 
- The ARM Resource ID of the Key Vault
- secretUrl String
- Secret URL which contains the protected settings of the extension
- sourceVault SubResource 
- The ARM Resource ID of the Key Vault
- secretUrl string
- Secret URL which contains the protected settings of the extension
- sourceVault SubResource 
- The ARM Resource ID of the Key Vault
- secret_url str
- Secret URL which contains the protected settings of the extension
- source_vault SubResource 
- The ARM Resource ID of the Key Vault
- secretUrl String
- Secret URL which contains the protected settings of the extension
- sourceVault Property Map
- The ARM Resource ID of the Key Vault
CloudServiceVaultAndSecretReferenceResponse, CloudServiceVaultAndSecretReferenceResponseArgs              
- SecretUrl string
- Secret URL which contains the protected settings of the extension
- SourceVault Pulumi.Azure Native. Compute. Inputs. Sub Resource Response 
- The ARM Resource ID of the Key Vault
- SecretUrl string
- Secret URL which contains the protected settings of the extension
- SourceVault SubResource Response 
- The ARM Resource ID of the Key Vault
- secretUrl String
- Secret URL which contains the protected settings of the extension
- sourceVault SubResource Response 
- The ARM Resource ID of the Key Vault
- secretUrl string
- Secret URL which contains the protected settings of the extension
- sourceVault SubResource Response 
- The ARM Resource ID of the Key Vault
- secret_url str
- Secret URL which contains the protected settings of the extension
- source_vault SubResource Response 
- The ARM Resource ID of the Key Vault
- secretUrl String
- Secret URL which contains the protected settings of the extension
- sourceVault Property Map
- The ARM Resource ID of the Key Vault
CloudServiceVaultCertificate, CloudServiceVaultCertificateArgs        
- CertificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret.
- CertificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret.
- certificateUrl String
- This is the URL of a certificate that has been uploaded to Key Vault as a secret.
- certificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret.
- certificate_url str
- This is the URL of a certificate that has been uploaded to Key Vault as a secret.
- certificateUrl String
- This is the URL of a certificate that has been uploaded to Key Vault as a secret.
CloudServiceVaultCertificateResponse, CloudServiceVaultCertificateResponseArgs          
- CertificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret.
- CertificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret.
- certificateUrl String
- This is the URL of a certificate that has been uploaded to Key Vault as a secret.
- certificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret.
- certificate_url str
- This is the URL of a certificate that has been uploaded to Key Vault as a secret.
- certificateUrl String
- This is the URL of a certificate that has been uploaded to Key Vault as a secret.
CloudServiceVaultSecretGroup, CloudServiceVaultSecretGroupArgs          
- SourceVault Pulumi.Azure Native. Compute. Inputs. Sub Resource 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- VaultCertificates List<Pulumi.Azure Native. Compute. Inputs. Cloud Service Vault Certificate> 
- The list of key vault references in SourceVault which contain certificates.
- SourceVault SubResource 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- VaultCertificates []CloudService Vault Certificate 
- The list of key vault references in SourceVault which contain certificates.
- sourceVault SubResource 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vaultCertificates List<CloudService Vault Certificate> 
- The list of key vault references in SourceVault which contain certificates.
- sourceVault SubResource 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vaultCertificates CloudService 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 Sequence[CloudService Vault Certificate] 
- The list of key vault references in SourceVault which contain certificates.
- sourceVault Property Map
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vaultCertificates List<Property Map>
- The list of key vault references in SourceVault which contain certificates.
CloudServiceVaultSecretGroupResponse, CloudServiceVaultSecretGroupResponseArgs            
- SourceVault Pulumi.Azure Native. Compute. Inputs. Sub Resource Response 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- VaultCertificates List<Pulumi.Azure Native. Compute. Inputs. Cloud Service Vault Certificate Response> 
- The list of key vault references in SourceVault which contain certificates.
- SourceVault SubResource Response 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- VaultCertificates []CloudService Vault Certificate Response 
- The list of key vault references in SourceVault which contain certificates.
- sourceVault SubResource Response 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vaultCertificates List<CloudService Vault Certificate Response> 
- The list of key vault references in SourceVault which contain certificates.
- sourceVault SubResource Response 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vaultCertificates CloudService 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 Sequence[CloudService Vault Certificate Response] 
- The list of key vault references in SourceVault which contain certificates.
- sourceVault Property Map
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vaultCertificates List<Property Map>
- The list of key vault references in SourceVault which contain certificates.
Extension, ExtensionArgs  
- Name string
- The name of the extension.
- Properties
Pulumi.Azure Native. Compute. Inputs. Cloud Service Extension Properties 
- Extension Properties.
- Name string
- The name of the extension.
- Properties
CloudService Extension Properties 
- Extension Properties.
- name String
- The name of the extension.
- properties
CloudService Extension Properties 
- Extension Properties.
- name string
- The name of the extension.
- properties
CloudService Extension Properties 
- Extension Properties.
- name str
- The name of the extension.
- properties
CloudService Extension Properties 
- Extension Properties.
- name String
- The name of the extension.
- properties Property Map
- Extension Properties.
ExtensionResponse, ExtensionResponseArgs    
- Name string
- The name of the extension.
- Properties
Pulumi.Azure Native. Compute. Inputs. Cloud Service Extension Properties Response 
- Extension Properties.
- Name string
- The name of the extension.
- Properties
CloudService Extension Properties Response 
- Extension Properties.
- name String
- The name of the extension.
- properties
CloudService Extension Properties Response 
- Extension Properties.
- name string
- The name of the extension.
- properties
CloudService Extension Properties Response 
- Extension Properties.
- name str
- The name of the extension.
- properties
CloudService Extension Properties Response 
- Extension Properties.
- name String
- The name of the extension.
- properties Property Map
- Extension Properties.
LoadBalancerConfiguration, LoadBalancerConfigurationArgs      
- Name string
- The name of the Load balancer
- Properties
Pulumi.Azure Native. Compute. Inputs. Load Balancer Configuration Properties 
- Properties of the load balancer configuration.
- Id string
- Resource Id
- Name string
- The name of the Load balancer
- Properties
LoadBalancer Configuration Properties 
- Properties of the load balancer configuration.
- Id string
- Resource Id
- name String
- The name of the Load balancer
- properties
LoadBalancer Configuration Properties 
- Properties of the load balancer configuration.
- id String
- Resource Id
- name string
- The name of the Load balancer
- properties
LoadBalancer Configuration Properties 
- Properties of the load balancer configuration.
- id string
- Resource Id
- name str
- The name of the Load balancer
- properties
LoadBalancer Configuration Properties 
- Properties of the load balancer configuration.
- id str
- Resource Id
- name String
- The name of the Load balancer
- properties Property Map
- Properties of the load balancer configuration.
- id String
- Resource Id
LoadBalancerConfigurationProperties, LoadBalancerConfigurationPropertiesArgs        
- FrontendIp List<Pulumi.Configurations Azure Native. Compute. Inputs. Load Balancer Frontend Ip Configuration> 
- Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.
- FrontendIp []LoadConfigurations Balancer Frontend Ip Configuration 
- Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.
- frontendIp List<LoadConfigurations Balancer Frontend Ip Configuration> 
- Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.
- frontendIp LoadConfigurations Balancer Frontend Ip Configuration[] 
- Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.
- frontend_ip_ Sequence[Loadconfigurations Balancer Frontend Ip Configuration] 
- Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.
- frontendIp List<Property Map>Configurations 
- Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.
LoadBalancerConfigurationPropertiesResponse, LoadBalancerConfigurationPropertiesResponseArgs          
- FrontendIp List<Pulumi.Configurations Azure Native. Compute. Inputs. Load Balancer Frontend Ip Configuration Response> 
- Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.
- FrontendIp []LoadConfigurations Balancer Frontend Ip Configuration Response 
- Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.
- frontendIp List<LoadConfigurations Balancer Frontend Ip Configuration Response> 
- Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.
- frontendIp LoadConfigurations Balancer Frontend Ip Configuration Response[] 
- Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.
- frontend_ip_ Sequence[Loadconfigurations Balancer Frontend Ip Configuration Response] 
- Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.
- frontendIp List<Property Map>Configurations 
- Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.
LoadBalancerConfigurationResponse, LoadBalancerConfigurationResponseArgs        
- Name string
- The name of the Load balancer
- Properties
Pulumi.Azure Native. Compute. Inputs. Load Balancer Configuration Properties Response 
- Properties of the load balancer configuration.
- Id string
- Resource Id
- Name string
- The name of the Load balancer
- Properties
LoadBalancer Configuration Properties Response 
- Properties of the load balancer configuration.
- Id string
- Resource Id
- name String
- The name of the Load balancer
- properties
LoadBalancer Configuration Properties Response 
- Properties of the load balancer configuration.
- id String
- Resource Id
- name string
- The name of the Load balancer
- properties
LoadBalancer Configuration Properties Response 
- Properties of the load balancer configuration.
- id string
- Resource Id
- name str
- The name of the Load balancer
- properties
LoadBalancer Configuration Properties Response 
- Properties of the load balancer configuration.
- id str
- Resource Id
- name String
- The name of the Load balancer
- properties Property Map
- Properties of the load balancer configuration.
- id String
- Resource Id
LoadBalancerFrontendIpConfiguration, LoadBalancerFrontendIpConfigurationArgs          
- Name string
- The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
- Properties
Pulumi.Azure Native. Compute. Inputs. Load Balancer Frontend Ip Configuration Properties 
- Properties of load balancer frontend ip configuration.
- Name string
- The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
- Properties
LoadBalancer Frontend Ip Configuration Properties 
- Properties of load balancer frontend ip configuration.
- name String
- The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
- properties
LoadBalancer Frontend Ip Configuration Properties 
- Properties of load balancer frontend ip configuration.
- name string
- The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
- properties
LoadBalancer Frontend Ip Configuration Properties 
- Properties of load balancer frontend ip configuration.
- name str
- The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
- properties
LoadBalancer Frontend Ip Configuration Properties 
- Properties of load balancer frontend ip configuration.
- name String
- The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
- properties Property Map
- Properties of load balancer frontend ip configuration.
LoadBalancerFrontendIpConfigurationProperties, LoadBalancerFrontendIpConfigurationPropertiesArgs            
- PrivateIPAddress string
- The virtual network private IP address of the IP configuration.
- PublicIPAddress Pulumi.Azure Native. Compute. Inputs. Sub Resource 
- The reference to the public ip address resource.
- Subnet
Pulumi.Azure Native. Compute. Inputs. Sub Resource 
- The reference to the virtual network subnet resource.
- PrivateIPAddress string
- The virtual network private IP address of the IP configuration.
- PublicIPAddress SubResource 
- The reference to the public ip address resource.
- Subnet
SubResource 
- The reference to the virtual network subnet resource.
- privateIPAddress String
- The virtual network private IP address of the IP configuration.
- publicIPAddress SubResource 
- The reference to the public ip address resource.
- subnet
SubResource 
- The reference to the virtual network subnet resource.
- privateIPAddress string
- The virtual network private IP address of the IP configuration.
- publicIPAddress SubResource 
- The reference to the public ip address resource.
- subnet
SubResource 
- The reference to the virtual network subnet resource.
- private_ip_ straddress 
- The virtual network private IP address of the IP configuration.
- public_ip_ Subaddress Resource 
- The reference to the public ip address resource.
- subnet
SubResource 
- The reference to the virtual network subnet resource.
- privateIPAddress String
- The virtual network private IP address of the IP configuration.
- publicIPAddress Property Map
- The reference to the public ip address resource.
- subnet Property Map
- The reference to the virtual network subnet resource.
LoadBalancerFrontendIpConfigurationPropertiesResponse, LoadBalancerFrontendIpConfigurationPropertiesResponseArgs              
- PrivateIPAddress string
- The virtual network private IP address of the IP configuration.
- PublicIPAddress Pulumi.Azure Native. Compute. Inputs. Sub Resource Response 
- The reference to the public ip address resource.
- Subnet
Pulumi.Azure Native. Compute. Inputs. Sub Resource Response 
- The reference to the virtual network subnet resource.
- PrivateIPAddress string
- The virtual network private IP address of the IP configuration.
- PublicIPAddress SubResource Response 
- The reference to the public ip address resource.
- Subnet
SubResource Response 
- The reference to the virtual network subnet resource.
- privateIPAddress String
- The virtual network private IP address of the IP configuration.
- publicIPAddress SubResource Response 
- The reference to the public ip address resource.
- subnet
SubResource Response 
- The reference to the virtual network subnet resource.
- privateIPAddress string
- The virtual network private IP address of the IP configuration.
- publicIPAddress SubResource Response 
- The reference to the public ip address resource.
- subnet
SubResource Response 
- The reference to the virtual network subnet resource.
- private_ip_ straddress 
- The virtual network private IP address of the IP configuration.
- public_ip_ Subaddress Resource Response 
- The reference to the public ip address resource.
- subnet
SubResource Response 
- The reference to the virtual network subnet resource.
- privateIPAddress String
- The virtual network private IP address of the IP configuration.
- publicIPAddress Property Map
- The reference to the public ip address resource.
- subnet Property Map
- The reference to the virtual network subnet resource.
LoadBalancerFrontendIpConfigurationResponse, LoadBalancerFrontendIpConfigurationResponseArgs            
- Name string
- The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
- Properties
Pulumi.Azure Native. Compute. Inputs. Load Balancer Frontend Ip Configuration Properties Response 
- Properties of load balancer frontend ip configuration.
- Name string
- The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
- Properties
LoadBalancer Frontend Ip Configuration Properties Response 
- Properties of load balancer frontend ip configuration.
- name String
- The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
- properties
LoadBalancer Frontend Ip Configuration Properties Response 
- Properties of load balancer frontend ip configuration.
- name string
- The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
- properties
LoadBalancer Frontend Ip Configuration Properties Response 
- Properties of load balancer frontend ip configuration.
- name str
- The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
- properties
LoadBalancer Frontend Ip Configuration Properties Response 
- Properties of load balancer frontend ip configuration.
- name String
- The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
- properties Property Map
- Properties of load balancer frontend ip configuration.
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
- Resource Id
- Id string
- Resource Id
- id String
- Resource Id
- id string
- Resource Id
- id str
- Resource Id
- id String
- Resource Id
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- Specifies the time in UTC at which the Cloud Service (extended support) resource was created. Minimum api-version: 2022-04-04.
- LastModified stringAt 
- Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified. Minimum api-version: 2022-04-04.
- CreatedAt string
- Specifies the time in UTC at which the Cloud Service (extended support) resource was created. Minimum api-version: 2022-04-04.
- LastModified stringAt 
- Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified. Minimum api-version: 2022-04-04.
- createdAt String
- Specifies the time in UTC at which the Cloud Service (extended support) resource was created. Minimum api-version: 2022-04-04.
- lastModified StringAt 
- Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified. Minimum api-version: 2022-04-04.
- createdAt string
- Specifies the time in UTC at which the Cloud Service (extended support) resource was created. Minimum api-version: 2022-04-04.
- lastModified stringAt 
- Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified. Minimum api-version: 2022-04-04.
- created_at str
- Specifies the time in UTC at which the Cloud Service (extended support) resource was created. Minimum api-version: 2022-04-04.
- last_modified_ strat 
- Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified. Minimum api-version: 2022-04-04.
- createdAt String
- Specifies the time in UTC at which the Cloud Service (extended support) resource was created. Minimum api-version: 2022-04-04.
- lastModified StringAt 
- Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified. Minimum api-version: 2022-04-04.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:compute:CloudService {cs-name} /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0