1. Packages
  2. Google Cloud Native
  3. API Docs
  4. monitoring
  5. monitoring/v3
  6. Group

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.monitoring/v3.Group

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new group. Auto-naming is currently not supported for this resource.

    Create Group Resource

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

    Constructor syntax

    new Group(name: string, args?: GroupArgs, opts?: CustomResourceOptions);
    @overload
    def Group(resource_name: str,
              args: Optional[GroupArgs] = None,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Group(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              display_name: Optional[str] = None,
              filter: Optional[str] = None,
              is_cluster: Optional[bool] = None,
              parent_name: Optional[str] = None,
              project: Optional[str] = None)
    func NewGroup(ctx *Context, name string, args *GroupArgs, opts ...ResourceOption) (*Group, error)
    public Group(string name, GroupArgs? args = null, CustomResourceOptions? opts = null)
    public Group(String name, GroupArgs args)
    public Group(String name, GroupArgs args, CustomResourceOptions options)
    
    type: google-native:monitoring/v3:Group
    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 GroupArgs
    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 GroupArgs
    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 GroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var examplegroupResourceResourceFromMonitoringv3 = new GoogleNative.Monitoring.V3.Group("examplegroupResourceResourceFromMonitoringv3", new()
    {
        DisplayName = "string",
        Filter = "string",
        IsCluster = false,
        ParentName = "string",
        Project = "string",
    });
    
    example, err := monitoringv3.NewGroup(ctx, "examplegroupResourceResourceFromMonitoringv3", &monitoringv3.GroupArgs{
    DisplayName: pulumi.String("string"),
    Filter: pulumi.String("string"),
    IsCluster: pulumi.Bool(false),
    ParentName: pulumi.String("string"),
    Project: pulumi.String("string"),
    })
    
    var examplegroupResourceResourceFromMonitoringv3 = new Group("examplegroupResourceResourceFromMonitoringv3", GroupArgs.builder()        
        .displayName("string")
        .filter("string")
        .isCluster(false)
        .parentName("string")
        .project("string")
        .build());
    
    examplegroup_resource_resource_from_monitoringv3 = google_native.monitoring.v3.Group("examplegroupResourceResourceFromMonitoringv3",
        display_name="string",
        filter="string",
        is_cluster=False,
        parent_name="string",
        project="string")
    
    const examplegroupResourceResourceFromMonitoringv3 = new google_native.monitoring.v3.Group("examplegroupResourceResourceFromMonitoringv3", {
        displayName: "string",
        filter: "string",
        isCluster: false,
        parentName: "string",
        project: "string",
    });
    
    type: google-native:monitoring/v3:Group
    properties:
        displayName: string
        filter: string
        isCluster: false
        parentName: string
        project: string
    

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

    DisplayName string
    A user-assigned name for this group, used only for display purposes.
    Filter string
    The filter used to determine which monitored resources belong to this group.
    IsCluster bool
    If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters.
    ParentName string
    The name of the group's parent, if it has one. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] For groups with no parent, parent_name is the empty string, "".
    Project string
    DisplayName string
    A user-assigned name for this group, used only for display purposes.
    Filter string
    The filter used to determine which monitored resources belong to this group.
    IsCluster bool
    If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters.
    ParentName string
    The name of the group's parent, if it has one. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] For groups with no parent, parent_name is the empty string, "".
    Project string
    displayName String
    A user-assigned name for this group, used only for display purposes.
    filter String
    The filter used to determine which monitored resources belong to this group.
    isCluster Boolean
    If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters.
    parentName String
    The name of the group's parent, if it has one. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] For groups with no parent, parent_name is the empty string, "".
    project String
    displayName string
    A user-assigned name for this group, used only for display purposes.
    filter string
    The filter used to determine which monitored resources belong to this group.
    isCluster boolean
    If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters.
    parentName string
    The name of the group's parent, if it has one. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] For groups with no parent, parent_name is the empty string, "".
    project string
    display_name str
    A user-assigned name for this group, used only for display purposes.
    filter str
    The filter used to determine which monitored resources belong to this group.
    is_cluster bool
    If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters.
    parent_name str
    The name of the group's parent, if it has one. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] For groups with no parent, parent_name is the empty string, "".
    project str
    displayName String
    A user-assigned name for this group, used only for display purposes.
    filter String
    The filter used to determine which monitored resources belong to this group.
    isCluster Boolean
    If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters.
    parentName String
    The name of the group's parent, if it has one. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] For groups with no parent, parent_name is the empty string, "".
    project String

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of this group. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique [GROUP_ID] that is generated automatically.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of this group. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique [GROUP_ID] that is generated automatically.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of this group. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique [GROUP_ID] that is generated automatically.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of this group. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique [GROUP_ID] that is generated automatically.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of this group. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique [GROUP_ID] that is generated automatically.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of this group. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique [GROUP_ID] that is generated automatically.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi