grafana.cloud.ProductActivationK8sO11yConfigV1Alpha1
Manages Grafana Kubernetes Observability configurations using the Grafana APIs.
This resource allows you to enable or disable Kubernetes 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:ProductActivationK8sO11yConfigV1Alpha1
properties:
metadata:
- uid: global
spec:
- enabled: true
Create ProductActivationK8sO11yConfigV1Alpha1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProductActivationK8sO11yConfigV1Alpha1(name: string, args?: ProductActivationK8sO11yConfigV1Alpha1Args, opts?: CustomResourceOptions);
@overload
def ProductActivationK8sO11yConfigV1Alpha1(resource_name: str,
args: Optional[ProductActivationK8sO11yConfigV1Alpha1Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ProductActivationK8sO11yConfigV1Alpha1(resource_name: str,
opts: Optional[ResourceOptions] = None,
metadata: Optional[ProductActivationK8sO11yConfigV1Alpha1MetadataArgs] = None,
options: Optional[ProductActivationK8sO11yConfigV1Alpha1OptionsArgs] = None,
spec: Optional[ProductActivationK8sO11yConfigV1Alpha1SpecArgs] = None)
func NewProductActivationK8sO11yConfigV1Alpha1(ctx *Context, name string, args *ProductActivationK8sO11yConfigV1Alpha1Args, opts ...ResourceOption) (*ProductActivationK8sO11yConfigV1Alpha1, error)
public ProductActivationK8sO11yConfigV1Alpha1(string name, ProductActivationK8sO11yConfigV1Alpha1Args? args = null, CustomResourceOptions? opts = null)
public ProductActivationK8sO11yConfigV1Alpha1(String name, ProductActivationK8sO11yConfigV1Alpha1Args args)
public ProductActivationK8sO11yConfigV1Alpha1(String name, ProductActivationK8sO11yConfigV1Alpha1Args args, CustomResourceOptions options)
type: grafana:cloud:ProductActivationK8sO11yConfigV1Alpha1
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 ProductActivationK8sO11yConfigV1Alpha1Args
- 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 ProductActivationK8sO11yConfigV1Alpha1Args
- 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 ProductActivationK8sO11yConfigV1Alpha1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProductActivationK8sO11yConfigV1Alpha1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProductActivationK8sO11yConfigV1Alpha1Args
- 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 productActivationK8sO11yConfigV1Alpha1Resource = new Grafana.Cloud.ProductActivationK8sO11yConfigV1Alpha1("productActivationK8sO11yConfigV1Alpha1Resource", new()
{
Metadata = new Grafana.Cloud.Inputs.ProductActivationK8sO11yConfigV1Alpha1MetadataArgs
{
Uid = "string",
Annotations =
{
{ "string", "string" },
},
FolderUid = "string",
Url = "string",
Uuid = "string",
Version = "string",
},
Options = new Grafana.Cloud.Inputs.ProductActivationK8sO11yConfigV1Alpha1OptionsArgs
{
Overwrite = false,
},
Spec = new Grafana.Cloud.Inputs.ProductActivationK8sO11yConfigV1Alpha1SpecArgs
{
Enabled = false,
},
});
example, err := cloud.NewProductActivationK8sO11yConfigV1Alpha1(ctx, "productActivationK8sO11yConfigV1Alpha1Resource", &cloud.ProductActivationK8sO11yConfigV1Alpha1Args{
Metadata: &cloud.ProductActivationK8sO11yConfigV1Alpha1MetadataArgs{
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.ProductActivationK8sO11yConfigV1Alpha1OptionsArgs{
Overwrite: pulumi.Bool(false),
},
Spec: &cloud.ProductActivationK8sO11yConfigV1Alpha1SpecArgs{
Enabled: pulumi.Bool(false),
},
})
var productActivationK8sO11yConfigV1Alpha1Resource = new ProductActivationK8sO11yConfigV1Alpha1("productActivationK8sO11yConfigV1Alpha1Resource", ProductActivationK8sO11yConfigV1Alpha1Args.builder()
.metadata(ProductActivationK8sO11yConfigV1Alpha1MetadataArgs.builder()
.uid("string")
.annotations(Map.of("string", "string"))
.folderUid("string")
.url("string")
.uuid("string")
.version("string")
.build())
.options(ProductActivationK8sO11yConfigV1Alpha1OptionsArgs.builder()
.overwrite(false)
.build())
.spec(ProductActivationK8sO11yConfigV1Alpha1SpecArgs.builder()
.enabled(false)
.build())
.build());
product_activation_k8s_o11y_config_v1_alpha1_resource = grafana.cloud.ProductActivationK8sO11yConfigV1Alpha1("productActivationK8sO11yConfigV1Alpha1Resource",
metadata={
"uid": "string",
"annotations": {
"string": "string",
},
"folder_uid": "string",
"url": "string",
"uuid": "string",
"version": "string",
},
options={
"overwrite": False,
},
spec={
"enabled": False,
})
const productActivationK8sO11yConfigV1Alpha1Resource = new grafana.cloud.ProductActivationK8sO11yConfigV1Alpha1("productActivationK8sO11yConfigV1Alpha1Resource", {
metadata: {
uid: "string",
annotations: {
string: "string",
},
folderUid: "string",
url: "string",
uuid: "string",
version: "string",
},
options: {
overwrite: false,
},
spec: {
enabled: false,
},
});
type: grafana:cloud:ProductActivationK8sO11yConfigV1Alpha1
properties:
metadata:
annotations:
string: string
folderUid: string
uid: string
url: string
uuid: string
version: string
options:
overwrite: false
spec:
enabled: false
ProductActivationK8sO11yConfigV1Alpha1 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 ProductActivationK8sO11yConfigV1Alpha1 resource accepts the following input properties:
- Metadata
Pulumiverse.
Grafana. Cloud. Inputs. Product Activation K8s O11y Config V1Alpha1Metadata - The metadata of the resource.
- Options
Pulumiverse.
Grafana. Cloud. Inputs. Product Activation K8s O11y Config V1Alpha1Options - Options for applying the resource.
- Spec
Pulumiverse.
Grafana. Cloud. Inputs. Product Activation K8s O11y Config V1Alpha1Spec - The spec of the resource.
- Metadata
Product
Activation K8s O11y Config V1Alpha1Metadata Args - The metadata of the resource.
- Options
Product
Activation K8s O11y Config V1Alpha1Options Args - Options for applying the resource.
- Spec
Product
Activation K8s O11y Config V1Alpha1Spec Args - The spec of the resource.
- metadata
Product
Activation K8s O11y Config V1Alpha1Metadata - The metadata of the resource.
- options
Product
Activation K8s O11y Config V1Alpha1Options - Options for applying the resource.
- spec
Product
Activation K8s O11y Config V1Alpha1Spec - The spec of the resource.
- metadata
Product
Activation K8s O11y Config V1Alpha1Metadata - The metadata of the resource.
- options
Product
Activation K8s O11y Config V1Alpha1Options - Options for applying the resource.
- spec
Product
Activation K8s O11y Config V1Alpha1Spec - The spec of the resource.
- metadata
Product
Activation K8s O11y Config V1Alpha1Metadata Args - The metadata of the resource.
- options
Product
Activation K8s O11y Config V1Alpha1Options Args - Options for applying the resource.
- spec
Product
Activation K8s 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 ProductActivationK8sO11yConfigV1Alpha1 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 ProductActivationK8sO11yConfigV1Alpha1 Resource
Get an existing ProductActivationK8sO11yConfigV1Alpha1 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?: ProductActivationK8sO11yConfigV1Alpha1State, opts?: CustomResourceOptions): ProductActivationK8sO11yConfigV1Alpha1
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
metadata: Optional[ProductActivationK8sO11yConfigV1Alpha1MetadataArgs] = None,
options: Optional[ProductActivationK8sO11yConfigV1Alpha1OptionsArgs] = None,
spec: Optional[ProductActivationK8sO11yConfigV1Alpha1SpecArgs] = None) -> ProductActivationK8sO11yConfigV1Alpha1
func GetProductActivationK8sO11yConfigV1Alpha1(ctx *Context, name string, id IDInput, state *ProductActivationK8sO11yConfigV1Alpha1State, opts ...ResourceOption) (*ProductActivationK8sO11yConfigV1Alpha1, error)
public static ProductActivationK8sO11yConfigV1Alpha1 Get(string name, Input<string> id, ProductActivationK8sO11yConfigV1Alpha1State? state, CustomResourceOptions? opts = null)
public static ProductActivationK8sO11yConfigV1Alpha1 get(String name, Output<String> id, ProductActivationK8sO11yConfigV1Alpha1State state, CustomResourceOptions options)
resources: _: type: grafana:cloud:ProductActivationK8sO11yConfigV1Alpha1 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 K8s O11y Config V1Alpha1Metadata - The metadata of the resource.
- Options
Pulumiverse.
Grafana. Cloud. Inputs. Product Activation K8s O11y Config V1Alpha1Options - Options for applying the resource.
- Spec
Pulumiverse.
Grafana. Cloud. Inputs. Product Activation K8s O11y Config V1Alpha1Spec - The spec of the resource.
- Metadata
Product
Activation K8s O11y Config V1Alpha1Metadata Args - The metadata of the resource.
- Options
Product
Activation K8s O11y Config V1Alpha1Options Args - Options for applying the resource.
- Spec
Product
Activation K8s O11y Config V1Alpha1Spec Args - The spec of the resource.
- metadata
Product
Activation K8s O11y Config V1Alpha1Metadata - The metadata of the resource.
- options
Product
Activation K8s O11y Config V1Alpha1Options - Options for applying the resource.
- spec
Product
Activation K8s O11y Config V1Alpha1Spec - The spec of the resource.
- metadata
Product
Activation K8s O11y Config V1Alpha1Metadata - The metadata of the resource.
- options
Product
Activation K8s O11y Config V1Alpha1Options - Options for applying the resource.
- spec
Product
Activation K8s O11y Config V1Alpha1Spec - The spec of the resource.
- metadata
Product
Activation K8s O11y Config V1Alpha1Metadata Args - The metadata of the resource.
- options
Product
Activation K8s O11y Config V1Alpha1Options Args - Options for applying the resource.
- spec
Product
Activation K8s 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
ProductActivationK8sO11yConfigV1Alpha1Metadata, ProductActivationK8sO11yConfigV1Alpha1MetadataArgs
- 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.
ProductActivationK8sO11yConfigV1Alpha1Options, ProductActivationK8sO11yConfigV1Alpha1OptionsArgs
- 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.
ProductActivationK8sO11yConfigV1Alpha1Spec, ProductActivationK8sO11yConfigV1Alpha1SpecArgs
- Enabled bool
- Whether Kubernetes observability is enabled.
- Enabled bool
- Whether Kubernetes observability is enabled.
- enabled Boolean
- Whether Kubernetes observability is enabled.
- enabled boolean
- Whether Kubernetes observability is enabled.
- enabled bool
- Whether Kubernetes observability is enabled.
- enabled Boolean
- Whether Kubernetes observability is enabled.
Import
#!/bin/bash
Import an existing Kubernetes observability config by its UID
$ pulumi import grafana:cloud/productActivationK8sO11yConfigV1Alpha1:ProductActivationK8sO11yConfigV1Alpha1 example my-k8s-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.