ConfigurationServiceArgs

data class ConfigurationServiceArgs(val configurationServiceName: Output<String>? = null, val properties: Output<ConfigurationServicePropertiesArgs>? = null, val resourceGroupName: Output<String>? = null, val serviceName: Output<String>? = null) : ConvertibleToJava<ConfigurationServiceArgs>

Application Configuration Service resource API Version: 2022-01-01-preview.

Example Usage

ConfigurationServices_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var configurationService = new AzureNative.AppPlatform.ConfigurationService("configurationService", new()
{
ConfigurationServiceName = "default",
Properties = new AzureNative.AppPlatform.Inputs.ConfigurationServicePropertiesArgs
{
Settings = new AzureNative.AppPlatform.Inputs.ConfigurationServiceSettingsArgs
{
GitProperty = new AzureNative.AppPlatform.Inputs.ConfigurationServiceGitPropertyArgs
{
Repositories = new[]
{
new AzureNative.AppPlatform.Inputs.ConfigurationServiceGitRepositoryArgs
{
Label = "master",
Name = "fake",
Patterns = new[]
{
"app/dev",
},
Uri = "https://github.com/fake-user/fake-repository",
},
},
},
},
},
ResourceGroupName = "myResourceGroup",
ServiceName = "myservice",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.appplatform.ConfigurationService;
import com.pulumi.azurenative.appplatform.ConfigurationServiceArgs;
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 configurationService = new ConfigurationService("configurationService", ConfigurationServiceArgs.builder()
.configurationServiceName("default")
.properties(Map.of("settings", Map.of("gitProperty", Map.of("repositories", Map.ofEntries(
Map.entry("label", "master"),
Map.entry("name", "fake"),
Map.entry("patterns", "app/dev"),
Map.entry("uri", "https://github.com/fake-user/fake-repository")
)))))
.resourceGroupName("myResourceGroup")
.serviceName("myservice")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:appplatform:ConfigurationService default /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/configurationServices/default

Constructors

Link copied to clipboard
constructor(configurationServiceName: Output<String>? = null, properties: Output<ConfigurationServicePropertiesArgs>? = null, resourceGroupName: Output<String>? = null, serviceName: Output<String>? = null)

Properties

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

The name of Application Configuration Service.

Link copied to clipboard

Application Configuration Service properties payload

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

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

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

The name of the Service resource.

Functions

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