pim

package
v5.48.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 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 ActiveRoleAssignment

type ActiveRoleAssignment struct {
	pulumi.CustomResourceState

	// The justification of the role assignment. Changing this forces a new Pim Active Role Assignment to be created.
	Justification pulumi.StringPtrOutput `pulumi:"justification"`
	// The principal id. Changing this forces a new Pim Active Role Assignment to be created.
	PrincipalId pulumi.StringOutput `pulumi:"principalId"`
	// The type of principal.
	PrincipalType pulumi.StringOutput `pulumi:"principalType"`
	// The role definition id. Changing this forces a new Pim Active Role Assignment to be created.
	RoleDefinitionId pulumi.StringOutput `pulumi:"roleDefinitionId"`
	// A `schedule` block as defined below. Changing this forces a new Pim Active Role Assignment to be created.
	Schedule ActiveRoleAssignmentSchedulePtrOutput `pulumi:"schedule"`
	// The scope. Changing this forces a new Pim Active Role Assignment to be created.
	Scope pulumi.StringOutput `pulumi:"scope"`
	// A `ticket` block as defined below. Changing this forces a new Pim Active Role Assignment to be created.
	Ticket ActiveRoleAssignmentTicketPtrOutput `pulumi:"ticket"`
}

Manages a Pim Active Role Assignment.

