1. Packages
  2. Chronosphere
  3. API Docs
  4. Bucket
Chronosphere v0.9.3 published on Tuesday, Oct 8, 2024 by Chronosphere

chronosphere.Bucket

Explore with Pulumi AI

chronosphere logo
Chronosphere v0.9.3 published on Tuesday, Oct 8, 2024 by Chronosphere

    Create Bucket Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Bucket(name: string, args: BucketArgs, opts?: CustomResourceOptions);
    @overload
    def Bucket(resource_name: str,
               args: BucketArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Bucket(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               name: Optional[str] = None,
               description: Optional[str] = None,
               labels: Optional[Mapping[str, str]] = None,
               notification_policy_data: Optional[str] = None,
               notification_policy_id: Optional[str] = None,
               slug: Optional[str] = None,
               team_id: Optional[str] = None)
    func NewBucket(ctx *Context, name string, args BucketArgs, opts ...ResourceOption) (*Bucket, error)
    public Bucket(string name, BucketArgs args, CustomResourceOptions? opts = null)
    public Bucket(String name, BucketArgs args)
    public Bucket(String name, BucketArgs args, CustomResourceOptions options)
    
    type: chronosphere:Bucket
    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 BucketArgs
    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 BucketArgs
    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 BucketArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BucketArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BucketArgs
    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 bucketResource = new Pulumi.Bucket("bucketResource", new()
    {
        Name = "string",
        Description = "string",
        Labels = 
        {
            { "string", "string" },
        },
        NotificationPolicyData = "string",
        NotificationPolicyId = "string",
        Slug = "string",
        TeamId = "string",
    });
    
    example, err := chronosphere.NewBucket(ctx, "bucketResource", &chronosphere.BucketArgs{
    	Name:        pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	NotificationPolicyData: pulumi.String("string"),
    	NotificationPolicyId:   pulumi.String("string"),
    	Slug:                   pulumi.String("string"),
    	TeamId:                 pulumi.String("string"),
    })
    
    var bucketResource = new Bucket("bucketResource", BucketArgs.builder()
        .name("string")
        .description("string")
        .labels(Map.of("string", "string"))
        .notificationPolicyData("string")
        .notificationPolicyId("string")
        .slug("string")
        .teamId("string")
        .build());
    
    bucket_resource = chronosphere.Bucket("bucketResource",
        name="string",
        description="string",
        labels={
            "string": "string",
        },
        notification_policy_data="string",
        notification_policy_id="string",
        slug="string",
        team_id="string")
    
    const bucketResource = new chronosphere.Bucket("bucketResource", {
        name: "string",
        description: "string",
        labels: {
            string: "string",
        },
        notificationPolicyData: "string",
        notificationPolicyId: "string",
        slug: "string",
        teamId: "string",
    });
    
    type: chronosphere:Bucket
    properties:
        description: string
        labels:
            string: string
        name: string
        notificationPolicyData: string
        notificationPolicyId: string
        slug: string
        teamId: string
    

    Bucket 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 Bucket resource accepts the following input properties:

    Name string
    Description string
    Labels Dictionary<string, string>
    NotificationPolicyData string
    NotificationPolicyId string
    Slug string
    TeamId string
    Name string
    Description string
    Labels map[string]string
    NotificationPolicyData string
    NotificationPolicyId string
    Slug string
    TeamId string
    name String
    description String
    labels Map<String,String>
    notificationPolicyData String
    notificationPolicyId String
    slug String
    teamId String
    name string
    description string
    labels {[key: string]: string}
    notificationPolicyData string
    notificationPolicyId string
    slug string
    teamId string
    name String
    description String
    labels Map<String>
    notificationPolicyData String
    notificationPolicyId String
    slug String
    teamId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Bucket resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    NotificationPolicySlug string
    Id string
    The provider-assigned unique ID for this managed resource.
    NotificationPolicySlug string
    id String
    The provider-assigned unique ID for this managed resource.
    notificationPolicySlug String
    id string
    The provider-assigned unique ID for this managed resource.
    notificationPolicySlug string
    id str
    The provider-assigned unique ID for this managed resource.
    notification_policy_slug str
    id String
    The provider-assigned unique ID for this managed resource.
    notificationPolicySlug String

    Look up Existing Bucket Resource

    Get an existing Bucket 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?: BucketState, opts?: CustomResourceOptions): Bucket
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            notification_policy_data: Optional[str] = None,
            notification_policy_id: Optional[str] = None,
            notification_policy_slug: Optional[str] = None,
            slug: Optional[str] = None,
            team_id: Optional[str] = None) -> Bucket
    func GetBucket(ctx *Context, name string, id IDInput, state *BucketState, opts ...ResourceOption) (*Bucket, error)
    public static Bucket Get(string name, Input<string> id, BucketState? state, CustomResourceOptions? opts = null)
    public static Bucket get(String name, Output<String> id, BucketState 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.
    The following state arguments are supported:
    Description string
    Labels Dictionary<string, string>
    Name string
    NotificationPolicyData string
    NotificationPolicyId string
    NotificationPolicySlug string
    Slug string
    TeamId string
    Description string
    Labels map[string]string
    Name string
    NotificationPolicyData string
    NotificationPolicyId string
    NotificationPolicySlug string
    Slug string
    TeamId string
    description String
    labels Map<String,String>
    name String
    notificationPolicyData String
    notificationPolicyId String
    notificationPolicySlug String
    slug String
    teamId String
    description string
    labels {[key: string]: string}
    name string
    notificationPolicyData string
    notificationPolicyId string
    notificationPolicySlug string
    slug string
    teamId string

    Package Details

    Repository
    chronosphere chronosphereio/pulumi-chronosphere
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the chronosphere Terraform Provider.
    chronosphere logo
    Chronosphere v0.9.3 published on Tuesday, Oct 8, 2024 by Chronosphere