v20180101preview

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupRoleAssignmentArgs

type LookupRoleAssignmentArgs struct {
	// The name of the role assignment to get.
	RoleAssignmentName string `pulumi:"roleAssignmentName"`
	// The scope of the role assignment.
	Scope string `pulumi:"scope"`
}

type LookupRoleAssignmentResult

type LookupRoleAssignmentResult struct {
	// The Delegation flag for the role assignment
	CanDelegate *bool `pulumi:"canDelegate"`
	// The role assignment ID.
	Id string `pulumi:"id"`
	// The role assignment name.
	Name string `pulumi:"name"`
	// The principal ID.
	PrincipalId *string `pulumi:"principalId"`
	// The role definition ID.
	RoleDefinitionId *string `pulumi:"roleDefinitionId"`
	// The role assignment scope.
	Scope *string `pulumi:"scope"`
	// The role assignment type.
	Type string `pulumi:"type"`
}

Role Assignments

type LookupRoleDefinitionArgs

type LookupRoleDefinitionArgs struct {
	// The ID of the role definition.
	RoleDefinitionId string `pulumi:"roleDefinitionId"`
	// The scope of the role definition.
	Scope string `pulumi:"scope"`
}

type LookupRoleDefinitionResult

type LookupRoleDefinitionResult struct {
	// Role definition assignable scopes.
	AssignableScopes []string `pulumi:"assignableScopes"`
	// The role definition description.
	Description *string `pulumi:"description"`
	// The role definition ID.
	Id string `pulumi:"id"`
	// The role definition name.
	Name string `pulumi:"name"`
	// Role definition permissions.
	Permissions []PermissionResponse `pulumi:"permissions"`
	// The role name.
	RoleName *string `pulumi:"roleName"`
	// The role type.
	RoleType *string `pulumi:"roleType"`
	// The role definition type.
	Type string `pulumi:"type"`
}

Role definition.

type Permission

type Permission struct {
	// Allowed actions.
	Actions []string `pulumi:"actions"`
	// Allowed Data actions.
	DataActions []string `pulumi:"dataActions"`
	// Denied actions.
	NotActions []string `pulumi:"notActions"`
	// Denied Data actions.
	NotDataActions []string `pulumi:"notDataActions"`
}

Role definition permissions.

type PermissionArgs

type PermissionArgs struct {
	// Allowed actions.
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// Allowed Data actions.
	DataActions pulumi.StringArrayInput `pulumi:"dataActions"`
	// Denied actions.
	NotActions pulumi.StringArrayInput `pulumi:"notActions"`
	// Denied Data actions.
	NotDataActions pulumi.StringArrayInput `pulumi:"notDataActions"`
}

Role definition permissions.

func (PermissionArgs) ElementType

func (PermissionArgs) ElementType() reflect.Type

func (PermissionArgs) ToPermissionOutput

func (i PermissionArgs) ToPermissionOutput() PermissionOutput

func (PermissionArgs) ToPermissionOutputWithContext

func (i PermissionArgs) ToPermissionOutputWithContext(ctx context.Context) PermissionOutput

type PermissionArray

type PermissionArray []PermissionInput

func (PermissionArray) ElementType

func (PermissionArray) ElementType() reflect.Type

func (PermissionArray) ToPermissionArrayOutput

func (i PermissionArray) ToPermissionArrayOutput() PermissionArrayOutput

func (PermissionArray) ToPermissionArrayOutputWithContext

func (i PermissionArray) ToPermissionArrayOutputWithContext(ctx context.Context) PermissionArrayOutput

type PermissionArrayInput

type PermissionArrayInput interface {
	pulumi.Input

	ToPermissionArrayOutput() PermissionArrayOutput
	ToPermissionArrayOutputWithContext(context.Context) PermissionArrayOutput
}

PermissionArrayInput is an input type that accepts PermissionArray and PermissionArrayOutput values. You can construct a concrete instance of `PermissionArrayInput` via:

PermissionArray{ PermissionArgs{...} }

type PermissionArrayOutput

type PermissionArrayOutput struct{ *pulumi.OutputState }

func (PermissionArrayOutput) ElementType

func (PermissionArrayOutput) ElementType() reflect.Type

func (PermissionArrayOutput) Index

func (PermissionArrayOutput) ToPermissionArrayOutput

func (o PermissionArrayOutput) ToPermissionArrayOutput() PermissionArrayOutput

func (PermissionArrayOutput) ToPermissionArrayOutputWithContext

func (o PermissionArrayOutput) ToPermissionArrayOutputWithContext(ctx context.Context) PermissionArrayOutput

