vsphere logo
vSphere v4.5.0, May 24 23

vsphere.EntityPermissions

Explore with Pulumi AI

Create EntityPermissions Resource

new EntityPermissions(name: string, args: EntityPermissionsArgs, opts?: CustomResourceOptions);
@overload
def EntityPermissions(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      entity_id: Optional[str] = None,
                      entity_type: Optional[str] = None,
                      permissions: Optional[Sequence[EntityPermissionsPermissionArgs]] = None)
@overload
def EntityPermissions(resource_name: str,
                      args: EntityPermissionsArgs,
                      opts: Optional[ResourceOptions] = None)
func NewEntityPermissions(ctx *Context, name string, args EntityPermissionsArgs, opts ...ResourceOption) (*EntityPermissions, error)
public EntityPermissions(string name, EntityPermissionsArgs args, CustomResourceOptions? opts = null)
public EntityPermissions(String name, EntityPermissionsArgs args)
public EntityPermissions(String name, EntityPermissionsArgs args, CustomResourceOptions options)
type: vsphere:EntityPermissions
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args EntityPermissionsArgs
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 EntityPermissionsArgs
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 EntityPermissionsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args EntityPermissionsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args EntityPermissionsArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

EntityId string

The managed object id (uuid for some entities) on which permissions are to be created.

EntityType string

The managed object type, types can be found in the managed object type section here.

Permissions List<Pulumi.VSphere.Inputs.EntityPermissionsPermissionArgs>

The permissions to be given on this entity. Keep the permissions sorted alphabetically on user_or_group for a better user experience.

EntityId string

The managed object id (uuid for some entities) on which permissions are to be created.

EntityType string

The managed object type, types can be found in the managed object type section here.

Permissions []EntityPermissionsPermissionArgs

The permissions to be given on this entity. Keep the permissions sorted alphabetically on user_or_group for a better user experience.

entityId String

The managed object id (uuid for some entities) on which permissions are to be created.

entityType String

The managed object type, types can be found in the managed object type section here.

permissions List<EntityPermissionsPermissionArgs>

The permissions to be given on this entity. Keep the permissions sorted alphabetically on user_or_group for a better user experience.

entityId string

The managed object id (uuid for some entities) on which permissions are to be created.

entityType string

The managed object type, types can be found in the managed object type section here.

permissions EntityPermissionsPermissionArgs[]

The permissions to be given on this entity. Keep the permissions sorted alphabetically on user_or_group for a better user experience.

entity_id str

The managed object id (uuid for some entities) on which permissions are to be created.

entity_type str

The managed object type, types can be found in the managed object type section here.

permissions Sequence[EntityPermissionsPermissionArgs]

The permissions to be given on this entity. Keep the permissions sorted alphabetically on user_or_group for a better user experience.

entityId String

The managed object id (uuid for some entities) on which permissions are to be created.

entityType String

The managed object type, types can be found in the managed object type section here.

permissions List<Property Map>

The permissions to be given on this entity. Keep the permissions sorted alphabetically on user_or_group for a better user experience.

Outputs

All input properties are implicitly available as output properties. Additionally, the EntityPermissions 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 EntityPermissions Resource

Get an existing EntityPermissions 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?: EntityPermissionsState, opts?: CustomResourceOptions): EntityPermissions
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        entity_id: Optional[str] = None,
        entity_type: Optional[str] = None,
        permissions: Optional[Sequence[EntityPermissionsPermissionArgs]] = None) -> EntityPermissions
func GetEntityPermissions(ctx *Context, name string, id IDInput, state *EntityPermissionsState, opts ...ResourceOption) (*EntityPermissions, error)
public static EntityPermissions Get(string name, Input<string> id, EntityPermissionsState? state, CustomResourceOptions? opts = null)
public static EntityPermissions get(String name, Output<String> id, EntityPermissionsState 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.
The following state arguments are supported:
EntityId string

The managed object id (uuid for some entities) on which permissions are to be created.

EntityType string

The managed object type, types can be found in the managed object type section here.

Permissions List<Pulumi.VSphere.Inputs.EntityPermissionsPermissionArgs>

The permissions to be given on this entity. Keep the permissions sorted alphabetically on user_or_group for a better user experience.

EntityId string

The managed object id (uuid for some entities) on which permissions are to be created.

EntityType string

The managed object type, types can be found in the managed object type section here.

Permissions []EntityPermissionsPermissionArgs

The permissions to be given on this entity. Keep the permissions sorted alphabetically on user_or_group for a better user experience.

entityId String

The managed object id (uuid for some entities) on which permissions are to be created.

entityType String

The managed object type, types can be found in the managed object type section here.

permissions List<EntityPermissionsPermissionArgs>

The permissions to be given on this entity. Keep the permissions sorted alphabetically on user_or_group for a better user experience.

entityId string

The managed object id (uuid for some entities) on which permissions are to be created.

entityType string

The managed object type, types can be found in the managed object type section here.

permissions EntityPermissionsPermissionArgs[]

The permissions to be given on this entity. Keep the permissions sorted alphabetically on user_or_group for a better user experience.

entity_id str

The managed object id (uuid for some entities) on which permissions are to be created.

entity_type str

The managed object type, types can be found in the managed object type section here.

permissions Sequence[EntityPermissionsPermissionArgs]

The permissions to be given on this entity. Keep the permissions sorted alphabetically on user_or_group for a better user experience.

entityId String

The managed object id (uuid for some entities) on which permissions are to be created.

entityType String

The managed object type, types can be found in the managed object type section here.

permissions List<Property Map>

The permissions to be given on this entity. Keep the permissions sorted alphabetically on user_or_group for a better user experience.

Supporting Types

EntityPermissionsPermission

IsGroup bool

Whether user_or_group field refers to a user or a group. True for a group and false for a user.

Propagate bool

Whether or not this permission propagates down the hierarchy to sub-entities.

RoleId string

The role id of the role to be given to the user on the specified entity.

UserOrGroup string

The user/group getting the permission.

IsGroup bool

Whether user_or_group field refers to a user or a group. True for a group and false for a user.

Propagate bool

Whether or not this permission propagates down the hierarchy to sub-entities.

RoleId string

The role id of the role to be given to the user on the specified entity.

UserOrGroup string

The user/group getting the permission.

isGroup Boolean

Whether user_or_group field refers to a user or a group. True for a group and false for a user.

propagate Boolean

Whether or not this permission propagates down the hierarchy to sub-entities.

roleId String

The role id of the role to be given to the user on the specified entity.

userOrGroup String

The user/group getting the permission.

isGroup boolean

Whether user_or_group field refers to a user or a group. True for a group and false for a user.

propagate boolean

Whether or not this permission propagates down the hierarchy to sub-entities.

roleId string

The role id of the role to be given to the user on the specified entity.

userOrGroup string

The user/group getting the permission.

is_group bool

Whether user_or_group field refers to a user or a group. True for a group and false for a user.

propagate bool

Whether or not this permission propagates down the hierarchy to sub-entities.

role_id str

The role id of the role to be given to the user on the specified entity.

user_or_group str

The user/group getting the permission.

isGroup Boolean

Whether user_or_group field refers to a user or a group. True for a group and false for a user.

propagate Boolean

Whether or not this permission propagates down the hierarchy to sub-entities.

roleId String

The role id of the role to be given to the user on the specified entity.

userOrGroup String

The user/group getting the permission.

Package Details

Repository
vSphere pulumi/pulumi-vsphere
License
Apache-2.0
Notes

This Pulumi package is based on the vsphere Terraform Provider.