@pulumiverse/harbor
Version:
A Pulumi package for creating and managing Harbor resources.
93 lines (92 loc) • 3.42 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* ## Example Usage
*
* ## Import
*
* ```sh
* $ pulumi import harbor:index/projectMemberGroup:ProjectMemberGroup main /projects/10/members/200
* ```
*/
export declare class ProjectMemberGroup extends pulumi.CustomResource {
/**
* Get an existing ProjectMemberGroup 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?: ProjectMemberGroupState, opts?: pulumi.CustomResourceOptions): ProjectMemberGroup;
/**
* Returns true if the given object is an instance of ProjectMemberGroup. 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 ProjectMemberGroup;
readonly groupId: pulumi.Output<number | undefined>;
readonly groupName: pulumi.Output<string | undefined>;
readonly ldapGroupDn: pulumi.Output<string | undefined>;
readonly memberId: pulumi.Output<number>;
/**
* The project id of the project that the entity will have access to.
*/
readonly projectId: pulumi.Output<string>;
/**
* The permissions that the entity will be granted.
*/
readonly role: pulumi.Output<string>;
/**
* The group type. Can be set to `"ldap"`, `"internal"` or `"oidc"`.
*/
readonly type: pulumi.Output<string>;
/**
* Create a ProjectMemberGroup 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: ProjectMemberGroupArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ProjectMemberGroup resources.
*/
export interface ProjectMemberGroupState {
groupId?: pulumi.Input<number>;
groupName?: pulumi.Input<string>;
ldapGroupDn?: pulumi.Input<string>;
memberId?: pulumi.Input<number>;
/**
* The project id of the project that the entity will have access to.
*/
projectId?: pulumi.Input<string>;
/**
* The permissions that the entity will be granted.
*/
role?: pulumi.Input<string>;
/**
* The group type. Can be set to `"ldap"`, `"internal"` or `"oidc"`.
*/
type?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a ProjectMemberGroup resource.
*/
export interface ProjectMemberGroupArgs {
groupId?: pulumi.Input<number>;
groupName?: pulumi.Input<string>;
ldapGroupDn?: pulumi.Input<string>;
/**
* The project id of the project that the entity will have access to.
*/
projectId: pulumi.Input<string>;
/**
* The permissions that the entity will be granted.
*/
role: pulumi.Input<string>;
/**
* The group type. Can be set to `"ldap"`, `"internal"` or `"oidc"`.
*/
type: pulumi.Input<string>;
}