type PermissionInput

type PermissionInput interface {
	pulumi.Input

	ToPermissionOutput() PermissionOutput
	ToPermissionOutputWithContext(context.Context) PermissionOutput
}

PermissionInput is an input type that accepts PermissionArgs and PermissionOutput values. You can construct a concrete instance of `PermissionInput` via:

PermissionArgs{...}

type PermissionOutput

type PermissionOutput struct{ *pulumi.OutputState }

Role definition permissions.

func (PermissionOutput) Actions

Allowed actions.

func (PermissionOutput) DataActions

func (o PermissionOutput) DataActions() pulumi.StringArrayOutput

Allowed Data actions.

func (PermissionOutput) ElementType

func (PermissionOutput) ElementType() reflect.Type

func (PermissionOutput) NotActions

func (o PermissionOutput) NotActions() pulumi.StringArrayOutput

Denied actions.

func (PermissionOutput) NotDataActions

func (o PermissionOutput) NotDataActions() pulumi.StringArrayOutput

Denied Data actions.

func (PermissionOutput) ToPermissionOutput

func (o PermissionOutput) ToPermissionOutput() PermissionOutput

func (PermissionOutput) ToPermissionOutputWithContext

func (o PermissionOutput) ToPermissionOutputWithContext(ctx context.Context) PermissionOutput

type PermissionResponse

type PermissionResponse struct {
	// Allowed actions.
	Actions []string `pulumi:"actions"`
	// Allowed Data actions.
	DataActions []string `pulumi:"dataActions"`
	// Denied actions.
	NotActions []string `pulumi:"notActions"`
	// Denied Data actions.
	NotDataActions []string `pulumi:"notDataActions"`
}

Role definition permissions.

type PermissionResponseArgs

type PermissionResponseArgs struct {
	// Allowed actions.
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// Allowed Data actions.
	DataActions pulumi.StringArrayInput `pulumi:"dataActions"`
	// Denied actions.
	NotActions pulumi.StringArrayInput `pulumi:"notActions"`
	// Denied Data actions.
	NotDataActions pulumi.StringArrayInput `pulumi:"notDataActions"`
}

Role definition permissions.

func (PermissionResponseArgs) ElementType

func (PermissionResponseArgs) ElementType() reflect.Type

func (PermissionResponseArgs) ToPermissionResponseOutput

func (i PermissionResponseArgs) ToPermissionResponseOutput() PermissionResponseOutput

func (PermissionResponseArgs) ToPermissionResponseOutputWithContext

func (i PermissionResponseArgs) ToPermissionResponseOutputWithContext(ctx context.Context) PermissionResponseOutput

type PermissionResponseArray

type PermissionResponseArray []PermissionResponseInput

func (PermissionResponseArray) ElementType

func (PermissionResponseArray) ElementType() reflect.Type

func (PermissionResponseArray) ToPermissionResponseArrayOutput

func (i PermissionResponseArray) ToPermissionResponseArrayOutput() PermissionResponseArrayOutput

func (PermissionResponseArray) ToPermissionResponseArrayOutputWithContext

func (i PermissionResponseArray) ToPermissionResponseArrayOutputWithContext(ctx context.Context) PermissionResponseArrayOutput

type PermissionResponseArrayInput

type PermissionResponseArrayInput interface {
	pulumi.Input

	ToPermissionResponseArrayOutput() PermissionResponseArrayOutput
	ToPermissionResponseArrayOutputWithContext(context.Context) PermissionResponseArrayOutput
}

PermissionResponseArrayInput is an input type that accepts PermissionResponseArray and PermissionResponseArrayOutput values. You can construct a concrete instance of `PermissionResponseArrayInput` via:

PermissionResponseArray{ PermissionResponseArgs{...} }

type PermissionResponseArrayOutput

type PermissionResponseArrayOutput struct{ *pulumi.OutputState }

func (PermissionResponseArrayOutput) ElementType

func (PermissionResponseArrayOutput) Index

func (PermissionResponseArrayOutput) ToPermissionResponseArrayOutput

func (o PermissionResponseArrayOutput) ToPermissionResponseArrayOutput() PermissionResponseArrayOutput

func (PermissionResponseArrayOutput) ToPermissionResponseArrayOutputWithContext

func (o PermissionResponseArrayOutput) ToPermissionResponseArrayOutputWithContext(ctx context.Context) PermissionResponseArrayOutput

type PermissionResponseInput

type PermissionResponseInput interface {
	pulumi.Input

	ToPermissionResponseOutput() PermissionResponseOutput
	ToPermissionResponseOutputWithContext(context.Context) PermissionResponseOutput
}

