1. Packages
  2. Azure Native v2
  3. API Docs
  4. compute
  5. CloudService
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.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",
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
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
Copy

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",
        },
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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"],
});
Copy
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"])
Copy
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'
Copy

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",
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
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
Copy

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",
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
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
Copy

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",
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
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
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. CloudServiceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. CloudServiceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. CloudServiceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 = 
    {
        { "allowModelOverride", false },
        { "configuration", "string" },
        { "configurationUrl", "string" },
        { "extensionProfile", 
        {
            { "extensions", new[]
            {
                
                {
                    { "name", "string" },
                    { "properties", 
                    {
                        { "autoUpgradeMinorVersion", false },
                        { "forceUpdateTag", "string" },
                        { "protectedSettings", "any" },
                        { "protectedSettingsFromKeyVault", 
                        {
                            { "secretUrl", "string" },
                            { "sourceVault", 
                            {
                                { "id", "string" },
                            } },
                        } },
                        { "publisher", "string" },
                        { "rolesAppliedTo", new[]
                        {
                            "string",
                        } },
                        { "settings", "any" },
                        { "type", "string" },
                        { "typeHandlerVersion", "string" },
                    } },
                },
            } },
        } },
        { "networkProfile", 
        {
            { "loadBalancerConfigurations", new[]
            {
                
                {
                    { "name", "string" },
                    { "properties", 
                    {
                        { "frontendIpConfigurations", new[]
                        {
                            
                            {
                                { "name", "string" },
                                { "properties", 
                                {
                                    { "privateIPAddress", "string" },
                                    { "publicIPAddress", 
                                    {
                                        { "id", "string" },
                                    } },
                                    { "subnet", 
                                    {
                                        { "id", "string" },
                                    } },
                                } },
                            },
                        } },
                    } },
                    { "id", "string" },
                },
            } },
            { "slotType", "string" },
            { "swappableCloudService", 
            {
                { "id", "string" },
            } },
        } },
        { "osProfile", 
        {
            { "secrets", new[]
            {
                
                {
                    { "sourceVault", 
                    {
                        { "id", "string" },
                    } },
                    { "vaultCertificates", new[]
                    {
                        
                        {
                            { "certificateUrl", "string" },
                        },
                    } },
                },
            } },
        } },
        { "packageUrl", "string" },
        { "roleProfile", 
        {
            { "roles", new[]
            {
                
                {
                    { "name", "string" },
                    { "sku", 
                    {
                        { "capacity", 0 },
                        { "name", "string" },
                        { "tier", "string" },
                    } },
                },
            } },
        } },
        { "startCloudService", false },
        { "upgradeMode", "string" },
    },
    Tags = 
    {
        { "string", "string" },
    },
    Zones = new[]
    {
        "string",
    },
});
Copy
example, err := compute.NewCloudService(ctx, "cloudServiceResource", &compute.CloudServiceArgs{
	ResourceGroupName: "string",
	CloudServiceName:  "string",
	Location:          "string",
	Properties: map[string]interface{}{
		"allowModelOverride": false,
		"configuration":      "string",
		"configurationUrl":   "string",
		"extensionProfile": map[string]interface{}{
			"extensions": []map[string]interface{}{
				map[string]interface{}{
					"name": "string",
					"properties": map[string]interface{}{
						"autoUpgradeMinorVersion": false,
						"forceUpdateTag":          "string",
						"protectedSettings":       "any",
						"protectedSettingsFromKeyVault": map[string]interface{}{
							"secretUrl": "string",
							"sourceVault": map[string]interface{}{
								"id": "string",
							},
						},
						"publisher": "string",
						"rolesAppliedTo": []string{
							"string",
						},
						"settings":           "any",
						"type":               "string",
						"typeHandlerVersion": "string",
					},
				},
			},
		},
		"networkProfile": map[string]interface{}{
			"loadBalancerConfigurations": []map[string]interface{}{
				map[string]interface{}{
					"name": "string",
					"properties": map[string]interface{}{
						"frontendIpConfigurations": []map[string]interface{}{
							map[string]interface{}{
								"name": "string",
								"properties": map[string]interface{}{
									"privateIPAddress": "string",
									"publicIPAddress": map[string]interface{}{
										"id": "string",
									},
									"subnet": map[string]interface{}{
										"id": "string",
									},
								},
							},
						},
					},
					"id": "string",
				},
			},
			"slotType": "string",
			"swappableCloudService": map[string]interface{}{
				"id": "string",
			},
		},
		"osProfile": map[string]interface{}{
			"secrets": []map[string]interface{}{
				map[string]interface{}{
					"sourceVault": map[string]interface{}{
						"id": "string",
					},
					"vaultCertificates": []map[string]interface{}{
						map[string]interface{}{
							"certificateUrl": "string",
						},
					},
				},
			},
		},
		"packageUrl": "string",
		"roleProfile": map[string]interface{}{
			"roles": []map[string]interface{}{
				map[string]interface{}{
					"name": "string",
					"sku": map[string]interface{}{
						"capacity": 0,
						"name":     "string",
						"tier":     "string",
					},
				},
			},
		},
		"startCloudService": false,
		"upgradeMode":       "string",
	},
	Tags: map[string]interface{}{
		"string": "string",
	},
	Zones: []string{
		"string",
	},
})
Copy
var cloudServiceResource = new CloudService("cloudServiceResource", CloudServiceArgs.builder()
    .resourceGroupName("string")
    .cloudServiceName("string")
    .location("string")
    .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .zones("string")
    .build());
