azure-native.appplatform.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:
- Resource
Group stringName 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 string The name of the Service resource.
- Properties
Pulumi.
Azure Native. App Platform. Inputs. Config Server Properties Args Properties of the Config Server resource
- Resource
Group stringName 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 string The name of the Service resource.
- Properties
Config
Server Properties Args Properties of the Config Server resource
- resource
Group StringName 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 String The name of the Service resource.
- properties
Config
Server Properties Args Properties of the Config Server resource
- resource
Group stringName 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 string The name of the Service resource.
- properties
Config
Server Properties Args Properties of the Config Server resource
- resource_
group_ strname 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
Config
Server Properties Args Properties of the Config Server resource
- resource
Group StringName 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 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:
Supporting Types
ConfigServerGitProperty
- Uri string
URI of the repository
- Host
Key string Public sshKey of git repository.
- Host
Key stringAlgorithm SshKey algorithm of git repository.
- Label string
Label of the repository
- Password string
Password of git repository basic auth.
- Private
Key string Private sshKey algorithm of git repository.
- Repositories
List<Pulumi.
Azure Native. App Platform. Inputs. Git Pattern Repository> Repositories of git.
- Search
Paths List<string> Searching path of the repository
- Strict
Host boolKey Checking Strict host key checking or not.
- Username string
Username of git repository basic auth.
- Uri string
URI of the repository
- Host
Key string Public sshKey of git repository.
- Host
Key stringAlgorithm SshKey algorithm of git repository.
- Label string
Label of the repository
- Password string
Password of git repository basic auth.
- Private
Key string Private sshKey algorithm of git repository.
- Repositories
[]Git
Pattern Repository Repositories of git.
- Search
Paths []string Searching path of the repository
- Strict
Host boolKey Checking Strict host key checking or not.
- Username string
Username of git repository basic auth.
- uri String
URI of the repository
- host
Key String Public sshKey of git repository.
- host
Key StringAlgorithm SshKey algorithm of git repository.
- label String
Label of the repository
- password String
Password of git repository basic auth.
- private
Key String Private sshKey algorithm of git repository.
- repositories
List<Git
Pattern Repository> Repositories of git.
- search
Paths List<String> Searching path of the repository
- strict
Host BooleanKey Checking Strict host key checking or not.
- username String
Username of git repository basic auth.
- uri string
URI of the repository
- host
Key string Public sshKey of git repository.
- host
Key stringAlgorithm SshKey algorithm of git repository.
- label string
Label of the repository
- password string
Password of git repository basic auth.
- private
Key string Private sshKey algorithm of git repository.
- repositories
Git
Pattern Repository[] Repositories of git.
- search
Paths string[] Searching path of the repository
- strict
Host booleanKey Checking 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_ stralgorithm 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[Git
Pattern Repository] Repositories of git.
- search_
paths Sequence[str] Searching path of the repository
- strict_
host_ boolkey_ checking Strict host key checking or not.
- username str
Username of git repository basic auth.
- uri String
URI of the repository
- host
Key String Public sshKey of git repository.
- host
Key StringAlgorithm SshKey algorithm of git repository.
- label String
Label of the repository
- password String
Password of git repository basic auth.
- private
Key String Private sshKey algorithm of git repository.
- repositories List<Property Map>
Repositories of git.
- search
Paths List<String> Searching path of the repository
- strict
Host BooleanKey Checking Strict host key checking or not.
- username String
Username of git repository basic auth.
ConfigServerGitPropertyResponse
- Uri string
URI of the repository
- Host
Key string Public sshKey of git repository.
- Host
Key stringAlgorithm SshKey algorithm of git repository.
- Label string
Label of the repository
- Password string
Password of git repository basic auth.
- Private
Key string Private sshKey algorithm of git repository.
- Repositories
List<Pulumi.
Azure Native. App Platform. Inputs. Git Pattern Repository Response> Repositories of git.
- Search
Paths List<string> Searching path of the repository
- Strict
Host boolKey Checking Strict host key checking or not.
- Username string
Username of git repository basic auth.
- Uri string
URI of the repository
- Host
Key string Public sshKey of git repository.
- Host
Key stringAlgorithm SshKey algorithm of git repository.
- Label string
Label of the repository
- Password string
Password of git repository basic auth.
- Private
Key string Private sshKey algorithm of git repository.
- Repositories
[]Git
Pattern Repository Response Repositories of git.
- Search
Paths []string Searching path of the repository
- Strict
Host boolKey Checking Strict host key checking or not.
- Username string
Username of git repository basic auth.
- uri String
URI of the repository
- host
Key String Public sshKey of git repository.
- host
Key StringAlgorithm SshKey algorithm of git repository.
- label String
Label of the repository
- password String
Password of git repository basic auth.
- private
Key String Private sshKey algorithm of git repository.
- repositories
List<Git
Pattern Repository Response> Repositories of git.
- search
Paths List<String> Searching path of the repository
- strict
Host BooleanKey Checking Strict host key checking or not.
- username String
Username of git repository basic auth.
- uri string
URI of the repository
- host
Key string Public sshKey of git repository.
- host
Key stringAlgorithm SshKey algorithm of git repository.
- label string
Label of the repository
- password string
Password of git repository basic auth.
- private
Key string Private sshKey algorithm of git repository.
- repositories
Git
Pattern Repository Response[] Repositories of git.
- search
Paths string[] Searching path of the repository
- strict
Host booleanKey Checking 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_ stralgorithm 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[Git
Pattern Repository Response] Repositories of git.
- search_
paths Sequence[str] Searching path of the repository
- strict_
host_ boolkey_ checking Strict host key checking or not.
- username str
Username of git repository basic auth.
- uri String
URI of the repository
- host
Key String Public sshKey of git repository.
- host
Key StringAlgorithm SshKey algorithm of git repository.
- label String
Label of the repository
- password String
Password of git repository basic auth.
- private
Key String Private sshKey algorithm of git repository.
- repositories List<Property Map>
Repositories of git.
- search
Paths List<String> Searching path of the repository
- strict
Host BooleanKey Checking Strict host key checking or not.
- username String
Username of git repository basic auth.
ConfigServerProperties
- Config
Server Pulumi.Azure Native. App Platform. Inputs. Config Server Settings Settings of config server.
- Error
Pulumi.
Azure Native. App Platform. Inputs. Error Error when apply config server settings.
- Config
Server ConfigServer Settings Settings of config server.
- Error Error
Error when apply config server settings.
- config
Server ConfigServer Settings Settings of config server.
- error Error
Error when apply config server settings.
- config
Server ConfigServer Settings Settings of config server.
- error Error
Error when apply config server settings.
- config_
server ConfigServer Settings Settings of config server.
- error Error
Error when apply config server settings.
- config
Server Property Map Settings of config server.
- error Property Map
Error when apply config server settings.
ConfigServerPropertiesResponse
- Provisioning
State string State of the config server.
- Config
Server Pulumi.Azure Native. App Platform. Inputs. Config Server Settings Response Settings of config server.
- Error
Pulumi.
Azure Native. App Platform. Inputs. Error Response Error when apply config server settings.
- Provisioning
State string State of the config server.
- Config
Server ConfigServer Settings Response Settings of config server.
- Error
Error
Response Error when apply config server settings.
- provisioning
State String State of the config server.
- config
Server ConfigServer Settings Response Settings of config server.
- error
Error
Response Error when apply config server settings.
- provisioning
State string State of the config server.
- config
Server ConfigServer Settings Response Settings of config server.
- error
Error
Response Error when apply config server settings.
- provisioning_
state str State of the config server.
- config_
server ConfigServer Settings Response Settings of config server.
- error
Error
Response Error when apply config server settings.
- provisioning
State String State of the config server.
- config
Server Property Map Settings of config server.
- error Property Map
Error when apply config server settings.
ConfigServerSettings
- Git
Property Pulumi.Azure Native. App Platform. Inputs. Config Server Git Property Property of git environment.
- Git
Property ConfigServer Git Property Property of git environment.
- git
Property ConfigServer Git Property Property of git environment.
- git
Property ConfigServer Git Property Property of git environment.
- git_
property ConfigServer Git Property Property of git environment.
- git
Property Property Map Property of git environment.
ConfigServerSettingsResponse
- Git
Property Pulumi.Azure Native. App Platform. Inputs. Config Server Git Property Response Property of git environment.
- Git
Property ConfigServer Git Property Response Property of git environment.
- git
Property ConfigServer Git Property Response Property of git environment.
- git
Property ConfigServer Git Property Response Property of git environment.
- git_
property ConfigServer Git Property Response Property of git environment.
- git
Property Property Map Property of git environment.
Error
ErrorResponse
GitPatternRepository
- Name string
Name of the repository
- Uri string
URI of the repository
- Host
Key string Public sshKey of git repository.
- Host
Key stringAlgorithm 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
- Private
Key string Private sshKey algorithm of git repository.
- Search
Paths List<string> Searching path of the repository
- Strict
Host boolKey Checking 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
- Host
Key string Public sshKey of git repository.
- Host
Key stringAlgorithm 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
- Private
Key string Private sshKey algorithm of git repository.
- Search
Paths []string Searching path of the repository
- Strict
Host boolKey Checking 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
- host
Key String Public sshKey of git repository.
- host
Key StringAlgorithm 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
- private
Key String Private sshKey algorithm of git repository.
- search
Paths List<String> Searching path of the repository
- strict
Host BooleanKey Checking 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
- host
Key string Public sshKey of git repository.
- host
Key stringAlgorithm 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
- private
Key string Private sshKey algorithm of git repository.
- search
Paths string[] Searching path of the repository
- strict
Host booleanKey Checking 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_ stralgorithm 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_ boolkey_ checking 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
- host
Key String Public sshKey of git repository.
- host
Key StringAlgorithm 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
- private
Key String Private sshKey algorithm of git repository.
- search
Paths List<String> Searching path of the repository
- strict
Host BooleanKey Checking 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
- Host
Key string Public sshKey of git repository.
- Host
Key stringAlgorithm 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
- Private
Key string Private sshKey algorithm of git repository.
- Search
Paths List<string> Searching path of the repository
- Strict
Host boolKey Checking 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
- Host
Key string Public sshKey of git repository.
- Host
Key stringAlgorithm 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
- Private
Key string Private sshKey algorithm of git repository.
- Search
Paths []string Searching path of the repository
- Strict
Host boolKey Checking 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
- host
Key String Public sshKey of git repository.
- host
Key StringAlgorithm 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
- private
Key String Private sshKey algorithm of git repository.
- search
Paths List<String> Searching path of the repository
- strict
Host BooleanKey Checking 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
- host
Key string Public sshKey of git repository.
- host
Key stringAlgorithm 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
- private
Key string Private sshKey algorithm of git repository.
- search
Paths string[] Searching path of the repository
- strict
Host booleanKey Checking 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_ stralgorithm 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_ boolkey_ checking 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
- host
Key String Public sshKey of git repository.
- host
Key StringAlgorithm 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
- private
Key String Private sshKey algorithm of git repository.
- search
Paths List<String> Searching path of the repository
- strict
Host BooleanKey Checking 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
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0