1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. cms
  5. SlsGroup
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

alicloud.cms.SlsGroup

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

    Provides a Cloud Monitor Service Sls Group resource.

    For information about Cloud Monitor Service Sls Group and how to use it, see What is Sls Group.

    NOTE: Available since v1.171.0.

    Create SlsGroup Resource

    new SlsGroup(name: string, args: SlsGroupArgs, opts?: CustomResourceOptions);
    @overload
    def SlsGroup(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 sls_group_configs: Optional[Sequence[SlsGroupSlsGroupConfigArgs]] = None,
                 sls_group_description: Optional[str] = None,
                 sls_group_name: Optional[str] = None)
    @overload
    def SlsGroup(resource_name: str,
                 args: SlsGroupArgs,
                 opts: Optional[ResourceOptions] = None)
    func NewSlsGroup(ctx *Context, name string, args SlsGroupArgs, opts ...ResourceOption) (*SlsGroup, error)
    public SlsGroup(string name, SlsGroupArgs args, CustomResourceOptions? opts = null)
    public SlsGroup(String name, SlsGroupArgs args)
    public SlsGroup(String name, SlsGroupArgs args, CustomResourceOptions options)
    
    type: alicloud:cms:SlsGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args SlsGroupArgs
    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 SlsGroupArgs
    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 SlsGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SlsGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SlsGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    SlsGroup Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SlsGroup resource accepts the following input properties:

    SlsGroupConfigs List<Pulumi.AliCloud.Cms.Inputs.SlsGroupSlsGroupConfig>
    The Config of the Sls Group. You can specify up to 25 Config. See sls_group_config below.
    SlsGroupName string
    The name of the resource. The name must be 2 to 32 characters in length, and can contain letters, digits and underscores (_). It must start with a letter.
    SlsGroupDescription string
    The Description of the Sls Group.
    SlsGroupConfigs []SlsGroupSlsGroupConfigArgs
    The Config of the Sls Group. You can specify up to 25 Config. See sls_group_config below.
    SlsGroupName string
    The name of the resource. The name must be 2 to 32 characters in length, and can contain letters, digits and underscores (_). It must start with a letter.
    SlsGroupDescription string
    The Description of the Sls Group.
    slsGroupConfigs List<SlsGroupSlsGroupConfig>
    The Config of the Sls Group. You can specify up to 25 Config. See sls_group_config below.
    slsGroupName String
    The name of the resource. The name must be 2 to 32 characters in length, and can contain letters, digits and underscores (_). It must start with a letter.
    slsGroupDescription String
    The Description of the Sls Group.
    slsGroupConfigs SlsGroupSlsGroupConfig[]
    The Config of the Sls Group. You can specify up to 25 Config. See sls_group_config below.
    slsGroupName string
    The name of the resource. The name must be 2 to 32 characters in length, and can contain letters, digits and underscores (_). It must start with a letter.
    slsGroupDescription string
    The Description of the Sls Group.
    sls_group_configs Sequence[SlsGroupSlsGroupConfigArgs]
    The Config of the Sls Group. You can specify up to 25 Config. See sls_group_config below.
    sls_group_name str
    The name of the resource. The name must be 2 to 32 characters in length, and can contain letters, digits and underscores (_). It must start with a letter.
    sls_group_description str
    The Description of the Sls Group.
    slsGroupConfigs List<Property Map>
    The Config of the Sls Group. You can specify up to 25 Config. See sls_group_config below.
    slsGroupName String
    The name of the resource. The name must be 2 to 32 characters in length, and can contain letters, digits and underscores (_). It must start with a letter.
    slsGroupDescription String
    The Description of the Sls Group.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SlsGroup 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 SlsGroup Resource

    Get an existing SlsGroup 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?: SlsGroupState, opts?: CustomResourceOptions): SlsGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            sls_group_configs: Optional[Sequence[SlsGroupSlsGroupConfigArgs]] = None,
            sls_group_description: Optional[str] = None,
            sls_group_name: Optional[str] = None) -> SlsGroup
    func GetSlsGroup(ctx *Context, name string, id IDInput, state *SlsGroupState, opts ...ResourceOption) (*SlsGroup, error)
    public static SlsGroup Get(string name, Input<string> id, SlsGroupState? state, CustomResourceOptions? opts = null)
    public static SlsGroup get(String name, Output<String> id, SlsGroupState 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:
    SlsGroupConfigs List<Pulumi.AliCloud.Cms.Inputs.SlsGroupSlsGroupConfig>
    The Config of the Sls Group. You can specify up to 25 Config. See sls_group_config below.
    SlsGroupDescription string
    The Description of the Sls Group.
    SlsGroupName string
    The name of the resource. The name must be 2 to 32 characters in length, and can contain letters, digits and underscores (_). It must start with a letter.
    SlsGroupConfigs []SlsGroupSlsGroupConfigArgs
    The Config of the Sls Group. You can specify up to 25 Config. See sls_group_config below.
    SlsGroupDescription string
    The Description of the Sls Group.
    SlsGroupName string
    The name of the resource. The name must be 2 to 32 characters in length, and can contain letters, digits and underscores (_). It must start with a letter.
    slsGroupConfigs List<SlsGroupSlsGroupConfig>
    The Config of the Sls Group. You can specify up to 25 Config. See sls_group_config below.
    slsGroupDescription String
    The Description of the Sls Group.
    slsGroupName String
    The name of the resource. The name must be 2 to 32 characters in length, and can contain letters, digits and underscores (_). It must start with a letter.
    slsGroupConfigs SlsGroupSlsGroupConfig[]
    The Config of the Sls Group. You can specify up to 25 Config. See sls_group_config below.
    slsGroupDescription string
    The Description of the Sls Group.
    slsGroupName string
    The name of the resource. The name must be 2 to 32 characters in length, and can contain letters, digits and underscores (_). It must start with a letter.
    sls_group_configs Sequence[SlsGroupSlsGroupConfigArgs]
    The Config of the Sls Group. You can specify up to 25 Config. See sls_group_config below.
    sls_group_description str
    The Description of the Sls Group.
    sls_group_name str
    The name of the resource. The name must be 2 to 32 characters in length, and can contain letters, digits and underscores (_). It must start with a letter.
    slsGroupConfigs List<Property Map>
    The Config of the Sls Group. You can specify up to 25 Config. See sls_group_config below.
    slsGroupDescription String
    The Description of the Sls Group.
    slsGroupName String
    The name of the resource. The name must be 2 to 32 characters in length, and can contain letters, digits and underscores (_). It must start with a letter.

    Supporting Types

    SlsGroupSlsGroupConfig, SlsGroupSlsGroupConfigArgs

    SlsLogstore string
    The name of the Log Store.
    SlsProject string
    The name of the Project.
    SlsRegion string
    The Sls Region.
    SlsUserId string
    The ID of the Sls User.
    SlsLogstore string
    The name of the Log Store.
    SlsProject string
    The name of the Project.
    SlsRegion string
    The Sls Region.
    SlsUserId string
    The ID of the Sls User.
    slsLogstore String
    The name of the Log Store.
    slsProject String
    The name of the Project.
    slsRegion String
    The Sls Region.
    slsUserId String
    The ID of the Sls User.
    slsLogstore string
    The name of the Log Store.
    slsProject string
    The name of the Project.
    slsRegion string
    The Sls Region.
    slsUserId string
    The ID of the Sls User.
    sls_logstore str
    The name of the Log Store.
    sls_project str
    The name of the Project.
    sls_region str
    The Sls Region.
    sls_user_id str
    The ID of the Sls User.
    slsLogstore String
    The name of the Log Store.
    slsProject String
    The name of the Project.
    slsRegion String
    The Sls Region.
    slsUserId String
    The ID of the Sls User.

    Import

    Cloud Monitor Service Sls Group can be imported using the id, e.g.

    $ pulumi import alicloud:cms/slsGroup:SlsGroup example <sls_group_name>
    

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi