ec.ObservabilityProject
Explore with Pulumi AI
Technical preview
This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ec from "@pulumi/ec";
const myProject = new ec.ObservabilityProject("my_project", {
name: "my_project",
regionId: "aws-us-east-1",
});
import pulumi
import pulumi_ec as ec
my_project = ec.ObservabilityProject("my_project",
name="my_project",
region_id="aws-us-east-1")
package main
import (
"github.com/pulumi/pulumi-ec/sdk/go/ec"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec.NewObservabilityProject(ctx, "my_project", &ec.ObservabilityProjectArgs{
Name: pulumi.String("my_project"),
RegionId: pulumi.String("aws-us-east-1"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ElasticCloud = Pulumi.ElasticCloud;
return await Deployment.RunAsync(() =>
{
var myProject = new ElasticCloud.ObservabilityProject("my_project", new()
{
Name = "my_project",
RegionId = "aws-us-east-1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ec.ObservabilityProject;
import com.pulumi.ec.ObservabilityProjectArgs;
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 myProject = new ObservabilityProject("myProject", ObservabilityProjectArgs.builder()
.name("my_project")
.regionId("aws-us-east-1")
.build());
}
}
resources:
myProject:
type: ec:ObservabilityProject
name: my_project
properties:
name: my_project
regionId: aws-us-east-1
Create ObservabilityProject Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObservabilityProject(name: string, args: ObservabilityProjectArgs, opts?: CustomResourceOptions);
@overload
def ObservabilityProject(resource_name: str,
args: ObservabilityProjectArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObservabilityProject(resource_name: str,
opts: Optional[ResourceOptions] = None,
region_id: Optional[str] = None,
alias: Optional[str] = None,
name: Optional[str] = None)
func NewObservabilityProject(ctx *Context, name string, args ObservabilityProjectArgs, opts ...ResourceOption) (*ObservabilityProject, error)
public ObservabilityProject(string name, ObservabilityProjectArgs args, CustomResourceOptions? opts = null)
public ObservabilityProject(String name, ObservabilityProjectArgs args)
public ObservabilityProject(String name, ObservabilityProjectArgs args, CustomResourceOptions options)
type: ec:ObservabilityProject
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 ObservabilityProjectArgs
- 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 ObservabilityProjectArgs
- 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 ObservabilityProjectArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObservabilityProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObservabilityProjectArgs
- 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 observabilityProjectResource = new ElasticCloud.ObservabilityProject("observabilityProjectResource", new()
{
RegionId = "string",
Alias = "string",
Name = "string",
});
example, err := ec.NewObservabilityProject(ctx, "observabilityProjectResource", &ec.ObservabilityProjectArgs{
RegionId: pulumi.String("string"),
Alias: pulumi.String("string"),
Name: pulumi.String("string"),
})
var observabilityProjectResource = new ObservabilityProject("observabilityProjectResource", ObservabilityProjectArgs.builder()
.regionId("string")
.alias("string")
.name("string")
.build());
observability_project_resource = ec.ObservabilityProject("observabilityProjectResource",
region_id="string",
alias="string",
name="string")
const observabilityProjectResource = new ec.ObservabilityProject("observabilityProjectResource", {
regionId: "string",
alias: "string",
name: "string",
});
type: ec:ObservabilityProject
properties:
alias: string
name: string
regionId: string
ObservabilityProject 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 ObservabilityProject resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the ObservabilityProject resource produces the following output properties:
- Cloud
Id string - The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana.
- Credentials
Pulumi.
Elastic Cloud. Outputs. Observability Project Credentials - Basic auth credentials to access the Elasticsearch API.
- Endpoints
Pulumi.
Elastic Cloud. Outputs. Observability Project Endpoints - The endpoints to access the different apps of the project.
- Id string
- The provider-assigned unique ID for this managed resource.
- Metadata
Pulumi.
Elastic Cloud. Outputs. Observability Project Metadata - Additional details about the project.
- Type string
- the type of the project
- Cloud
Id string - The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana.
- Credentials
Observability
Project Credentials - Basic auth credentials to access the Elasticsearch API.
- Endpoints
Observability
Project Endpoints - The endpoints to access the different apps of the project.
- Id string
- The provider-assigned unique ID for this managed resource.
- Metadata
Observability
Project Metadata - Additional details about the project.
- Type string
- the type of the project
- cloud
Id String - The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana.
- credentials
Observability
Project Credentials - Basic auth credentials to access the Elasticsearch API.
- endpoints
Observability
Project Endpoints - The endpoints to access the different apps of the project.
- id String
- The provider-assigned unique ID for this managed resource.
- metadata
Observability
Project Metadata - Additional details about the project.
- type String
- the type of the project
- cloud
Id string - The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana.
- credentials
Observability
Project Credentials - Basic auth credentials to access the Elasticsearch API.
- endpoints
Observability
Project Endpoints - The endpoints to access the different apps of the project.
- id string
- The provider-assigned unique ID for this managed resource.
- metadata
Observability
Project Metadata - Additional details about the project.
- type string
- the type of the project
- cloud_
id str - The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana.
- credentials
Observability
Project Credentials - Basic auth credentials to access the Elasticsearch API.
- endpoints
Observability
Project Endpoints - The endpoints to access the different apps of the project.
- id str
- The provider-assigned unique ID for this managed resource.
- metadata
Observability
Project Metadata - Additional details about the project.
- type str
- the type of the project
- cloud
Id String - The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana.
- credentials Property Map
- Basic auth credentials to access the Elasticsearch API.
- endpoints Property Map
- The endpoints to access the different apps of the project.
- id String
- The provider-assigned unique ID for this managed resource.
- metadata Property Map
- Additional details about the project.
- type String
- the type of the project
Look up Existing ObservabilityProject Resource
Get an existing ObservabilityProject 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?: ObservabilityProjectState, opts?: CustomResourceOptions): ObservabilityProject
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alias: Optional[str] = None,
cloud_id: Optional[str] = None,
credentials: Optional[ObservabilityProjectCredentialsArgs] = None,
endpoints: Optional[ObservabilityProjectEndpointsArgs] = None,
metadata: Optional[ObservabilityProjectMetadataArgs] = None,
name: Optional[str] = None,
region_id: Optional[str] = None,
type: Optional[str] = None) -> ObservabilityProject
func GetObservabilityProject(ctx *Context, name string, id IDInput, state *ObservabilityProjectState, opts ...ResourceOption) (*ObservabilityProject, error)
public static ObservabilityProject Get(string name, Input<string> id, ObservabilityProjectState? state, CustomResourceOptions? opts = null)
public static ObservabilityProject get(String name, Output<String> id, ObservabilityProjectState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Alias string
- A custom domain label compatible with RFC-1035 standards. Derived from the project name by default.
- Cloud
Id string - The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana.
- Credentials
Pulumi.
Elastic Cloud. Inputs. Observability Project Credentials - Basic auth credentials to access the Elasticsearch API.
- Endpoints
Pulumi.
Elastic Cloud. Inputs. Observability Project Endpoints - The endpoints to access the different apps of the project.
- Metadata
Pulumi.
Elastic Cloud. Inputs. Observability Project Metadata - Additional details about the project.
- Name string
- Descriptive name for a project.
- Region
Id string - Unique human-readable identifier for a region in Elastic Cloud.
- Type string
- the type of the project
- Alias string
- A custom domain label compatible with RFC-1035 standards. Derived from the project name by default.
- Cloud
Id string - The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana.
- Credentials
Observability
Project Credentials Args - Basic auth credentials to access the Elasticsearch API.
- Endpoints
Observability
Project Endpoints Args - The endpoints to access the different apps of the project.
- Metadata
Observability
Project Metadata Args - Additional details about the project.
- Name string
- Descriptive name for a project.
- Region
Id string - Unique human-readable identifier for a region in Elastic Cloud.
- Type string
- the type of the project
- alias String
- A custom domain label compatible with RFC-1035 standards. Derived from the project name by default.
- cloud
Id String - The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana.
- credentials
Observability
Project Credentials - Basic auth credentials to access the Elasticsearch API.
- endpoints
Observability
Project Endpoints - The endpoints to access the different apps of the project.
- metadata
Observability
Project Metadata - Additional details about the project.
- name String
- Descriptive name for a project.
- region
Id String - Unique human-readable identifier for a region in Elastic Cloud.
- type String
- the type of the project
- alias string
- A custom domain label compatible with RFC-1035 standards. Derived from the project name by default.
- cloud
Id string - The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana.
- credentials
Observability
Project Credentials - Basic auth credentials to access the Elasticsearch API.
- endpoints
Observability
Project Endpoints - The endpoints to access the different apps of the project.
- metadata
Observability
Project Metadata - Additional details about the project.
- name string
- Descriptive name for a project.
- region
Id string - Unique human-readable identifier for a region in Elastic Cloud.
- type string
- the type of the project
- alias str
- A custom domain label compatible with RFC-1035 standards. Derived from the project name by default.
- cloud_
id str - The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana.
- credentials
Observability
Project Credentials Args - Basic auth credentials to access the Elasticsearch API.
- endpoints
Observability
Project Endpoints Args - The endpoints to access the different apps of the project.
- metadata
Observability
Project Metadata Args - Additional details about the project.
- name str
- Descriptive name for a project.
- region_
id str - Unique human-readable identifier for a region in Elastic Cloud.
- type str
- the type of the project
- alias String
- A custom domain label compatible with RFC-1035 standards. Derived from the project name by default.
- cloud
Id String - The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana.
- credentials Property Map
- Basic auth credentials to access the Elasticsearch API.
- endpoints Property Map
- The endpoints to access the different apps of the project.
- metadata Property Map
- Additional details about the project.
- name String
- Descriptive name for a project.
- region
Id String - Unique human-readable identifier for a region in Elastic Cloud.
- type String
- the type of the project
Supporting Types
ObservabilityProjectCredentials, ObservabilityProjectCredentialsArgs
ObservabilityProjectEndpoints, ObservabilityProjectEndpointsArgs
- Apm string
- The endpoint to access apm.
- Elasticsearch string
- The endpoint to access elasticsearch.
- Kibana string
- The endpoint to access kibana.
- Apm string
- The endpoint to access apm.
- Elasticsearch string
- The endpoint to access elasticsearch.
- Kibana string
- The endpoint to access kibana.
- apm String
- The endpoint to access apm.
- elasticsearch String
- The endpoint to access elasticsearch.
- kibana String
- The endpoint to access kibana.
- apm string
- The endpoint to access apm.
- elasticsearch string
- The endpoint to access elasticsearch.
- kibana string
- The endpoint to access kibana.
- apm str
- The endpoint to access apm.
- elasticsearch str
- The endpoint to access elasticsearch.
- kibana str
- The endpoint to access kibana.
- apm String
- The endpoint to access apm.
- elasticsearch String
- The endpoint to access elasticsearch.
- kibana String
- The endpoint to access kibana.
ObservabilityProjectMetadata, ObservabilityProjectMetadataArgs
- Created
At string - Date and time when the project was created.
- Created
By string - ID of the user.
- Organization
Id string - The Organization ID who owns the project.
- Suspended
At string - Date and time when the project was suspended.
- Suspended
Reason string - Reason why the project was suspended.
- Created
At string - Date and time when the project was created.
- Created
By string - ID of the user.
- Organization
Id string - The Organization ID who owns the project.
- Suspended
At string - Date and time when the project was suspended.
- Suspended
Reason string - Reason why the project was suspended.
- created
At String - Date and time when the project was created.
- created
By String - ID of the user.
- organization
Id String - The Organization ID who owns the project.
- suspended
At String - Date and time when the project was suspended.
- suspended
Reason String - Reason why the project was suspended.
- created
At string - Date and time when the project was created.
- created
By string - ID of the user.
- organization
Id string - The Organization ID who owns the project.
- suspended
At string - Date and time when the project was suspended.
- suspended
Reason string - Reason why the project was suspended.
- created_
at str - Date and time when the project was created.
- created_
by str - ID of the user.
- organization_
id str - The Organization ID who owns the project.
- suspended_
at str - Date and time when the project was suspended.
- suspended_
reason str - Reason why the project was suspended.
- created
At String - Date and time when the project was created.
- created
By String - ID of the user.
- organization
Id String - The Organization ID who owns the project.
- suspended
At String - Date and time when the project was suspended.
- suspended
Reason String - Reason why the project was suspended.
Import
Projects can be imported using the id
, for example:
$ pulumi import ec:index/observabilityProject:ObservabilityProject id 320b7b540dfc967a7a649c18e2fce4ed
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ec pulumi/pulumi-ec
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ec
Terraform Provider.