ibm.AppConfigSnapshot
Explore with Pulumi AI
Provides a resource for snapshot
. This allows snapshot to be created, updated and deleted. For more information, about App Configuration snapshots, see segments.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const appConfigSnapshot = new ibm.AppConfigSnapshot("appConfigSnapshot", {
collectionId: "collection_id",
environmentId: "environment_id",
gitBranch: "git_branch",
gitConfigId: "git_config_id",
gitConfigName: "git_config_name",
gitFilePath: "git_file_path",
gitToken: "git_token",
gitUrl: "git_url",
guid: "guid",
});
import pulumi
import pulumi_ibm as ibm
app_config_snapshot = ibm.AppConfigSnapshot("appConfigSnapshot",
collection_id="collection_id",
environment_id="environment_id",
git_branch="git_branch",
git_config_id="git_config_id",
git_config_name="git_config_name",
git_file_path="git_file_path",
git_token="git_token",
git_url="git_url",
guid="guid")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewAppConfigSnapshot(ctx, "appConfigSnapshot", &ibm.AppConfigSnapshotArgs{
CollectionId: pulumi.String("collection_id"),
EnvironmentId: pulumi.String("environment_id"),
GitBranch: pulumi.String("git_branch"),
GitConfigId: pulumi.String("git_config_id"),
GitConfigName: pulumi.String("git_config_name"),
GitFilePath: pulumi.String("git_file_path"),
GitToken: pulumi.String("git_token"),
GitUrl: pulumi.String("git_url"),
Guid: pulumi.String("guid"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var appConfigSnapshot = new Ibm.AppConfigSnapshot("appConfigSnapshot", new()
{
CollectionId = "collection_id",
EnvironmentId = "environment_id",
GitBranch = "git_branch",
GitConfigId = "git_config_id",
GitConfigName = "git_config_name",
GitFilePath = "git_file_path",
GitToken = "git_token",
GitUrl = "git_url",
Guid = "guid",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.AppConfigSnapshot;
import com.pulumi.ibm.AppConfigSnapshotArgs;
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 appConfigSnapshot = new AppConfigSnapshot("appConfigSnapshot", AppConfigSnapshotArgs.builder()
.collectionId("collection_id")
.environmentId("environment_id")
.gitBranch("git_branch")
.gitConfigId("git_config_id")
.gitConfigName("git_config_name")
.gitFilePath("git_file_path")
.gitToken("git_token")
.gitUrl("git_url")
.guid("guid")
.build());
}
}
resources:
appConfigSnapshot:
type: ibm:AppConfigSnapshot
properties:
collectionId: collection_id
environmentId: environment_id
gitBranch: git_branch
gitConfigId: git_config_id
gitConfigName: git_config_name
gitFilePath: git_file_path
gitToken: git_token
gitUrl: git_url
guid: guid
Create AppConfigSnapshot Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppConfigSnapshot(name: string, args: AppConfigSnapshotArgs, opts?: CustomResourceOptions);
@overload
def AppConfigSnapshot(resource_name: str,
args: AppConfigSnapshotArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppConfigSnapshot(resource_name: str,
opts: Optional[ResourceOptions] = None,
collection_id: Optional[str] = None,
environment_id: Optional[str] = None,
git_branch: Optional[str] = None,
git_config_id: Optional[str] = None,
git_config_name: Optional[str] = None,
git_file_path: Optional[str] = None,
git_token: Optional[str] = None,
git_url: Optional[str] = None,
guid: Optional[str] = None,
action: Optional[str] = None,
app_config_snapshot_id: Optional[str] = None)
func NewAppConfigSnapshot(ctx *Context, name string, args AppConfigSnapshotArgs, opts ...ResourceOption) (*AppConfigSnapshot, error)
public AppConfigSnapshot(string name, AppConfigSnapshotArgs args, CustomResourceOptions? opts = null)
public AppConfigSnapshot(String name, AppConfigSnapshotArgs args)
public AppConfigSnapshot(String name, AppConfigSnapshotArgs args, CustomResourceOptions options)
type: ibm:AppConfigSnapshot
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AppConfigSnapshotArgs
- 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 AppConfigSnapshotArgs
- 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 AppConfigSnapshotArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppConfigSnapshotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppConfigSnapshotArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var appConfigSnapshotResource = new Ibm.AppConfigSnapshot("appConfigSnapshotResource", new()
{
CollectionId = "string",
EnvironmentId = "string",
GitBranch = "string",
GitConfigId = "string",
GitConfigName = "string",
GitFilePath = "string",
GitToken = "string",
GitUrl = "string",
Guid = "string",
Action = "string",
AppConfigSnapshotId = "string",
});
example, err := ibm.NewAppConfigSnapshot(ctx, "appConfigSnapshotResource", &ibm.AppConfigSnapshotArgs{
CollectionId: pulumi.String("string"),
EnvironmentId: pulumi.String("string"),
GitBranch: pulumi.String("string"),
GitConfigId: pulumi.String("string"),
GitConfigName: pulumi.String("string"),
GitFilePath: pulumi.String("string"),
GitToken: pulumi.String("string"),
GitUrl: pulumi.String("string"),
Guid: pulumi.String("string"),
Action: pulumi.String("string"),
AppConfigSnapshotId: pulumi.String("string"),
})
var appConfigSnapshotResource = new AppConfigSnapshot("appConfigSnapshotResource", AppConfigSnapshotArgs.builder()
.collectionId("string")
.environmentId("string")
.gitBranch("string")
.gitConfigId("string")
.gitConfigName("string")
.gitFilePath("string")
.gitToken("string")
.gitUrl("string")
.guid("string")
.action("string")
.appConfigSnapshotId("string")
.build());
app_config_snapshot_resource = ibm.AppConfigSnapshot("appConfigSnapshotResource",
collection_id="string",
environment_id="string",
git_branch="string",
git_config_id="string",
git_config_name="string",
git_file_path="string",
git_token="string",
git_url="string",
guid="string",
action="string",
app_config_snapshot_id="string")
const appConfigSnapshotResource = new ibm.AppConfigSnapshot("appConfigSnapshotResource", {
collectionId: "string",
environmentId: "string",
gitBranch: "string",
gitConfigId: "string",
gitConfigName: "string",
gitFilePath: "string",
gitToken: "string",
gitUrl: "string",
guid: "string",
action: "string",
appConfigSnapshotId: "string",
});
type: ibm:AppConfigSnapshot
properties:
action: string
appConfigSnapshotId: string
collectionId: string
environmentId: string
gitBranch: string
gitConfigId: string
gitConfigName: string
gitFilePath: string
gitToken: string
gitUrl: string
guid: string
AppConfigSnapshot Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AppConfigSnapshot resource accepts the following input properties:
- Collection
Id string - Collection ID
- Environment
Id string - Environment Id
- Git
Branch string - Branch name to which you need to write or update the configuration.
- Git
Config stringId - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only
- Git
Config stringName - Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only.
- Git
File stringPath - Git file path, this is a path where your configuration file will be written. The path must contain the file name with
json
extension. - Git
Token string - Git token, this needs to be provided with enough permission to write and update the file.
- Git
Url string - Git url which will be used to connect to the github account. The url must be formed in this format, https://api.github.com/repos/{owner}/{repo_name} for the personal git account.
- Guid string
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- Action string
- action promote
- App
Config stringSnapshot Id
- Collection
Id string - Collection ID
- Environment
Id string - Environment Id
- Git
Branch string - Branch name to which you need to write or update the configuration.
- Git
Config stringId - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only
- Git
Config stringName - Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only.
- Git
File stringPath - Git file path, this is a path where your configuration file will be written. The path must contain the file name with
json
extension. - Git
Token string - Git token, this needs to be provided with enough permission to write and update the file.
- Git
Url string - Git url which will be used to connect to the github account. The url must be formed in this format, https://api.github.com/repos/{owner}/{repo_name} for the personal git account.
- Guid string
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- Action string
- action promote
- App
Config stringSnapshot Id
- collection
Id String - Collection ID
- environment
Id String - Environment Id
- git
Branch String - Branch name to which you need to write or update the configuration.
- git
Config StringId - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only
- git
Config StringName - Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only.
- git
File StringPath - Git file path, this is a path where your configuration file will be written. The path must contain the file name with
json
extension. - git
Token String - Git token, this needs to be provided with enough permission to write and update the file.
- git
Url String - Git url which will be used to connect to the github account. The url must be formed in this format, https://api.github.com/repos/{owner}/{repo_name} for the personal git account.
- guid String
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- action String
- action promote
- app
Config StringSnapshot Id
- collection
Id string - Collection ID
- environment
Id string - Environment Id
- git
Branch string - Branch name to which you need to write or update the configuration.
- git
Config stringId - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only
- git
Config stringName - Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only.
- git
File stringPath - Git file path, this is a path where your configuration file will be written. The path must contain the file name with
json
extension. - git
Token string - Git token, this needs to be provided with enough permission to write and update the file.
- git
Url string - Git url which will be used to connect to the github account. The url must be formed in this format, https://api.github.com/repos/{owner}/{repo_name} for the personal git account.
- guid string
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- action string
- action promote
- app
Config stringSnapshot Id
- collection_
id str - Collection ID
- environment_
id str - Environment Id
- git_
branch str - Branch name to which you need to write or update the configuration.
- git_
config_ strid - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only
- git_
config_ strname - Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only.
- git_
file_ strpath - Git file path, this is a path where your configuration file will be written. The path must contain the file name with
json
extension. - git_
token str - Git token, this needs to be provided with enough permission to write and update the file.
- git_
url str - Git url which will be used to connect to the github account. The url must be formed in this format, https://api.github.com/repos/{owner}/{repo_name} for the personal git account.
- guid str
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- action str
- action promote
- app_
config_ strsnapshot_ id
- collection
Id String - Collection ID
- environment
Id String - Environment Id
- git
Branch String - Branch name to which you need to write or update the configuration.
- git
Config StringId - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only
- git
Config StringName - Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only.
- git
File StringPath - Git file path, this is a path where your configuration file will be written. The path must contain the file name with
json
extension. - git
Token String - Git token, this needs to be provided with enough permission to write and update the file.
- git
Url String - Git url which will be used to connect to the github account. The url must be formed in this format, https://api.github.com/repos/{owner}/{repo_name} for the personal git account.
- guid String
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- action String
- action promote
- app
Config StringSnapshot Id
Outputs
All input properties are implicitly available as output properties. Additionally, the AppConfigSnapshot resource produces the following output properties:
- Collections
List<App
Config Snapshot Collection> - Collection object.
- Created
Time string - (Timestamp) Creation time of the segment.
- Environments
List<App
Config Snapshot Environment> - Environment object
- Href string
- (String) Git config URL.
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
Time string - (Timestamp) Last modified time of the segment data.
- Collections
[]App
Config Snapshot Collection - Collection object.
- Created
Time string - (Timestamp) Creation time of the segment.
- Environments
[]App
Config Snapshot Environment - Environment object
- Href string
- (String) Git config URL.
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
Time string - (Timestamp) Last modified time of the segment data.
- collections
List<App
Config Snapshot Collection> - Collection object.
- created
Time String - (Timestamp) Creation time of the segment.
- environments
List<App
Config Snapshot Environment> - Environment object
- href String
- (String) Git config URL.
- id String
- The provider-assigned unique ID for this managed resource.
- updated
Time String - (Timestamp) Last modified time of the segment data.
- collections
App
Config Snapshot Collection[] - Collection object.
- created
Time string - (Timestamp) Creation time of the segment.
- environments
App
Config Snapshot Environment[] - Environment object
- href string
- (String) Git config URL.
- id string
- The provider-assigned unique ID for this managed resource.
- updated
Time string - (Timestamp) Last modified time of the segment data.
- collections
Sequence[App
Config Snapshot Collection] - Collection object.
- created_
time str - (Timestamp) Creation time of the segment.
- environments
Sequence[App
Config Snapshot Environment] - Environment object
- href str
- (String) Git config URL.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
time str - (Timestamp) Last modified time of the segment data.
- collections List<Property Map>
- Collection object.
- created
Time String - (Timestamp) Creation time of the segment.
- environments List<Property Map>
- Environment object
- href String
- (String) Git config URL.
- id String
- The provider-assigned unique ID for this managed resource.
- updated
Time String - (Timestamp) Last modified time of the segment data.
Look up Existing AppConfigSnapshot Resource
Get an existing AppConfigSnapshot resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AppConfigSnapshotState, opts?: CustomResourceOptions): AppConfigSnapshot
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
app_config_snapshot_id: Optional[str] = None,
collection_id: Optional[str] = None,
collections: Optional[Sequence[AppConfigSnapshotCollectionArgs]] = None,
created_time: Optional[str] = None,
environment_id: Optional[str] = None,
environments: Optional[Sequence[AppConfigSnapshotEnvironmentArgs]] = None,
git_branch: Optional[str] = None,
git_config_id: Optional[str] = None,
git_config_name: Optional[str] = None,
git_file_path: Optional[str] = None,
git_token: Optional[str] = None,
git_url: Optional[str] = None,
guid: Optional[str] = None,
href: Optional[str] = None,
updated_time: Optional[str] = None) -> AppConfigSnapshot
func GetAppConfigSnapshot(ctx *Context, name string, id IDInput, state *AppConfigSnapshotState, opts ...ResourceOption) (*AppConfigSnapshot, error)
public static AppConfigSnapshot Get(string name, Input<string> id, AppConfigSnapshotState? state, CustomResourceOptions? opts = null)
public static AppConfigSnapshot get(String name, Output<String> id, AppConfigSnapshotState state, CustomResourceOptions options)
resources: _: type: ibm:AppConfigSnapshot get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Action string
- action promote
- App
Config stringSnapshot Id - Collection
Id string - Collection ID
- Collections
List<App
Config Snapshot Collection> - Collection object.
- Created
Time string - (Timestamp) Creation time of the segment.
- Environment
Id string - Environment Id
- Environments
List<App
Config Snapshot Environment> - Environment object
- Git
Branch string - Branch name to which you need to write or update the configuration.
- Git
Config stringId - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only
- Git
Config stringName - Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only.
- Git
File stringPath - Git file path, this is a path where your configuration file will be written. The path must contain the file name with
json
extension. - Git
Token string - Git token, this needs to be provided with enough permission to write and update the file.
- Git
Url string - Git url which will be used to connect to the github account. The url must be formed in this format, https://api.github.com/repos/{owner}/{repo_name} for the personal git account.
- Guid string
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- Href string
- (String) Git config URL.
- Updated
Time string - (Timestamp) Last modified time of the segment data.
- Action string
- action promote
- App
Config stringSnapshot Id - Collection
Id string - Collection ID
- Collections
[]App
Config Snapshot Collection Args - Collection object.
- Created
Time string - (Timestamp) Creation time of the segment.
- Environment
Id string - Environment Id
- Environments
[]App
Config Snapshot Environment Args - Environment object
- Git
Branch string - Branch name to which you need to write or update the configuration.
- Git
Config stringId - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only
- Git
Config stringName - Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only.
- Git
File stringPath - Git file path, this is a path where your configuration file will be written. The path must contain the file name with
json
extension. - Git
Token string - Git token, this needs to be provided with enough permission to write and update the file.
- Git
Url string - Git url which will be used to connect to the github account. The url must be formed in this format, https://api.github.com/repos/{owner}/{repo_name} for the personal git account.
- Guid string
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- Href string
- (String) Git config URL.
- Updated
Time string - (Timestamp) Last modified time of the segment data.
- action String
- action promote
- app
Config StringSnapshot Id - collection
Id String - Collection ID
- collections
List<App
Config Snapshot Collection> - Collection object.
- created
Time String - (Timestamp) Creation time of the segment.
- environment
Id String - Environment Id
- environments
List<App
Config Snapshot Environment> - Environment object
- git
Branch String - Branch name to which you need to write or update the configuration.
- git
Config StringId - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only
- git
Config StringName - Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only.
- git
File StringPath - Git file path, this is a path where your configuration file will be written. The path must contain the file name with
json
extension. - git
Token String - Git token, this needs to be provided with enough permission to write and update the file.
- git
Url String - Git url which will be used to connect to the github account. The url must be formed in this format, https://api.github.com/repos/{owner}/{repo_name} for the personal git account.
- guid String
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- href String
- (String) Git config URL.
- updated
Time String - (Timestamp) Last modified time of the segment data.
- action string
- action promote
- app
Config stringSnapshot Id - collection
Id string - Collection ID
- collections
App
Config Snapshot Collection[] - Collection object.
- created
Time string - (Timestamp) Creation time of the segment.
- environment
Id string - Environment Id
- environments
App
Config Snapshot Environment[] - Environment object
- git
Branch string - Branch name to which you need to write or update the configuration.
- git
Config stringId - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only
- git
Config stringName - Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only.
- git
File stringPath - Git file path, this is a path where your configuration file will be written. The path must contain the file name with
json
extension. - git
Token string - Git token, this needs to be provided with enough permission to write and update the file.
- git
Url string - Git url which will be used to connect to the github account. The url must be formed in this format, https://api.github.com/repos/{owner}/{repo_name} for the personal git account.
- guid string
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- href string
- (String) Git config URL.
- updated
Time string - (Timestamp) Last modified time of the segment data.
- action str
- action promote
- app_
config_ strsnapshot_ id - collection_
id str - Collection ID
- collections
Sequence[App
Config Snapshot Collection Args] - Collection object.
- created_
time str - (Timestamp) Creation time of the segment.
- environment_
id str - Environment Id
- environments
Sequence[App
Config Snapshot Environment Args] - Environment object
- git_
branch str - Branch name to which you need to write or update the configuration.
- git_
config_ strid - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only
- git_
config_ strname - Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only.
- git_
file_ strpath - Git file path, this is a path where your configuration file will be written. The path must contain the file name with
json
extension. - git_
token str - Git token, this needs to be provided with enough permission to write and update the file.
- git_
url str - Git url which will be used to connect to the github account. The url must be formed in this format, https://api.github.com/repos/{owner}/{repo_name} for the personal git account.
- guid str
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- href str
- (String) Git config URL.
- updated_
time str - (Timestamp) Last modified time of the segment data.
- action String
- action promote
- app
Config StringSnapshot Id - collection
Id String - Collection ID
- collections List<Property Map>
- Collection object.
- created
Time String - (Timestamp) Creation time of the segment.
- environment
Id String - Environment Id
- environments List<Property Map>
- Environment object
- git
Branch String - Branch name to which you need to write or update the configuration.
- git
Config StringId - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only
- git
Config StringName - Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only.
- git
File StringPath - Git file path, this is a path where your configuration file will be written. The path must contain the file name with
json
extension. - git
Token String - Git token, this needs to be provided with enough permission to write and update the file.
- git
Url String - Git url which will be used to connect to the github account. The url must be formed in this format, https://api.github.com/repos/{owner}/{repo_name} for the personal git account.
- guid String
- The GUID of the App Configuration service. Fetch GUID from the service instance credentials section of the dashboard.
- href String
- (String) Git config URL.
- updated
Time String - (Timestamp) Last modified time of the segment data.
Supporting Types
AppConfigSnapshotCollection, AppConfigSnapshotCollectionArgs
- Collection
Id string - Collection ID
- Collection
Name string
- Collection
Id string - Collection ID
- Collection
Name string
- collection
Id String - Collection ID
- collection
Name String
- collection
Id string - Collection ID
- collection
Name string
- collection_
id str - Collection ID
- collection_
name str
- collection
Id String - Collection ID
- collection
Name String
AppConfigSnapshotEnvironment, AppConfigSnapshotEnvironmentArgs
- Color
Code string - Environment
Id string - Environment Id
- Environment
Name string
- Color
Code string - Environment
Id string - Environment Id
- Environment
Name string
- color
Code String - environment
Id String - Environment Id
- environment
Name String
- color
Code string - environment
Id string - Environment Id
- environment
Name string
- color_
code str - environment_
id str - Environment Id
- environment_
name str
- color
Code String - environment
Id String - Environment Id
- environment
Name String
Import
The ibm_app_config_snapshot
resource can be imported by using guid
of the App Configuration instance and git_config_id
. Get the guid
from the service instance credentials section of the dashboard.
Syntax
$ pulumi import ibm:index/appConfigSnapshot:AppConfigSnapshot sample <guid/git_config_id>
Example
$ pulumi import ibm:index/appConfigSnapshot:AppConfigSnapshot app_config_snapshot 272111153-c118-4116-8116-b811fbc31132/sample
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.