azure-native.appplatform.ConfigurationService

Explore with Pulumi AI

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",
    });

});

Coming soon!

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 pulumi
import pulumi_azure_native as azure_native

configuration_service = azure_native.appplatform.ConfigurationService("configurationService",
    configuration_service_name="default",
    properties=azure_native.appplatform.ConfigurationServicePropertiesResponseArgs(
        settings={
            "gitProperty": {
                "repositories": [azure_native.appplatform.ConfigurationServiceGitRepositoryArgs(
                    label="master",
                    name="fake",
                    patterns=["app/dev"],
                    uri="https://github.com/fake-user/fake-repository",
                )],
            },
        },
    ),
    resource_group_name="myResourceGroup",
    service_name="myservice")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const configurationService = new azure_native.appplatform.ConfigurationService("configurationService", {
    configurationServiceName: "default",
    properties: {
        settings: {
            gitProperty: {
                repositories: [{
                    label: "master",
                    name: "fake",
                    patterns: ["app/dev"],
                    uri: "https://github.com/fake-user/fake-repository",
                }],
            },
        },
    },
    resourceGroupName: "myResourceGroup",
    serviceName: "myservice",
});
resources:
  configurationService:
    type: azure-native:appplatform:ConfigurationService
    properties:
      configurationServiceName: default
      properties:
        settings:
          gitProperty:
            repositories:
              - label: master
                name: fake
                patterns:
                  - app/dev
                uri: https://github.com/fake-user/fake-repository
      resourceGroupName: myResourceGroup
      serviceName: myservice

Create ConfigurationService Resource

new ConfigurationService(name: string, args: ConfigurationServiceArgs, opts?: CustomResourceOptions);
@overload
def ConfigurationService(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         configuration_service_name: Optional[str] = None,
                         properties: Optional[ConfigurationServicePropertiesArgs] = None,
                         resource_group_name: Optional[str] = None,
                         service_name: Optional[str] = None)
@overload
def ConfigurationService(resource_name: str,
                         args: ConfigurationServiceArgs,
                         opts: Optional[ResourceOptions] = None)
func NewConfigurationService(ctx *Context, name string, args ConfigurationServiceArgs, opts ...ResourceOption) (*ConfigurationService, error)
public ConfigurationService(string name, ConfigurationServiceArgs args, CustomResourceOptions? opts = null)
public ConfigurationService(String name, ConfigurationServiceArgs args)
public ConfigurationService(String name, ConfigurationServiceArgs args, CustomResourceOptions options)
type: azure-native:appplatform:ConfigurationService
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ConfigurationServiceArgs
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 ConfigurationServiceArgs
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 ConfigurationServiceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ConfigurationServiceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ConfigurationServiceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ConfigurationService 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 ConfigurationService resource accepts the following input properties:

ResourceGroupName string

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

ServiceName string

The name of the Service resource.

ConfigurationServiceName string

The name of Application Configuration Service.

Properties Pulumi.AzureNative.AppPlatform.Inputs.ConfigurationServicePropertiesArgs

Application Configuration Service properties payload

ResourceGroupName string

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

ServiceName string

The name of the Service resource.

ConfigurationServiceName string

The name of Application Configuration Service.

Properties ConfigurationServicePropertiesArgs

Application Configuration Service properties payload

resourceGroupName String

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

serviceName String

The name of the Service resource.

configurationServiceName String

The name of Application Configuration Service.

properties ConfigurationServicePropertiesArgs

Application Configuration Service properties payload

resourceGroupName string

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

serviceName string

The name of the Service resource.

configurationServiceName string

The name of Application Configuration Service.

properties ConfigurationServicePropertiesArgs

Application Configuration Service properties payload

resource_group_name str

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

service_name str

The name of the Service resource.

configuration_service_name str

The name of Application Configuration Service.

properties ConfigurationServicePropertiesArgs

Application Configuration Service properties payload

resourceGroupName String

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

serviceName String

The name of the Service resource.

configurationServiceName String

The name of Application Configuration Service.

properties Property Map

Application Configuration Service properties payload

Outputs

All input properties are implicitly available as output properties. Additionally, the ConfigurationService resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource.

SystemData Pulumi.AzureNative.AppPlatform.Outputs.SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

Type string

The type of the resource.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource.

SystemData SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

Type string

The type of the resource.

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource.

systemData SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

type String

The type of the resource.

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the resource.

systemData SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

type string

The type of the resource.

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the resource.

system_data SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

type str

The type of the resource.

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource.

systemData Property Map

Metadata pertaining to creation and last modification of the resource.

type String

The type of the resource.

Supporting Types

ConfigurationServiceGitProperty

Repositories List<Pulumi.AzureNative.AppPlatform.Inputs.ConfigurationServiceGitRepository>

Repositories of Application Configuration Service git property.

Repositories []ConfigurationServiceGitRepository

Repositories of Application Configuration Service git property.

repositories List<ConfigurationServiceGitRepository>

Repositories of Application Configuration Service git property.

repositories ConfigurationServiceGitRepository[]

Repositories of Application Configuration Service git property.

repositories Sequence[ConfigurationServiceGitRepository]

Repositories of Application Configuration Service git property.

repositories List<Property Map>

Repositories of Application Configuration Service git property.

ConfigurationServiceGitPropertyResponse

Repositories []ConfigurationServiceGitRepositoryResponse

Repositories of Application Configuration Service git property.

repositories List<ConfigurationServiceGitRepositoryResponse>

Repositories of Application Configuration Service git property.

repositories ConfigurationServiceGitRepositoryResponse[]

Repositories of Application Configuration Service git property.

repositories Sequence[ConfigurationServiceGitRepositoryResponse]

Repositories of Application Configuration Service git property.

repositories List<Property Map>

Repositories of Application Configuration Service git property.

ConfigurationServiceGitRepository

Label string

Label of the repository

Name string

Name of the repository

Patterns List<string>

Collection of patterns of the repository

Uri string

URI of the repository

HostKey string

Public sshKey of git repository.

HostKeyAlgorithm string

SshKey algorithm of git repository.

Password string

Password of git repository basic auth.

PrivateKey string

Private sshKey algorithm of git repository.

SearchPaths List<string>

Searching path of the repository

StrictHostKeyChecking bool

Strict host key checking or not.

Username string

Username of git repository basic auth.

Label string

Label of the repository

Name string

Name of the repository

Patterns []string

Collection of patterns of the repository

Uri string

URI of the repository

HostKey string

Public sshKey of git repository.

HostKeyAlgorithm string

SshKey algorithm of git repository.

Password string

Password of git repository basic auth.

PrivateKey string

Private sshKey algorithm of git repository.

SearchPaths []string

Searching path of the repository

StrictHostKeyChecking bool

Strict host key checking or not.

Username string

Username of git repository basic auth.

label String

Label of the repository

name String

Name of the repository

patterns List<String>

Collection of patterns of the repository

uri String

URI of the repository

hostKey String

Public sshKey of git repository.

hostKeyAlgorithm String

SshKey algorithm of git repository.

password String

Password of git repository basic auth.

privateKey String

Private sshKey algorithm of git repository.

searchPaths List<String>

Searching path of the repository

strictHostKeyChecking Boolean

Strict host key checking or not.

username String

Username of git repository basic auth.

label string

Label of the repository

name string

Name of the repository

patterns string[]

Collection of patterns of the repository

uri string

URI of the repository

hostKey string

Public sshKey of git repository.

hostKeyAlgorithm string

SshKey algorithm of git repository.

password string

Password of git repository basic auth.

privateKey string

Private sshKey algorithm of git repository.

searchPaths string[]

Searching path of the repository

strictHostKeyChecking boolean

Strict host key checking or not.

username string

Username of git repository basic auth.

label str

Label of the repository

name str

Name of the repository

patterns Sequence[str]

Collection of patterns of the repository

uri str

URI of the repository

host_key str

Public sshKey of git repository.

host_key_algorithm str

SshKey algorithm of git repository.

password str

Password of git repository basic auth.

private_key str

Private sshKey algorithm of git repository.

search_paths Sequence[str]

Searching path of the repository

strict_host_key_checking bool

Strict host key checking or not.

username str

Username of git repository basic auth.

label String

Label of the repository

name String

Name of the repository

patterns List<String>

Collection of patterns of the repository

uri String

URI of the repository

hostKey String

Public sshKey of git repository.

hostKeyAlgorithm String

SshKey algorithm of git repository.

password String

Password of git repository basic auth.

privateKey String

Private sshKey algorithm of git repository.

searchPaths List<String>

Searching path of the repository

strictHostKeyChecking Boolean

Strict host key checking or not.

username String

Username of git repository basic auth.

ConfigurationServiceGitRepositoryResponse

Label string

Label of the repository

Name string

Name of the repository

Patterns List<string>

Collection of patterns of the repository

Uri string

URI of the repository

HostKey string

Public sshKey of git repository.

HostKeyAlgorithm string

SshKey algorithm of git repository.

Password string

Password of git repository basic auth.

PrivateKey string

Private sshKey algorithm of git repository.

SearchPaths List<string>

Searching path of the repository

StrictHostKeyChecking bool

Strict host key checking or not.

Username string

Username of git repository basic auth.

Label string

Label of the repository

Name string

Name of the repository

Patterns []string

Collection of patterns of the repository

Uri string

URI of the repository

HostKey string

Public sshKey of git repository.

HostKeyAlgorithm string

SshKey algorithm of git repository.

Password string

Password of git repository basic auth.

PrivateKey string

Private sshKey algorithm of git repository.

SearchPaths []string

Searching path of the repository

StrictHostKeyChecking bool

Strict host key checking or not.

Username string

Username of git repository basic auth.

label String

Label of the repository

name String

Name of the repository

patterns List<String>

Collection of patterns of the repository

uri String

URI of the repository

hostKey String

Public sshKey of git repository.

hostKeyAlgorithm String

SshKey algorithm of git repository.

password String

Password of git repository basic auth.

privateKey String

Private sshKey algorithm of git repository.

searchPaths List<String>

Searching path of the repository

strictHostKeyChecking Boolean

Strict host key checking or not.

username String

Username of git repository basic auth.

label string

Label of the repository

name string

Name of the repository

patterns string[]

Collection of patterns of the repository

uri string

URI of the repository

hostKey string

Public sshKey of git repository.

hostKeyAlgorithm string

SshKey algorithm of git repository.

password string

Password of git repository basic auth.

privateKey string

Private sshKey algorithm of git repository.

searchPaths string[]

Searching path of the repository

strictHostKeyChecking boolean

Strict host key checking or not.

username string

Username of git repository basic auth.

label str

Label of the repository

name str

Name of the repository

patterns Sequence[str]

Collection of patterns of the repository

uri str

URI of the repository

host_key str

Public sshKey of git repository.

host_key_algorithm str

SshKey algorithm of git repository.

password str

Password of git repository basic auth.

private_key str

Private sshKey algorithm of git repository.

search_paths Sequence[str]

Searching path of the repository

strict_host_key_checking bool

Strict host key checking or not.

username str

Username of git repository basic auth.

label String

Label of the repository

name String

Name of the repository

patterns List<String>

Collection of patterns of the repository

uri String

URI of the repository

hostKey String

Public sshKey of git repository.

hostKeyAlgorithm String

SshKey algorithm of git repository.

password String

Password of git repository basic auth.

privateKey String

Private sshKey algorithm of git repository.

searchPaths List<String>

Searching path of the repository

strictHostKeyChecking Boolean

Strict host key checking or not.

username String

Username of git repository basic auth.

ConfigurationServiceInstanceResponse

Name string

Name of the Application Configuration Service instance

Status string

Status of the Application Configuration Service instance

Name string

Name of the Application Configuration Service instance

Status string

Status of the Application Configuration Service instance

name String

Name of the Application Configuration Service instance

status String

Status of the Application Configuration Service instance

name string

Name of the Application Configuration Service instance

status string

Status of the Application Configuration Service instance

name str

Name of the Application Configuration Service instance

status str

Status of the Application Configuration Service instance

name String

Name of the Application Configuration Service instance

status String

Status of the Application Configuration Service instance

ConfigurationServiceProperties

Settings Pulumi.AzureNative.AppPlatform.Inputs.ConfigurationServiceSettings

The settings of Application Configuration Service.

Settings ConfigurationServiceSettings

The settings of Application Configuration Service.

settings ConfigurationServiceSettings

The settings of Application Configuration Service.