## Example Usage ### Subscription)

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/pim"
"github.com/pulumi/pulumi-time/sdk/go/time"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		primary, err := core.LookupSubscription(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleClientConfig, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleRoleDefinition, err := authorization.LookupRoleDefinition(ctx, &authorization.LookupRoleDefinitionArgs{
			Name: pulumi.StringRef("Reader"),
		}, nil)
		if err != nil {
			return err
		}
		exampleStatic, err := time.NewStatic(ctx, "exampleStatic", nil)
		if err != nil {
			return err
		}
		_, err = pim.NewActiveRoleAssignment(ctx, "exampleActiveRoleAssignment", &pim.ActiveRoleAssignmentArgs{
			Scope:            *pulumi.String(primary.Id),
			RoleDefinitionId: pulumi.String(fmt.Sprintf("%v%v", primary.Id, exampleRoleDefinition.Id)),
			PrincipalId:      *pulumi.String(exampleClientConfig.ObjectId),
			Schedule: &pim.ActiveRoleAssignmentScheduleArgs{
				StartDateTime: exampleStatic.Rfc3339,
				Expiration: &pim.ActiveRoleAssignmentScheduleExpirationArgs{
					DurationHours: pulumi.Int(8),
				},
			},
			Justification: pulumi.String("Expiration Duration Set"),
			Ticket: &pim.ActiveRoleAssignmentTicketArgs{
				Number: pulumi.String("1"),
				System: pulumi.String("example ticket system"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Management Group)

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/pim"
"github.com/pulumi/pulumi-time/sdk/go/time"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleClientConfig, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleRoleDefinition, err := authorization.LookupRoleDefinition(ctx, &authorization.LookupRoleDefinitionArgs{
			Name: pulumi.StringRef("Reader"),
		}, nil)
		if err != nil {
			return err
		}
		exampleGroup, err := management.NewGroup(ctx, "exampleGroup", nil)
		if err != nil {
			return err
		}
		exampleStatic, err := time.NewStatic(ctx, "exampleStatic", nil)
		if err != nil {
			return err
		}
		_, err = pim.NewActiveRoleAssignment(ctx, "exampleActiveRoleAssignment", &pim.ActiveRoleAssignmentArgs{
			Scope:            exampleGroup.ID(),
			RoleDefinitionId: *pulumi.String(exampleRoleDefinition.Id),
			PrincipalId:      *pulumi.String(exampleClientConfig.ObjectId),
			Schedule: &pim.ActiveRoleAssignmentScheduleArgs{
				StartDateTime: exampleStatic.Rfc3339,
				Expiration: &pim.ActiveRoleAssignmentScheduleExpirationArgs{
					DurationHours: pulumi.Int(8),
				},
			},
			Justification: pulumi.String("Expiration Duration Set"),
			Ticket: &pim.ActiveRoleAssignmentTicketArgs{
				Number: pulumi.String("1"),
				System: pulumi.String("example ticket system"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Pim Active Role Assignments can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:pim/activeRoleAssignment:ActiveRoleAssignment example /subscriptions/00000000-0000-0000-0000-000000000000|/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/00000000-0000-0000-0000-000000000000|00000000-0000-0000-0000-000000000000

```

func GetActiveRoleAssignment

func GetActiveRoleAssignment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ActiveRoleAssignmentState, opts ...pulumi.ResourceOption) (*ActiveRoleAssignment, error)

GetActiveRoleAssignment gets an existing ActiveRoleAssignment 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 NewActiveRoleAssignment

func NewActiveRoleAssignment(ctx *pulumi.Context,
	name string, args *ActiveRoleAssignmentArgs, opts ...pulumi.ResourceOption) (*ActiveRoleAssignment, error)

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

func (*ActiveRoleAssignment) ElementType

func (*ActiveRoleAssignment) ElementType() reflect.Type

func (*ActiveRoleAssignment) ToActiveRoleAssignmentOutput

func (i *ActiveRoleAssignment) ToActiveRoleAssignmentOutput() ActiveRoleAssignmentOutput

func (*ActiveRoleAssignment) ToActiveRoleAssignmentOutputWithContext

func (i *ActiveRoleAssignment) ToActiveRoleAssignmentOutputWithContext(ctx context.Context) ActiveRoleAssignmentOutput

type ActiveRoleAssignmentArgs

type ActiveRoleAssignmentArgs struct {
	// The justification of the role assignment. Changing this forces a new Pim Active Role Assignment to be created.
	Justification pulumi.StringPtrInput
	// The principal id. Changing this forces a new Pim Active Role Assignment to be created.
	PrincipalId pulumi.StringInput
	// The role definition id. Changing this forces a new Pim Active Role Assignment to be created.
	RoleDefinitionId pulumi.StringInput
	// A `schedule` block as defined below. Changing this forces a new Pim Active Role Assignment to be created.
	Schedule ActiveRoleAssignmentSchedulePtrInput
	// The scope. Changing this forces a new Pim Active Role Assignment to be created.
	Scope pulumi.StringInput
	// A `ticket` block as defined below. Changing this forces a new Pim Active Role Assignment to be created.
	Ticket ActiveRoleAssignmentTicketPtrInput
}

The set of arguments for constructing a ActiveRoleAssignment resource.

func (ActiveRoleAssignmentArgs) ElementType

func (ActiveRoleAssignmentArgs) ElementType() reflect.Type

type ActiveRoleAssignmentArray

type ActiveRoleAssignmentArray []ActiveRoleAssignmentInput

func (ActiveRoleAssignmentArray) ElementType

func (ActiveRoleAssignmentArray) ElementType() reflect.Type

func (ActiveRoleAssignmentArray) ToActiveRoleAssignmentArrayOutput

func (i ActiveRoleAssignmentArray) ToActiveRoleAssignmentArrayOutput() ActiveRoleAssignmentArrayOutput

func (ActiveRoleAssignmentArray) ToActiveRoleAssignmentArrayOutputWithContext

func (i ActiveRoleAssignmentArray) ToActiveRoleAssignmentArrayOutputWithContext(ctx context.Context) ActiveRoleAssignmentArrayOutput

type ActiveRoleAssignmentArrayInput

type ActiveRoleAssignmentArrayInput interface {
	pulumi.Input

	ToActiveRoleAssignmentArrayOutput() ActiveRoleAssignmentArrayOutput
	ToActiveRoleAssignmentArrayOutputWithContext(context.Context) ActiveRoleAssignmentArrayOutput
}

ActiveRoleAssignmentArrayInput is an input type that accepts ActiveRoleAssignmentArray and ActiveRoleAssignmentArrayOutput values. You can construct a concrete instance of `ActiveRoleAssignmentArrayInput` via:

ActiveRoleAssignmentArray{ ActiveRoleAssignmentArgs{...} }

type ActiveRoleAssignmentArrayOutput

type ActiveRoleAssignmentArrayOutput struct{ *pulumi.OutputState }

func (ActiveRoleAssignmentArrayOutput) ElementType

func (ActiveRoleAssignmentArrayOutput) Index

func (ActiveRoleAssignmentArrayOutput) ToActiveRoleAssignmentArrayOutput

func (o ActiveRoleAssignmentArrayOutput) ToActiveRoleAssignmentArrayOutput() ActiveRoleAssignmentArrayOutput

func (ActiveRoleAssignmentArrayOutput) ToActiveRoleAssignmentArrayOutputWithContext

func (o ActiveRoleAssignmentArrayOutput) ToActiveRoleAssignmentArrayOutputWithContext(ctx context.Context) ActiveRoleAssignmentArrayOutput

type ActiveRoleAssignmentInput

type ActiveRoleAssignmentInput interface {
	pulumi.Input

	ToActiveRoleAssignmentOutput() ActiveRoleAssignmentOutput
	ToActiveRoleAssignmentOutputWithContext(ctx context.Context) ActiveRoleAssignmentOutput
}

type ActiveRoleAssignmentMap

type ActiveRoleAssignmentMap map[string]ActiveRoleAssignmentInput

func (ActiveRoleAssignmentMap) ElementType

func (ActiveRoleAssignmentMap) ElementType() reflect.Type

func (ActiveRoleAssignmentMap) ToActiveRoleAssignmentMapOutput

func (i ActiveRoleAssignmentMap) ToActiveRoleAssignmentMapOutput() ActiveRoleAssignmentMapOutput

func (ActiveRoleAssignmentMap) ToActiveRoleAssignmentMapOutputWithContext

func (i ActiveRoleAssignmentMap) ToActiveRoleAssignmentMapOutputWithContext(ctx context.Context) ActiveRoleAssignmentMapOutput

type ActiveRoleAssignmentMapInput

type ActiveRoleAssignmentMapInput interface {
	pulumi.Input

	ToActiveRoleAssignmentMapOutput() ActiveRoleAssignmentMapOutput
	ToActiveRoleAssignmentMapOutputWithContext(context.Context) ActiveRoleAssignmentMapOutput
}

ActiveRoleAssignmentMapInput is an input type that accepts ActiveRoleAssignmentMap and ActiveRoleAssignmentMapOutput values. You can construct a concrete instance of `ActiveRoleAssignmentMapInput` via:

ActiveRoleAssignmentMap{ "key": ActiveRoleAssignmentArgs{...} }

type ActiveRoleAssignmentMapOutput

type ActiveRoleAssignmentMapOutput struct{ *pulumi.OutputState }

func (ActiveRoleAssignmentMapOutput) ElementType

func (ActiveRoleAssignmentMapOutput) MapIndex

func (ActiveRoleAssignmentMapOutput) ToActiveRoleAssignmentMapOutput

func (o ActiveRoleAssignmentMapOutput) ToActiveRoleAssignmentMapOutput() ActiveRoleAssignmentMapOutput

func (ActiveRoleAssignmentMapOutput) ToActiveRoleAssignmentMapOutputWithContext

func (o ActiveRoleAssignmentMapOutput) ToActiveRoleAssignmentMapOutputWithContext(ctx context.Context) ActiveRoleAssignmentMapOutput

type ActiveRoleAssignmentOutput

type ActiveRoleAssignmentOutput struct{ *pulumi.OutputState }

func (ActiveRoleAssignmentOutput) ElementType

func (ActiveRoleAssignmentOutput) ElementType() reflect.Type

func (ActiveRoleAssignmentOutput) Justification

The justification of the role assignment. Changing this forces a new Pim Active Role Assignment to be created.

func (ActiveRoleAssignmentOutput) PrincipalId

The principal id. Changing this forces a new Pim Active Role Assignment to be created.

func (ActiveRoleAssignmentOutput) PrincipalType

The type of principal.

func (ActiveRoleAssignmentOutput) RoleDefinitionId

func (o ActiveRoleAssignmentOutput) RoleDefinitionId() pulumi.StringOutput

The role definition id. Changing this forces a new Pim Active Role Assignment to be created.

func (ActiveRoleAssignmentOutput) Schedule

A `schedule` block as defined below. Changing this forces a new Pim Active Role Assignment to be created.

func (ActiveRoleAssignmentOutput) Scope

The scope. Changing this forces a new Pim Active Role Assignment to be created.

func (ActiveRoleAssignmentOutput) Ticket

A `ticket` block as defined below. Changing this forces a new Pim Active Role Assignment to be created.

func (ActiveRoleAssignmentOutput) ToActiveRoleAssignmentOutput

func (o ActiveRoleAssignmentOutput) ToActiveRoleAssignmentOutput() ActiveRoleAssignmentOutput

func (ActiveRoleAssignmentOutput) ToActiveRoleAssignmentOutputWithContext

func (o ActiveRoleAssignmentOutput) ToActiveRoleAssignmentOutputWithContext(ctx context.Context) ActiveRoleAssignmentOutput

type ActiveRoleAssignmentSchedule

type ActiveRoleAssignmentSchedule struct {
	// A `expiration` block as defined above.
	Expiration *ActiveRoleAssignmentScheduleExpiration `pulumi:"expiration"`
	// The start date time of the role assignment. Changing this forces a new Pim Active Role Assignment to be created.
	StartDateTime *string `pulumi:"startDateTime"`
}

type ActiveRoleAssignmentScheduleArgs

type ActiveRoleAssignmentScheduleArgs struct {
	// A `expiration` block as defined above.
	Expiration ActiveRoleAssignmentScheduleExpirationPtrInput `pulumi:"expiration"`
	// The start date time of the role assignment. Changing this forces a new Pim Active Role Assignment to be created.
	StartDateTime pulumi.StringPtrInput `pulumi:"startDateTime"`
}

func (ActiveRoleAssignmentScheduleArgs) ElementType

func (ActiveRoleAssignmentScheduleArgs) ToActiveRoleAssignmentScheduleOutput

func (i ActiveRoleAssignmentScheduleArgs) ToActiveRoleAssignmentScheduleOutput() ActiveRoleAssignmentScheduleOutput

func (ActiveRoleAssignmentScheduleArgs) ToActiveRoleAssignmentScheduleOutputWithContext

func (i ActiveRoleAssignmentScheduleArgs) ToActiveRoleAssignmentScheduleOutputWithContext(ctx context.Context) ActiveRoleAssignmentScheduleOutput

func (ActiveRoleAssignmentScheduleArgs) ToActiveRoleAssignmentSchedulePtrOutput

func (i ActiveRoleAssignmentScheduleArgs) ToActiveRoleAssignmentSchedulePtrOutput() ActiveRoleAssignmentSchedulePtrOutput

func (ActiveRoleAssignmentScheduleArgs) ToActiveRoleAssignmentSchedulePtrOutputWithContext

func (i ActiveRoleAssignmentScheduleArgs) ToActiveRoleAssignmentSchedulePtrOutputWithContext(ctx context.Context) ActiveRoleAssignmentSchedulePtrOutput

type ActiveRoleAssignmentScheduleExpiration

type ActiveRoleAssignmentScheduleExpiration struct {
	// The duration of the role assignment in days. Conflicts with `schedule.0.expiration.0.duration_hours`,`schedule.0.expiration.0.end_date_time` Changing this forces a new Pim Active Role Assignment to be created.
	DurationDays *int `pulumi:"durationDays"`
	// The duration of the role assignment in hours. Conflicts with `schedule.0.expiration.0.duration_days`,`schedule.0.expiration.0.end_date_time` Changing this forces a new Pim Active Role Assignment to be created.
	DurationHours *int `pulumi:"durationHours"`
	// The end date time of the role assignment. Conflicts with `schedule.0.expiration.0.duration_days`,`schedule.0.expiration.0.duration_hours` Changing this forces a new Pim Active Role Assignment to be created.
	EndDateTime *string `pulumi:"endDateTime"`
}

type ActiveRoleAssignmentScheduleExpirationArgs

type ActiveRoleAssignmentScheduleExpirationArgs struct {
	// The duration of the role assignment in days. Conflicts with `schedule.0.expiration.0.duration_hours`,`schedule.0.expiration.0.end_date_time` Changing this forces a new Pim Active Role Assignment to be created.
	DurationDays pulumi.IntPtrInput `pulumi:"durationDays"`
	// The duration of the role assignment in hours. Conflicts with `schedule.0.expiration.0.duration_days`,`schedule.0.expiration.0.end_date_time` Changing this forces a new Pim Active Role Assignment to be created.
	DurationHours pulumi.IntPtrInput `pulumi:"durationHours"`
	// The end date time of the role assignment. Conflicts with `schedule.0.expiration.0.duration_days`,`schedule.0.expiration.0.duration_hours` Changing this forces a new Pim Active Role Assignment to be created.
	EndDateTime pulumi.StringPtrInput `pulumi:"endDateTime"`
}

func (ActiveRoleAssignmentScheduleExpirationArgs) ElementType

func (ActiveRoleAssignmentScheduleExpirationArgs) ToActiveRoleAssignmentScheduleExpirationOutput

func (i ActiveRoleAssignmentScheduleExpirationArgs) ToActiveRoleAssignmentScheduleExpirationOutput() ActiveRoleAssignmentScheduleExpirationOutput

func (ActiveRoleAssignmentScheduleExpirationArgs) ToActiveRoleAssignmentScheduleExpirationOutputWithContext

func (i ActiveRoleAssignmentScheduleExpirationArgs) ToActiveRoleAssignmentScheduleExpirationOutputWithContext(ctx context.Context) ActiveRoleAssignmentScheduleExpirationOutput

func (ActiveRoleAssignmentScheduleExpirationArgs) ToActiveRoleAssignmentScheduleExpirationPtrOutput

func (i ActiveRoleAssignmentScheduleExpirationArgs) ToActiveRoleAssignmentScheduleExpirationPtrOutput() ActiveRoleAssignmentScheduleExpirationPtrOutput

func (ActiveRoleAssignmentScheduleExpirationArgs) ToActiveRoleAssignmentScheduleExpirationPtrOutputWithContext

func (i ActiveRoleAssignmentScheduleExpirationArgs) ToActiveRoleAssignmentScheduleExpirationPtrOutputWithContext(ctx context.Context) ActiveRoleAssignmentScheduleExpirationPtrOutput

type ActiveRoleAssignmentScheduleExpirationInput

type ActiveRoleAssignmentScheduleExpirationInput interface {
	pulumi.Input

	ToActiveRoleAssignmentScheduleExpirationOutput() ActiveRoleAssignmentScheduleExpirationOutput
	ToActiveRoleAssignmentScheduleExpirationOutputWithContext(context.Context) ActiveRoleAssignmentScheduleExpirationOutput
}

ActiveRoleAssignmentScheduleExpirationInput is an input type that accepts ActiveRoleAssignmentScheduleExpirationArgs and ActiveRoleAssignmentScheduleExpirationOutput values. You can construct a concrete instance of `ActiveRoleAssignmentScheduleExpirationInput` via:

ActiveRoleAssignmentScheduleExpirationArgs{...}

type ActiveRoleAssignmentScheduleExpirationOutput

type ActiveRoleAssignmentScheduleExpirationOutput struct{ *pulumi.OutputState }

func (ActiveRoleAssignmentScheduleExpirationOutput) DurationDays

The duration of the role assignment in days. Conflicts with `schedule.0.expiration.0.duration_hours`,`schedule.0.expiration.0.end_date_time` Changing this forces a new Pim Active Role Assignment to be created.

func (ActiveRoleAssignmentScheduleExpirationOutput) DurationHours

The duration of the role assignment in hours. Conflicts with `schedule.0.expiration.0.duration_days`,`schedule.0.expiration.0.end_date_time` Changing this forces a new Pim Active Role Assignment to be created.

func (ActiveRoleAssignmentScheduleExpirationOutput) ElementType

func (ActiveRoleAssignmentScheduleExpirationOutput) EndDateTime

The end date time of the role assignment. Conflicts with `schedule.0.expiration.0.duration_days`,`schedule.0.expiration.0.duration_hours` Changing this forces a new Pim Active Role Assignment to be created.

func (ActiveRoleAssignmentScheduleExpirationOutput) ToActiveRoleAssignmentScheduleExpirationOutput

func (o ActiveRoleAssignmentScheduleExpirationOutput) ToActiveRoleAssignmentScheduleExpirationOutput() ActiveRoleAssignmentScheduleExpirationOutput

func (ActiveRoleAssignmentScheduleExpirationOutput) ToActiveRoleAssignmentScheduleExpirationOutputWithContext

func (o ActiveRoleAssignmentScheduleExpirationOutput) ToActiveRoleAssignmentScheduleExpirationOutputWithContext(ctx context.Context) ActiveRoleAssignmentScheduleExpirationOutput

func (ActiveRoleAssignmentScheduleExpirationOutput) ToActiveRoleAssignmentScheduleExpirationPtrOutput

func (o ActiveRoleAssignmentScheduleExpirationOutput) ToActiveRoleAssignmentScheduleExpirationPtrOutput() ActiveRoleAssignmentScheduleExpirationPtrOutput

func (ActiveRoleAssignmentScheduleExpirationOutput) ToActiveRoleAssignmentScheduleExpirationPtrOutputWithContext

func (o ActiveRoleAssignmentScheduleExpirationOutput) ToActiveRoleAssignmentScheduleExpirationPtrOutputWithContext(ctx context.Context) ActiveRoleAssignmentScheduleExpirationPtrOutput

type ActiveRoleAssignmentScheduleExpirationPtrInput

type ActiveRoleAssignmentScheduleExpirationPtrInput interface {
	pulumi.Input

	ToActiveRoleAssignmentScheduleExpirationPtrOutput() ActiveRoleAssignmentScheduleExpirationPtrOutput
	ToActiveRoleAssignmentScheduleExpirationPtrOutputWithContext(context.Context) ActiveRoleAssignmentScheduleExpirationPtrOutput
}

ActiveRoleAssignmentScheduleExpirationPtrInput is an input type that accepts ActiveRoleAssignmentScheduleExpirationArgs, ActiveRoleAssignmentScheduleExpirationPtr and ActiveRoleAssignmentScheduleExpirationPtrOutput values. You can construct a concrete instance of `ActiveRoleAssignmentScheduleExpirationPtrInput` via:

        ActiveRoleAssignmentScheduleExpirationArgs{...}

or:

        nil

type ActiveRoleAssignmentScheduleExpirationPtrOutput

type ActiveRoleAssignmentScheduleExpirationPtrOutput struct{ *pulumi.OutputState }

func (ActiveRoleAssignmentScheduleExpirationPtrOutput) DurationDays

The duration of the role assignment in days. Conflicts with `schedule.0.expiration.0.duration_hours`,`schedule.0.expiration.0.end_date_time` Changing this forces a new Pim Active Role Assignment to be created.

func (ActiveRoleAssignmentScheduleExpirationPtrOutput) DurationHours

The duration of the role assignment in hours. Conflicts with `schedule.0.expiration.0.duration_days`,`schedule.0.expiration.0.end_date_time` Changing this forces a new Pim Active Role Assignment to be created.

func (ActiveRoleAssignmentScheduleExpirationPtrOutput) Elem

func (ActiveRoleAssignmentScheduleExpirationPtrOutput) ElementType

func (ActiveRoleAssignmentScheduleExpirationPtrOutput) EndDateTime

The end date time of the role assignment. Conflicts with `schedule.0.expiration.0.duration_days`,`schedule.0.expiration.0.duration_hours` Changing this forces a new Pim Active Role Assignment to be created.

func (ActiveRoleAssignmentScheduleExpirationPtrOutput) ToActiveRoleAssignmentScheduleExpirationPtrOutput

func (o ActiveRoleAssignmentScheduleExpirationPtrOutput) ToActiveRoleAssignmentScheduleExpirationPtrOutput() ActiveRoleAssignmentScheduleExpirationPtrOutput

func (ActiveRoleAssignmentScheduleExpirationPtrOutput) ToActiveRoleAssignmentScheduleExpirationPtrOutputWithContext

func (o ActiveRoleAssignmentScheduleExpirationPtrOutput) ToActiveRoleAssignmentScheduleExpirationPtrOutputWithContext(ctx context.Context) ActiveRoleAssignmentScheduleExpirationPtrOutput

type ActiveRoleAssignmentScheduleInput

type ActiveRoleAssignmentScheduleInput interface {
	pulumi.Input

	ToActiveRoleAssignmentScheduleOutput() ActiveRoleAssignmentScheduleOutput
	ToActiveRoleAssignmentScheduleOutputWithContext(context.Context) ActiveRoleAssignmentScheduleOutput
}

ActiveRoleAssignmentScheduleInput is an input type that accepts ActiveRoleAssignmentScheduleArgs and ActiveRoleAssignmentScheduleOutput values. You can construct a concrete instance of `ActiveRoleAssignmentScheduleInput` via:

ActiveRoleAssignmentScheduleArgs{...}

type ActiveRoleAssignmentScheduleOutput

type ActiveRoleAssignmentScheduleOutput struct{ *pulumi.OutputState }

func (ActiveRoleAssignmentScheduleOutput) ElementType

func (ActiveRoleAssignmentScheduleOutput) Expiration

A `expiration` block as defined above.

func (ActiveRoleAssignmentScheduleOutput) StartDateTime

The start date time of the role assignment. Changing this forces a new Pim Active Role Assignment to be created.

func (ActiveRoleAssignmentScheduleOutput) ToActiveRoleAssignmentScheduleOutput

func (o ActiveRoleAssignmentScheduleOutput) ToActiveRoleAssignmentScheduleOutput() ActiveRoleAssignmentScheduleOutput

func (ActiveRoleAssignmentScheduleOutput) ToActiveRoleAssignmentScheduleOutputWithContext

func (o ActiveRoleAssignmentScheduleOutput) ToActiveRoleAssignmentScheduleOutputWithContext(ctx context.Context) ActiveRoleAssignmentScheduleOutput

func (ActiveRoleAssignmentScheduleOutput) ToActiveRoleAssignmentSchedulePtrOutput

func (o ActiveRoleAssignmentScheduleOutput) ToActiveRoleAssignmentSchedulePtrOutput() ActiveRoleAssignmentSchedulePtrOutput

func (ActiveRoleAssignmentScheduleOutput) ToActiveRoleAssignmentSchedulePtrOutputWithContext

func (o ActiveRoleAssignmentScheduleOutput) ToActiveRoleAssignmentSchedulePtrOutputWithContext(ctx context.Context) ActiveRoleAssignmentSchedulePtrOutput

type ActiveRoleAssignmentSchedulePtrInput

type ActiveRoleAssignmentSchedulePtrInput interface {
	pulumi.Input

	ToActiveRoleAssignmentSchedulePtrOutput() ActiveRoleAssignmentSchedulePtrOutput
	ToActiveRoleAssignmentSchedulePtrOutputWithContext(context.Context) ActiveRoleAssignmentSchedulePtrOutput
}

ActiveRoleAssignmentSchedulePtrInput is an input type that accepts ActiveRoleAssignmentScheduleArgs, ActiveRoleAssignmentSchedulePtr and ActiveRoleAssignmentSchedulePtrOutput values. You can construct a concrete instance of `ActiveRoleAssignmentSchedulePtrInput` via:

        ActiveRoleAssignmentScheduleArgs{...}

or:

        nil

type ActiveRoleAssignmentSchedulePtrOutput

type ActiveRoleAssignmentSchedulePtrOutput struct{ *pulumi.OutputState }

func (ActiveRoleAssignmentSchedulePtrOutput) Elem

func (ActiveRoleAssignmentSchedulePtrOutput) ElementType

func (ActiveRoleAssignmentSchedulePtrOutput) Expiration

A `expiration` block as defined above.

func (ActiveRoleAssignmentSchedulePtrOutput) StartDateTime

The start date time of the role assignment. Changing this forces a new Pim Active Role Assignment to be created.

func (ActiveRoleAssignmentSchedulePtrOutput) ToActiveRoleAssignmentSchedulePtrOutput

func (o ActiveRoleAssignmentSchedulePtrOutput) ToActiveRoleAssignmentSchedulePtrOutput() ActiveRoleAssignmentSchedulePtrOutput

func (ActiveRoleAssignmentSchedulePtrOutput) ToActiveRoleAssignmentSchedulePtrOutputWithContext

func (o ActiveRoleAssignmentSchedulePtrOutput) ToActiveRoleAssignmentSchedulePtrOutputWithContext(ctx context.Context) ActiveRoleAssignmentSchedulePtrOutput

type ActiveRoleAssignmentState

type ActiveRoleAssignmentState struct {
	// The justification of the role assignment. Changing this forces a new Pim Active Role Assignment to be created.
	Justification pulumi.StringPtrInput
	// The principal id. Changing this forces a new Pim Active Role Assignment to be created.
	PrincipalId pulumi.StringPtrInput
	// The type of principal.
	PrincipalType pulumi.StringPtrInput
	// The role definition id. Changing this forces a new Pim Active Role Assignment to be created.
	RoleDefinitionId pulumi.StringPtrInput
	// A `schedule` block as defined below. Changing this forces a new Pim Active Role Assignment to be created.
	Schedule ActiveRoleAssignmentSchedulePtrInput
	// The scope. Changing this forces a new Pim Active Role Assignment to be created.
	Scope pulumi.StringPtrInput
	// A `ticket` block as defined below. Changing this forces a new Pim Active Role Assignment to be created.
	Ticket ActiveRoleAssignmentTicketPtrInput
}

func (ActiveRoleAssignmentState) ElementType

func (ActiveRoleAssignmentState) ElementType() reflect.Type

type ActiveRoleAssignmentTicket

type ActiveRoleAssignmentTicket struct {
	// The ticket number.
	Number *string `pulumi:"number"`
	// The ticket system.
	System *string `pulumi:"system"`
}

type ActiveRoleAssignmentTicketArgs

type ActiveRoleAssignmentTicketArgs struct {
	// The ticket number.
	Number pulumi.StringPtrInput `pulumi:"number"`
	// The ticket system.
	System pulumi.StringPtrInput `pulumi:"system"`
}

func (ActiveRoleAssignmentTicketArgs) ElementType

func (ActiveRoleAssignmentTicketArgs) ToActiveRoleAssignmentTicketOutput

func (i ActiveRoleAssignmentTicketArgs) ToActiveRoleAssignmentTicketOutput() ActiveRoleAssignmentTicketOutput

func (ActiveRoleAssignmentTicketArgs) ToActiveRoleAssignmentTicketOutputWithContext

func (i ActiveRoleAssignmentTicketArgs) ToActiveRoleAssignmentTicketOutputWithContext(ctx context.Context) ActiveRoleAssignmentTicketOutput

func (ActiveRoleAssignmentTicketArgs) ToActiveRoleAssignmentTicketPtrOutput

func (i ActiveRoleAssignmentTicketArgs) ToActiveRoleAssignmentTicketPtrOutput() ActiveRoleAssignmentTicketPtrOutput

func (ActiveRoleAssignmentTicketArgs) ToActiveRoleAssignmentTicketPtrOutputWithContext

func (i ActiveRoleAssignmentTicketArgs) ToActiveRoleAssignmentTicketPtrOutputWithContext(ctx context.Context) ActiveRoleAssignmentTicketPtrOutput

type ActiveRoleAssignmentTicketInput

type ActiveRoleAssignmentTicketInput interface {
	pulumi.Input

	ToActiveRoleAssignmentTicketOutput() ActiveRoleAssignmentTicketOutput
	ToActiveRoleAssignmentTicketOutputWithContext(context.Context) ActiveRoleAssignmentTicketOutput
}

ActiveRoleAssignmentTicketInput is an input type that accepts ActiveRoleAssignmentTicketArgs and ActiveRoleAssignmentTicketOutput values. You can construct a concrete instance of `ActiveRoleAssignmentTicketInput` via:

ActiveRoleAssignmentTicketArgs{...}

type ActiveRoleAssignmentTicketOutput

type ActiveRoleAssignmentTicketOutput struct{ *pulumi.OutputState }

func (ActiveRoleAssignmentTicketOutput) ElementType

func (ActiveRoleAssignmentTicketOutput) Number

The ticket number.

func (ActiveRoleAssignmentTicketOutput) System

The ticket system.

func (ActiveRoleAssignmentTicketOutput) ToActiveRoleAssignmentTicketOutput

func (o ActiveRoleAssignmentTicketOutput) ToActiveRoleAssignmentTicketOutput() ActiveRoleAssignmentTicketOutput

func (ActiveRoleAssignmentTicketOutput) ToActiveRoleAssignmentTicketOutputWithContext

func (o ActiveRoleAssignmentTicketOutput) ToActiveRoleAssignmentTicketOutputWithContext(ctx context.Context) ActiveRoleAssignmentTicketOutput

func (ActiveRoleAssignmentTicketOutput) ToActiveRoleAssignmentTicketPtrOutput

func (o ActiveRoleAssignmentTicketOutput) ToActiveRoleAssignmentTicketPtrOutput() ActiveRoleAssignmentTicketPtrOutput

func (ActiveRoleAssignmentTicketOutput) ToActiveRoleAssignmentTicketPtrOutputWithContext

func (o ActiveRoleAssignmentTicketOutput) ToActiveRoleAssignmentTicketPtrOutputWithContext(ctx context.Context) ActiveRoleAssignmentTicketPtrOutput

type ActiveRoleAssignmentTicketPtrInput

type ActiveRoleAssignmentTicketPtrInput interface {
	pulumi.Input

	ToActiveRoleAssignmentTicketPtrOutput() ActiveRoleAssignmentTicketPtrOutput
	ToActiveRoleAssignmentTicketPtrOutputWithContext(context.Context) ActiveRoleAssignmentTicketPtrOutput
}

ActiveRoleAssignmentTicketPtrInput is an input type that accepts ActiveRoleAssignmentTicketArgs, ActiveRoleAssignmentTicketPtr and ActiveRoleAssignmentTicketPtrOutput values. You can construct a concrete instance of `ActiveRoleAssignmentTicketPtrInput` via:

        ActiveRoleAssignmentTicketArgs{...}

or:

        nil

type ActiveRoleAssignmentTicketPtrOutput

type ActiveRoleAssignmentTicketPtrOutput struct{ *pulumi.OutputState }

func (ActiveRoleAssignmentTicketPtrOutput) Elem

func (ActiveRoleAssignmentTicketPtrOutput) ElementType

func (ActiveRoleAssignmentTicketPtrOutput) Number

The ticket number.

func (ActiveRoleAssignmentTicketPtrOutput) System

The ticket system.

func (ActiveRoleAssignmentTicketPtrOutput) ToActiveRoleAssignmentTicketPtrOutput

func (o ActiveRoleAssignmentTicketPtrOutput) ToActiveRoleAssignmentTicketPtrOutput() ActiveRoleAssignmentTicketPtrOutput

func (ActiveRoleAssignmentTicketPtrOutput) ToActiveRoleAssignmentTicketPtrOutputWithContext

func (o ActiveRoleAssignmentTicketPtrOutput) ToActiveRoleAssignmentTicketPtrOutputWithContext(ctx context.Context) ActiveRoleAssignmentTicketPtrOutput

type EligibleRoleAssignment

type EligibleRoleAssignment struct {
	pulumi.CustomResourceState

	// The justification of the role assignment. Changing this forces a new Pim Eligible Role Assignment to be created.
	Justification pulumi.StringPtrOutput `pulumi:"justification"`
	// The principal id. Changing this forces a new Pim Eligible Role Assignment to be created.
	PrincipalId pulumi.StringOutput `pulumi:"principalId"`
	// The type of principal. Changing this forces a new Pim Eligible Role Assignment to be created.
	PrincipalType pulumi.StringOutput `pulumi:"principalType"`
	// The role definition id. Changing this forces a new Pim Eligible Role Assignment to be created.
	RoleDefinitionId pulumi.StringOutput `pulumi:"roleDefinitionId"`
	// A `schedule` block as defined below. Changing this forces a new Pim Eligible Role Assignment to be created.
	Schedule EligibleRoleAssignmentSchedulePtrOutput `pulumi:"schedule"`
	// The scope. Changing this forces a new Pim Eligible Role Assignment to be created.
	Scope pulumi.StringOutput `pulumi:"scope"`
	// A `ticket` block as defined below. Changing this forces a new Pim Eligible Role Assignment to be created.
	Ticket EligibleRoleAssignmentTicketPtrOutput `pulumi:"ticket"`
}

Manages a Pim Eligible Role Assignment.

## Example Usage ### Subscription)

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/pim"
"github.com/pulumi/pulumi-time/sdk/go/time"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		primary, err := core.LookupSubscription(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleClientConfig, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleRoleDefinition, err := authorization.LookupRoleDefinition(ctx, &authorization.LookupRoleDefinitionArgs{
			Name: pulumi.StringRef("Reader"),
		}, nil)
		if err != nil {
			return err
		}
		exampleStatic, err := time.NewStatic(ctx, "exampleStatic", nil)
		if err != nil {
			return err
		}
		_, err = pim.NewEligibleRoleAssignment(ctx, "exampleEligibleRoleAssignment", &pim.EligibleRoleAssignmentArgs{
			Scope:            *pulumi.String(primary.Id),
			RoleDefinitionId: pulumi.String(fmt.Sprintf("%v%v", primary.Id, exampleRoleDefinition.Id)),
			PrincipalId:      *pulumi.String(exampleClientConfig.ObjectId),
			Schedule: &pim.EligibleRoleAssignmentScheduleArgs{
				StartDateTime: exampleStatic.Rfc3339,
				Expiration: &pim.EligibleRoleAssignmentScheduleExpirationArgs{
					DurationHours: pulumi.Int(8),
				},
			},
			Justification: pulumi.String("Expiration Duration Set"),
			Ticket: &pim.EligibleRoleAssignmentTicketArgs{
				Number: pulumi.String("1"),
				System: pulumi.String("example ticket system"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Management Group)

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/pim"
"github.com/pulumi/pulumi-time/sdk/go/time"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleClientConfig, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleRoleDefinition, err := authorization.LookupRoleDefinition(ctx, &authorization.LookupRoleDefinitionArgs{
			Name: pulumi.StringRef("Reader"),
		}, nil)
		if err != nil {
			return err
		}
		exampleGroup, err := management.NewGroup(ctx, "exampleGroup", nil)
		if err != nil {
			return err
		}
		exampleStatic, err := time.NewStatic(ctx, "exampleStatic", nil)
		if err != nil {
			return err
		}
		_, err = pim.NewEligibleRoleAssignment(ctx, "exampleEligibleRoleAssignment", &pim.EligibleRoleAssignmentArgs{
			Scope:            exampleGroup.ID(),
			RoleDefinitionId: *pulumi.String(exampleRoleDefinition.Id),
			PrincipalId:      *pulumi.String(exampleClientConfig.ObjectId),
			Schedule: &pim.EligibleRoleAssignmentScheduleArgs{
				StartDateTime: exampleStatic.Rfc3339,
				Expiration: &pim.EligibleRoleAssignmentScheduleExpirationArgs{
					DurationHours: pulumi.Int(8),
				},
			},
			Justification: pulumi.String("Expiration Duration Set"),
			Ticket: &pim.EligibleRoleAssignmentTicketArgs{
				Number: pulumi.String("1"),
				System: pulumi.String("example ticket system"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Pim Eligible Role Assignments can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:pim/eligibleRoleAssignment:EligibleRoleAssignment example /subscriptions/00000000-0000-0000-0000-000000000000|/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/00000000-0000-0000-0000-000000000000|00000000-0000-0000-0000-000000000000

```

func GetEligibleRoleAssignment

func GetEligibleRoleAssignment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EligibleRoleAssignmentState, opts ...pulumi.ResourceOption) (*EligibleRoleAssignment, error)

GetEligibleRoleAssignment gets an existing EligibleRoleAssignment 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 NewEligibleRoleAssignment

func NewEligibleRoleAssignment(ctx *pulumi.Context,
	name string, args *EligibleRoleAssignmentArgs, opts ...pulumi.ResourceOption) (*EligibleRoleAssignment, error)

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

func (*EligibleRoleAssignment) ElementType

func (*EligibleRoleAssignment) ElementType() reflect.Type

func (*EligibleRoleAssignment) ToEligibleRoleAssignmentOutput

func (i *EligibleRoleAssignment) ToEligibleRoleAssignmentOutput() EligibleRoleAssignmentOutput

func (*EligibleRoleAssignment) ToEligibleRoleAssignmentOutputWithContext

func (i *EligibleRoleAssignment) ToEligibleRoleAssignmentOutputWithContext(ctx context.Context) EligibleRoleAssignmentOutput

type EligibleRoleAssignmentArgs

type EligibleRoleAssignmentArgs struct {
	// The justification of the role assignment. Changing this forces a new Pim Eligible Role Assignment to be created.
	Justification pulumi.StringPtrInput
	// The principal id. Changing this forces a new Pim Eligible Role Assignment to be created.
	PrincipalId pulumi.StringInput
	// The role definition id. Changing this forces a new Pim Eligible Role Assignment to be created.
	RoleDefinitionId pulumi.StringInput
	// A `schedule` block as defined below. Changing this forces a new Pim Eligible Role Assignment to be created.
	Schedule EligibleRoleAssignmentSchedulePtrInput
	// The scope. Changing this forces a new Pim Eligible Role Assignment to be created.
	Scope pulumi.StringInput
	// A `ticket` block as defined below. Changing this forces a new Pim Eligible Role Assignment to be created.
	Ticket EligibleRoleAssignmentTicketPtrInput
}

The set of arguments for constructing a EligibleRoleAssignment resource.

func (EligibleRoleAssignmentArgs) ElementType

func (EligibleRoleAssignmentArgs) ElementType() reflect.Type

type EligibleRoleAssignmentArray

type EligibleRoleAssignmentArray []EligibleRoleAssignmentInput

func (EligibleRoleAssignmentArray) ElementType

func (EligibleRoleAssignmentArray) ToEligibleRoleAssignmentArrayOutput

func (i EligibleRoleAssignmentArray) ToEligibleRoleAssignmentArrayOutput() EligibleRoleAssignmentArrayOutput

func (EligibleRoleAssignmentArray) ToEligibleRoleAssignmentArrayOutputWithContext

func (i EligibleRoleAssignmentArray) ToEligibleRoleAssignmentArrayOutputWithContext(ctx context.Context) EligibleRoleAssignmentArrayOutput

type EligibleRoleAssignmentArrayInput

type EligibleRoleAssignmentArrayInput interface {
	pulumi.Input

	ToEligibleRoleAssignmentArrayOutput() EligibleRoleAssignmentArrayOutput
	ToEligibleRoleAssignmentArrayOutputWithContext(context.Context) EligibleRoleAssignmentArrayOutput
}

EligibleRoleAssignmentArrayInput is an input type that accepts EligibleRoleAssignmentArray and EligibleRoleAssignmentArrayOutput values. You can construct a concrete instance of `EligibleRoleAssignmentArrayInput` via:

EligibleRoleAssignmentArray{ EligibleRoleAssignmentArgs{...} }

type EligibleRoleAssignmentArrayOutput

type EligibleRoleAssignmentArrayOutput struct{ *pulumi.OutputState }

func (EligibleRoleAssignmentArrayOutput) ElementType

func (EligibleRoleAssignmentArrayOutput) Index

func (EligibleRoleAssignmentArrayOutput) ToEligibleRoleAssignmentArrayOutput

func (o EligibleRoleAssignmentArrayOutput) ToEligibleRoleAssignmentArrayOutput() EligibleRoleAssignmentArrayOutput

func (EligibleRoleAssignmentArrayOutput) ToEligibleRoleAssignmentArrayOutputWithContext

func (o EligibleRoleAssignmentArrayOutput) ToEligibleRoleAssignmentArrayOutputWithContext(ctx context.Context) EligibleRoleAssignmentArrayOutput

type EligibleRoleAssignmentInput

type EligibleRoleAssignmentInput interface {
	pulumi.Input

	ToEligibleRoleAssignmentOutput() EligibleRoleAssignmentOutput
	ToEligibleRoleAssignmentOutputWithContext(ctx context.Context) EligibleRoleAssignmentOutput
}

type EligibleRoleAssignmentMap

type EligibleRoleAssignmentMap map[string]EligibleRoleAssignmentInput

func (EligibleRoleAssignmentMap) ElementType

func (EligibleRoleAssignmentMap) ElementType() reflect.Type

func (EligibleRoleAssignmentMap) ToEligibleRoleAssignmentMapOutput

func (i EligibleRoleAssignmentMap) ToEligibleRoleAssignmentMapOutput() EligibleRoleAssignmentMapOutput

func (EligibleRoleAssignmentMap) ToEligibleRoleAssignmentMapOutputWithContext

func (i EligibleRoleAssignmentMap) ToEligibleRoleAssignmentMapOutputWithContext(ctx context.Context) EligibleRoleAssignmentMapOutput

type EligibleRoleAssignmentMapInput

type EligibleRoleAssignmentMapInput interface {
	pulumi.Input

	ToEligibleRoleAssignmentMapOutput() EligibleRoleAssignmentMapOutput
	ToEligibleRoleAssignmentMapOutputWithContext(context.Context) EligibleRoleAssignmentMapOutput
}

EligibleRoleAssignmentMapInput is an input type that accepts EligibleRoleAssignmentMap and EligibleRoleAssignmentMapOutput values. You can construct a concrete instance of `EligibleRoleAssignmentMapInput` via:

EligibleRoleAssignmentMap{ "key": EligibleRoleAssignmentArgs{...} }

type EligibleRoleAssignmentMapOutput

type EligibleRoleAssignmentMapOutput struct{ *pulumi.OutputState }

func (EligibleRoleAssignmentMapOutput) ElementType

func (EligibleRoleAssignmentMapOutput) MapIndex

func (EligibleRoleAssignmentMapOutput) ToEligibleRoleAssignmentMapOutput

func (o EligibleRoleAssignmentMapOutput) ToEligibleRoleAssignmentMapOutput() EligibleRoleAssignmentMapOutput

func (EligibleRoleAssignmentMapOutput) ToEligibleRoleAssignmentMapOutputWithContext

func (o EligibleRoleAssignmentMapOutput) ToEligibleRoleAssignmentMapOutputWithContext(ctx context.Context) EligibleRoleAssignmentMapOutput

type EligibleRoleAssignmentOutput

type EligibleRoleAssignmentOutput struct{ *pulumi.OutputState }

func (EligibleRoleAssignmentOutput) ElementType

func (EligibleRoleAssignmentOutput) Justification

The justification of the role assignment. Changing this forces a new Pim Eligible Role Assignment to be created.

func (EligibleRoleAssignmentOutput) PrincipalId

The principal id. Changing this forces a new Pim Eligible Role Assignment to be created.

func (EligibleRoleAssignmentOutput) PrincipalType

The type of principal. Changing this forces a new Pim Eligible Role Assignment to be created.

func (EligibleRoleAssignmentOutput) RoleDefinitionId

func (o EligibleRoleAssignmentOutput) RoleDefinitionId() pulumi.StringOutput

The role definition id. Changing this forces a new Pim Eligible Role Assignment to be created.

func (EligibleRoleAssignmentOutput) Schedule

A `schedule` block as defined below. Changing this forces a new Pim Eligible Role Assignment to be created.

func (EligibleRoleAssignmentOutput) Scope

The scope. Changing this forces a new Pim Eligible Role Assignment to be created.

func (EligibleRoleAssignmentOutput) Ticket

A `ticket` block as defined below. Changing this forces a new Pim Eligible Role Assignment to be created.

func (EligibleRoleAssignmentOutput) ToEligibleRoleAssignmentOutput

func (o EligibleRoleAssignmentOutput) ToEligibleRoleAssignmentOutput() EligibleRoleAssignmentOutput

func (EligibleRoleAssignmentOutput) ToEligibleRoleAssignmentOutputWithContext

func (o EligibleRoleAssignmentOutput) ToEligibleRoleAssignmentOutputWithContext(ctx context.Context) EligibleRoleAssignmentOutput

type EligibleRoleAssignmentSchedule

type EligibleRoleAssignmentSchedule struct {
	// A `expiration` block as defined above.
	Expiration *EligibleRoleAssignmentScheduleExpiration `pulumi:"expiration"`
	// The start date time of the role assignment. Changing this forces a new Pim Eligible Role Assignment to be created.
	StartDateTime *string `pulumi:"startDateTime"`
}

type EligibleRoleAssignmentScheduleArgs

type EligibleRoleAssignmentScheduleArgs struct {
	// A `expiration` block as defined above.
	Expiration EligibleRoleAssignmentScheduleExpirationPtrInput `pulumi:"expiration"`
	// The start date time of the role assignment. Changing this forces a new Pim Eligible Role Assignment to be created.
	StartDateTime pulumi.StringPtrInput `pulumi:"startDateTime"`
}

func (EligibleRoleAssignmentScheduleArgs) ElementType

func (EligibleRoleAssignmentScheduleArgs) ToEligibleRoleAssignmentScheduleOutput

func (i EligibleRoleAssignmentScheduleArgs) ToEligibleRoleAssignmentScheduleOutput() EligibleRoleAssignmentScheduleOutput

func (EligibleRoleAssignmentScheduleArgs) ToEligibleRoleAssignmentScheduleOutputWithContext

func (i EligibleRoleAssignmentScheduleArgs) ToEligibleRoleAssignmentScheduleOutputWithContext(ctx context.Context) EligibleRoleAssignmentScheduleOutput

func (EligibleRoleAssignmentScheduleArgs) ToEligibleRoleAssignmentSchedulePtrOutput

func (i EligibleRoleAssignmentScheduleArgs) ToEligibleRoleAssignmentSchedulePtrOutput() EligibleRoleAssignmentSchedulePtrOutput

func (EligibleRoleAssignmentScheduleArgs) ToEligibleRoleAssignmentSchedulePtrOutputWithContext

func (i EligibleRoleAssignmentScheduleArgs) ToEligibleRoleAssignmentSchedulePtrOutputWithContext(ctx context.Context) EligibleRoleAssignmentSchedulePtrOutput

type EligibleRoleAssignmentScheduleExpiration

type EligibleRoleAssignmentScheduleExpiration struct {
	// The duration of the role assignment in days. Conflicts with `schedule.0.expiration.0.duration_hours`,`schedule.0.expiration.0.end_date_time` Changing this forces a new Pim Eligible Role Assignment to be created.
	DurationDays *int `pulumi:"durationDays"`
	// The duration of the role assignment in hours. Conflicts with `schedule.0.expiration.0.duration_days`,`schedule.0.expiration.0.end_date_time` Changing this forces a new Pim Eligible Role Assignment to be created.
	DurationHours *int `pulumi:"durationHours"`
	// The end date time of the role assignment. Conflicts with `schedule.0.expiration.0.duration_days`,`schedule.0.expiration.0.duration_hours` Changing this forces a new Pim Eligible Role Assignment to be created.
	EndDateTime *string `pulumi:"endDateTime"`
}

type EligibleRoleAssignmentScheduleExpirationArgs

type EligibleRoleAssignmentScheduleExpirationArgs struct {
	// The duration of the role assignment in days. Conflicts with `schedule.0.expiration.0.duration_hours`,`schedule.0.expiration.0.end_date_time` Changing this forces a new Pim Eligible Role Assignment to be created.
	DurationDays pulumi.IntPtrInput `pulumi:"durationDays"`
	// The duration of the role assignment in hours. Conflicts with `schedule.0.expiration.0.duration_days`,`schedule.0.expiration.0.end_date_time` Changing this forces a new Pim Eligible Role Assignment to be created.
	DurationHours pulumi.IntPtrInput `pulumi:"durationHours"`
	// The end date time of the role assignment. Conflicts with `schedule.0.expiration.0.duration_days`,`schedule.0.expiration.0.duration_hours` Changing this forces a new Pim Eligible Role Assignment to be created.
	EndDateTime pulumi.StringPtrInput `pulumi:"endDateTime"`
}

func (EligibleRoleAssignmentScheduleExpirationArgs) ElementType

func (EligibleRoleAssignmentScheduleExpirationArgs) ToEligibleRoleAssignmentScheduleExpirationOutput

func (i EligibleRoleAssignmentScheduleExpirationArgs) ToEligibleRoleAssignmentScheduleExpirationOutput() EligibleRoleAssignmentScheduleExpirationOutput

func (EligibleRoleAssignmentScheduleExpirationArgs) ToEligibleRoleAssignmentScheduleExpirationOutputWithContext

func (i EligibleRoleAssignmentScheduleExpirationArgs) ToEligibleRoleAssignmentScheduleExpirationOutputWithContext(ctx context.Context) EligibleRoleAssignmentScheduleExpirationOutput

func (EligibleRoleAssignmentScheduleExpirationArgs) ToEligibleRoleAssignmentScheduleExpirationPtrOutput

func (i EligibleRoleAssignmentScheduleExpirationArgs) ToEligibleRoleAssignmentScheduleExpirationPtrOutput() EligibleRoleAssignmentScheduleExpirationPtrOutput

func (EligibleRoleAssignmentScheduleExpirationArgs) ToEligibleRoleAssignmentScheduleExpirationPtrOutputWithContext

func (i EligibleRoleAssignmentScheduleExpirationArgs) ToEligibleRoleAssignmentScheduleExpirationPtrOutputWithContext(ctx context.Context) EligibleRoleAssignmentScheduleExpirationPtrOutput

type EligibleRoleAssignmentScheduleExpirationInput

type EligibleRoleAssignmentScheduleExpirationInput interface {
	pulumi.Input

	ToEligibleRoleAssignmentScheduleExpirationOutput() EligibleRoleAssignmentScheduleExpirationOutput
	ToEligibleRoleAssignmentScheduleExpirationOutputWithContext(context.Context) EligibleRoleAssignmentScheduleExpirationOutput
}

EligibleRoleAssignmentScheduleExpirationInput is an input type that accepts EligibleRoleAssignmentScheduleExpirationArgs and EligibleRoleAssignmentScheduleExpirationOutput values. You can construct a concrete instance of `EligibleRoleAssignmentScheduleExpirationInput` via:

EligibleRoleAssignmentScheduleExpirationArgs{...}

type EligibleRoleAssignmentScheduleExpirationOutput

type EligibleRoleAssignmentScheduleExpirationOutput struct{ *pulumi.OutputState }

func (EligibleRoleAssignmentScheduleExpirationOutput) DurationDays

The duration of the role assignment in days. Conflicts with `schedule.0.expiration.0.duration_hours`,`schedule.0.expiration.0.end_date_time` Changing this forces a new Pim Eligible Role Assignment to be created.

func (EligibleRoleAssignmentScheduleExpirationOutput) DurationHours

The duration of the role assignment in hours. Conflicts with `schedule.0.expiration.0.duration_days`,`schedule.0.expiration.0.end_date_time` Changing this forces a new Pim Eligible Role Assignment to be created.

func (EligibleRoleAssignmentScheduleExpirationOutput) ElementType

func (EligibleRoleAssignmentScheduleExpirationOutput) EndDateTime

The end date time of the role assignment. Conflicts with `schedule.0.expiration.0.duration_days`,`schedule.0.expiration.0.duration_hours` Changing this forces a new Pim Eligible Role Assignment to be created.

func (EligibleRoleAssignmentScheduleExpirationOutput) ToEligibleRoleAssignmentScheduleExpirationOutput

func (o EligibleRoleAssignmentScheduleExpirationOutput) ToEligibleRoleAssignmentScheduleExpirationOutput() EligibleRoleAssignmentScheduleExpirationOutput

func (EligibleRoleAssignmentScheduleExpirationOutput) ToEligibleRoleAssignmentScheduleExpirationOutputWithContext

func (o EligibleRoleAssignmentScheduleExpirationOutput) ToEligibleRoleAssignmentScheduleExpirationOutputWithContext(ctx context.Context) EligibleRoleAssignmentScheduleExpirationOutput

func (EligibleRoleAssignmentScheduleExpirationOutput) ToEligibleRoleAssignmentScheduleExpirationPtrOutput

func (o EligibleRoleAssignmentScheduleExpirationOutput) ToEligibleRoleAssignmentScheduleExpirationPtrOutput() EligibleRoleAssignmentScheduleExpirationPtrOutput

func (EligibleRoleAssignmentScheduleExpirationOutput) ToEligibleRoleAssignmentScheduleExpirationPtrOutputWithContext

func (o EligibleRoleAssignmentScheduleExpirationOutput) ToEligibleRoleAssignmentScheduleExpirationPtrOutputWithContext(ctx context.Context) EligibleRoleAssignmentScheduleExpirationPtrOutput

type EligibleRoleAssignmentScheduleExpirationPtrInput

type EligibleRoleAssignmentScheduleExpirationPtrInput interface {
	pulumi.Input

	ToEligibleRoleAssignmentScheduleExpirationPtrOutput() EligibleRoleAssignmentScheduleExpirationPtrOutput
	ToEligibleRoleAssignmentScheduleExpirationPtrOutputWithContext(context.Context) EligibleRoleAssignmentScheduleExpirationPtrOutput
}

EligibleRoleAssignmentScheduleExpirationPtrInput is an input type that accepts EligibleRoleAssignmentScheduleExpirationArgs, EligibleRoleAssignmentScheduleExpirationPtr and EligibleRoleAssignmentScheduleExpirationPtrOutput values. You can construct a concrete instance of `EligibleRoleAssignmentScheduleExpirationPtrInput` via:

        EligibleRoleAssignmentScheduleExpirationArgs{...}

or:

        nil

type EligibleRoleAssignmentScheduleExpirationPtrOutput

type EligibleRoleAssignmentScheduleExpirationPtrOutput struct{ *pulumi.OutputState }

func (EligibleRoleAssignmentScheduleExpirationPtrOutput) DurationDays

The duration of the role assignment in days. Conflicts with `schedule.0.expiration.0.duration_hours`,`schedule.0.expiration.0.end_date_time` Changing this forces a new Pim Eligible Role Assignment to be created.

func (EligibleRoleAssignmentScheduleExpirationPtrOutput) DurationHours

The duration of the role assignment in hours. Conflicts with `schedule.0.expiration.0.duration_days`,`schedule.0.expiration.0.end_date_time` Changing this forces a new Pim Eligible Role Assignment to be created.

func (EligibleRoleAssignmentScheduleExpirationPtrOutput) Elem

func (EligibleRoleAssignmentScheduleExpirationPtrOutput) ElementType

func (EligibleRoleAssignmentScheduleExpirationPtrOutput) EndDateTime

The end date time of the role assignment. Conflicts with `schedule.0.expiration.0.duration_days`,`schedule.0.expiration.0.duration_hours` Changing this forces a new Pim Eligible Role Assignment to be created.

func (EligibleRoleAssignmentScheduleExpirationPtrOutput) ToEligibleRoleAssignmentScheduleExpirationPtrOutput

func (o EligibleRoleAssignmentScheduleExpirationPtrOutput) ToEligibleRoleAssignmentScheduleExpirationPtrOutput() EligibleRoleAssignmentScheduleExpirationPtrOutput

func (EligibleRoleAssignmentScheduleExpirationPtrOutput) ToEligibleRoleAssignmentScheduleExpirationPtrOutputWithContext

func (o EligibleRoleAssignmentScheduleExpirationPtrOutput) ToEligibleRoleAssignmentScheduleExpirationPtrOutputWithContext(ctx context.Context) EligibleRoleAssignmentScheduleExpirationPtrOutput

type EligibleRoleAssignmentScheduleInput

type EligibleRoleAssignmentScheduleInput interface {
	pulumi.Input

	ToEligibleRoleAssignmentScheduleOutput() EligibleRoleAssignmentScheduleOutput
	ToEligibleRoleAssignmentScheduleOutputWithContext(context.Context) EligibleRoleAssignmentScheduleOutput
}

EligibleRoleAssignmentScheduleInput is an input type that accepts EligibleRoleAssignmentScheduleArgs and EligibleRoleAssignmentScheduleOutput values. You can construct a concrete instance of `EligibleRoleAssignmentScheduleInput` via:

EligibleRoleAssignmentScheduleArgs{...}

type EligibleRoleAssignmentScheduleOutput

type EligibleRoleAssignmentScheduleOutput struct{ *pulumi.OutputState }

func (EligibleRoleAssignmentScheduleOutput) ElementType

func (EligibleRoleAssignmentScheduleOutput) Expiration

A `expiration` block as defined above.

func (EligibleRoleAssignmentScheduleOutput) StartDateTime

The start date time of the role assignment. Changing this forces a new Pim Eligible Role Assignment to be created.

func (EligibleRoleAssignmentScheduleOutput) ToEligibleRoleAssignmentScheduleOutput

func (o EligibleRoleAssignmentScheduleOutput) ToEligibleRoleAssignmentScheduleOutput() EligibleRoleAssignmentScheduleOutput

func (EligibleRoleAssignmentScheduleOutput) ToEligibleRoleAssignmentScheduleOutputWithContext

func (o EligibleRoleAssignmentScheduleOutput) ToEligibleRoleAssignmentScheduleOutputWithContext(ctx context.Context) EligibleRoleAssignmentScheduleOutput

func (EligibleRoleAssignmentScheduleOutput) ToEligibleRoleAssignmentSchedulePtrOutput

func (o EligibleRoleAssignmentScheduleOutput) ToEligibleRoleAssignmentSchedulePtrOutput() EligibleRoleAssignmentSchedulePtrOutput

func (EligibleRoleAssignmentScheduleOutput) ToEligibleRoleAssignmentSchedulePtrOutputWithContext

func (o EligibleRoleAssignmentScheduleOutput) ToEligibleRoleAssignmentSchedulePtrOutputWithContext(ctx context.Context) EligibleRoleAssignmentSchedulePtrOutput

type EligibleRoleAssignmentSchedulePtrInput

type EligibleRoleAssignmentSchedulePtrInput interface {
	pulumi.Input

	ToEligibleRoleAssignmentSchedulePtrOutput() EligibleRoleAssignmentSchedulePtrOutput
	ToEligibleRoleAssignmentSchedulePtrOutputWithContext(context.Context) EligibleRoleAssignmentSchedulePtrOutput
}

EligibleRoleAssignmentSchedulePtrInput is an input type that accepts EligibleRoleAssignmentScheduleArgs, EligibleRoleAssignmentSchedulePtr and EligibleRoleAssignmentSchedulePtrOutput values. You can construct a concrete instance of `EligibleRoleAssignmentSchedulePtrInput` via:

        EligibleRoleAssignmentScheduleArgs{...}

or:

        nil

type EligibleRoleAssignmentSchedulePtrOutput

type EligibleRoleAssignmentSchedulePtrOutput struct{ *pulumi.OutputState }

func (EligibleRoleAssignmentSchedulePtrOutput) Elem

func (EligibleRoleAssignmentSchedulePtrOutput) ElementType

func (EligibleRoleAssignmentSchedulePtrOutput) Expiration

A `expiration` block as defined above.

func (EligibleRoleAssignmentSchedulePtrOutput) StartDateTime

The start date time of the role assignment. Changing this forces a new Pim Eligible Role Assignment to be created.

func (EligibleRoleAssignmentSchedulePtrOutput) ToEligibleRoleAssignmentSchedulePtrOutput

func (o EligibleRoleAssignmentSchedulePtrOutput) ToEligibleRoleAssignmentSchedulePtrOutput() EligibleRoleAssignmentSchedulePtrOutput

func (EligibleRoleAssignmentSchedulePtrOutput) ToEligibleRoleAssignmentSchedulePtrOutputWithContext

func (o EligibleRoleAssignmentSchedulePtrOutput) ToEligibleRoleAssignmentSchedulePtrOutputWithContext(ctx context.Context) EligibleRoleAssignmentSchedulePtrOutput

type EligibleRoleAssignmentState

type EligibleRoleAssignmentState struct {
	// The justification of the role assignment. Changing this forces a new Pim Eligible Role Assignment to be created.
	Justification pulumi.StringPtrInput
	// The principal id. Changing this forces a new Pim Eligible Role Assignment to be created.
	PrincipalId pulumi.StringPtrInput
	// The type of principal. Changing this forces a new Pim Eligible Role Assignment to be created.
	PrincipalType pulumi.StringPtrInput
	// The role definition id. Changing this forces a new Pim Eligible Role Assignment to be created.
	RoleDefinitionId pulumi.StringPtrInput
	// A `schedule` block as defined below. Changing this forces a new Pim Eligible Role Assignment to be created.
	Schedule EligibleRoleAssignmentSchedulePtrInput
	// The scope. Changing this forces a new Pim Eligible Role Assignment to be created.
	Scope pulumi.StringPtrInput
	// A `ticket` block as defined below. Changing this forces a new Pim Eligible Role Assignment to be created.
	Ticket EligibleRoleAssignmentTicketPtrInput
}

func (EligibleRoleAssignmentState) ElementType

type EligibleRoleAssignmentTicket

type EligibleRoleAssignmentTicket struct {
	// The ticket number.
	Number *string `pulumi:"number"`
	// The ticket system.
	System *string `pulumi:"system"`
}

type EligibleRoleAssignmentTicketArgs

type EligibleRoleAssignmentTicketArgs struct {
	// The ticket number.
	Number pulumi.StringPtrInput `pulumi:"number"`
	// The ticket system.
	System pulumi.StringPtrInput `pulumi:"system"`
}

func (EligibleRoleAssignmentTicketArgs) ElementType

func (EligibleRoleAssignmentTicketArgs) ToEligibleRoleAssignmentTicketOutput

func (i EligibleRoleAssignmentTicketArgs) ToEligibleRoleAssignmentTicketOutput() EligibleRoleAssignmentTicketOutput

func (EligibleRoleAssignmentTicketArgs) ToEligibleRoleAssignmentTicketOutputWithContext

func (i EligibleRoleAssignmentTicketArgs) ToEligibleRoleAssignmentTicketOutputWithContext(ctx context.Context) EligibleRoleAssignmentTicketOutput

func (EligibleRoleAssignmentTicketArgs) ToEligibleRoleAssignmentTicketPtrOutput

func (i EligibleRoleAssignmentTicketArgs) ToEligibleRoleAssignmentTicketPtrOutput() EligibleRoleAssignmentTicketPtrOutput

func (EligibleRoleAssignmentTicketArgs) ToEligibleRoleAssignmentTicketPtrOutputWithContext

func (i EligibleRoleAssignmentTicketArgs) ToEligibleRoleAssignmentTicketPtrOutputWithContext(ctx context.Context) EligibleRoleAssignmentTicketPtrOutput

type EligibleRoleAssignmentTicketInput

type EligibleRoleAssignmentTicketInput interface {
	pulumi.Input

	ToEligibleRoleAssignmentTicketOutput() EligibleRoleAssignmentTicketOutput
	ToEligibleRoleAssignmentTicketOutputWithContext(context.Context) EligibleRoleAssignmentTicketOutput
}

EligibleRoleAssignmentTicketInput is an input type that accepts EligibleRoleAssignmentTicketArgs and EligibleRoleAssignmentTicketOutput values. You can construct a concrete instance of `EligibleRoleAssignmentTicketInput` via:

EligibleRoleAssignmentTicketArgs{...}

type EligibleRoleAssignmentTicketOutput

type EligibleRoleAssignmentTicketOutput struct{ *pulumi.OutputState }

func (EligibleRoleAssignmentTicketOutput) ElementType

func (EligibleRoleAssignmentTicketOutput) Number

The ticket number.

func (EligibleRoleAssignmentTicketOutput) System

The ticket system.

func (EligibleRoleAssignmentTicketOutput) ToEligibleRoleAssignmentTicketOutput

func (o EligibleRoleAssignmentTicketOutput) ToEligibleRoleAssignmentTicketOutput() EligibleRoleAssignmentTicketOutput

func (EligibleRoleAssignmentTicketOutput) ToEligibleRoleAssignmentTicketOutputWithContext

func (o EligibleRoleAssignmentTicketOutput) ToEligibleRoleAssignmentTicketOutputWithContext(ctx context.Context) EligibleRoleAssignmentTicketOutput

func (EligibleRoleAssignmentTicketOutput) ToEligibleRoleAssignmentTicketPtrOutput

func (o EligibleRoleAssignmentTicketOutput) ToEligibleRoleAssignmentTicketPtrOutput() EligibleRoleAssignmentTicketPtrOutput

func (EligibleRoleAssignmentTicketOutput) ToEligibleRoleAssignmentTicketPtrOutputWithContext

func (o EligibleRoleAssignmentTicketOutput) ToEligibleRoleAssignmentTicketPtrOutputWithContext(ctx context.Context) EligibleRoleAssignmentTicketPtrOutput

type EligibleRoleAssignmentTicketPtrInput

type EligibleRoleAssignmentTicketPtrInput interface {
	pulumi.Input

	ToEligibleRoleAssignmentTicketPtrOutput() EligibleRoleAssignmentTicketPtrOutput
	ToEligibleRoleAssignmentTicketPtrOutputWithContext(context.Context) EligibleRoleAssignmentTicketPtrOutput
}

EligibleRoleAssignmentTicketPtrInput is an input type that accepts EligibleRoleAssignmentTicketArgs, EligibleRoleAssignmentTicketPtr and EligibleRoleAssignmentTicketPtrOutput values. You can construct a concrete instance of `EligibleRoleAssignmentTicketPtrInput` via:

        EligibleRoleAssignmentTicketArgs{...}

or:

        nil

type EligibleRoleAssignmentTicketPtrOutput

type EligibleRoleAssignmentTicketPtrOutput struct{ *pulumi.OutputState }

func (EligibleRoleAssignmentTicketPtrOutput) Elem

func (EligibleRoleAssignmentTicketPtrOutput) ElementType

func (EligibleRoleAssignmentTicketPtrOutput) Number

The ticket number.

func (EligibleRoleAssignmentTicketPtrOutput) System

The ticket system.

func (EligibleRoleAssignmentTicketPtrOutput) ToEligibleRoleAssignmentTicketPtrOutput

func (o EligibleRoleAssignmentTicketPtrOutput) ToEligibleRoleAssignmentTicketPtrOutput() EligibleRoleAssignmentTicketPtrOutput

func (EligibleRoleAssignmentTicketPtrOutput) ToEligibleRoleAssignmentTicketPtrOutputWithContext

func (o EligibleRoleAssignmentTicketPtrOutput) ToEligibleRoleAssignmentTicketPtrOutputWithContext(ctx context.Context) EligibleRoleAssignmentTicketPtrOutput

Jump to

Keyboard shortcuts

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