1. Packages
  2. Azure Native
  3. API Docs
  4. compute
  5. CloudService
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.10.0 published on Wednesday, Oct 4, 2023 by Pulumi

azure-native.compute.CloudService

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.10.0 published on Wednesday, Oct 4, 2023 by Pulumi

    Describes the cloud service. Azure REST API version: 2022-09-04. Prior API version in Azure Native 1.x: 2021-03-01

    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 = "Auto",
            },
            ResourceGroupName = "ConstosoRG",
        });
    
    });
    
    package main
    
    import (
    	"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.CloudServicePropertiesResponse{
    Configuration: pulumi.String("{ServiceConfiguration}"),
    NetworkProfile: interface{}{
    LoadBalancerConfigurations: compute.LoadBalancerConfigurationArray{
    interface{}{
    Name: pulumi.String("contosolb"),
    Properties: interface{}{
    FrontendIpConfigurations: compute.LoadBalancerFrontendIpConfigurationArray{
    interface{}{
    Name: pulumi.String("contosofe"),
    Properties: interface{}{
    PublicIPAddress: &compute.SubResourceArgs{
    Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip"),
    },
    },
    },
    },
    },
    },
    },
    },
    PackageUrl: pulumi.String("{PackageUrl}"),
    RoleProfile: interface{}{
    Roles: compute.CloudServiceRoleProfilePropertiesArray{
    interface{}{
    Name: pulumi.String("ContosoFrontend"),
    Sku: &compute.CloudServiceRoleSkuArgs{
    Capacity: pulumi.Float64(1),
    Name: pulumi.String("Standard_D1_v2"),
    Tier: pulumi.String("Standard"),
    },
    },
    interface{}{
    Name: pulumi.String("ContosoBackend"),
    Sku: &compute.CloudServiceRoleSkuArgs{
    Capacity: pulumi.Float64(1),
    Name: pulumi.String("Standard_D1_v2"),
    Tier: pulumi.String("Standard"),
    },
    },
    },
    },
    UpgradeMode: pulumi.String("Auto"),
    },
    ResourceGroupName: pulumi.String("ConstosoRG"),
    })
    if err != nil {
    return err
    }
    return nil
    })
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.compute.CloudService;
    import com.pulumi.azurenative.compute.CloudServiceArgs;
    import 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(Map.ofEntries(
                    Map.entry("configuration", "{ServiceConfiguration}"),
                    Map.entry("networkProfile", Map.of("loadBalancerConfigurations", Map.ofEntries(
                        Map.entry("name", "contosolb"),
                        Map.entry("properties", Map.of("frontendIpConfigurations", Map.ofEntries(
                            Map.entry("name", "contosofe"),
                            Map.entry("properties", Map.of("publicIPAddress", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip")))
                        )))
                    ))),
                    Map.entry("packageUrl", "{PackageUrl}"),
                    Map.entry("roleProfile", Map.of("roles",                 
                        Map.ofEntries(
                            Map.entry("name", "ContosoFrontend"),
                            Map.entry("sku", Map.ofEntries(
                                Map.entry("capacity", 1),
                                Map.entry("name", "Standard_D1_v2"),
                                Map.entry("tier", "Standard")
                            ))
                        ),
                        Map.ofEntries(
                            Map.entry("name", "ContosoBackend"),
                            Map.entry("sku", Map.ofEntries(
                                Map.entry("capacity", 1),
                                Map.entry("name", "Standard_D1_v2"),
                                Map.entry("tier", "Standard")
                            ))
                        ))),
                    Map.entry("upgradeMode", "Auto")
                ))
                .resourceGroupName("ConstosoRG")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cloud_service = azure_native.compute.CloudService("cloudService",
        cloud_service_name="{cs-name}",
        location="westus",
        properties=azure_native.compute.CloudServicePropertiesResponseArgs(
            configuration="{ServiceConfiguration}",
            network_profile={
                "loadBalancerConfigurations": [{
                    "name": "contosolb",
                    "properties": {
                        "frontendIpConfigurations": [{
                            "name": "contosofe",
                            "properties": {
                                "publicIPAddress": azure_native.compute.SubResourceArgs(
                                    id="/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                                ),
                            },
                        }],
                    },
                }],
            },
            package_url="{PackageUrl}",
            role_profile={
                "roles": [
                    {
                        "name": "ContosoFrontend",
                        "sku": azure_native.compute.CloudServiceRoleSkuArgs(
                            capacity=1,
                            name="Standard_D1_v2",
                            tier="Standard",
                        ),
                    },
                    {
                        "name": "ContosoBackend",
                        "sku": azure_native.compute.CloudServiceRoleSkuArgs(
                            capacity=1,
                            name="Standard_D1_v2",
                            tier="Standard",
                        ),
                    },
                ],
            },
            upgrade_mode="Auto",
        ),
        resource_group_name="ConstosoRG")
    
    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: "Auto",
        },
        resourceGroupName: "ConstosoRG",
    });
    
    resources:
      cloudService:
        type: azure-native:compute:CloudService
        properties:
          cloudServiceName: '{cs-name}'
          location: westus
          properties:
            configuration: '{ServiceConfiguration}'
            networkProfile:
              loadBalancerConfigurations:
                - name: contosolb
                  properties:
                    frontendIpConfigurations:
                      - name: contosofe
                        properties:
                          publicIPAddress:
                            id: /subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip
            packageUrl: '{PackageUrl}'
            roleProfile:
              roles:
                - name: ContosoFrontend
                  sku:
                    capacity: 1
                    name: Standard_D1_v2
                    tier: Standard
                - name: ContosoBackend
                  sku:
                    capacity: 1
                    name: Standard_D1_v2
                    tier: Standard
            upgradeMode: Auto
          resourceGroupName: ConstosoRG
    

    Create New Cloud Service with Multiple Roles in a specific availability zone

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cloudService = new AzureNative.Compute.CloudService("cloudService", new()
        {
            CloudServiceName = "{cs-name}",
            Location = "westus",
            Properties = new AzureNative.Compute.Inputs.CloudServicePropertiesArgs
            {
                Configuration = "{ServiceConfiguration}",
                NetworkProfile = new AzureNative.Compute.Inputs.CloudServiceNetworkProfileArgs
                {
                    LoadBalancerConfigurations = new[]
                    {
                        new AzureNative.Compute.Inputs.LoadBalancerConfigurationArgs
                        {
                            Name = "contosolb",
                            Properties = new AzureNative.Compute.Inputs.LoadBalancerConfigurationPropertiesArgs
                            {
                                FrontendIpConfigurations = new[]
                                {
                                    new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationArgs
                                    {
                                        Name = "contosofe",
                                        Properties = new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationPropertiesArgs
                                        {
                                            PublicIPAddress = new AzureNative.Compute.Inputs.SubResourceArgs
                                            {
                                                Id = "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
                PackageUrl = "{PackageUrl}",
                RoleProfile = new AzureNative.Compute.Inputs.CloudServiceRoleProfileArgs
                {
                    Roles = new[]
                    {
                        new AzureNative.Compute.Inputs.CloudServiceRoleProfilePropertiesArgs
                        {
                            Name = "ContosoFrontend",
                            Sku = new AzureNative.Compute.Inputs.CloudServiceRoleSkuArgs
                            {
                                Capacity = 1,
                                Name = "Standard_D1_v2",
                                Tier = "Standard",
                            },
                        },
                        new AzureNative.Compute.Inputs.CloudServiceRoleProfilePropertiesArgs
                        {
                            Name = "ContosoBackend",
                            Sku = new AzureNative.Compute.Inputs.CloudServiceRoleSkuArgs
                            {
                                Capacity = 1,
                                Name = "Standard_D1_v2",
                                Tier = "Standard",
                            },
                        },
                    },
                },
                UpgradeMode = "Auto",
            },
            ResourceGroupName = "ConstosoRG",
            Zones = new[]
            {
                "1",
            },
        });
    
    });
    
    package main
    
    import (
    	"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.CloudServicePropertiesResponse{
    Configuration: pulumi.String("{ServiceConfiguration}"),
    NetworkProfile: interface{}{
    LoadBalancerConfigurations: compute.LoadBalancerConfigurationArray{
    interface{}{
    Name: pulumi.String("contosolb"),
    Properties: interface{}{
    FrontendIpConfigurations: compute.LoadBalancerFrontendIpConfigurationArray{
    interface{}{
    Name: pulumi.String("contosofe"),
    Properties: interface{}{
    PublicIPAddress: &compute.SubResourceArgs{
    Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip"),
    },
    },
    },
    },
    },
    },
    },
    },
    PackageUrl: pulumi.String("{PackageUrl}"),
    RoleProfile: interface{}{
    Roles: compute.CloudServiceRoleProfilePropertiesArray{
    interface{}{
    Name: pulumi.String("ContosoFrontend"),
    Sku: &compute.CloudServiceRoleSkuArgs{
    Capacity: pulumi.Float64(1),
    Name: pulumi.String("Standard_D1_v2"),
    Tier: pulumi.String("Standard"),
    },
    },
    interface{}{
    Name: pulumi.String("ContosoBackend"),
    Sku: &compute.CloudServiceRoleSkuArgs{
    Capacity: pulumi.Float64(1),
    Name: pulumi.String("Standard_D1_v2"),
    Tier: pulumi.String("Standard"),
    },
    },
    },
    },
    UpgradeMode: pulumi.String("Auto"),
    },
    ResourceGroupName: pulumi.String("ConstosoRG"),
    Zones: pulumi.StringArray{
    pulumi.String("1"),
    },
    })
    if err != nil {
    return err
    }
    return nil
    })
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.compute.CloudService;
    import com.pulumi.azurenative.compute.CloudServiceArgs;
    import 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(Map.ofEntries(
                    Map.entry("configuration", "{ServiceConfiguration}"),
                    Map.entry("networkProfile", Map.of("loadBalancerConfigurations", Map.ofEntries(
                        Map.entry("name", "contosolb"),
                        Map.entry("properties", Map.of("frontendIpConfigurations", Map.ofEntries(
                            Map.entry("name", "contosofe"),
                            Map.entry("properties", Map.of("publicIPAddress", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip")))
                        )))
                    ))),
                    Map.entry("packageUrl", "{PackageUrl}"),
                    Map.entry("roleProfile", Map.of("roles",                 
                        Map.ofEntries(
                            Map.entry("name", "ContosoFrontend"),
                            Map.entry("sku", Map.ofEntries(
                                Map.entry("capacity", 1),
                                Map.entry("name", "Standard_D1_v2"),
                                Map.entry("tier", "Standard")
                            ))
                        ),
                        Map.ofEntries(
                            Map.entry("name", "ContosoBackend"),
                            Map.entry("sku", Map.ofEntries(
                                Map.entry("capacity", 1),
                                Map.entry("name", "Standard_D1_v2"),
                                Map.entry("tier", "Standard")
                            ))
                        ))),
                    Map.entry("upgradeMode", "Auto")
                ))
                .resourceGroupName("ConstosoRG")
                .zones("1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cloud_service = azure_native.compute.CloudService("cloudService",
        cloud_service_name="{cs-name}",
        location="westus",
        properties=azure_native.compute.CloudServicePropertiesResponseArgs(
            configuration="{ServiceConfiguration}",
            network_profile={
                "loadBalancerConfigurations": [{
                    "name": "contosolb",
                    "properties": {
                        "frontendIpConfigurations": [{
                            "name": "contosofe",
                            "properties": {
                                "publicIPAddress": azure_native.compute.SubResourceArgs(
                                    id="/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                                ),
                            },
                        }],
                    },
                }],
            },
            package_url="{PackageUrl}",
            role_profile={
                "roles": [
                    {
                        "name": "ContosoFrontend",
                        "sku": azure_native.compute.CloudServiceRoleSkuArgs(
                            capacity=1,
                            name="Standard_D1_v2",
                            tier="Standard",
                        ),
                    },
                    {
                        "name": "ContosoBackend",
                        "sku": azure_native.compute.CloudServiceRoleSkuArgs(
                            capacity=1,
                            name="Standard_D1_v2",
                            tier="Standard",
                        ),
                    },
                ],
            },
            upgrade_mode="Auto",
        ),
        resource_group_name="ConstosoRG",
        zones=["1"])
    
    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: "Auto",
        },
        resourceGroupName: "ConstosoRG",
        zones: ["1"],
    });
    
    resources:
      cloudService:
        type: azure-native:compute:CloudService
        properties:
          cloudServiceName: '{cs-name}'
          location: westus
          properties:
            configuration: '{ServiceConfiguration}'
            networkProfile:
              loadBalancerConfigurations:
                - name: contosolb
                  properties:
                    frontendIpConfigurations:
                      - name: contosofe
                        properties:
                          publicIPAddress:
                            id: /subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip
            packageUrl: '{PackageUrl}'
            roleProfile:
              roles:
                - name: ContosoFrontend
                  sku:
                    capacity: 1
                    name: Standard_D1_v2
                    tier: Standard
                - name: ContosoBackend
                  sku:
                    capacity: 1
                    name: Standard_D1_v2
                    tier: Standard
            upgradeMode: Auto
          resourceGroupName: ConstosoRG
          zones:
            - '1'
    

    Create New Cloud Service with Single Role

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cloudService = new AzureNative.Compute.CloudService("cloudService", new()
        {
            CloudServiceName = "{cs-name}",
            Location = "westus",
            Properties = new AzureNative.Compute.Inputs.CloudServicePropertiesArgs
            {
                Configuration = "{ServiceConfiguration}",
                NetworkProfile = new AzureNative.Compute.Inputs.CloudServiceNetworkProfileArgs
                {
                    LoadBalancerConfigurations = new[]
                    {
                        new AzureNative.Compute.Inputs.LoadBalancerConfigurationArgs
                        {
                            Name = "myLoadBalancer",
                            Properties = new AzureNative.Compute.Inputs.LoadBalancerConfigurationPropertiesArgs
                            {
                                FrontendIpConfigurations = new[]
                                {
                                    new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationArgs
                                    {
                                        Name = "myfe",
                                        Properties = new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationPropertiesArgs
                                        {
                                            PublicIPAddress = new AzureNative.Compute.Inputs.SubResourceArgs
                                            {
                                                Id = "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
                PackageUrl = "{PackageUrl}",
                RoleProfile = new AzureNative.Compute.Inputs.CloudServiceRoleProfileArgs
                {
                    Roles = new[]
                    {
                        new AzureNative.Compute.Inputs.CloudServiceRoleProfilePropertiesArgs
                        {
                            Name = "ContosoFrontend",
                            Sku = new AzureNative.Compute.Inputs.CloudServiceRoleSkuArgs
                            {
                                Capacity = 1,
                                Name = "Standard_D1_v2",
                                Tier = "Standard",
                            },
                        },
                    },
                },
                UpgradeMode = "Auto",
            },
            ResourceGroupName = "ConstosoRG",
        });
    
    });
    
    package main
    
    import (
    	"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.CloudServicePropertiesResponse{
    Configuration: pulumi.String("{ServiceConfiguration}"),
    NetworkProfile: interface{}{
    LoadBalancerConfigurations: compute.LoadBalancerConfigurationArray{
    interface{}{
    Name: pulumi.String("myLoadBalancer"),
    Properties: interface{}{
    FrontendIpConfigurations: compute.LoadBalancerFrontendIpConfigurationArray{
    interface{}{
    Name: pulumi.String("myfe"),
    Properties: interface{}{
    PublicIPAddress: &compute.SubResourceArgs{
    Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP"),
    },
    },
    },
    },
    },
    },
    },
    },
    PackageUrl: pulumi.String("{PackageUrl}"),
    RoleProfile: interface{}{
    Roles: compute.CloudServiceRoleProfilePropertiesArray{
    interface{}{
    Name: pulumi.String("ContosoFrontend"),
    Sku: &compute.CloudServiceRoleSkuArgs{
    Capacity: pulumi.Float64(1),
    Name: pulumi.String("Standard_D1_v2"),
    Tier: pulumi.String("Standard"),
    },
    },
    },
    },
    UpgradeMode: pulumi.String("Auto"),
    },
    ResourceGroupName: pulumi.String("ConstosoRG"),
    })
    if err != nil {
    return err
    }
    return nil
    })
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.compute.CloudService;
    import com.pulumi.azurenative.compute.CloudServiceArgs;
    import 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(Map.ofEntries(
                    Map.entry("configuration", "{ServiceConfiguration}"),
                    Map.entry("networkProfile", Map.of("loadBalancerConfigurations", Map.ofEntries(
                        Map.entry("name", "myLoadBalancer"),
                        Map.entry("properties", Map.of("frontendIpConfigurations", Map.ofEntries(
                            Map.entry("name", "myfe"),
                            Map.entry("properties", Map.of("publicIPAddress", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP")))
                        )))
                    ))),
                    Map.entry("packageUrl", "{PackageUrl}"),
                    Map.entry("roleProfile", Map.of("roles", Map.ofEntries(
                        Map.entry("name", "ContosoFrontend"),
                        Map.entry("sku", Map.ofEntries(
                            Map.entry("capacity", 1),
                            Map.entry("name", "Standard_D1_v2"),
                            Map.entry("tier", "Standard")
                        ))
                    ))),
                    Map.entry("upgradeMode", "Auto")
                ))
                .resourceGroupName("ConstosoRG")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cloud_service = azure_native.compute.CloudService("cloudService",
        cloud_service_name="{cs-name}",
        location="westus",
        properties=azure_native.compute.CloudServicePropertiesResponseArgs(
            configuration="{ServiceConfiguration}",
            network_profile={
                "loadBalancerConfigurations": [{
                    "name": "myLoadBalancer",
                    "properties": {
                        "frontendIpConfigurations": [{
                            "name": "myfe",
                            "properties": {
                                "publicIPAddress": azure_native.compute.SubResourceArgs(
                                    id="/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP",
                                ),
                            },
                        }],
                    },
                }],
            },
            package_url="{PackageUrl}",
            role_profile={
                "roles": [{
                    "name": "ContosoFrontend",
                    "sku": azure_native.compute.CloudServiceRoleSkuArgs(
                        capacity=1,
                        name="Standard_D1_v2",
                        tier="Standard",
                    ),
                }],
            },
            upgrade_mode="Auto",
        ),
        resource_group_name="ConstosoRG")
    
    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: "Auto",
        },
        resourceGroupName: "ConstosoRG",
    });
    
    resources:
      cloudService:
        type: azure-native:compute:CloudService
        properties:
          cloudServiceName: '{cs-name}'
          location: westus
          properties:
            configuration: '{ServiceConfiguration}'
            networkProfile:
              loadBalancerConfigurations:
                - name: myLoadBalancer
                  properties:
                    frontendIpConfigurations:
                      - name: myfe
                        properties:
                          publicIPAddress:
                            id: /subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/myPublicIP
            packageUrl: '{PackageUrl}'
            roleProfile:
              roles:
                - name: ContosoFrontend
                  sku:
                    capacity: 1
                    name: Standard_D1_v2
                    tier: Standard
            upgradeMode: Auto
          resourceGroupName: ConstosoRG
    

    Create New Cloud Service with Single Role and Certificate from Key Vault

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cloudService = new AzureNative.Compute.CloudService("cloudService", new()
        {
            CloudServiceName = "{cs-name}",
            Location = "westus",
            Properties = new AzureNative.Compute.Inputs.CloudServicePropertiesArgs
            {
                Configuration = "{ServiceConfiguration}",
                NetworkProfile = new AzureNative.Compute.Inputs.CloudServiceNetworkProfileArgs
                {
                    LoadBalancerConfigurations = new[]
                    {
                        new AzureNative.Compute.Inputs.LoadBalancerConfigurationArgs
                        {
                            Name = "contosolb",
                            Properties = new AzureNative.Compute.Inputs.LoadBalancerConfigurationPropertiesArgs
                            {
                                FrontendIpConfigurations = new[]
                                {
                                    new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationArgs
                                    {
                                        Name = "contosofe",
                                        Properties = new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationPropertiesArgs
                                        {
                                            PublicIPAddress = new AzureNative.Compute.Inputs.SubResourceArgs
                                            {
                                                Id = "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
                OsProfile = new AzureNative.Compute.Inputs.CloudServiceOsProfileArgs
                {
                    Secrets = new[]
                    {
                        new AzureNative.Compute.Inputs.CloudServiceVaultSecretGroupArgs
                        {
                            SourceVault = new AzureNative.Compute.Inputs.SubResourceArgs
                            {
                                Id = "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.KeyVault/vaults/{keyvault-name}",
                            },
                            VaultCertificates = new[]
                            {
                                new AzureNative.Compute.Inputs.CloudServiceVaultCertificateArgs
                                {
                                    CertificateUrl = "https://{keyvault-name}.vault.azure.net:443/secrets/ContosoCertificate/{secret-id}",
                                },
                            },
                        },
                    },
                },
                PackageUrl = "{PackageUrl}",
                RoleProfile = new AzureNative.Compute.Inputs.CloudServiceRoleProfileArgs
                {
                    Roles = new[]
                    {
                        new AzureNative.Compute.Inputs.CloudServiceRoleProfilePropertiesArgs
                        {
                            Name = "ContosoFrontend",
                            Sku = new AzureNative.Compute.Inputs.CloudServiceRoleSkuArgs
                            {
                                Capacity = 1,
                                Name = "Standard_D1_v2",
                                Tier = "Standard",
                            },
                        },
                    },
                },
                UpgradeMode = "Auto",
            },
            ResourceGroupName = "ConstosoRG",
        });
    
    });
    
    package main
    
    import (
    	"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.CloudServicePropertiesResponse{
    Configuration: pulumi.String("{ServiceConfiguration}"),
    NetworkProfile: interface{}{
    LoadBalancerConfigurations: compute.LoadBalancerConfigurationArray{
    interface{}{
    Name: pulumi.String("contosolb"),
    Properties: interface{}{
    FrontendIpConfigurations: compute.LoadBalancerFrontendIpConfigurationArray{
    interface{}{
    Name: pulumi.String("contosofe"),
    Properties: interface{}{
    PublicIPAddress: &compute.SubResourceArgs{
    Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip"),
    },
    },
    },
    },
    },
    },
    },
    },
    OsProfile: interface{}{
    Secrets: compute.CloudServiceVaultSecretGroupArray{
    interface{}{
    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: interface{}{
    Roles: compute.CloudServiceRoleProfilePropertiesArray{
    interface{}{
    Name: pulumi.String("ContosoFrontend"),
    Sku: &compute.CloudServiceRoleSkuArgs{
    Capacity: pulumi.Float64(1),
    Name: pulumi.String("Standard_D1_v2"),
    Tier: pulumi.String("Standard"),
    },
    },
    },
    },
    UpgradeMode: pulumi.String("Auto"),
    },
    ResourceGroupName: pulumi.String("ConstosoRG"),
    })
    if err != nil {
    return err
    }
    return nil
    })
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.compute.CloudService;
    import com.pulumi.azurenative.compute.CloudServiceArgs;
    import 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(Map.ofEntries(
                    Map.entry("configuration", "{ServiceConfiguration}"),
                    Map.entry("networkProfile", Map.of("loadBalancerConfigurations", Map.ofEntries(
                        Map.entry("name", "contosolb"),
                        Map.entry("properties", Map.of("frontendIpConfigurations", Map.ofEntries(
                            Map.entry("name", "contosofe"),
                            Map.entry("properties", Map.of("publicIPAddress", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip")))
                        )))
                    ))),
                    Map.entry("osProfile", Map.of("secrets", Map.ofEntries(
                        Map.entry("sourceVault", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.KeyVault/vaults/{keyvault-name}")),
                        Map.entry("vaultCertificates", Map.of("certificateUrl", "https://{keyvault-name}.vault.azure.net:443/secrets/ContosoCertificate/{secret-id}"))
                    ))),
                    Map.entry("packageUrl", "{PackageUrl}"),
                    Map.entry("roleProfile", Map.of("roles", Map.ofEntries(
                        Map.entry("name", "ContosoFrontend"),
                        Map.entry("sku", Map.ofEntries(
                            Map.entry("capacity", 1),
                            Map.entry("name", "Standard_D1_v2"),
                            Map.entry("tier", "Standard")
                        ))
                    ))),
                    Map.entry("upgradeMode", "Auto")
                ))
                .resourceGroupName("ConstosoRG")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cloud_service = azure_native.compute.CloudService("cloudService",
        cloud_service_name="{cs-name}",
        location="westus",
        properties=azure_native.compute.CloudServicePropertiesResponseArgs(
            configuration="{ServiceConfiguration}",
            network_profile={
                "loadBalancerConfigurations": [{
                    "name": "contosolb",
                    "properties": {
                        "frontendIpConfigurations": [{
                            "name": "contosofe",
                            "properties": {
                                "publicIPAddress": azure_native.compute.SubResourceArgs(
                                    id="/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                                ),
                            },
                        }],
                    },
                }],
            },
            os_profile={
                "secrets": [{
                    "sourceVault": azure_native.compute.SubResourceArgs(
                        id="/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.KeyVault/vaults/{keyvault-name}",
                    ),
                    "vaultCertificates": [azure_native.compute.CloudServiceVaultCertificateArgs(
                        certificate_url="https://{keyvault-name}.vault.azure.net:443/secrets/ContosoCertificate/{secret-id}",
                    )],
                }],
            },
            package_url="{PackageUrl}",
            role_profile={
                "roles": [{
                    "name": "ContosoFrontend",
                    "sku": azure_native.compute.CloudServiceRoleSkuArgs(
                        capacity=1,
                        name="Standard_D1_v2",
                        tier="Standard",
                    ),
                }],
            },
            upgrade_mode="Auto",
        ),
        resource_group_name="ConstosoRG")
    
    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: "Auto",
        },
        resourceGroupName: "ConstosoRG",
    });
    
    resources:
      cloudService:
        type: azure-native:compute:CloudService
        properties:
          cloudServiceName: '{cs-name}'
          location: westus
          properties:
            configuration: '{ServiceConfiguration}'
            networkProfile:
              loadBalancerConfigurations:
                - name: contosolb
                  properties:
                    frontendIpConfigurations:
                      - name: contosofe
                        properties:
                          publicIPAddress:
                            id: /subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip
            osProfile:
              secrets:
                - sourceVault:
                    id: /subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.KeyVault/vaults/{keyvault-name}
                  vaultCertificates:
                    - certificateUrl: https://{keyvault-name}.vault.azure.net:443/secrets/ContosoCertificate/{secret-id}
            packageUrl: '{PackageUrl}'
            roleProfile:
              roles:
                - name: ContosoFrontend
                  sku:
                    capacity: 1
                    name: Standard_D1_v2
                    tier: Standard
            upgradeMode: Auto
          resourceGroupName: ConstosoRG
    

    Create New Cloud Service with Single Role and RDP Extension

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cloudService = new AzureNative.Compute.CloudService("cloudService", new()
        {
            CloudServiceName = "{cs-name}",
            Location = "westus",
            Properties = new AzureNative.Compute.Inputs.CloudServicePropertiesArgs
            {
                Configuration = "{ServiceConfiguration}",
                ExtensionProfile = new AzureNative.Compute.Inputs.CloudServiceExtensionProfileArgs
                {
                    Extensions = new[]
                    {
                        new AzureNative.Compute.Inputs.ExtensionArgs
                        {
                            Name = "RDPExtension",
                            Properties = new AzureNative.Compute.Inputs.CloudServiceExtensionPropertiesArgs
                            {
                                AutoUpgradeMinorVersion = false,
                                ProtectedSettings = "<PrivateConfig><Password>{password}</Password></PrivateConfig>",
                                Publisher = "Microsoft.Windows.Azure.Extensions",
                                Settings = "<PublicConfig><UserName>UserAzure</UserName><Expiration>10/22/2021 15:05:45</Expiration></PublicConfig>",
                                Type = "RDP",
                                TypeHandlerVersion = "1.2",
                            },
                        },
                    },
                },
                NetworkProfile = new AzureNative.Compute.Inputs.CloudServiceNetworkProfileArgs
                {
                    LoadBalancerConfigurations = new[]
                    {
                        new AzureNative.Compute.Inputs.LoadBalancerConfigurationArgs
                        {
                            Name = "contosolb",
                            Properties = new AzureNative.Compute.Inputs.LoadBalancerConfigurationPropertiesArgs
                            {
                                FrontendIpConfigurations = new[]
                                {
                                    new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationArgs
                                    {
                                        Name = "contosofe",
                                        Properties = new AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationPropertiesArgs
                                        {
                                            PublicIPAddress = new AzureNative.Compute.Inputs.SubResourceArgs
                                            {
                                                Id = "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
                PackageUrl = "{PackageUrl}",
                RoleProfile = new AzureNative.Compute.Inputs.CloudServiceRoleProfileArgs
                {
                    Roles = new[]
                    {
                        new AzureNative.Compute.Inputs.CloudServiceRoleProfilePropertiesArgs
                        {
                            Name = "ContosoFrontend",
                            Sku = new AzureNative.Compute.Inputs.CloudServiceRoleSkuArgs
                            {
                                Capacity = 1,
                                Name = "Standard_D1_v2",
                                Tier = "Standard",
                            },
                        },
                    },
                },
                UpgradeMode = "Auto",
            },
            ResourceGroupName = "ConstosoRG",
        });
    
    });
    
    package main
    
    import (
    	"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.CloudServicePropertiesResponse{
    Configuration: pulumi.String("{ServiceConfiguration}"),
    ExtensionProfile: interface{}{
    Extensions: compute.ExtensionArray{
    interface{}{
    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: interface{}{
    LoadBalancerConfigurations: compute.LoadBalancerConfigurationArray{
    interface{}{
    Name: pulumi.String("contosolb"),
    Properties: interface{}{
    FrontendIpConfigurations: compute.LoadBalancerFrontendIpConfigurationArray{
    interface{}{
    Name: pulumi.String("contosofe"),
    Properties: interface{}{
    PublicIPAddress: &compute.SubResourceArgs{
    Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip"),
    },
    },
    },
    },
    },
    },
    },
    },
    PackageUrl: pulumi.String("{PackageUrl}"),
    RoleProfile: interface{}{
    Roles: compute.CloudServiceRoleProfilePropertiesArray{
    interface{}{
    Name: pulumi.String("ContosoFrontend"),
    Sku: &compute.CloudServiceRoleSkuArgs{
    Capacity: pulumi.Float64(1),
    Name: pulumi.String("Standard_D1_v2"),
    Tier: pulumi.String("Standard"),
    },
    },
    },
    },
    UpgradeMode: pulumi.String("Auto"),
    },
    ResourceGroupName: pulumi.String("ConstosoRG"),
    })
    if err != nil {
    return err
    }
    return nil
    })
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.compute.CloudService;
    import com.pulumi.azurenative.compute.CloudServiceArgs;
    import 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(Map.ofEntries(
                    Map.entry("configuration", "{ServiceConfiguration}"),
                    Map.entry("extensionProfile", Map.of("extensions", Map.ofEntries(
                        Map.entry("name", "RDPExtension"),
                        Map.entry("properties", Map.ofEntries(
                            Map.entry("autoUpgradeMinorVersion", false),
                            Map.entry("protectedSettings", "<PrivateConfig><Password>{password}</Password></PrivateConfig>"),
                            Map.entry("publisher", "Microsoft.Windows.Azure.Extensions"),
                            Map.entry("settings", "<PublicConfig><UserName>UserAzure</UserName><Expiration>10/22/2021 15:05:45</Expiration></PublicConfig>"),
                            Map.entry("type", "RDP"),
                            Map.entry("typeHandlerVersion", "1.2")
                        ))
                    ))),
                    Map.entry("networkProfile", Map.of("loadBalancerConfigurations", Map.ofEntries(
                        Map.entry("name", "contosolb"),
                        Map.entry("properties", Map.of("frontendIpConfigurations", Map.ofEntries(
                            Map.entry("name", "contosofe"),
                            Map.entry("properties", Map.of("publicIPAddress", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip")))
                        )))
                    ))),
                    Map.entry("packageUrl", "{PackageUrl}"),
                    Map.entry("roleProfile", Map.of("roles", Map.ofEntries(
                        Map.entry("name", "ContosoFrontend"),
                        Map.entry("sku", Map.ofEntries(
                            Map.entry("capacity", 1),
                            Map.entry("name", "Standard_D1_v2"),
                            Map.entry("tier", "Standard")
                        ))
                    ))),
                    Map.entry("upgradeMode", "Auto")
                ))
                .resourceGroupName("ConstosoRG")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cloud_service = azure_native.compute.CloudService("cloudService",
        cloud_service_name="{cs-name}",
        location="westus",
        properties=azure_native.compute.CloudServicePropertiesResponseArgs(
            configuration="{ServiceConfiguration}",
            extension_profile={
                "extensions": [{
                    "name": "RDPExtension",
                    "properties": azure_native.compute.CloudServiceExtensionPropertiesArgs(
                        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={
                "loadBalancerConfigurations": [{
                    "name": "contosolb",
                    "properties": {
                        "frontendIpConfigurations": [{
                            "name": "contosofe",
                            "properties": {
                                "publicIPAddress": azure_native.compute.SubResourceArgs(
                                    id="/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip",
                                ),
                            },
                        }],
                    },
                }],
            },
            package_url="{PackageUrl}",
            role_profile={
                "roles": [{
                    "name": "ContosoFrontend",
                    "sku": azure_native.compute.CloudServiceRoleSkuArgs(
                        capacity=1,
                        name="Standard_D1_v2",
                        tier="Standard",
                    ),
                }],
            },
            upgrade_mode="Auto",
        ),
        resource_group_name="ConstosoRG")
    
    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: "Auto",
        },
        resourceGroupName: "ConstosoRG",
    });
    
    resources:
      cloudService:
        type: azure-native:compute:CloudService
        properties:
          cloudServiceName: '{cs-name}'
          location: westus
          properties:
            configuration: '{ServiceConfiguration}'
            extensionProfile:
              extensions:
                - name: RDPExtension
                  properties:
                    autoUpgradeMinorVersion: false
                    protectedSettings: <PrivateConfig><Password>{password}</Password></PrivateConfig>
                    publisher: Microsoft.Windows.Azure.Extensions
                    settings: <PublicConfig><UserName>UserAzure</UserName><Expiration>10/22/2021 15:05:45</Expiration></PublicConfig>
                    type: RDP
                    typeHandlerVersion: '1.2'
            networkProfile:
              loadBalancerConfigurations:
                - name: contosolb
                  properties:
                    frontendIpConfigurations:
                      - name: contosofe
                        properties:
                          publicIPAddress:
                            id: /subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip
            packageUrl: '{PackageUrl}'
            roleProfile:
              roles:
                - name: ContosoFrontend
                  sku:
                    capacity: 1
                    name: Standard_D1_v2
                    tier: Standard
            upgradeMode: Auto
          resourceGroupName: ConstosoRG
    

    Create CloudService Resource

    new CloudService(name: string, args: CloudServiceArgs, opts?: CustomResourceOptions);
    @overload
    def CloudService(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     cloud_service_name: Optional[str] = None,
                     location: Optional[str] = None,
                     properties: Optional[CloudServicePropertiesArgs] = None,
                     resource_group_name: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = None,
                     zones: Optional[Sequence[str]] = None)
    @overload
    def CloudService(resource_name: str,
                     args: CloudServiceArgs,
                     opts: Optional[ResourceOptions] = 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.
    
    
    name string
    The unique name of the resource.
    args CloudServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CloudServiceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CloudServiceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudServiceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    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

    The CloudService resource accepts the following input properties:

    ResourceGroupName string

    Name of the resource group.

    CloudServiceName 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 string

    Name of the resource group.

    CloudServiceName 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 String

    Name of the resource group.

    cloudServiceName 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 string

    Name of the resource group.

    cloudServiceName 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 str

    Name of the resource group.

    cloud_service_name 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 String

    Name of the resource group.

    cloudServiceName 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 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 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 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 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 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 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 string

    The provisioning state, which only appears in the response.

    UniqueId 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 string

    The provisioning state, which only appears in the response.

    UniqueId 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 String

    The provisioning state, which only appears in the response.

    uniqueId 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 string

    The provisioning state, which only appears in the response.

    uniqueId 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 str

    The provisioning state, which only appears in the response.

    unique_id 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 String

    The provisioning state, which only appears in the response.

    uniqueId 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 string

    The name of the Load balancer

    Properties Pulumi.AzureNative.Compute.Inputs.LoadBalancerConfigurationProperties

    Properties of the load balancer configuration.

    Id string

    Resource Id

    Name string

    The name of the Load balancer

    Properties LoadBalancerConfigurationProperties

    Properties of the load balancer configuration.

    Id string

    Resource Id

    name String

    The name of the Load balancer

    properties LoadBalancerConfigurationProperties

    Properties of the load balancer configuration.

    id String

    Resource Id

    name string

    The name of the Load balancer

    properties LoadBalancerConfigurationProperties

    Properties of the load balancer configuration.

    id string

    Resource Id

    name str

    The name of the Load balancer

    properties LoadBalancerConfigurationProperties

    Properties of the load balancer configuration.

    id str

    Resource Id

    name String

    The name of the Load balancer

    properties Property Map

    Properties of the load balancer configuration.

    id String

    Resource Id

    LoadBalancerConfigurationProperties, LoadBalancerConfigurationPropertiesArgs

    FrontendIpConfigurations 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 []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 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 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 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 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 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 []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 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 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 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 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 string

    The name of the Load balancer

    Properties Pulumi.AzureNative.Compute.Inputs.LoadBalancerConfigurationPropertiesResponse

    Properties of the load balancer configuration.

    Id string

    Resource Id

    Name string

    The name of the Load balancer

    Properties LoadBalancerConfigurationPropertiesResponse

    Properties of the load balancer configuration.

    Id string

    Resource Id

    name String

    The name of the Load balancer

    properties LoadBalancerConfigurationPropertiesResponse

    Properties of the load balancer configuration.

    id String

    Resource Id

    name string

    The name of the Load balancer

    properties LoadBalancerConfigurationPropertiesResponse

    Properties of the load balancer configuration.

    id string

    Resource Id

    name str

    The name of the Load balancer

    properties LoadBalancerConfigurationPropertiesResponse

    Properties of the load balancer configuration.

    id str

    Resource Id

    name String

    The name of the Load balancer

    properties Property Map

    Properties of the load balancer configuration.

    id String

    Resource Id

    LoadBalancerFrontendIpConfiguration, LoadBalancerFrontendIpConfigurationArgs

    Name string

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    Properties Pulumi.AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationProperties

    Properties of load balancer frontend ip configuration.

    Name string

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    Properties LoadBalancerFrontendIpConfigurationProperties

    Properties of load balancer frontend ip configuration.

    name String

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    properties LoadBalancerFrontendIpConfigurationProperties

    Properties of load balancer frontend ip configuration.

    name string

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    properties LoadBalancerFrontendIpConfigurationProperties

    Properties of load balancer frontend ip configuration.

    name str

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    properties LoadBalancerFrontendIpConfigurationProperties

    Properties of load balancer frontend ip configuration.

    name String

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    properties Property Map

    Properties of load balancer frontend ip configuration.

    LoadBalancerFrontendIpConfigurationProperties, LoadBalancerFrontendIpConfigurationPropertiesArgs

    PrivateIPAddress string

    The virtual network private IP address of the IP configuration.

    PublicIPAddress Pulumi.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 string

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    Properties Pulumi.AzureNative.Compute.Inputs.LoadBalancerFrontendIpConfigurationPropertiesResponse

    Properties of load balancer frontend ip configuration.

    Name string

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    Properties LoadBalancerFrontendIpConfigurationPropertiesResponse

    Properties of load balancer frontend ip configuration.

    name String

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    properties LoadBalancerFrontendIpConfigurationPropertiesResponse

    Properties of load balancer frontend ip configuration.

    name string

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    properties LoadBalancerFrontendIpConfigurationPropertiesResponse

    Properties of load balancer frontend ip configuration.

    name str

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    properties LoadBalancerFrontendIpConfigurationPropertiesResponse

    Properties of load balancer frontend ip configuration.

    name String

    The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.

    properties Property Map

    Properties of load balancer frontend ip configuration.

    SubResource, SubResourceArgs

    Id string

    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.

    Id string

    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.

    id String

    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.

    id string

    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.

    id str

    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.

    id String

    Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.

    SubResourceResponse, SubResourceResponseArgs

    Id string

    Resource Id

    Id string

    Resource Id

    id String

    Resource Id

    id string

    Resource Id

    id str

    Resource Id

    id String

    Resource Id

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string

    Specifies the time in UTC at which the Cloud Service (extended support) resource was created. Minimum api-version: 2022-04-04.

    LastModifiedAt string

    Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified. Minimum api-version: 2022-04-04.

    CreatedAt string

    Specifies the time in UTC at which the Cloud Service (extended support) resource was created. Minimum api-version: 2022-04-04.

    LastModifiedAt string

    Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified. Minimum api-version: 2022-04-04.

    createdAt String

    Specifies the time in UTC at which the Cloud Service (extended support) resource was created. Minimum api-version: 2022-04-04.

    lastModifiedAt String

    Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified. Minimum api-version: 2022-04-04.

    createdAt string

    Specifies the time in UTC at which the Cloud Service (extended support) resource was created. Minimum api-version: 2022-04-04.

    lastModifiedAt 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 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 str

    Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified. Minimum api-version: 2022-04-04.

    createdAt String

    Specifies the time in UTC at which the Cloud Service (extended support) resource was created. Minimum api-version: 2022-04-04.

    lastModifiedAt 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} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.10.0 published on Wednesday, Oct 4, 2023 by Pulumi