SpringCloudServiceArgs

data class SpringCloudServiceArgs(val buildAgentPoolSize: Output<String>? = null, val configServerGitSetting: Output<SpringCloudServiceConfigServerGitSettingArgs>? = null, val containerRegistries: Output<List<SpringCloudServiceContainerRegistryArgs>>? = null, val defaultBuildService: Output<SpringCloudServiceDefaultBuildServiceArgs>? = null, val location: Output<String>? = null, val logStreamPublicEndpointEnabled: Output<Boolean>? = null, val marketplace: Output<SpringCloudServiceMarketplaceArgs>? = null, val name: Output<String>? = null, val network: Output<SpringCloudServiceNetworkArgs>? = null, val resourceGroupName: Output<String>? = null, val serviceRegistryEnabled: Output<Boolean>? = null, val skuName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val trace: Output<SpringCloudServiceTraceArgs>? = null, val zoneRedundant: Output<Boolean>? = null) : ConvertibleToJava<SpringCloudServiceArgs>

Manages an Azure Spring Cloud Service.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.appinsights.Insights;
import com.pulumi.azure.appinsights.InsightsArgs;
import com.pulumi.azure.appplatform.SpringCloudService;
import com.pulumi.azure.appplatform.SpringCloudServiceArgs;
import com.pulumi.azure.appplatform.inputs.SpringCloudServiceConfigServerGitSettingArgs;
import com.pulumi.azure.appplatform.inputs.SpringCloudServiceTraceArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleInsights = new Insights("exampleInsights", InsightsArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.applicationType("web")
.build());
var exampleSpringCloudService = new SpringCloudService("exampleSpringCloudService", SpringCloudServiceArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.skuName("S0")
.configServerGitSetting(SpringCloudServiceConfigServerGitSettingArgs.builder()
.uri("https://github.com/Azure-Samples/piggymetrics")
.label("config")
.searchPaths(
"dir1",
"dir2")
.build())
.trace(SpringCloudServiceTraceArgs.builder()
.connectionString(exampleInsights.connectionString())
.sampleRate(10)
.build())
.tags(Map.of("Env", "staging"))
.build());
}
}

Import

Spring Cloud services can be imported using the resource id, e.g.

$ pulumi import azure:appplatform/springCloudService:SpringCloudService example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AppPlatform/spring/spring1

Constructors

Link copied to clipboard
fun SpringCloudServiceArgs(buildAgentPoolSize: Output<String>? = null, configServerGitSetting: Output<SpringCloudServiceConfigServerGitSettingArgs>? = null, containerRegistries: Output<List<SpringCloudServiceContainerRegistryArgs>>? = null, defaultBuildService: Output<SpringCloudServiceDefaultBuildServiceArgs>? = null, location: Output<String>? = null, logStreamPublicEndpointEnabled: Output<Boolean>? = null, marketplace: Output<SpringCloudServiceMarketplaceArgs>? = null, name: Output<String>? = null, network: Output<SpringCloudServiceNetworkArgs>? = null, resourceGroupName: Output<String>? = null, serviceRegistryEnabled: Output<Boolean>? = null, skuName: Output<String>? = null, tags: Output<Map<String, String>>? = null, trace: Output<SpringCloudServiceTraceArgs>? = null, zoneRedundant: Output<Boolean>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SpringCloudServiceArgs

Properties

Link copied to clipboard
val buildAgentPoolSize: Output<String>? = null

Specifies the size for this Spring Cloud Service's default build agent pool. Possible values are S1, S2, S3, S4 and S5. This field is applicable only for Spring Cloud Service with enterprise tier.

Link copied to clipboard

A config_server_git_setting block as defined below. This field is applicable only for Spring Cloud Service with basic and standard tier.

Link copied to clipboard

One or more container_registry block as defined below. This field is applicable only for Spring Cloud Service with enterprise tier.

Link copied to clipboard

A default_build_service block as defined below. This field is applicable only for Spring Cloud Service with enterprise tier.

Link copied to clipboard
val location: Output<String>? = null

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Link copied to clipboard

Should the log stream in vnet injection instance could be accessed from Internet?

Link copied to clipboard

A marketplace block as defined below. Can only be specified when sku is set to E0.

Link copied to clipboard
val name: Output<String>? = null

Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.

Link copied to clipboard

A network block as defined below. Changing this forces a new resource to be created.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

Specifies The name of the resource group in which to create the Spring Cloud Service. Changing this forces a new resource to be created.

Link copied to clipboard
val serviceRegistryEnabled: Output<Boolean>? = null

Whether enable the default Service Registry. This field is applicable only for Spring Cloud Service with enterprise tier.

Link copied to clipboard
val skuName: Output<String>? = null

Specifies the SKU Name for this Spring Cloud Service. Possible values are B0, S0 and E0. Defaults to S0. Changing this forces a new resource to be created.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags to assign to the resource.

Link copied to clipboard
val trace: Output<SpringCloudServiceTraceArgs>? = null

A trace block as defined below.

Link copied to clipboard
val zoneRedundant: Output<Boolean>? = null

Whether zone redundancy is enabled for this Spring Cloud Service. Defaults to false.