PermissionResponseInput is an input type that accepts PermissionResponseArgs and PermissionResponseOutput values. You can construct a concrete instance of `PermissionResponseInput` via:

PermissionResponseArgs{...}

type PermissionResponseOutput

type PermissionResponseOutput struct{ *pulumi.OutputState }

Role definition permissions.

func (PermissionResponseOutput) Actions

Allowed actions.

func (PermissionResponseOutput) DataActions

Allowed Data actions.

func (PermissionResponseOutput) ElementType

func (PermissionResponseOutput) ElementType() reflect.Type

func (PermissionResponseOutput) NotActions

Denied actions.

func (PermissionResponseOutput) NotDataActions

Denied Data actions.

func (PermissionResponseOutput) ToPermissionResponseOutput

func (o PermissionResponseOutput) ToPermissionResponseOutput() PermissionResponseOutput

func (PermissionResponseOutput) ToPermissionResponseOutputWithContext

func (o PermissionResponseOutput) ToPermissionResponseOutputWithContext(ctx context.Context) PermissionResponseOutput

type RoleAssignment

type RoleAssignment struct {
	pulumi.CustomResourceState

	// The Delegation flag for the role assignment
	CanDelegate pulumi.BoolPtrOutput `pulumi:"canDelegate"`
	// The role assignment name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The principal ID.
	PrincipalId pulumi.StringPtrOutput `pulumi:"principalId"`
	// The role definition ID.
	RoleDefinitionId pulumi.StringPtrOutput `pulumi:"roleDefinitionId"`
	// The role assignment scope.
	Scope pulumi.StringPtrOutput `pulumi:"scope"`
	// The role assignment type.
	Type pulumi.StringOutput `pulumi:"type"`
}

Role Assignments

func GetRoleAssignment

func GetRoleAssignment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RoleAssignmentState, opts ...pulumi.ResourceOption) (*RoleAssignment, error)

GetRoleAssignment gets an existing RoleAssignment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRoleAssignment

func NewRoleAssignment(ctx *pulumi.Context,
	name string, args *RoleAssignmentArgs, opts ...pulumi.ResourceOption) (*RoleAssignment, error)

NewRoleAssignment registers a new resource with the given unique name, arguments, and options.

func (*RoleAssignment) ElementType added in v0.2.6

func (*RoleAssignment) ElementType() reflect.Type

func (*RoleAssignment) ToRoleAssignmentOutput added in v0.2.6

func (i *RoleAssignment) ToRoleAssignmentOutput() RoleAssignmentOutput

func (*RoleAssignment) ToRoleAssignmentOutputWithContext added in v0.2.6

func (i *RoleAssignment) ToRoleAssignmentOutputWithContext(ctx context.Context) RoleAssignmentOutput

type RoleAssignmentArgs

type RoleAssignmentArgs struct {
	// The delegation flag used for creating a role assignment
	CanDelegate pulumi.BoolPtrInput
	// The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group.
	PrincipalId pulumi.StringInput
	// The name of the role assignment to create. It can be any valid GUID.
	RoleAssignmentName pulumi.StringInput
	// The role definition ID used in the role assignment.
	RoleDefinitionId pulumi.StringInput
	// The scope of the role assignment to create. The scope can be any REST resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource.
	Scope pulumi.StringInput
}

The set of arguments for constructing a RoleAssignment resource.

func (RoleAssignmentArgs) ElementType

func (RoleAssignmentArgs) ElementType() reflect.Type

type RoleAssignmentInput added in v0.2.6

type RoleAssignmentInput interface {
	pulumi.Input

	ToRoleAssignmentOutput() RoleAssignmentOutput
	ToRoleAssignmentOutputWithContext(ctx context.Context) RoleAssignmentOutput
}

type RoleAssignmentOutput added in v0.2.6

type RoleAssignmentOutput struct {
	*pulumi.OutputState
}

func (RoleAssignmentOutput) ElementType added in v0.2.6

func (RoleAssignmentOutput) ElementType() reflect.Type

func (RoleAssignmentOutput) ToRoleAssignmentOutput added in v0.2.6

func (o RoleAssignmentOutput) ToRoleAssignmentOutput() RoleAssignmentOutput

func (RoleAssignmentOutput) ToRoleAssignmentOutputWithContext added in v0.2.6

func (o RoleAssignmentOutput) ToRoleAssignmentOutputWithContext(ctx context.Context) RoleAssignmentOutput

type RoleAssignmentState

