Sumo Logic v0.23.4 published on Friday, Sep 20, 2024 by Pulumi
sumologic.RoleV2
Explore with Pulumi AI
Provider to manage Sumologic Role v2
Create RoleV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RoleV2(name: string, args?: RoleV2Args, opts?: CustomResourceOptions);
@overload
def RoleV2(resource_name: str,
args: Optional[RoleV2Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def RoleV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
audit_data_filter: Optional[str] = None,
capabilities: Optional[Sequence[str]] = None,
description: Optional[str] = None,
log_analytics_filter: Optional[str] = None,
name: Optional[str] = None,
security_data_filter: Optional[str] = None,
selected_views: Optional[Sequence[RoleV2SelectedViewArgs]] = None,
selection_type: Optional[str] = None)
func NewRoleV2(ctx *Context, name string, args *RoleV2Args, opts ...ResourceOption) (*RoleV2, error)
public RoleV2(string name, RoleV2Args? args = null, CustomResourceOptions? opts = null)
public RoleV2(String name, RoleV2Args args)
public RoleV2(String name, RoleV2Args args, CustomResourceOptions options)
type: sumologic:RoleV2
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 RoleV2Args
- 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 RoleV2Args
- 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 RoleV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RoleV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RoleV2Args
- 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 roleV2Resource = new SumoLogic.RoleV2("roleV2Resource", new()
{
AuditDataFilter = "string",
Capabilities = new[]
{
"string",
},
Description = "string",
LogAnalyticsFilter = "string",
Name = "string",
SecurityDataFilter = "string",
SelectedViews = new[]
{
new SumoLogic.Inputs.RoleV2SelectedViewArgs
{
ViewName = "string",
ViewFilter = "string",
},
},
SelectionType = "string",
});
example, err := sumologic.NewRoleV2(ctx, "roleV2Resource", &sumologic.RoleV2Args{
AuditDataFilter: pulumi.String("string"),
Capabilities: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
LogAnalyticsFilter: pulumi.String("string"),
Name: pulumi.String("string"),
SecurityDataFilter: pulumi.String("string"),
SelectedViews: sumologic.RoleV2SelectedViewArray{
&sumologic.RoleV2SelectedViewArgs{
ViewName: pulumi.String("string"),
ViewFilter: pulumi.String("string"),
},
},
SelectionType: pulumi.String("string"),
})
var roleV2Resource = new RoleV2("roleV2Resource", RoleV2Args.builder()
.auditDataFilter("string")
.capabilities("string")
.description("string")
.logAnalyticsFilter("string")
.name("string")
.securityDataFilter("string")
.selectedViews(RoleV2SelectedViewArgs.builder()
.viewName("string")
.viewFilter("string")
.build())
.selectionType("string")
.build());
role_v2_resource = sumologic.RoleV2("roleV2Resource",
audit_data_filter="string",
capabilities=["string"],
description="string",
log_analytics_filter="string",
name="string",
security_data_filter="string",
selected_views=[sumologic.RoleV2SelectedViewArgs(
view_name="string",
view_filter="string",
)],
selection_type="string")
const roleV2Resource = new sumologic.RoleV2("roleV2Resource", {
auditDataFilter: "string",
capabilities: ["string"],
description: "string",
logAnalyticsFilter: "string",
name: "string",
securityDataFilter: "string",
selectedViews: [{
viewName: "string",
viewFilter: "string",
}],
selectionType: "string",
});
type: sumologic:RoleV2
properties:
auditDataFilter: string
capabilities:
- string
description: string
logAnalyticsFilter: string
name: string
securityDataFilter: string
selectedViews:
- viewFilter: string
viewName: string
selectionType: string
RoleV2 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 RoleV2 resource accepts the following input properties:
- Audit
Data stringFilter - A search filter which would be applied on partitions which belong to Audit Data product area. Help Doc : (https://help.sumologic.com/docs/manage/security/audit-index/).
- Capabilities List<string>
- List of capabilities associated with this role.
- Description string
- Description of the role.
- Log
Analytics stringFilter - A search filter which would be applied on partitions which belong to Log Analytics product area.
- Name string
- Name of the role.
- Security
Data stringFilter - A search filter which would be applied on partitions which belong to Security Data product area.
- Selected
Views List<Pulumi.Sumo Logic. Inputs. Role V2Selected View> - List of views with specific view level filters in accordance to the selectionType chosen.
- Selection
Type string - Describes the Permission Construct for the list of views in "selectedViews" parameter.
- Audit
Data stringFilter - A search filter which would be applied on partitions which belong to Audit Data product area. Help Doc : (https://help.sumologic.com/docs/manage/security/audit-index/).
- Capabilities []string
- List of capabilities associated with this role.
- Description string
- Description of the role.
- Log
Analytics stringFilter - A search filter which would be applied on partitions which belong to Log Analytics product area.
- Name string
- Name of the role.
- Security
Data stringFilter - A search filter which would be applied on partitions which belong to Security Data product area.
- Selected
Views []RoleV2Selected View Args - List of views with specific view level filters in accordance to the selectionType chosen.
- Selection
Type string - Describes the Permission Construct for the list of views in "selectedViews" parameter.
- audit
Data StringFilter - A search filter which would be applied on partitions which belong to Audit Data product area. Help Doc : (https://help.sumologic.com/docs/manage/security/audit-index/).
- capabilities List<String>
- List of capabilities associated with this role.
- description String
- Description of the role.
- log
Analytics StringFilter - A search filter which would be applied on partitions which belong to Log Analytics product area.
- name String
- Name of the role.
- security
Data StringFilter - A search filter which would be applied on partitions which belong to Security Data product area.
- selected
Views List<RoleV2Selected View> - List of views with specific view level filters in accordance to the selectionType chosen.
- selection
Type String - Describes the Permission Construct for the list of views in "selectedViews" parameter.
- audit
Data stringFilter - A search filter which would be applied on partitions which belong to Audit Data product area. Help Doc : (https://help.sumologic.com/docs/manage/security/audit-index/).
- capabilities string[]
- List of capabilities associated with this role.
- description string
- Description of the role.
- log
Analytics stringFilter - A search filter which would be applied on partitions which belong to Log Analytics product area.
- name string
- Name of the role.
- security
Data stringFilter - A search filter which would be applied on partitions which belong to Security Data product area.
- selected
Views RoleV2Selected View[] - List of views with specific view level filters in accordance to the selectionType chosen.
- selection
Type string - Describes the Permission Construct for the list of views in "selectedViews" parameter.
- audit_
data_ strfilter - A search filter which would be applied on partitions which belong to Audit Data product area. Help Doc : (https://help.sumologic.com/docs/manage/security/audit-index/).
- capabilities Sequence[str]
- List of capabilities associated with this role.
- description str
- Description of the role.
- log_
analytics_ strfilter - A search filter which would be applied on partitions which belong to Log Analytics product area.
- name str
- Name of the role.
- security_
data_ strfilter - A search filter which would be applied on partitions which belong to Security Data product area.
- selected_
views Sequence[RoleV2Selected View Args] - List of views with specific view level filters in accordance to the selectionType chosen.
- selection_
type str - Describes the Permission Construct for the list of views in "selectedViews" parameter.
- audit
Data StringFilter - A search filter which would be applied on partitions which belong to Audit Data product area. Help Doc : (https://help.sumologic.com/docs/manage/security/audit-index/).
- capabilities List<String>
- List of capabilities associated with this role.
- description String
- Description of the role.
- log
Analytics StringFilter - A search filter which would be applied on partitions which belong to Log Analytics product area.
- name String
- Name of the role.
- security
Data StringFilter - A search filter which would be applied on partitions which belong to Security Data product area.
- selected
Views List<Property Map> - List of views with specific view level filters in accordance to the selectionType chosen.
- selection
Type String - Describes the Permission Construct for the list of views in "selectedViews" parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the RoleV2 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 RoleV2 Resource
Get an existing RoleV2 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?: RoleV2State, opts?: CustomResourceOptions): RoleV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
audit_data_filter: Optional[str] = None,
capabilities: Optional[Sequence[str]] = None,
description: Optional[str] = None,
log_analytics_filter: Optional[str] = None,
name: Optional[str] = None,
security_data_filter: Optional[str] = None,
selected_views: Optional[Sequence[RoleV2SelectedViewArgs]] = None,
selection_type: Optional[str] = None) -> RoleV2
func GetRoleV2(ctx *Context, name string, id IDInput, state *RoleV2State, opts ...ResourceOption) (*RoleV2, error)
public static RoleV2 Get(string name, Input<string> id, RoleV2State? state, CustomResourceOptions? opts = null)
public static RoleV2 get(String name, Output<String> id, RoleV2State 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.
- Audit
Data stringFilter - A search filter which would be applied on partitions which belong to Audit Data product area. Help Doc : (https://help.sumologic.com/docs/manage/security/audit-index/).
- Capabilities List<string>
- List of capabilities associated with this role.
- Description string
- Description of the role.
- Log
Analytics stringFilter - A search filter which would be applied on partitions which belong to Log Analytics product area.
- Name string
- Name of the role.
- Security
Data stringFilter - A search filter which would be applied on partitions which belong to Security Data product area.
- Selected
Views List<Pulumi.Sumo Logic. Inputs. Role V2Selected View> - List of views with specific view level filters in accordance to the selectionType chosen.
- Selection
Type string - Describes the Permission Construct for the list of views in "selectedViews" parameter.
- Audit
Data stringFilter - A search filter which would be applied on partitions which belong to Audit Data product area. Help Doc : (https://help.sumologic.com/docs/manage/security/audit-index/).
- Capabilities []string
- List of capabilities associated with this role.
- Description string
- Description of the role.
- Log
Analytics stringFilter - A search filter which would be applied on partitions which belong to Log Analytics product area.
- Name string
- Name of the role.
- Security
Data stringFilter - A search filter which would be applied on partitions which belong to Security Data product area.
- Selected
Views []RoleV2Selected View Args - List of views with specific view level filters in accordance to the selectionType chosen.
- Selection
Type string - Describes the Permission Construct for the list of views in "selectedViews" parameter.
- audit
Data StringFilter - A search filter which would be applied on partitions which belong to Audit Data product area. Help Doc : (https://help.sumologic.com/docs/manage/security/audit-index/).
- capabilities List<String>
- List of capabilities associated with this role.
- description String
- Description of the role.
- log
Analytics StringFilter - A search filter which would be applied on partitions which belong to Log Analytics product area.
- name String
- Name of the role.
- security
Data StringFilter - A search filter which would be applied on partitions which belong to Security Data product area.
- selected
Views List<RoleV2Selected View> - List of views with specific view level filters in accordance to the selectionType chosen.
- selection
Type String - Describes the Permission Construct for the list of views in "selectedViews" parameter.
- audit
Data stringFilter - A search filter which would be applied on partitions which belong to Audit Data product area. Help Doc : (https://help.sumologic.com/docs/manage/security/audit-index/).
- capabilities string[]
- List of capabilities associated with this role.
- description string
- Description of the role.
- log
Analytics stringFilter - A search filter which would be applied on partitions which belong to Log Analytics product area.
- name string
- Name of the role.
- security
Data stringFilter - A search filter which would be applied on partitions which belong to Security Data product area.
- selected
Views RoleV2Selected View[] - List of views with specific view level filters in accordance to the selectionType chosen.
- selection
Type string - Describes the Permission Construct for the list of views in "selectedViews" parameter.
- audit_
data_ strfilter - A search filter which would be applied on partitions which belong to Audit Data product area. Help Doc : (https://help.sumologic.com/docs/manage/security/audit-index/).
- capabilities Sequence[str]
- List of capabilities associated with this role.
- description str
- Description of the role.
- log_
analytics_ strfilter - A search filter which would be applied on partitions which belong to Log Analytics product area.
- name str
- Name of the role.
- security_
data_ strfilter - A search filter which would be applied on partitions which belong to Security Data product area.
- selected_
views Sequence[RoleV2Selected View Args] - List of views with specific view level filters in accordance to the selectionType chosen.
- selection_
type str - Describes the Permission Construct for the list of views in "selectedViews" parameter.
- audit
Data StringFilter - A search filter which would be applied on partitions which belong to Audit Data product area. Help Doc : (https://help.sumologic.com/docs/manage/security/audit-index/).
- capabilities List<String>
- List of capabilities associated with this role.
- description String
- Description of the role.
- log
Analytics StringFilter - A search filter which would be applied on partitions which belong to Log Analytics product area.
- name String
- Name of the role.
- security
Data StringFilter - A search filter which would be applied on partitions which belong to Security Data product area.
- selected
Views List<Property Map> - List of views with specific view level filters in accordance to the selectionType chosen.
- selection
Type String - Describes the Permission Construct for the list of views in "selectedViews" parameter.
Supporting Types
RoleV2SelectedView, RoleV2SelectedViewArgs
- View
Name string - View
Filter string
- View
Name string - View
Filter string
- view
Name String - view
Filter String
- view
Name string - view
Filter string
- view_
name str - view_
filter str
- view
Name String - view
Filter String
Package Details
- Repository
- Sumo Logic pulumi/pulumi-sumologic
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sumologic
Terraform Provider.