Azure Native

v1.88.1 published on Thursday, Dec 1, 2022 by Pulumi

ConfigServer

Config Server resource API Version: 2020-07-01.

Example Usage

ConfigServers_UpdatePut

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var configServer = new AzureNative.AppPlatform.ConfigServer("configServer", new()
    {
        Properties = new AzureNative.AppPlatform.Inputs.ConfigServerPropertiesArgs
        {
            ConfigServer = new AzureNative.AppPlatform.Inputs.ConfigServerSettingsArgs
            {
                GitProperty = new AzureNative.AppPlatform.Inputs.ConfigServerGitPropertyArgs
                {
                    Label = "master",
                    SearchPaths = new[]
                    {
                        "/",
                    },
                    Uri = "https://github.com/fake-user/fake-repository.git",
                },
            },
        },
        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.ConfigServer;
import com.pulumi.azurenative.appplatform.ConfigServerArgs;
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 configServer = new ConfigServer("configServer", ConfigServerArgs.builder()        
            .properties(Map.of("configServer", Map.of("gitProperty", Map.ofEntries(
                Map.entry("label", "master"),
                Map.entry("searchPaths", "/"),
                Map.entry("uri", "https://github.com/fake-user/fake-repository.git")
            ))))
            .resourceGroupName("myResourceGroup")
            .serviceName("myservice")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

config_server = azure_native.appplatform.ConfigServer("configServer",
    properties=azure_native.appplatform.ConfigServerPropertiesResponseArgs(
        config_server={
            "gitProperty": azure_native.appplatform.ConfigServerGitPropertyArgs(
                label="master",
                search_paths=["/"],
                uri="https://github.com/fake-user/fake-repository.git",
            ),
        },
    ),
    resource_group_name="myResourceGroup",
    service_name="myservice")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const configServer = new azure_native.appplatform.ConfigServer("configServer", {
    properties: {
        configServer: {
            gitProperty: {
                label: "master",
                searchPaths: ["/"],
                uri: "https://github.com/fake-user/fake-repository.git",
            },
        },
    },
    resourceGroupName: "myResourceGroup",
    serviceName: "myservice",
});
resources:
  configServer:
    type: azure-native:appplatform:ConfigServer
    properties:
      properties:
        configServer:
          gitProperty:
            label: master
            searchPaths:
              - /
            uri: https://github.com/fake-user/fake-repository.git
      resourceGroupName: myResourceGroup
      serviceName: myservice

Create ConfigServer Resource

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

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

ConfigServer 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 ConfigServer 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.

Properties Pulumi.AzureNative.AppPlatform.Inputs.ConfigServerPropertiesArgs

Properties of the Config Server resource

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.

Properties ConfigServerPropertiesArgs

Properties of the Config Server resource

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.

properties ConfigServerPropertiesArgs

Properties of the Config Server resource

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.

properties ConfigServerPropertiesArgs

Properties of the Config Server resource

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.

properties ConfigServerPropertiesArgs

Properties of the Config Server resource

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.

properties Property Map

Properties of the Config Server resource

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name 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.

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.

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.

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.

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.

type String

The type of the resource.

Supporting Types

ConfigServerGitProperty

Uri string

URI of the repository

HostKey string

Public sshKey of git repository.

HostKeyAlgorithm string

SshKey algorithm of git repository.

Label string

Label of the repository

Password string

Password of git repository basic auth.

PrivateKey string

Private sshKey algorithm of git repository.

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

Repositories of git.

SearchPaths List<string>

Searching path of the repository

StrictHostKeyChecking bool

Strict host key checking or not.

Username string

Username of git repository basic auth.

Uri string

URI of the repository

HostKey string

Public sshKey of git repository.

HostKeyAlgorithm string

SshKey algorithm of git repository.

Label string

Label of the repository

Password string

Password of git repository basic auth.

PrivateKey string

Private sshKey algorithm of git repository.

Repositories []GitPatternRepository

Repositories of git.

SearchPaths []string

Searching path of the repository

StrictHostKeyChecking bool

Strict host key checking or not.

Username string

Username of git repository basic auth.

uri String

URI of the repository

hostKey String

Public sshKey of git repository.

hostKeyAlgorithm String

SshKey algorithm of git repository.

label String

Label of the repository

password String

Password of git repository basic auth.

privateKey String

Private sshKey algorithm of git repository.

repositories List<GitPatternRepository>

Repositories of git.

searchPaths List<String>

Searching path of the repository

strictHostKeyChecking Boolean

Strict host key checking or not.

username String

Username of git repository basic auth.

uri string

URI of the repository

hostKey string

Public sshKey of git repository.

hostKeyAlgorithm string

SshKey algorithm of git repository.

label string

Label of the repository

password string

Password of git repository basic auth.

privateKey string

Private sshKey algorithm of git repository.

repositories GitPatternRepository[]

Repositories of git.

searchPaths string[]

Searching path of the repository

strictHostKeyChecking boolean

Strict host key checking or not.

username string

Username of git repository basic auth.

uri str

URI of the repository

host_key str

Public sshKey of git repository.

host_key_algorithm str

SshKey algorithm of git repository.

label str

Label of the repository

password str

Password of git repository basic auth.

private_key str

Private sshKey algorithm of git repository.

repositories Sequence[GitPatternRepository]

Repositories of git.

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.

uri String

URI of the repository

hostKey String

Public sshKey of git repository.

hostKeyAlgorithm String

SshKey algorithm of git repository.

label String

Label of the repository

password String

Password of git repository basic auth.

privateKey String

Private sshKey algorithm of git repository.

repositories List<Property Map>

Repositories of git.

searchPaths List<String>

Searching path of the repository

strictHostKeyChecking Boolean

Strict host key checking or not.

username String

Username of git repository basic auth.

ConfigServerGitPropertyResponse

Uri string

URI of the repository

HostKey string

Public sshKey of git repository.

HostKeyAlgorithm string

SshKey algorithm of git repository.

Label string

Label of the repository

Password string

Password of git repository basic auth.

PrivateKey string

Private sshKey algorithm of git repository.

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

Repositories of git.

SearchPaths List<string>

Searching path of the repository

StrictHostKeyChecking bool

Strict host key checking or not.

Username string

Username of git repository basic auth.

Uri string

URI of the repository

HostKey string

Public sshKey of git repository.

HostKeyAlgorithm string

SshKey algorithm of git repository.

Label string

Label of the repository

Password string

Password of git repository basic auth.

PrivateKey string

Private sshKey algorithm of git repository.

Repositories []GitPatternRepositoryResponse

Repositories of git.

SearchPaths []string

Searching path of the repository

StrictHostKeyChecking bool

Strict host key checking or not.

Username string

Username of git repository basic auth.

uri String

URI of the repository

hostKey String

Public sshKey of git repository.

hostKeyAlgorithm String

SshKey algorithm of git repository.

label String

Label of the repository

password String

Password of git repository basic auth.

privateKey String

Private sshKey algorithm of git repository.

repositories List<GitPatternRepositoryResponse>

Repositories of git.

searchPaths List<String>

Searching path of the repository

strictHostKeyChecking Boolean

Strict host key checking or not.

username String

Username of git repository basic auth.

uri string

URI of the repository

hostKey string

Public sshKey of git repository.

hostKeyAlgorithm string

SshKey algorithm of git repository.

label string

Label of the repository

password string

Password of git repository basic auth.

privateKey string

Private sshKey algorithm of git repository.

repositories GitPatternRepositoryResponse[]

Repositories of git.

searchPaths string[]

Searching path of the repository

strictHostKeyChecking boolean

Strict host key checking or not.

username string

Username of git repository basic auth.

uri str

URI of the repository

host_key str

Public sshKey of git repository.

host_key_algorithm str

SshKey algorithm of git repository.

label str

Label of the repository

password str

Password of git repository basic auth.

private_key str

Private sshKey algorithm of git repository.

repositories Sequence[GitPatternRepositoryResponse]

Repositories of git.

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.

uri String

URI of the repository

hostKey String

Public sshKey of git repository.

hostKeyAlgorithm String

SshKey algorithm of git repository.

label String

Label of the repository

password String

Password of git repository basic auth.

privateKey String

Private sshKey algorithm of git repository.

repositories List<Property Map>

Repositories of git.

searchPaths List<String>

Searching path of the repository

strictHostKeyChecking Boolean

Strict host key checking or not.

username String

Username of git repository basic auth.

ConfigServerProperties

ConfigServer ConfigServerSettings

Settings of config server.

Error Error

Error when apply config server settings.

configServer ConfigServerSettings

Settings of config server.

error Error

Error when apply config server settings.

configServer ConfigServerSettings

Settings of config server.

error Error

Error when apply config server settings.

config_server ConfigServerSettings

Settings of config server.

error Error

Error when apply config server settings.

configServer Property Map

Settings of config server.

error Property Map

Error when apply config server settings.

ConfigServerPropertiesResponse

ProvisioningState string

State of the config server.

ConfigServer Pulumi.AzureNative.AppPlatform.Inputs.ConfigServerSettingsResponse

Settings of config server.

Error Pulumi.AzureNative.AppPlatform.Inputs.ErrorResponse

Error when apply config server settings.

ProvisioningState string

State of the config server.

ConfigServer ConfigServerSettingsResponse

Settings of config server.

Error ErrorResponse

Error when apply config server settings.

provisioningState String

State of the config server.

configServer ConfigServerSettingsResponse

Settings of config server.

error ErrorResponse

Error when apply config server settings.

provisioningState string

State of the config server.

configServer ConfigServerSettingsResponse

Settings of config server.

error ErrorResponse

Error when apply config server settings.

provisioning_state str

State of the config server.

config_server ConfigServerSettingsResponse

Settings of config server.

error ErrorResponse

Error when apply config server settings.

provisioningState String

State of the config server.

configServer Property Map

Settings of config server.

error Property Map

Error when apply config server settings.

ConfigServerSettings

GitProperty ConfigServerGitProperty

Property of git environment.

gitProperty ConfigServerGitProperty

Property of git environment.

gitProperty ConfigServerGitProperty

Property of git environment.

git_property ConfigServerGitProperty

Property of git environment.

gitProperty Property Map

Property of git environment.

ConfigServerSettingsResponse

GitProperty ConfigServerGitPropertyResponse

Property of git environment.

gitProperty ConfigServerGitPropertyResponse

Property of git environment.

gitProperty ConfigServerGitPropertyResponse

Property of git environment.

git_property ConfigServerGitPropertyResponse

Property of git environment.

gitProperty Property Map

Property of git environment.

Error

Code string

The code of error.

Message string

The message of error.

Code string

The code of error.

Message string

The message of error.

code String

The code of error.

message String

The message of error.

code string

The code of error.

message string

The message of error.

code str

The code of error.

message str

The message of error.

code String

The code of error.

message String

The message of error.

ErrorResponse

Code string

The code of error.

Message string

The message of error.

Code string

The code of error.

Message string

The message of error.

code String

The code of error.

message String

The message of error.

code string

The code of error.

message string

The message of error.

code str

The code of error.

message str

The message of error.

code String

The code of error.

message String

The message of error.

GitPatternRepository

Name string

Name of the repository

Uri string

URI of the repository

HostKey string

Public sshKey of git repository.

HostKeyAlgorithm string

SshKey algorithm of git repository.

Label string

Label of the repository

Password string

Password of git repository basic auth.

Pattern List<string>

Collection of pattern of the repository

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.

Name string

Name of the repository

Uri string

URI of the repository

HostKey string

Public sshKey of git repository.

HostKeyAlgorithm string

SshKey algorithm of git repository.

Label string

Label of the repository

Password string

Password of git repository basic auth.

Pattern []string

Collection of pattern of the repository

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.

name String

Name of the repository

uri String

URI of the repository

hostKey String

Public sshKey of git repository.

hostKeyAlgorithm String

SshKey algorithm of git repository.

label String

Label of the repository

password String

Password of git repository basic auth.

pattern List<String>

Collection of pattern of the repository

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.

name string

Name of the repository

uri string

URI of the repository

hostKey string

Public sshKey of git repository.

hostKeyAlgorithm string

SshKey algorithm of git repository.

label string

Label of the repository

password string

Password of git repository basic auth.

pattern string[]

Collection of pattern of the repository

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.

name str

Name 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.

label str

Label of the repository

password str

Password of git repository basic auth.

pattern Sequence[str]

Collection of pattern of the repository

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.

name String

Name of the repository

uri String

URI of the repository

hostKey String

Public sshKey of git repository.

hostKeyAlgorithm String

SshKey algorithm of git repository.

label String

Label of the repository

password String

Password of git repository basic auth.

pattern List<String>

Collection of pattern of the repository

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.

GitPatternRepositoryResponse

Name string

Name of the repository

Uri string

URI of the repository

HostKey string

Public sshKey of git repository.

HostKeyAlgorithm string

SshKey algorithm of git repository.

Label string

Label of the repository

Password string

Password of git repository basic auth.

Pattern List<string>

Collection of pattern of the repository

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.

Name string

Name of the repository

Uri string

URI of the repository

HostKey string

Public sshKey of git repository.

HostKeyAlgorithm string

SshKey algorithm of git repository.

Label string

Label of the repository

Password string

Password of git repository basic auth.

Pattern []string

Collection of pattern of the repository

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.

name String

Name of the repository

uri String

URI of the repository

hostKey String

Public sshKey of git repository.

hostKeyAlgorithm String

SshKey algorithm of git repository.

label String

Label of the repository

password String

Password of git repository basic auth.

pattern List<String>

Collection of pattern of the repository

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.

name string

Name of the repository

uri string

URI of the repository

hostKey string

Public sshKey of git repository.

hostKeyAlgorithm string

SshKey algorithm of git repository.

label string

Label of the repository

password string

Password of git repository basic auth.

pattern string[]

Collection of pattern of the repository

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.

name str

Name 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.

label str

Label of the repository

password str

Password of git repository basic auth.

pattern Sequence[str]

Collection of pattern of the repository

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.

name String

Name of the repository

uri String

URI of the repository

hostKey String

Public sshKey of git repository.

hostKeyAlgorithm String

SshKey algorithm of git repository.

label String

Label of the repository

password String

Password of git repository basic auth.

pattern List<String>

Collection of pattern of the repository

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.

Import

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

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

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0