settings ConfigurationServiceSettings

The settings of Application Configuration Service.

settings ConfigurationServiceSettings

The settings of Application Configuration Service.

settings Property Map

The settings of Application Configuration Service.

ConfigurationServicePropertiesResponse

Instances List<Pulumi.AzureNative.AppPlatform.Inputs.ConfigurationServiceInstanceResponse>

Collection of instances belong to Application Configuration Service.

ProvisioningState string

State of the Application Configuration Service.

ResourceRequests Pulumi.AzureNative.AppPlatform.Inputs.ConfigurationServiceResourceRequestsResponse

The requested resource quantity for required CPU and Memory.

Settings Pulumi.AzureNative.AppPlatform.Inputs.ConfigurationServiceSettingsResponse

The settings of Application Configuration Service.

Instances []ConfigurationServiceInstanceResponse

Collection of instances belong to Application Configuration Service.

ProvisioningState string

State of the Application Configuration Service.

ResourceRequests ConfigurationServiceResourceRequestsResponse

The requested resource quantity for required CPU and Memory.

Settings ConfigurationServiceSettingsResponse

The settings of Application Configuration Service.

instances List<ConfigurationServiceInstanceResponse>

Collection of instances belong to Application Configuration Service.

provisioningState String

State of the Application Configuration Service.

resourceRequests ConfigurationServiceResourceRequestsResponse

The requested resource quantity for required CPU and Memory.

settings ConfigurationServiceSettingsResponse

The settings of Application Configuration Service.

instances ConfigurationServiceInstanceResponse[]

Collection of instances belong to Application Configuration Service.

provisioningState string

State of the Application Configuration Service.

resourceRequests ConfigurationServiceResourceRequestsResponse

The requested resource quantity for required CPU and Memory.

settings ConfigurationServiceSettingsResponse

The settings of Application Configuration Service.

instances Sequence[ConfigurationServiceInstanceResponse]

Collection of instances belong to Application Configuration Service.

provisioning_state str

State of the Application Configuration Service.

resource_requests ConfigurationServiceResourceRequestsResponse

The requested resource quantity for required CPU and Memory.

settings ConfigurationServiceSettingsResponse

The settings of Application Configuration Service.

instances List<Property Map>

Collection of instances belong to Application Configuration Service.

provisioningState String

State of the Application Configuration Service.

resourceRequests Property Map

The requested resource quantity for required CPU and Memory.

settings Property Map

The settings of Application Configuration Service.

ConfigurationServiceResourceRequestsResponse

Cpu string

Cpu allocated to each Application Configuration Service instance

InstanceCount int

Instance count of the Application Configuration Service

Memory string

Memory allocated to each Application Configuration Service instance

Cpu string

Cpu allocated to each Application Configuration Service instance

InstanceCount int

Instance count of the Application Configuration Service

Memory string

Memory allocated to each Application Configuration Service instance

cpu String

Cpu allocated to each Application Configuration Service instance

instanceCount Integer

Instance count of the Application Configuration Service

memory String

Memory allocated to each Application Configuration Service instance

cpu string

Cpu allocated to each Application Configuration Service instance

instanceCount number

Instance count of the Application Configuration Service

memory string

Memory allocated to each Application Configuration Service instance

cpu str

Cpu allocated to each Application Configuration Service instance

instance_count int

Instance count of the Application Configuration Service

memory str

Memory allocated to each Application Configuration Service instance

cpu String

Cpu allocated to each Application Configuration Service instance

instanceCount Number

Instance count of the Application Configuration Service

memory String

Memory allocated to each Application Configuration Service instance

ConfigurationServiceSettings

GitProperty ConfigurationServiceGitProperty

Property of git environment.

gitProperty ConfigurationServiceGitProperty

Property of git environment.

gitProperty ConfigurationServiceGitProperty

Property of git environment.

git_property ConfigurationServiceGitProperty

Property of git environment.

gitProperty Property Map

Property of git environment.

ConfigurationServiceSettingsResponse

gitProperty Property Map

Property of git environment.

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

The type of identity that last modified the resource.

created_at str

The timestamp of resource creation (UTC).

created_by str

The identity that created the resource.

created_by_type str

The type of identity that created the resource.

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

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 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0