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