@pulumi/vsphere
Version:
A Pulumi package for creating vsphere resources
90 lines (89 loc) • 3.69 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
export declare class EntityPermissions extends pulumi.CustomResource {
/**
* Get an existing EntityPermissions 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?: EntityPermissionsState, opts?: pulumi.CustomResourceOptions): EntityPermissions;
/**
* Returns true if the given object is an instance of EntityPermissions. 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 EntityPermissions;
/**
* The managed object id (uuid for some entities) on
* which permissions are to be created.
*/
readonly entityId: pulumi.Output<string>;
/**
* The managed object type, types can be found in the
* managed object type section
* [here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
*/
readonly entityType: pulumi.Output<string>;
/**
* The permissions to be given on this entity. Keep
* the permissions sorted alphabetically on `userOrGroup` for a better user
* experience.
*/
readonly permissions: pulumi.Output<outputs.EntityPermissionsPermission[]>;
/**
* Create a EntityPermissions 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: EntityPermissionsArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering EntityPermissions resources.
*/
export interface EntityPermissionsState {
/**
* The managed object id (uuid for some entities) on
* which permissions are to be created.
*/
entityId?: pulumi.Input<string>;
/**
* The managed object type, types can be found in the
* managed object type section
* [here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
*/
entityType?: pulumi.Input<string>;
/**
* The permissions to be given on this entity. Keep
* the permissions sorted alphabetically on `userOrGroup` for a better user
* experience.
*/
permissions?: pulumi.Input<pulumi.Input<inputs.EntityPermissionsPermission>[]>;
}
/**
* The set of arguments for constructing a EntityPermissions resource.
*/
export interface EntityPermissionsArgs {
/**
* The managed object id (uuid for some entities) on
* which permissions are to be created.
*/
entityId: pulumi.Input<string>;
/**
* The managed object type, types can be found in the
* managed object type section
* [here](https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/).
*/
entityType: pulumi.Input<string>;
/**
* The permissions to be given on this entity. Keep
* the permissions sorted alphabetically on `userOrGroup` for a better user
* experience.
*/
permissions: pulumi.Input<pulumi.Input<inputs.EntityPermissionsPermission>[]>;
}