type RoleAssignmentState struct {
	// The Delegation flag for the role assignment
	CanDelegate pulumi.BoolPtrInput
	// The role assignment name.
	Name pulumi.StringPtrInput
	// The principal ID.
	PrincipalId pulumi.StringPtrInput
	// The role definition ID.
	RoleDefinitionId pulumi.StringPtrInput
	// The role assignment scope.
	Scope pulumi.StringPtrInput
	// The role assignment type.
	Type pulumi.StringPtrInput
}

func (RoleAssignmentState) ElementType

func (RoleAssignmentState) ElementType() reflect.Type

type RoleDefinition

type RoleDefinition struct {
	pulumi.CustomResourceState

	// Role definition assignable scopes.
	AssignableScopes pulumi.StringArrayOutput `pulumi:"assignableScopes"`
	// The role definition description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The role definition name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Role definition permissions.
	Permissions PermissionResponseArrayOutput `pulumi:"permissions"`
	// The role name.
	RoleName pulumi.StringPtrOutput `pulumi:"roleName"`
	// The role type.
	RoleType pulumi.StringPtrOutput `pulumi:"roleType"`
	// The role definition type.
	Type pulumi.StringOutput `pulumi:"type"`
}

Role definition.

func GetRoleDefinition

func GetRoleDefinition(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RoleDefinitionState, opts ...pulumi.ResourceOption) (*RoleDefinition, error)

GetRoleDefinition gets an existing RoleDefinition resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRoleDefinition

func NewRoleDefinition(ctx *pulumi.Context,
	name string, args *RoleDefinitionArgs, opts ...pulumi.ResourceOption) (*RoleDefinition, error)

NewRoleDefinition registers a new resource with the given unique name, arguments, and options.

func (*RoleDefinition) ElementType added in v0.2.6

func (*RoleDefinition) ElementType() reflect.Type

func (*RoleDefinition) ToRoleDefinitionOutput added in v0.2.6

func (i *RoleDefinition) ToRoleDefinitionOutput() RoleDefinitionOutput

func (*RoleDefinition) ToRoleDefinitionOutputWithContext added in v0.2.6

func (i *RoleDefinition) ToRoleDefinitionOutputWithContext(ctx context.Context) RoleDefinitionOutput

type RoleDefinitionArgs

type RoleDefinitionArgs struct {
	// Role definition assignable scopes.
	AssignableScopes pulumi.StringArrayInput
	// The role definition description.
	Description pulumi.StringPtrInput
	// Role definition permissions.
	Permissions PermissionArrayInput
	// The ID of the role definition.
	RoleDefinitionId pulumi.StringInput
	// The role name.
	RoleName pulumi.StringPtrInput
	// The role type.
	RoleType pulumi.StringPtrInput
	// The scope of the role definition.
	Scope pulumi.StringInput
}

The set of arguments for constructing a RoleDefinition resource.

func (RoleDefinitionArgs) ElementType

func (RoleDefinitionArgs) ElementType() reflect.Type

type RoleDefinitionInput added in v0.2.6

type RoleDefinitionInput interface {
	pulumi.Input

	ToRoleDefinitionOutput() RoleDefinitionOutput
	ToRoleDefinitionOutputWithContext(ctx context.Context) RoleDefinitionOutput
}

type RoleDefinitionOutput added in v0.2.6

type RoleDefinitionOutput struct {
	*pulumi.OutputState
}

func (RoleDefinitionOutput) ElementType added in v0.2.6

func (RoleDefinitionOutput) ElementType() reflect.Type

func (RoleDefinitionOutput) ToRoleDefinitionOutput added in v0.2.6

func (o RoleDefinitionOutput) ToRoleDefinitionOutput() RoleDefinitionOutput

func (RoleDefinitionOutput) ToRoleDefinitionOutputWithContext added in v0.2.6

func (o RoleDefinitionOutput) ToRoleDefinitionOutputWithContext(ctx context.Context) RoleDefinitionOutput

type RoleDefinitionState

type RoleDefinitionState struct {
	// Role definition assignable scopes.
	AssignableScopes pulumi.StringArrayInput
	// The role definition description.
	Description pulumi.StringPtrInput
	// The role definition name.
	Name pulumi.StringPtrInput
	// Role definition permissions.
	Permissions PermissionResponseArrayInput
	// The role name.
	RoleName pulumi.StringPtrInput
	// The role type.
	RoleType pulumi.StringPtrInput
	// The role definition type.
	Type pulumi.StringPtrInput
}

func (RoleDefinitionState) ElementType

func (RoleDefinitionState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL