ConfigurationService

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

Example Usage

ConfigurationServices_CreateOrUpdate

using System.Collections.Generic;
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

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the resource.

Link copied to clipboard

Application Configuration Service properties payload

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Metadata pertaining to creation and last modification of the resource.

Link copied to clipboard
val type: Output<String>

The type of the resource.

Link copied to clipboard
val urn: Output<String>