@pulumi/sumologic
Version:
A Pulumi package for creating and managing sumologic cloud resources.
138 lines (137 loc) • 5.64 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* Provider to manage Sumologic Role v2
*/
export declare class RoleV2 extends pulumi.CustomResource {
/**
* Get an existing RoleV2 resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RoleV2State, opts?: pulumi.CustomResourceOptions): RoleV2;
/**
* Returns true if the given object is an instance of RoleV2. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is RoleV2;
/**
* 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/).
*/
readonly auditDataFilter: pulumi.Output<string | undefined>;
/**
* List of [capabilities](https://help.sumologic.com/docs/manage/users-roles/roles/role-capabilities/) associated with this role.
*/
readonly capabilities: pulumi.Output<string[] | undefined>;
/**
* Description of the role.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* A search filter which would be applied on partitions which belong to Log Analytics product area.
*/
readonly logAnalyticsFilter: pulumi.Output<string | undefined>;
/**
* Name of the role.
*/
readonly name: pulumi.Output<string>;
/**
* A search filter which would be applied on partitions which belong to Security Data product area.
*/
readonly securityDataFilter: pulumi.Output<string | undefined>;
/**
* List of views with specific view level filters in accordance to the selectionType chosen.
*/
readonly selectedViews: pulumi.Output<outputs.RoleV2SelectedView[] | undefined>;
/**
* Describes the Permission Construct for the list of views in "selectedViews" parameter.
*/
readonly selectionType: pulumi.Output<string | undefined>;
/**
* Create a RoleV2 resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: RoleV2Args, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering RoleV2 resources.
*/
export interface RoleV2State {
/**
* 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/).
*/
auditDataFilter?: pulumi.Input<string>;
/**
* List of [capabilities](https://help.sumologic.com/docs/manage/users-roles/roles/role-capabilities/) associated with this role.
*/
capabilities?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Description of the role.
*/
description?: pulumi.Input<string>;
/**
* A search filter which would be applied on partitions which belong to Log Analytics product area.
*/
logAnalyticsFilter?: pulumi.Input<string>;
/**
* Name of the role.
*/
name?: pulumi.Input<string>;
/**
* A search filter which would be applied on partitions which belong to Security Data product area.
*/
securityDataFilter?: pulumi.Input<string>;
/**
* List of views with specific view level filters in accordance to the selectionType chosen.
*/
selectedViews?: pulumi.Input<pulumi.Input<inputs.RoleV2SelectedView>[]>;
/**
* Describes the Permission Construct for the list of views in "selectedViews" parameter.
*/
selectionType?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a RoleV2 resource.
*/
export interface RoleV2Args {
/**
* 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/).
*/
auditDataFilter?: pulumi.Input<string>;
/**
* List of [capabilities](https://help.sumologic.com/docs/manage/users-roles/roles/role-capabilities/) associated with this role.
*/
capabilities?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Description of the role.
*/
description?: pulumi.Input<string>;
/**
* A search filter which would be applied on partitions which belong to Log Analytics product area.
*/
logAnalyticsFilter?: pulumi.Input<string>;
/**
* Name of the role.
*/
name?: pulumi.Input<string>;
/**
* A search filter which would be applied on partitions which belong to Security Data product area.
*/
securityDataFilter?: pulumi.Input<string>;
/**
* List of views with specific view level filters in accordance to the selectionType chosen.
*/
selectedViews?: pulumi.Input<pulumi.Input<inputs.RoleV2SelectedView>[]>;
/**
* Describes the Permission Construct for the list of views in "selectedViews" parameter.
*/
selectionType?: pulumi.Input<string>;
}