grafana.cloud.ProductActivationAppO11yConfigV1Alpha1
Manages Grafana Application Observability configurations using the Grafana APIs.
This resource allows you to enable or disable application observability features.
Note: This is a singleton resource. The UID is automatically set to “global” and there can only be one per namespace.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
example:
type: grafana:cloud:ProductActivationAppO11yConfigV1Alpha1
properties:
metadata:
- uid: global
spec:
- enabled: true
Create ProductActivationAppO11yConfigV1Alpha1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProductActivationAppO11yConfigV1Alpha1(name: string, args?: ProductActivationAppO11yConfigV1Alpha1Args, opts?: CustomResourceOptions);
@overload
def ProductActivationAppO11yConfigV1Alpha1(resource_name: str,
args: Optional[ProductActivationAppO11yConfigV1Alpha1Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ProductActivationAppO11yConfigV1Alpha1(resource_name: str,
opts: Optional[ResourceOptions] = None,
metadata: Optional[ProductActivationAppO11yConfigV1Alpha1MetadataArgs] = None,
options: Optional[ProductActivationAppO11yConfigV1Alpha1OptionsArgs] = None,
spec: Optional[ProductActivationAppO11yConfigV1Alpha1SpecArgs] = None)
func NewProductActivationAppO11yConfigV1Alpha1(ctx *Context, name string, args *ProductActivationAppO11yConfigV1Alpha1Args, opts ...ResourceOption) (*ProductActivationAppO11yConfigV1Alpha1, error)
public ProductActivationAppO11yConfigV1Alpha1(string name, ProductActivationAppO11yConfigV1Alpha1Args? args = null, CustomResourceOptions? opts = null)
public ProductActivationAppO11yConfigV1Alpha1(String name, ProductActivationAppO11yConfigV1Alpha1Args args)
public ProductActivationAppO11yConfigV1Alpha1(String name, ProductActivationAppO11yConfigV1Alpha1Args args, CustomResourceOptions options)
type: grafana:cloud:ProductActivationAppO11yConfigV1Alpha1
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 ProductActivationAppO11yConfigV1Alpha1Args
- 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 ProductActivationAppO11yConfigV1Alpha1Args
- 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 ProductActivationAppO11yConfigV1Alpha1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProductActivationAppO11yConfigV1Alpha1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProductActivationAppO11yConfigV1Alpha1Args
- 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 productActivationAppO11yConfigV1Alpha1Resource = new Grafana.Cloud.ProductActivationAppO11yConfigV1Alpha1("productActivationAppO11yConfigV1Alpha1Resource", new()
{
Metadata = new Grafana.Cloud.Inputs.ProductActivationAppO11yConfigV1Alpha1MetadataArgs
{
Uid = "string",
Annotations =
{
{ "string", "string" },
},
FolderUid = "string",
Url = "string",
Uuid = "string",
Version = "string",
},
Options = new Grafana.Cloud.Inputs.ProductActivationAppO11yConfigV1Alpha1OptionsArgs
{
Overwrite = false,
},
Spec = new Grafana.Cloud.Inputs.ProductActivationAppO11yConfigV1Alpha1SpecArgs
{
Enabled = false,
},
});
example, err := cloud.NewProductActivationAppO11yConfigV1Alpha1(ctx, "productActivationAppO11yConfigV1Alpha1Resource", &cloud.ProductActivationAppO11yConfigV1Alpha1Args{
Metadata: &cloud.ProductActivationAppO11yConfigV1Alpha1MetadataArgs{
Uid: pulumi.String("string"),
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
FolderUid: pulumi.String("string"),
Url: pulumi.String("string"),
Uuid: pulumi.String("string"),
Version: pulumi.String("string"),
},
Options: &cloud.ProductActivationAppO11yConfigV1Alpha1OptionsArgs{
Overwrite: pulumi.Bool(false),
},
Spec: &cloud.ProductActivationAppO11yConfigV1Alpha1SpecArgs{
Enabled: pulumi.Bool(false),
},
})
var productActivationAppO11yConfigV1Alpha1Resource = new ProductActivationAppO11yConfigV1Alpha1("productActivationAppO11yConfigV1Alpha1Resource", ProductActivationAppO11yConfigV1Alpha1Args.builder()
.metadata(ProductActivationAppO11yConfigV1Alpha1MetadataArgs.builder()
.uid("string")
.annotations(Map.of("string", "string"))
.folderUid("string")
.url("string")
.uuid("string")
.version("string")
.build())
.options(ProductActivationAppO11yConfigV1Alpha1OptionsArgs.builder()
.overwrite(false)
.build())
.spec(ProductActivationAppO11yConfigV1Alpha1SpecArgs.builder()
.enabled(false)
.build())
.build());
product_activation_app_o11y_config_v1_alpha1_resource = grafana.cloud.ProductActivationAppO11yConfigV1Alpha1("productActivationAppO11yConfigV1Alpha1Resource",
metadata={
"uid": "string",
"annotations": {
"string": "string",
},
"folder_uid": "string",
"url": "string",
"uuid": "string",
"version": "string",
},
options={
"overwrite": False,
},
spec={
"enabled": False,
})
const productActivationAppO11yConfigV1Alpha1Resource = new grafana.cloud.ProductActivationAppO11yConfigV1Alpha1("productActivationAppO11yConfigV1Alpha1Resource", {
metadata: {
uid: "string",
annotations: {
string: "string",
},
folderUid: "string",
url: "string",
uuid: "string",
version: "string",
},
options: {
overwrite: false,
},
spec: {
enabled: false,
},
});
type: grafana:cloud:ProductActivationAppO11yConfigV1Alpha1
properties:
metadata:
annotations:
string: string
folderUid: string
uid: string
url: string
uuid: string
version: string
options:
overwrite: false
spec:
enabled: false
ProductActivationAppO11yConfigV1Alpha1 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 ProductActivationAppO11yConfigV1Alpha1 resource accepts the following input properties:
- Metadata
Pulumiverse.
Grafana. Cloud. Inputs. Product Activation App O11y Config V1Alpha1Metadata - The metadata of the resource.
- Options
Pulumiverse.
Grafana. Cloud. Inputs. Product Activation App O11y Config V1Alpha1Options - Options for applying the resource.
- Spec
Pulumiverse.
Grafana. Cloud. Inputs. Product Activation App O11y Config V1Alpha1Spec - The spec of the resource.
- Metadata
Product
Activation App O11y Config V1Alpha1Metadata Args - The metadata of the resource.
- Options
Product
Activation App O11y Config V1Alpha1Options Args - Options for applying the resource.
- Spec
Product
Activation App O11y Config V1Alpha1Spec Args - The spec of the resource.
- metadata
Product
Activation App O11y Config V1Alpha1Metadata - The metadata of the resource.
- options
Product
Activation App O11y Config V1Alpha1Options - Options for applying the resource.
- spec
Product
Activation App O11y Config V1Alpha1Spec - The spec of the resource.
- metadata
Product
Activation App O11y Config V1Alpha1Metadata - The metadata of the resource.
- options
Product
Activation App O11y Config V1Alpha1Options - Options for applying the resource.
- spec
Product
Activation App O11y Config V1Alpha1Spec - The spec of the resource.
- metadata
Product
Activation App O11y Config V1Alpha1Metadata Args - The metadata of the resource.
- options
Product
Activation App O11y Config V1Alpha1Options Args - Options for applying the resource.
- spec
Product
Activation App O11y Config V1Alpha1Spec Args - The spec of the resource.
- metadata Property Map
- The metadata of the resource.
- options Property Map
- Options for applying the resource.
- spec Property Map
- The spec of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ProductActivationAppO11yConfigV1Alpha1 resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ProductActivationAppO11yConfigV1Alpha1 Resource
Get an existing ProductActivationAppO11yConfigV1Alpha1 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?: ProductActivationAppO11yConfigV1Alpha1State, opts?: CustomResourceOptions): ProductActivationAppO11yConfigV1Alpha1
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
metadata: Optional[ProductActivationAppO11yConfigV1Alpha1MetadataArgs] = None,
options: Optional[ProductActivationAppO11yConfigV1Alpha1OptionsArgs] = None,
spec: Optional[ProductActivationAppO11yConfigV1Alpha1SpecArgs] = None) -> ProductActivationAppO11yConfigV1Alpha1
func GetProductActivationAppO11yConfigV1Alpha1(ctx *Context, name string, id IDInput, state *ProductActivationAppO11yConfigV1Alpha1State, opts ...ResourceOption) (*ProductActivationAppO11yConfigV1Alpha1, error)
public static ProductActivationAppO11yConfigV1Alpha1 Get(string name, Input<string> id, ProductActivationAppO11yConfigV1Alpha1State? state, CustomResourceOptions? opts = null)
public static ProductActivationAppO11yConfigV1Alpha1 get(String name, Output<String> id, ProductActivationAppO11yConfigV1Alpha1State state, CustomResourceOptions options)
resources: _: type: grafana:cloud:ProductActivationAppO11yConfigV1Alpha1 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.
- Metadata
Pulumiverse.
Grafana. Cloud. Inputs. Product Activation App O11y Config V1Alpha1Metadata - The metadata of the resource.
- Options
Pulumiverse.
Grafana. Cloud. Inputs. Product Activation App O11y Config V1Alpha1Options - Options for applying the resource.
- Spec
Pulumiverse.
Grafana. Cloud. Inputs. Product Activation App O11y Config V1Alpha1Spec - The spec of the resource.
- Metadata
Product
Activation App O11y Config V1Alpha1Metadata Args - The metadata of the resource.
- Options
Product
Activation App O11y Config V1Alpha1Options Args - Options for applying the resource.
- Spec
Product
Activation App O11y Config V1Alpha1Spec Args - The spec of the resource.
- metadata
Product
Activation App O11y Config V1Alpha1Metadata - The metadata of the resource.
- options
Product
Activation App O11y Config V1Alpha1Options - Options for applying the resource.
- spec
Product
Activation App O11y Config V1Alpha1Spec - The spec of the resource.
- metadata
Product
Activation App O11y Config V1Alpha1Metadata - The metadata of the resource.
- options
Product
Activation App O11y Config V1Alpha1Options - Options for applying the resource.
- spec
Product
Activation App O11y Config V1Alpha1Spec - The spec of the resource.
- metadata
Product
Activation App O11y Config V1Alpha1Metadata Args - The metadata of the resource.
- options
Product
Activation App O11y Config V1Alpha1Options Args - Options for applying the resource.
- spec
Product
Activation App O11y Config V1Alpha1Spec Args - The spec of the resource.
- metadata Property Map
- The metadata of the resource.
- options Property Map
- Options for applying the resource.
- spec Property Map
- The spec of the resource.
Supporting Types
ProductActivationAppO11yConfigV1Alpha1Metadata, ProductActivationAppO11yConfigV1Alpha1MetadataArgs
- Uid string
- The unique identifier of the resource.
- Annotations Dictionary<string, string>
- Annotations of the resource.
- Folder
Uid string - The UID of the folder to save the resource in.
- Url string
- The full URL of the resource.
- Uuid string
- The globally unique identifier of a resource, used by the API for tracking.
- Version string
- The version of the resource.
- Uid string
- The unique identifier of the resource.
- Annotations map[string]string
- Annotations of the resource.
- Folder
Uid string - The UID of the folder to save the resource in.
- Url string
- The full URL of the resource.
- Uuid string
- The globally unique identifier of a resource, used by the API for tracking.
- Version string
- The version of the resource.
- uid String
- The unique identifier of the resource.
- annotations Map<String,String>
- Annotations of the resource.
- folder
Uid String - The UID of the folder to save the resource in.
- url String
- The full URL of the resource.
- uuid String
- The globally unique identifier of a resource, used by the API for tracking.
- version String
- The version of the resource.
- uid string
- The unique identifier of the resource.
- annotations {[key: string]: string}
- Annotations of the resource.
- folder
Uid string - The UID of the folder to save the resource in.
- url string
- The full URL of the resource.
- uuid string
- The globally unique identifier of a resource, used by the API for tracking.
- version string
- The version of the resource.
- uid str
- The unique identifier of the resource.
- annotations Mapping[str, str]
- Annotations of the resource.
- folder_
uid str - The UID of the folder to save the resource in.
- url str
- The full URL of the resource.
- uuid str
- The globally unique identifier of a resource, used by the API for tracking.
- version str
- The version of the resource.
- uid String
- The unique identifier of the resource.
- annotations Map<String>
- Annotations of the resource.
- folder
Uid String - The UID of the folder to save the resource in.
- url String
- The full URL of the resource.
- uuid String
- The globally unique identifier of a resource, used by the API for tracking.
- version String
- The version of the resource.
ProductActivationAppO11yConfigV1Alpha1Options, ProductActivationAppO11yConfigV1Alpha1OptionsArgs
- Overwrite bool
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- Overwrite bool
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- overwrite Boolean
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- overwrite boolean
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- overwrite bool
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- overwrite Boolean
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
ProductActivationAppO11yConfigV1Alpha1Spec, ProductActivationAppO11yConfigV1Alpha1SpecArgs
- Enabled bool
- Whether application observability is enabled.
- Enabled bool
- Whether application observability is enabled.
- enabled Boolean
- Whether application observability is enabled.
- enabled boolean
- Whether application observability is enabled.
- enabled bool
- Whether application observability is enabled.
- enabled Boolean
- Whether application observability is enabled.
Import
#!/bin/bash
Import an existing app observability config by its UID
$ pulumi import grafana:cloud/productActivationAppO11yConfigV1Alpha1:ProductActivationAppO11yConfigV1Alpha1 example my-app-o11y-config
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- grafana pulumiverse/pulumi-grafana
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
grafana
Terraform Provider.