Copy
cloud_service_resource = azure_native.compute.CloudService("cloudServiceResource",
    resource_group_name=string,
    cloud_service_name=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])
Copy
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"],
});
Copy
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
Copy

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:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group.
CloudServiceName Changes to this property will trigger replacement. string
Name of the cloud service.
Location string
Resource location.
Properties Pulumi.AzureNative.Compute.Inputs.CloudServiceProperties
Cloud service properties
Tags 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.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group.
CloudServiceName Changes to this property will trigger replacement. string
Name of the cloud service.
Location string
Resource location.
Properties CloudServicePropertiesArgs
Cloud service properties
Tags 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.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group.
cloudServiceName Changes to this property will trigger replacement. String
Name of the cloud service.
location String
Resource location.
properties CloudServiceProperties
Cloud service properties
tags 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.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group.
cloudServiceName Changes to this property will trigger replacement. string
Name of the cloud service.
location string
Resource location.
properties CloudServiceProperties
Cloud service properties
tags {[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_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource group.
cloud_service_name Changes to this property will trigger replacement. str
Name of the cloud service.
location str
Resource location.
properties CloudServicePropertiesArgs
Cloud service properties
tags 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.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group.
cloudServiceName Changes to this property will trigger replacement. String
Name of the cloud service.
location String
Resource location.
properties Property Map
Cloud service properties
tags 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.AzureNative.Compute.Outputs.SystemDataResponse
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 SystemDataResponse
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 SystemDataResponse
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 SystemDataResponse
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 SystemDataResponse
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.AzureNative.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 []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

AutoUpgradeMinorVersion bool
Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
ForceUpdateTag string
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.
ProtectedSettingsFromKeyVault Pulumi.AzureNative.Compute.Inputs.CloudServiceVaultAndSecretReference
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.
RolesAppliedTo List<string>
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.
TypeHandlerVersion string
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.
AutoUpgradeMinorVersion bool
Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
ForceUpdateTag string
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.
ProtectedSettingsFromKeyVault CloudServiceVaultAndSecretReference
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.
RolesAppliedTo []string
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.
TypeHandlerVersion string
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.
autoUpgradeMinorVersion Boolean
Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
forceUpdateTag String
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.
protectedSettingsFromKeyVault CloudServiceVaultAndSecretReference
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.
rolesAppliedTo List<String>
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.
typeHandlerVersion String
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.
autoUpgradeMinorVersion boolean
Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
forceUpdateTag string
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.
protectedSettingsFromKeyVault CloudServiceVaultAndSecretReference
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.
rolesAppliedTo string[]
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.
typeHandlerVersion string
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_minor_version bool
Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
force_update_tag str
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_from_key_vault CloudServiceVaultAndSecretReference
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_to Sequence[str]
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_version str
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.
autoUpgradeMinorVersion Boolean
Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
forceUpdateTag String
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.
protectedSettingsFromKeyVault Property Map
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.
rolesAppliedTo List<String>
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.
typeHandlerVersion String
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 This property is required. string
The provisioning state, which only appears in the response.
AutoUpgradeMinorVersion bool
Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
ForceUpdateTag string
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.
ProtectedSettingsFromKeyVault Pulumi.AzureNative.Compute.Inputs.CloudServiceVaultAndSecretReferenceResponse
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.
RolesAppliedTo List<string>
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.
TypeHandlerVersion string
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 This property is required. string
The provisioning state, which only appears in the response.
AutoUpgradeMinorVersion bool
Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
ForceUpdateTag string
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.
ProtectedSettingsFromKeyVault CloudServiceVaultAndSecretReferenceResponse
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.
RolesAppliedTo []string
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.
TypeHandlerVersion string
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 This property is required. String
The provisioning state, which only appears in the response.
autoUpgradeMinorVersion Boolean
Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
forceUpdateTag String
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.
protectedSettingsFromKeyVault CloudServiceVaultAndSecretReferenceResponse
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.
rolesAppliedTo List<String>
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.
typeHandlerVersion String
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 This property is required. string
The provisioning state, which only appears in the response.
autoUpgradeMinorVersion boolean
Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
forceUpdateTag string
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.
protectedSettingsFromKeyVault CloudServiceVaultAndSecretReferenceResponse
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.
rolesAppliedTo string[]
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.
typeHandlerVersion string
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 This property is required. str
The provisioning state, which only appears in the response.
auto_upgrade_minor_version bool
Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
force_update_tag str
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_from_key_vault CloudServiceVaultAndSecretReferenceResponse
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_to Sequence[str]
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_version str
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 This property is required. String
The provisioning state, which only appears in the response.
autoUpgradeMinorVersion Boolean
Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
forceUpdateTag String
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.
protectedSettingsFromKeyVault Property Map
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.
rolesAppliedTo List<String>
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.
typeHandlerVersion String
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

LoadBalancerConfigurations List<Pulumi.AzureNative.Compute.Inputs.LoadBalancerConfiguration>
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.AzureNative.Compute.CloudServiceSlotType
Slot type for the cloud service. Possible values are ProductionStaging If not specified, the default value is Production.
SwappableCloudService Pulumi.AzureNative.Compute.Inputs.SubResource
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.
LoadBalancerConfigurations []LoadBalancerConfiguration
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 | CloudServiceSlotType
Slot type for the cloud service. Possible values are ProductionStaging If not specified, the default value is Production.
SwappableCloudService SubResource
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.
loadBalancerConfigurations List<LoadBalancerConfiguration>
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 | CloudServiceSlotType
Slot type for the cloud service. Possible values are ProductionStaging If not specified, the default value is Production.
swappableCloudService SubResource
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.
loadBalancerConfigurations LoadBalancerConfiguration[]
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 | CloudServiceSlotType
Slot type for the cloud service. Possible values are ProductionStaging If not specified, the default value is Production.
swappableCloudService SubResource
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_configurations Sequence[LoadBalancerConfiguration]
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 | CloudServiceSlotType
Slot type for the cloud service. Possible values are ProductionStaging If not specified, the default value is Production.
swappable_cloud_service SubResource
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.
loadBalancerConfigurations List<Property Map>
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.
swappableCloudService Property Map
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

LoadBalancerConfigurations List<Pulumi.AzureNative.Compute.Inputs.LoadBalancerConfigurationResponse>
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.
SwappableCloudService Pulumi.AzureNative.Compute.Inputs.SubResourceResponse
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.
LoadBalancerConfigurations []LoadBalancerConfigurationResponse
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.
SwappableCloudService SubResourceResponse
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.
loadBalancerConfigurations List<LoadBalancerConfigurationResponse>
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.
swappableCloudService SubResourceResponse
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.
loadBalancerConfigurations LoadBalancerConfigurationResponse[]
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.
swappableCloudService SubResourceResponse
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_configurations Sequence[LoadBalancerConfigurationResponse]
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_service SubResourceResponse
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.
loadBalancerConfigurations List<Property Map>
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.
swappableCloudService Property Map
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.AzureNative.Compute.Inputs.CloudServiceVaultSecretGroup>
Specifies set of certificates that should be installed onto the role instances.
Secrets []CloudServiceVaultSecretGroup
Specifies set of certificates that should be installed onto the role instances.
secrets List<CloudServiceVaultSecretGroup>
Specifies set of certificates that should be installed onto the role instances.
secrets CloudServiceVaultSecretGroup[]
Specifies set of certificates that should be installed onto the role instances.
secrets Sequence[CloudServiceVaultSecretGroup]
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.AzureNative.Compute.Inputs.CloudServiceVaultSecretGroupResponse>
Specifies set of certificates that should be installed onto the role instances.
Secrets []CloudServiceVaultSecretGroupResponse
Specifies set of certificates that should be installed onto the role instances.
secrets List<CloudServiceVaultSecretGroupResponse>
Specifies set of certificates that should be installed onto the role instances.
secrets CloudServiceVaultSecretGroupResponse[]
Specifies set of certificates that should be installed onto the role instances.
secrets Sequence[CloudServiceVaultSecretGroupResponse]
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

AllowModelOverride bool
(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.AzureNative.Compute.Inputs.CloudServiceExtensionProfile
Describes a cloud service extension profile.
NetworkProfile Pulumi.AzureNative.Compute.Inputs.CloudServiceNetworkProfile
Network Profile for the cloud service.
OsProfile Pulumi.AzureNative.Compute.Inputs.CloudServiceOsProfile
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.AzureNative.Compute.Inputs.CloudServiceRoleProfile
Describes the role profile for the cloud service.
StartCloudService bool
(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.AzureNative.Compute.CloudServiceUpgradeMode
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.
AllowModelOverride bool
(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 CloudServiceExtensionProfile
Describes a cloud service extension profile.
NetworkProfile CloudServiceNetworkProfile
Network Profile for the cloud service.
OsProfile CloudServiceOsProfile
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 CloudServiceRoleProfile
Describes the role profile for the cloud service.
StartCloudService bool
(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 | CloudServiceUpgradeMode
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.
allowModelOverride Boolean
(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 CloudServiceExtensionProfile
Describes a cloud service extension profile.
networkProfile CloudServiceNetworkProfile
Network Profile for the cloud service.
osProfile CloudServiceOsProfile
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 CloudServiceRoleProfile
Describes the role profile for the cloud service.
startCloudService Boolean
(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 | CloudServiceUpgradeMode
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.
allowModelOverride boolean
(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 CloudServiceExtensionProfile
Describes a cloud service extension profile.
networkProfile CloudServiceNetworkProfile
Network Profile for the cloud service.
osProfile CloudServiceOsProfile
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 CloudServiceRoleProfile
Describes the role profile for the cloud service.
startCloudService boolean
(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 | CloudServiceUpgradeMode
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_override bool
(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 CloudServiceExtensionProfile
Describes a cloud service extension profile.
network_profile CloudServiceNetworkProfile
Network Profile for the cloud service.
os_profile CloudServiceOsProfile
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 CloudServiceRoleProfile
Describes the role profile for the cloud service.
start_cloud_service bool
(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 | CloudServiceUpgradeMode
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.
allowModelOverride Boolean
(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.
startCloudService Boolean
(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 This property is required. string
The provisioning state, which only appears in the response.
UniqueId This property is required. string
The unique identifier for the cloud service.
AllowModelOverride bool
(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.AzureNative.Compute.Inputs.CloudServiceExtensionProfileResponse
Describes a cloud service extension profile.
NetworkProfile Pulumi.AzureNative.Compute.Inputs.CloudServiceNetworkProfileResponse
Network Profile for the cloud service.
OsProfile Pulumi.AzureNative.Compute.Inputs.CloudServiceOsProfileResponse
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.AzureNative.Compute.Inputs.CloudServiceRoleProfileResponse
Describes the role profile for the cloud service.
StartCloudService bool
(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 This property is required. string
The provisioning state, which only appears in the response.
UniqueId This property is required. string
The unique identifier for the cloud service.
AllowModelOverride bool
(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 CloudServiceExtensionProfileResponse
Describes a cloud service extension profile.
NetworkProfile CloudServiceNetworkProfileResponse
Network Profile for the cloud service.
OsProfile CloudServiceOsProfileResponse
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 CloudServiceRoleProfileResponse
Describes the role profile for the cloud service.
StartCloudService bool
(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 This property is required. String
The provisioning state, which only appears in the response.
uniqueId This property is required. String
The unique identifier for the cloud service.
allowModelOverride Boolean
(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 CloudServiceExtensionProfileResponse
Describes a cloud service extension profile.
networkProfile CloudServiceNetworkProfileResponse
Network Profile for the cloud service.
osProfile CloudServiceOsProfileResponse
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 CloudServiceRoleProfileResponse
Describes the role profile for the cloud service.
startCloudService Boolean
(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 This property is required. string
The provisioning state, which only appears in the response.
uniqueId This property is required. string
The unique identifier for the cloud service.
allowModelOverride boolean
(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 CloudServiceExtensionProfileResponse
Describes a cloud service extension profile.
networkProfile CloudServiceNetworkProfileResponse
Network Profile for the cloud service.
osProfile CloudServiceOsProfileResponse
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 CloudServiceRoleProfileResponse
Describes the role profile for the cloud service.
startCloudService boolean
(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 This property is required. str
The provisioning state, which only appears in the response.
unique_id This property is required. str
The unique identifier for the cloud service.
allow_model_override bool
(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 CloudServiceExtensionProfileResponse
Describes a cloud service extension profile.
network_profile CloudServiceNetworkProfileResponse
Network Profile for the cloud service.
os_profile CloudServiceOsProfileResponse
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 CloudServiceRoleProfileResponse
Describes the role profile for the cloud service.
start_cloud_service bool
(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 This property is required. String
The provisioning state, which only appears in the response.
uniqueId This property is required. String
The unique identifier for the cloud service.
allowModelOverride Boolean
(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.
startCloudService Boolean
(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 []CloudServiceRoleProfileProperties
List of roles for the cloud service.
roles List<CloudServiceRoleProfileProperties>
List of roles for the cloud service.
roles CloudServiceRoleProfileProperties[]
List of roles for the cloud service.
roles Sequence[CloudServiceRoleProfileProperties]
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.AzureNative.Compute.Inputs.CloudServiceRoleSku
Describes the cloud service role sku.
Name string
Resource name.
Sku CloudServiceRoleSku
Describes the cloud service role sku.
name String
Resource name.
sku CloudServiceRoleSku
Describes the cloud service role sku.
name string
Resource name.
sku CloudServiceRoleSku
Describes the cloud service role sku.
name str
Resource name.
sku CloudServiceRoleSku
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.AzureNative.Compute.Inputs.CloudServiceRoleSkuResponse
Describes the cloud service role sku.
Name string
Resource name.
Sku CloudServiceRoleSkuResponse
Describes the cloud service role sku.
name String
Resource name.
sku CloudServiceRoleSkuResponse
Describes the cloud service role sku.
name string
Resource name.
sku CloudServiceRoleSkuResponse
Describes the cloud service role sku.
name str
Resource name.
sku CloudServiceRoleSkuResponse
Describes the cloud service role sku.
name String
Resource name.
sku Property Map
Describes the cloud service role sku.

CloudServiceRoleProfileResponse
, CloudServiceRoleProfileResponseArgs

Roles []CloudServiceRoleProfilePropertiesResponse
List of roles for the cloud service.
roles List<CloudServiceRoleProfilePropertiesResponse>
List of roles for the cloud service.
roles CloudServiceRoleProfilePropertiesResponse[]
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
CloudServiceSlotTypeProduction
Production
CloudServiceSlotTypeStaging
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
CloudServiceUpgradeModeAuto
Auto
CloudServiceUpgradeModeManual
Manual
CloudServiceUpgradeModeSimultaneous
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.AzureNative.Compute.Inputs.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
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.AzureNative.Compute.Inputs.SubResourceResponse
The ARM Resource ID of the Key Vault
SecretUrl string
Secret URL which contains the protected settings of the extension
SourceVault SubResourceResponse
The ARM Resource ID of the Key Vault
secretUrl String
Secret URL which contains the protected settings of the extension
sourceVault SubResourceResponse
The ARM Resource ID of the Key Vault
secretUrl string
Secret URL which contains the protected settings of the extension
sourceVault SubResourceResponse
The ARM Resource ID of the Key Vault
secret_url str
Secret URL which contains the protected settings of the extension
source_vault SubResourceResponse
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.AzureNative.Compute.Inputs.SubResource
The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
VaultCertificates List<Pulumi.AzureNative.Compute.Inputs.CloudServiceVaultCertificate>
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 []CloudServiceVaultCertificate
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<CloudServiceVaultCertificate>
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 CloudServiceVaultCertificate[]
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[CloudServiceVaultCertificate]
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.AzureNative.Compute.Inputs.SubResourceResponse
The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
VaultCertificates List<Pulumi.AzureNative.Compute.Inputs.CloudServiceVaultCertificateResponse>
The list of key vault references in SourceVault which contain certificates.
SourceVault SubResourceResponse
The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
VaultCertificates []CloudServiceVaultCertificateResponse
The list of key vault references in SourceVault which contain certificates.
sourceVault SubResourceResponse
The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
vaultCertificates List<CloudServiceVaultCertificateResponse>
The list of key vault references in SourceVault which contain certificates.
sourceVault SubResourceResponse
The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
vaultCertificates CloudServiceVaultCertificateResponse[]
The list of key vault references in SourceVault which contain certificates.
source_vault SubResourceResponse
The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
vault_certificates Sequence[CloudServiceVaultCertificateResponse]
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.AzureNative.Compute.Inputs.CloudServiceExtensionProperties
Extension Properties.
Name string
The name of the extension.
Properties CloudServiceExtensionProperties
Extension Properties.
name String
The name of the extension.
properties CloudServiceExtensionProperties
Extension Properties.
name string
The name of the extension.
properties CloudServiceExtensionProperties
Extension Properties.
name str
The name of the extension.
properties CloudServiceExtensionProperties
Extension Properties.
name String
The name of the extension.
properties Property Map
Extension Properties.

ExtensionResponse
, ExtensionResponseArgs

Name string
The name of the extension.
Properties CloudServiceExtensionPropertiesResponse
Extension Properties.
name String
The name of the extension.
properties CloudServiceExtensionPropertiesResponse
Extension Properties.
name string
The name of the extension.
properties CloudServiceExtensionPropertiesResponse
Extension Properties.
name str
The name of the extension.
properties CloudServiceExtensionPropertiesResponse
Extension Properties.
name String
The name of the extension.
properties Property Map
Extension Properties.

LoadBalancerConfiguration
, LoadBalancerConfigurationArgs

Name This property is required. string
The name of the Load balancer
Properties This property is required. Pulumi.AzureNative.Compute.Inputs.LoadBalancerConfigurationProperties
Properties of the load balancer configuration.
Id string
Resource Id
Name This property is required. string
The name of the Load balancer
Properties This property is required. LoadBalancerConfigurationProperties
Properties of the load balancer configuration.
Id string
Resource Id
name This property is required. String
The name of the Load balancer
properties This property is required. LoadBalancerConfigurationProperties
Properties of the load balancer configuration.
id String
Resource Id
name This property is required. string
The name of the Load balancer
properties This property is required. LoadBalancerConfigurationProperties
Properties of the load balancer configuration.
id string
Resource Id
name This property is required. str
The name of the Load balancer
properties This property is required. LoadBalancerConfigurationProperties
Properties of the load balancer configuration.
id str
Resource Id
name This property is required. String
The name of the Load balancer
properties This property is required. Property Map
Properties of the load balancer configuration.
id String
Resource Id

LoadBalancerConfigurationProperties
, LoadBalancerConfigurationPropertiesArgs

FrontendIpConfigurations This property is required. List<Pulumi.AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfiguration>
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.
FrontendIpConfigurations This property is required. []LoadBalancerFrontendIpConfiguration
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.
frontendIpConfigurations This property is required. List<LoadBalancerFrontendIpConfiguration>
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.
frontendIpConfigurations This property is required. LoadBalancerFrontendIpConfiguration[]
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_configurations This property is required. Sequence[LoadBalancerFrontendIpConfiguration]
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.
frontendIpConfigurations This property is required. List<Property Map>
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

FrontendIpConfigurations This property is required. List<Pulumi.AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationResponse>
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.
FrontendIpConfigurations This property is required. []LoadBalancerFrontendIpConfigurationResponse
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.
frontendIpConfigurations This property is required. List<LoadBalancerFrontendIpConfigurationResponse>
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.
frontendIpConfigurations This property is required. LoadBalancerFrontendIpConfigurationResponse[]
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_configurations This property is required. Sequence[LoadBalancerFrontendIpConfigurationResponse]
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.
frontendIpConfigurations This property is required. List<Property Map>
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 This property is required. string
The name of the Load balancer
Properties This property is required. Pulumi.AzureNative.Compute.Inputs.LoadBalancerConfigurationPropertiesResponse
Properties of the load balancer configuration.
Id string
Resource Id
Name This property is required. string
The name of the Load balancer
Properties This property is required. LoadBalancerConfigurationPropertiesResponse
Properties of the load balancer configuration.
Id string
Resource Id
name This property is required. String
The name of the Load balancer
properties This property is required. LoadBalancerConfigurationPropertiesResponse
Properties of the load balancer configuration.
id String
Resource Id
name This property is required. string
The name of the Load balancer
properties This property is required. LoadBalancerConfigurationPropertiesResponse
Properties of the load balancer configuration.
id string
Resource Id
name This property is required. str
The name of the Load balancer
properties This property is required. LoadBalancerConfigurationPropertiesResponse
Properties of the load balancer configuration.
id str
Resource Id
name This property is required. String
The name of the Load balancer
properties This property is required. Property Map
Properties of the load balancer configuration.
id String
Resource Id

LoadBalancerFrontendIpConfiguration
, LoadBalancerFrontendIpConfigurationArgs

Name This property is required. 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 This property is required. Pulumi.AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationProperties
Properties of load balancer frontend ip configuration.
Name This property is required. 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 This property is required. LoadBalancerFrontendIpConfigurationProperties
Properties of load balancer frontend ip configuration.
name This property is required. 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 This property is required. LoadBalancerFrontendIpConfigurationProperties
Properties of load balancer frontend ip configuration.
name This property is required. 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 This property is required. LoadBalancerFrontendIpConfigurationProperties
Properties of load balancer frontend ip configuration.
name This property is required. 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 This property is required. LoadBalancerFrontendIpConfigurationProperties
Properties of load balancer frontend ip configuration.
name This property is required. 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 This property is required. 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.AzureNative.Compute.Inputs.SubResource
The reference to the public ip address resource.
Subnet Pulumi.AzureNative.Compute.Inputs.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.
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_address str
The virtual network private IP address of the IP configuration.
public_ip_address 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 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.AzureNative.Compute.Inputs.SubResourceResponse
The reference to the public ip address resource.
Subnet Pulumi.AzureNative.Compute.Inputs.SubResourceResponse
The reference to the virtual network subnet resource.
PrivateIPAddress string
The virtual network private IP address of the IP configuration.
PublicIPAddress SubResourceResponse
The reference to the public ip address resource.
Subnet SubResourceResponse
The reference to the virtual network subnet resource.
privateIPAddress String
The virtual network private IP address of the IP configuration.
publicIPAddress SubResourceResponse
The reference to the public ip address resource.
subnet SubResourceResponse
The reference to the virtual network subnet resource.
privateIPAddress string
The virtual network private IP address of the IP configuration.
publicIPAddress SubResourceResponse
The reference to the public ip address resource.
subnet SubResourceResponse
The reference to the virtual network subnet resource.
private_ip_address str
The virtual network private IP address of the IP configuration.
public_ip_address SubResourceResponse
The reference to the public ip address resource.
subnet SubResourceResponse
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 This property is required. 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 This property is required. Pulumi.AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationPropertiesResponse
Properties of load balancer frontend ip configuration.
Name This property is required. 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 This property is required. LoadBalancerFrontendIpConfigurationPropertiesResponse
Properties of load balancer frontend ip configuration.
name This property is required. 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 This property is required. LoadBalancerFrontendIpConfigurationPropertiesResponse
Properties of load balancer frontend ip configuration.
name This property is required. 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 This property is required. LoadBalancerFrontendIpConfigurationPropertiesResponse
Properties of load balancer frontend ip configuration.
name This property is required. 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 This property is required. LoadBalancerFrontendIpConfigurationPropertiesResponse
Properties of load balancer frontend ip configuration.
name This property is required. 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 This property is required. 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 This property is required. string
Specifies the time in UTC at which the Cloud Service (extended support) resource was created. Minimum api-version: 2022-04-04.
LastModifiedAt This property is required. string
Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified. Minimum api-version: 2022-04-04.
CreatedAt This property is required. string
Specifies the time in UTC at which the Cloud Service (extended support) resource was created. Minimum api-version: 2022-04-04.
LastModifiedAt This property is required. string
Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified. Minimum api-version: 2022-04-04.
createdAt This property is required. String
Specifies the time in UTC at which the Cloud Service (extended support) resource was created. Minimum api-version: 2022-04-04.
lastModifiedAt This property is required. String
Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified. Minimum api-version: 2022-04-04.
createdAt This property is required. string
Specifies the time in UTC at which the Cloud Service (extended support) resource was created. Minimum api-version: 2022-04-04.
lastModifiedAt This property is required. string
Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified. Minimum api-version: 2022-04-04.
created_at This property is required. str
Specifies the time in UTC at which the Cloud Service (extended support) resource was created. Minimum api-version: 2022-04-04.
last_modified_at This property is required. str
Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified. Minimum api-version: 2022-04-04.
createdAt This property is required. String
Specifies the time in UTC at which the Cloud Service (extended support) resource was created. Minimum api-version: 2022-04-04.
lastModifiedAt This property is required. String
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} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0