Documentation ¶
Index ¶
- type Assignment
- func (*Assignment) ElementType() reflect.Type
- func (i *Assignment) ToAssignmentOutput() AssignmentOutput
- func (i *Assignment) ToAssignmentOutputWithContext(ctx context.Context) AssignmentOutput
- func (i *Assignment) ToAssignmentPtrOutput() AssignmentPtrOutput
- func (i *Assignment) ToAssignmentPtrOutputWithContext(ctx context.Context) AssignmentPtrOutput
- type AssignmentArgs
- type AssignmentArray
- type AssignmentArrayInput
- type AssignmentArrayOutput
- func (AssignmentArrayOutput) ElementType() reflect.Type
- func (o AssignmentArrayOutput) Index(i pulumi.IntInput) AssignmentOutput
- func (o AssignmentArrayOutput) ToAssignmentArrayOutput() AssignmentArrayOutput
- func (o AssignmentArrayOutput) ToAssignmentArrayOutputWithContext(ctx context.Context) AssignmentArrayOutput
- type AssignmentInput
- type AssignmentMap
- type AssignmentMapInput
- type AssignmentMapOutput
- func (AssignmentMapOutput) ElementType() reflect.Type
- func (o AssignmentMapOutput) MapIndex(k pulumi.StringInput) AssignmentOutput
- func (o AssignmentMapOutput) ToAssignmentMapOutput() AssignmentMapOutput
- func (o AssignmentMapOutput) ToAssignmentMapOutputWithContext(ctx context.Context) AssignmentMapOutput
- type AssignmentOutput
- func (AssignmentOutput) ElementType() reflect.Type
- func (o AssignmentOutput) ToAssignmentOutput() AssignmentOutput
- func (o AssignmentOutput) ToAssignmentOutputWithContext(ctx context.Context) AssignmentOutput
- func (o AssignmentOutput) ToAssignmentPtrOutput() AssignmentPtrOutput
- func (o AssignmentOutput) ToAssignmentPtrOutputWithContext(ctx context.Context) AssignmentPtrOutput
- type AssignmentPtrInput
- type AssignmentPtrOutput
- type AssignmentState
- type Definition
- func (*Definition) ElementType() reflect.Type
- func (i *Definition) ToDefinitionOutput() DefinitionOutput
- func (i *Definition) ToDefinitionOutputWithContext(ctx context.Context) DefinitionOutput
- func (i *Definition) ToDefinitionPtrOutput() DefinitionPtrOutput
- func (i *Definition) ToDefinitionPtrOutputWithContext(ctx context.Context) DefinitionPtrOutput
- type DefinitionArgs
- type DefinitionArray
- type DefinitionArrayInput
- type DefinitionArrayOutput
- func (DefinitionArrayOutput) ElementType() reflect.Type
- func (o DefinitionArrayOutput) Index(i pulumi.IntInput) DefinitionOutput
- func (o DefinitionArrayOutput) ToDefinitionArrayOutput() DefinitionArrayOutput
- func (o DefinitionArrayOutput) ToDefinitionArrayOutputWithContext(ctx context.Context) DefinitionArrayOutput
- type DefinitionAuthorization
- type DefinitionAuthorizationArgs
- type DefinitionAuthorizationArray
- func (DefinitionAuthorizationArray) ElementType() reflect.Type
- func (i DefinitionAuthorizationArray) ToDefinitionAuthorizationArrayOutput() DefinitionAuthorizationArrayOutput
- func (i DefinitionAuthorizationArray) ToDefinitionAuthorizationArrayOutputWithContext(ctx context.Context) DefinitionAuthorizationArrayOutput
- type DefinitionAuthorizationArrayInput
- type DefinitionAuthorizationArrayOutput
- func (DefinitionAuthorizationArrayOutput) ElementType() reflect.Type
- func (o DefinitionAuthorizationArrayOutput) Index(i pulumi.IntInput) DefinitionAuthorizationOutput
- func (o DefinitionAuthorizationArrayOutput) ToDefinitionAuthorizationArrayOutput() DefinitionAuthorizationArrayOutput
- func (o DefinitionAuthorizationArrayOutput) ToDefinitionAuthorizationArrayOutputWithContext(ctx context.Context) DefinitionAuthorizationArrayOutput
- type DefinitionAuthorizationInput
- type DefinitionAuthorizationOutput
- func (o DefinitionAuthorizationOutput) DelegatedRoleDefinitionIds() pulumi.StringArrayOutput
- func (DefinitionAuthorizationOutput) ElementType() reflect.Type
- func (o DefinitionAuthorizationOutput) PrincipalDisplayName() pulumi.StringPtrOutput
- func (o DefinitionAuthorizationOutput) PrincipalId() pulumi.StringOutput
- func (o DefinitionAuthorizationOutput) RoleDefinitionId() pulumi.StringOutput
- func (o DefinitionAuthorizationOutput) ToDefinitionAuthorizationOutput() DefinitionAuthorizationOutput
- func (o DefinitionAuthorizationOutput) ToDefinitionAuthorizationOutputWithContext(ctx context.Context) DefinitionAuthorizationOutput
- type DefinitionInput
- type DefinitionMap
- type DefinitionMapInput
- type DefinitionMapOutput
- func (DefinitionMapOutput) ElementType() reflect.Type
- func (o DefinitionMapOutput) MapIndex(k pulumi.StringInput) DefinitionOutput
- func (o DefinitionMapOutput) ToDefinitionMapOutput() DefinitionMapOutput
- func (o DefinitionMapOutput) ToDefinitionMapOutputWithContext(ctx context.Context) DefinitionMapOutput
- type DefinitionOutput
- func (DefinitionOutput) ElementType() reflect.Type
- func (o DefinitionOutput) ToDefinitionOutput() DefinitionOutput
- func (o DefinitionOutput) ToDefinitionOutputWithContext(ctx context.Context) DefinitionOutput
- func (o DefinitionOutput) ToDefinitionPtrOutput() DefinitionPtrOutput
- func (o DefinitionOutput) ToDefinitionPtrOutputWithContext(ctx context.Context) DefinitionPtrOutput
- type DefinitionPlan
- type DefinitionPlanArgs
- func (DefinitionPlanArgs) ElementType() reflect.Type
- func (i DefinitionPlanArgs) ToDefinitionPlanOutput() DefinitionPlanOutput
- func (i DefinitionPlanArgs) ToDefinitionPlanOutputWithContext(ctx context.Context) DefinitionPlanOutput
- func (i DefinitionPlanArgs) ToDefinitionPlanPtrOutput() DefinitionPlanPtrOutput
- func (i DefinitionPlanArgs) ToDefinitionPlanPtrOutputWithContext(ctx context.Context) DefinitionPlanPtrOutput
- type DefinitionPlanInput
- type DefinitionPlanOutput
- func (DefinitionPlanOutput) ElementType() reflect.Type
- func (o DefinitionPlanOutput) Name() pulumi.StringOutput
- func (o DefinitionPlanOutput) Product() pulumi.StringOutput
- func (o DefinitionPlanOutput) Publisher() pulumi.StringOutput
- func (o DefinitionPlanOutput) ToDefinitionPlanOutput() DefinitionPlanOutput
- func (o DefinitionPlanOutput) ToDefinitionPlanOutputWithContext(ctx context.Context) DefinitionPlanOutput
- func (o DefinitionPlanOutput) ToDefinitionPlanPtrOutput() DefinitionPlanPtrOutput
- func (o DefinitionPlanOutput) ToDefinitionPlanPtrOutputWithContext(ctx context.Context) DefinitionPlanPtrOutput
- func (o DefinitionPlanOutput) Version() pulumi.StringOutput
- type DefinitionPlanPtrInput
- type DefinitionPlanPtrOutput
- func (o DefinitionPlanPtrOutput) Elem() DefinitionPlanOutput
- func (DefinitionPlanPtrOutput) ElementType() reflect.Type
- func (o DefinitionPlanPtrOutput) Name() pulumi.StringPtrOutput
- func (o DefinitionPlanPtrOutput) Product() pulumi.StringPtrOutput
- func (o DefinitionPlanPtrOutput) Publisher() pulumi.StringPtrOutput
- func (o DefinitionPlanPtrOutput) ToDefinitionPlanPtrOutput() DefinitionPlanPtrOutput
- func (o DefinitionPlanPtrOutput) ToDefinitionPlanPtrOutputWithContext(ctx context.Context) DefinitionPlanPtrOutput
- func (o DefinitionPlanPtrOutput) Version() pulumi.StringPtrOutput
- type DefinitionPtrInput
- type DefinitionPtrOutput
- type DefinitionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assignment ¶
type Assignment struct { pulumi.CustomResourceState // A Fully qualified path of the lighthouse definition, such as `/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2`. Changing this forces a new resource to be created. LighthouseDefinitionId pulumi.StringOutput `pulumi:"lighthouseDefinitionId"` // A unique UUID/GUID which identifies this lighthouse assignment- one will be generated if not specified. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The scope at which the Lighthouse Assignment applies too, such as `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333` or `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup`. Changing this forces a new resource to be created. Scope pulumi.StringOutput `pulumi:"scope"` }
Manages a [Lighthouse](https://docs.microsoft.com/en-us/azure/lighthouse) Assignment to a subscription, or to a resource group.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/lighthouse" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lighthouse.NewAssignment(ctx, "example", &lighthouse.AssignmentArgs{ LighthouseDefinitionId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedServices/registrationDefinitions/00000000-0000-0000-0000-000000000000"), Scope: pulumi.String("/subscription/00000000-0000-0000-0000-000000000000"), }) if err != nil { return err } return nil }) }
```
## Import
Lighthouse Assignments can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:lighthouse/assignment:Assignment example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedServices/registrationAssignments/00000000-0000-0000-0000-000000000000
```
func GetAssignment ¶
func GetAssignment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AssignmentState, opts ...pulumi.ResourceOption) (*Assignment, error)
GetAssignment gets an existing Assignment 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 NewAssignment ¶
func NewAssignment(ctx *pulumi.Context, name string, args *AssignmentArgs, opts ...pulumi.ResourceOption) (*Assignment, error)
NewAssignment registers a new resource with the given unique name, arguments, and options.
func (*Assignment) ElementType ¶
func (*Assignment) ElementType() reflect.Type
func (*Assignment) ToAssignmentOutput ¶
func (i *Assignment) ToAssignmentOutput() AssignmentOutput
func (*Assignment) ToAssignmentOutputWithContext ¶
func (i *Assignment) ToAssignmentOutputWithContext(ctx context.Context) AssignmentOutput
func (*Assignment) ToAssignmentPtrOutput ¶
func (i *Assignment) ToAssignmentPtrOutput() AssignmentPtrOutput
func (*Assignment) ToAssignmentPtrOutputWithContext ¶
func (i *Assignment) ToAssignmentPtrOutputWithContext(ctx context.Context) AssignmentPtrOutput
type AssignmentArgs ¶
type AssignmentArgs struct { // A Fully qualified path of the lighthouse definition, such as `/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2`. Changing this forces a new resource to be created. LighthouseDefinitionId pulumi.StringInput // A unique UUID/GUID which identifies this lighthouse assignment- one will be generated if not specified. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The scope at which the Lighthouse Assignment applies too, such as `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333` or `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup`. Changing this forces a new resource to be created. Scope pulumi.StringInput }
The set of arguments for constructing a Assignment resource.
func (AssignmentArgs) ElementType ¶
func (AssignmentArgs) ElementType() reflect.Type
type AssignmentArray ¶
type AssignmentArray []AssignmentInput
func (AssignmentArray) ElementType ¶
func (AssignmentArray) ElementType() reflect.Type
func (AssignmentArray) ToAssignmentArrayOutput ¶
func (i AssignmentArray) ToAssignmentArrayOutput() AssignmentArrayOutput
func (AssignmentArray) ToAssignmentArrayOutputWithContext ¶
func (i AssignmentArray) ToAssignmentArrayOutputWithContext(ctx context.Context) AssignmentArrayOutput
type AssignmentArrayInput ¶
type AssignmentArrayInput interface { pulumi.Input ToAssignmentArrayOutput() AssignmentArrayOutput ToAssignmentArrayOutputWithContext(context.Context) AssignmentArrayOutput }
AssignmentArrayInput is an input type that accepts AssignmentArray and AssignmentArrayOutput values. You can construct a concrete instance of `AssignmentArrayInput` via:
AssignmentArray{ AssignmentArgs{...} }
type AssignmentArrayOutput ¶
type AssignmentArrayOutput struct{ *pulumi.OutputState }
func (AssignmentArrayOutput) ElementType ¶
func (AssignmentArrayOutput) ElementType() reflect.Type
func (AssignmentArrayOutput) Index ¶
func (o AssignmentArrayOutput) Index(i pulumi.IntInput) AssignmentOutput
func (AssignmentArrayOutput) ToAssignmentArrayOutput ¶
func (o AssignmentArrayOutput) ToAssignmentArrayOutput() AssignmentArrayOutput
func (AssignmentArrayOutput) ToAssignmentArrayOutputWithContext ¶
func (o AssignmentArrayOutput) ToAssignmentArrayOutputWithContext(ctx context.Context) AssignmentArrayOutput
type AssignmentInput ¶
type AssignmentInput interface { pulumi.Input ToAssignmentOutput() AssignmentOutput ToAssignmentOutputWithContext(ctx context.Context) AssignmentOutput }
type AssignmentMap ¶
type AssignmentMap map[string]AssignmentInput
func (AssignmentMap) ElementType ¶
func (AssignmentMap) ElementType() reflect.Type
func (AssignmentMap) ToAssignmentMapOutput ¶
func (i AssignmentMap) ToAssignmentMapOutput() AssignmentMapOutput
func (AssignmentMap) ToAssignmentMapOutputWithContext ¶
func (i AssignmentMap) ToAssignmentMapOutputWithContext(ctx context.Context) AssignmentMapOutput
type AssignmentMapInput ¶
type AssignmentMapInput interface { pulumi.Input ToAssignmentMapOutput() AssignmentMapOutput ToAssignmentMapOutputWithContext(context.Context) AssignmentMapOutput }
AssignmentMapInput is an input type that accepts AssignmentMap and AssignmentMapOutput values. You can construct a concrete instance of `AssignmentMapInput` via:
AssignmentMap{ "key": AssignmentArgs{...} }
type AssignmentMapOutput ¶
type AssignmentMapOutput struct{ *pulumi.OutputState }
func (AssignmentMapOutput) ElementType ¶
func (AssignmentMapOutput) ElementType() reflect.Type
func (AssignmentMapOutput) MapIndex ¶
func (o AssignmentMapOutput) MapIndex(k pulumi.StringInput) AssignmentOutput
func (AssignmentMapOutput) ToAssignmentMapOutput ¶
func (o AssignmentMapOutput) ToAssignmentMapOutput() AssignmentMapOutput
func (AssignmentMapOutput) ToAssignmentMapOutputWithContext ¶
func (o AssignmentMapOutput) ToAssignmentMapOutputWithContext(ctx context.Context) AssignmentMapOutput
type AssignmentOutput ¶
type AssignmentOutput struct {
*pulumi.OutputState
}
func (AssignmentOutput) ElementType ¶
func (AssignmentOutput) ElementType() reflect.Type
func (AssignmentOutput) ToAssignmentOutput ¶
func (o AssignmentOutput) ToAssignmentOutput() AssignmentOutput
func (AssignmentOutput) ToAssignmentOutputWithContext ¶
func (o AssignmentOutput) ToAssignmentOutputWithContext(ctx context.Context) AssignmentOutput
func (AssignmentOutput) ToAssignmentPtrOutput ¶
func (o AssignmentOutput) ToAssignmentPtrOutput() AssignmentPtrOutput
func (AssignmentOutput) ToAssignmentPtrOutputWithContext ¶
func (o AssignmentOutput) ToAssignmentPtrOutputWithContext(ctx context.Context) AssignmentPtrOutput
type AssignmentPtrInput ¶
type AssignmentPtrInput interface { pulumi.Input ToAssignmentPtrOutput() AssignmentPtrOutput ToAssignmentPtrOutputWithContext(ctx context.Context) AssignmentPtrOutput }
type AssignmentPtrOutput ¶
type AssignmentPtrOutput struct {
*pulumi.OutputState
}
func (AssignmentPtrOutput) ElementType ¶
func (AssignmentPtrOutput) ElementType() reflect.Type
func (AssignmentPtrOutput) ToAssignmentPtrOutput ¶
func (o AssignmentPtrOutput) ToAssignmentPtrOutput() AssignmentPtrOutput
func (AssignmentPtrOutput) ToAssignmentPtrOutputWithContext ¶
func (o AssignmentPtrOutput) ToAssignmentPtrOutputWithContext(ctx context.Context) AssignmentPtrOutput
type AssignmentState ¶
type AssignmentState struct { // A Fully qualified path of the lighthouse definition, such as `/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2`. Changing this forces a new resource to be created. LighthouseDefinitionId pulumi.StringPtrInput // A unique UUID/GUID which identifies this lighthouse assignment- one will be generated if not specified. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The scope at which the Lighthouse Assignment applies too, such as `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333` or `/subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup`. Changing this forces a new resource to be created. Scope pulumi.StringPtrInput }
func (AssignmentState) ElementType ¶
func (AssignmentState) ElementType() reflect.Type
type Definition ¶
type Definition struct { pulumi.CustomResourceState // An authorization block as defined below. Authorizations DefinitionAuthorizationArrayOutput `pulumi:"authorizations"` // A description of the Lighthouse Definition. Description pulumi.StringPtrOutput `pulumi:"description"` // A unique UUID/GUID which identifies this lighthouse definition - one will be generated if not specified. Changing this forces a new resource to be created. LighthouseDefinitionId pulumi.StringOutput `pulumi:"lighthouseDefinitionId"` // The ID of the managing tenant. Changing this forces a new resource to be created. ManagingTenantId pulumi.StringOutput `pulumi:"managingTenantId"` // The name of the Lighthouse Definition. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // A `plan` block as defined below. Plan DefinitionPlanPtrOutput `pulumi:"plan"` // The ID of the managed subscription. Changing this forces a new resource to be created. Scope pulumi.StringOutput `pulumi:"scope"` }
Manages a [Lighthouse](https://docs.microsoft.com/en-us/azure/lighthouse) Definition.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/lighthouse" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "b24988ac-6180-42a0-ab88-20f7382dd24c" contributor, err := authorization.LookupRoleDefinition(ctx, &authorization.LookupRoleDefinitionArgs{ RoleDefinitionId: &opt0, }, nil) if err != nil { return err } _, err = lighthouse.NewDefinition(ctx, "example", &lighthouse.DefinitionArgs{ Description: pulumi.String("This is a lighthouse definition created IaC"), ManagingTenantId: pulumi.String("00000000-0000-0000-0000-000000000000"), Scope: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000"), Authorizations: lighthouse.DefinitionAuthorizationArray{ &lighthouse.DefinitionAuthorizationArgs{ PrincipalId: pulumi.String("00000000-0000-0000-0000-000000000000"), RoleDefinitionId: pulumi.String(contributor.RoleDefinitionId), PrincipalDisplayName: pulumi.String("Tier 1 Support"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Lighthouse Definitions can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:lighthouse/definition:Definition example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedServices/registrationDefinitions/00000000-0000-0000-0000-000000000000
```
func GetDefinition ¶
func GetDefinition(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DefinitionState, opts ...pulumi.ResourceOption) (*Definition, error)
GetDefinition gets an existing Definition 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 NewDefinition ¶
func NewDefinition(ctx *pulumi.Context, name string, args *DefinitionArgs, opts ...pulumi.ResourceOption) (*Definition, error)
NewDefinition registers a new resource with the given unique name, arguments, and options.
func (*Definition) ElementType ¶
func (*Definition) ElementType() reflect.Type
func (*Definition) ToDefinitionOutput ¶
func (i *Definition) ToDefinitionOutput() DefinitionOutput
func (*Definition) ToDefinitionOutputWithContext ¶
func (i *Definition) ToDefinitionOutputWithContext(ctx context.Context) DefinitionOutput
func (*Definition) ToDefinitionPtrOutput ¶
func (i *Definition) ToDefinitionPtrOutput() DefinitionPtrOutput
func (*Definition) ToDefinitionPtrOutputWithContext ¶
func (i *Definition) ToDefinitionPtrOutputWithContext(ctx context.Context) DefinitionPtrOutput
type DefinitionArgs ¶
type DefinitionArgs struct { // An authorization block as defined below. Authorizations DefinitionAuthorizationArrayInput // A description of the Lighthouse Definition. Description pulumi.StringPtrInput // A unique UUID/GUID which identifies this lighthouse definition - one will be generated if not specified. Changing this forces a new resource to be created. LighthouseDefinitionId pulumi.StringPtrInput // The ID of the managing tenant. Changing this forces a new resource to be created. ManagingTenantId pulumi.StringInput // The name of the Lighthouse Definition. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A `plan` block as defined below. Plan DefinitionPlanPtrInput // The ID of the managed subscription. Changing this forces a new resource to be created. Scope pulumi.StringInput }
The set of arguments for constructing a Definition resource.
func (DefinitionArgs) ElementType ¶
func (DefinitionArgs) ElementType() reflect.Type
type DefinitionArray ¶
type DefinitionArray []DefinitionInput
func (DefinitionArray) ElementType ¶
func (DefinitionArray) ElementType() reflect.Type
func (DefinitionArray) ToDefinitionArrayOutput ¶
func (i DefinitionArray) ToDefinitionArrayOutput() DefinitionArrayOutput
func (DefinitionArray) ToDefinitionArrayOutputWithContext ¶
func (i DefinitionArray) ToDefinitionArrayOutputWithContext(ctx context.Context) DefinitionArrayOutput
type DefinitionArrayInput ¶
type DefinitionArrayInput interface { pulumi.Input ToDefinitionArrayOutput() DefinitionArrayOutput ToDefinitionArrayOutputWithContext(context.Context) DefinitionArrayOutput }
DefinitionArrayInput is an input type that accepts DefinitionArray and DefinitionArrayOutput values. You can construct a concrete instance of `DefinitionArrayInput` via:
DefinitionArray{ DefinitionArgs{...} }
type DefinitionArrayOutput ¶
type DefinitionArrayOutput struct{ *pulumi.OutputState }
func (DefinitionArrayOutput) ElementType ¶
func (DefinitionArrayOutput) ElementType() reflect.Type
func (DefinitionArrayOutput) Index ¶
func (o DefinitionArrayOutput) Index(i pulumi.IntInput) DefinitionOutput
func (DefinitionArrayOutput) ToDefinitionArrayOutput ¶
func (o DefinitionArrayOutput) ToDefinitionArrayOutput() DefinitionArrayOutput
func (DefinitionArrayOutput) ToDefinitionArrayOutputWithContext ¶
func (o DefinitionArrayOutput) ToDefinitionArrayOutputWithContext(ctx context.Context) DefinitionArrayOutput
type DefinitionAuthorization ¶
type DefinitionAuthorization struct { // The set of role definition ids which define all the permissions that the principal id can assign. DelegatedRoleDefinitionIds []string `pulumi:"delegatedRoleDefinitionIds"` // The display name of the security group/service principal/user that would be assigned permissions to the projected subscription. PrincipalDisplayName *string `pulumi:"principalDisplayName"` // Principal ID of the security group/service principal/user that would be assigned permissions to the projected subscription. PrincipalId string `pulumi:"principalId"` // The role definition identifier. This role will define the permissions that are granted to the principal. This cannot be an `Owner` role. RoleDefinitionId string `pulumi:"roleDefinitionId"` }
type DefinitionAuthorizationArgs ¶
type DefinitionAuthorizationArgs struct { // The set of role definition ids which define all the permissions that the principal id can assign. DelegatedRoleDefinitionIds pulumi.StringArrayInput `pulumi:"delegatedRoleDefinitionIds"` // The display name of the security group/service principal/user that would be assigned permissions to the projected subscription. PrincipalDisplayName pulumi.StringPtrInput `pulumi:"principalDisplayName"` // Principal ID of the security group/service principal/user that would be assigned permissions to the projected subscription. PrincipalId pulumi.StringInput `pulumi:"principalId"` // The role definition identifier. This role will define the permissions that are granted to the principal. This cannot be an `Owner` role. RoleDefinitionId pulumi.StringInput `pulumi:"roleDefinitionId"` }
func (DefinitionAuthorizationArgs) ElementType ¶
func (DefinitionAuthorizationArgs) ElementType() reflect.Type
func (DefinitionAuthorizationArgs) ToDefinitionAuthorizationOutput ¶
func (i DefinitionAuthorizationArgs) ToDefinitionAuthorizationOutput() DefinitionAuthorizationOutput
func (DefinitionAuthorizationArgs) ToDefinitionAuthorizationOutputWithContext ¶
func (i DefinitionAuthorizationArgs) ToDefinitionAuthorizationOutputWithContext(ctx context.Context) DefinitionAuthorizationOutput
type DefinitionAuthorizationArray ¶
type DefinitionAuthorizationArray []DefinitionAuthorizationInput
func (DefinitionAuthorizationArray) ElementType ¶
func (DefinitionAuthorizationArray) ElementType() reflect.Type
func (DefinitionAuthorizationArray) ToDefinitionAuthorizationArrayOutput ¶
func (i DefinitionAuthorizationArray) ToDefinitionAuthorizationArrayOutput() DefinitionAuthorizationArrayOutput
func (DefinitionAuthorizationArray) ToDefinitionAuthorizationArrayOutputWithContext ¶
func (i DefinitionAuthorizationArray) ToDefinitionAuthorizationArrayOutputWithContext(ctx context.Context) DefinitionAuthorizationArrayOutput
type DefinitionAuthorizationArrayInput ¶
type DefinitionAuthorizationArrayInput interface { pulumi.Input ToDefinitionAuthorizationArrayOutput() DefinitionAuthorizationArrayOutput ToDefinitionAuthorizationArrayOutputWithContext(context.Context) DefinitionAuthorizationArrayOutput }
DefinitionAuthorizationArrayInput is an input type that accepts DefinitionAuthorizationArray and DefinitionAuthorizationArrayOutput values. You can construct a concrete instance of `DefinitionAuthorizationArrayInput` via:
DefinitionAuthorizationArray{ DefinitionAuthorizationArgs{...} }
type DefinitionAuthorizationArrayOutput ¶
type DefinitionAuthorizationArrayOutput struct{ *pulumi.OutputState }
func (DefinitionAuthorizationArrayOutput) ElementType ¶
func (DefinitionAuthorizationArrayOutput) ElementType() reflect.Type
func (DefinitionAuthorizationArrayOutput) Index ¶
func (o DefinitionAuthorizationArrayOutput) Index(i pulumi.IntInput) DefinitionAuthorizationOutput
func (DefinitionAuthorizationArrayOutput) ToDefinitionAuthorizationArrayOutput ¶
func (o DefinitionAuthorizationArrayOutput) ToDefinitionAuthorizationArrayOutput() DefinitionAuthorizationArrayOutput
func (DefinitionAuthorizationArrayOutput) ToDefinitionAuthorizationArrayOutputWithContext ¶
func (o DefinitionAuthorizationArrayOutput) ToDefinitionAuthorizationArrayOutputWithContext(ctx context.Context) DefinitionAuthorizationArrayOutput
type DefinitionAuthorizationInput ¶
type DefinitionAuthorizationInput interface { pulumi.Input ToDefinitionAuthorizationOutput() DefinitionAuthorizationOutput ToDefinitionAuthorizationOutputWithContext(context.Context) DefinitionAuthorizationOutput }
DefinitionAuthorizationInput is an input type that accepts DefinitionAuthorizationArgs and DefinitionAuthorizationOutput values. You can construct a concrete instance of `DefinitionAuthorizationInput` via:
DefinitionAuthorizationArgs{...}
type DefinitionAuthorizationOutput ¶
type DefinitionAuthorizationOutput struct{ *pulumi.OutputState }
func (DefinitionAuthorizationOutput) DelegatedRoleDefinitionIds ¶ added in v4.1.0
func (o DefinitionAuthorizationOutput) DelegatedRoleDefinitionIds() pulumi.StringArrayOutput
The set of role definition ids which define all the permissions that the principal id can assign.
func (DefinitionAuthorizationOutput) ElementType ¶
func (DefinitionAuthorizationOutput) ElementType() reflect.Type
func (DefinitionAuthorizationOutput) PrincipalDisplayName ¶
func (o DefinitionAuthorizationOutput) PrincipalDisplayName() pulumi.StringPtrOutput
The display name of the security group/service principal/user that would be assigned permissions to the projected subscription.
func (DefinitionAuthorizationOutput) PrincipalId ¶
func (o DefinitionAuthorizationOutput) PrincipalId() pulumi.StringOutput
Principal ID of the security group/service principal/user that would be assigned permissions to the projected subscription.
func (DefinitionAuthorizationOutput) RoleDefinitionId ¶
func (o DefinitionAuthorizationOutput) RoleDefinitionId() pulumi.StringOutput
The role definition identifier. This role will define the permissions that are granted to the principal. This cannot be an `Owner` role.
func (DefinitionAuthorizationOutput) ToDefinitionAuthorizationOutput ¶
func (o DefinitionAuthorizationOutput) ToDefinitionAuthorizationOutput() DefinitionAuthorizationOutput
func (DefinitionAuthorizationOutput) ToDefinitionAuthorizationOutputWithContext ¶
func (o DefinitionAuthorizationOutput) ToDefinitionAuthorizationOutputWithContext(ctx context.Context) DefinitionAuthorizationOutput
type DefinitionInput ¶
type DefinitionInput interface { pulumi.Input ToDefinitionOutput() DefinitionOutput ToDefinitionOutputWithContext(ctx context.Context) DefinitionOutput }
type DefinitionMap ¶
type DefinitionMap map[string]DefinitionInput
func (DefinitionMap) ElementType ¶
func (DefinitionMap) ElementType() reflect.Type
func (DefinitionMap) ToDefinitionMapOutput ¶
func (i DefinitionMap) ToDefinitionMapOutput() DefinitionMapOutput
func (DefinitionMap) ToDefinitionMapOutputWithContext ¶
func (i DefinitionMap) ToDefinitionMapOutputWithContext(ctx context.Context) DefinitionMapOutput
type DefinitionMapInput ¶
type DefinitionMapInput interface { pulumi.Input ToDefinitionMapOutput() DefinitionMapOutput ToDefinitionMapOutputWithContext(context.Context) DefinitionMapOutput }
DefinitionMapInput is an input type that accepts DefinitionMap and DefinitionMapOutput values. You can construct a concrete instance of `DefinitionMapInput` via:
DefinitionMap{ "key": DefinitionArgs{...} }
type DefinitionMapOutput ¶
type DefinitionMapOutput struct{ *pulumi.OutputState }
func (DefinitionMapOutput) ElementType ¶
func (DefinitionMapOutput) ElementType() reflect.Type
func (DefinitionMapOutput) MapIndex ¶
func (o DefinitionMapOutput) MapIndex(k pulumi.StringInput) DefinitionOutput
func (DefinitionMapOutput) ToDefinitionMapOutput ¶
func (o DefinitionMapOutput) ToDefinitionMapOutput() DefinitionMapOutput
func (DefinitionMapOutput) ToDefinitionMapOutputWithContext ¶
func (o DefinitionMapOutput) ToDefinitionMapOutputWithContext(ctx context.Context) DefinitionMapOutput
type DefinitionOutput ¶
type DefinitionOutput struct {
*pulumi.OutputState
}
func (DefinitionOutput) ElementType ¶
func (DefinitionOutput) ElementType() reflect.Type
func (DefinitionOutput) ToDefinitionOutput ¶
func (o DefinitionOutput) ToDefinitionOutput() DefinitionOutput
func (DefinitionOutput) ToDefinitionOutputWithContext ¶
func (o DefinitionOutput) ToDefinitionOutputWithContext(ctx context.Context) DefinitionOutput
func (DefinitionOutput) ToDefinitionPtrOutput ¶
func (o DefinitionOutput) ToDefinitionPtrOutput() DefinitionPtrOutput
func (DefinitionOutput) ToDefinitionPtrOutputWithContext ¶
func (o DefinitionOutput) ToDefinitionPtrOutputWithContext(ctx context.Context) DefinitionPtrOutput
type DefinitionPlan ¶ added in v4.9.0
type DefinitionPlan struct { // The plan name of the marketplace offer. Name string `pulumi:"name"` // The product code of the plan. Product string `pulumi:"product"` // The publisher ID of the plan. Publisher string `pulumi:"publisher"` // The version of the plan. Version string `pulumi:"version"` }
type DefinitionPlanArgs ¶ added in v4.9.0
type DefinitionPlanArgs struct { // The plan name of the marketplace offer. Name pulumi.StringInput `pulumi:"name"` // The product code of the plan. Product pulumi.StringInput `pulumi:"product"` // The publisher ID of the plan. Publisher pulumi.StringInput `pulumi:"publisher"` // The version of the plan. Version pulumi.StringInput `pulumi:"version"` }
func (DefinitionPlanArgs) ElementType ¶ added in v4.9.0
func (DefinitionPlanArgs) ElementType() reflect.Type
func (DefinitionPlanArgs) ToDefinitionPlanOutput ¶ added in v4.9.0
func (i DefinitionPlanArgs) ToDefinitionPlanOutput() DefinitionPlanOutput
func (DefinitionPlanArgs) ToDefinitionPlanOutputWithContext ¶ added in v4.9.0
func (i DefinitionPlanArgs) ToDefinitionPlanOutputWithContext(ctx context.Context) DefinitionPlanOutput
func (DefinitionPlanArgs) ToDefinitionPlanPtrOutput ¶ added in v4.9.0
func (i DefinitionPlanArgs) ToDefinitionPlanPtrOutput() DefinitionPlanPtrOutput
func (DefinitionPlanArgs) ToDefinitionPlanPtrOutputWithContext ¶ added in v4.9.0
func (i DefinitionPlanArgs) ToDefinitionPlanPtrOutputWithContext(ctx context.Context) DefinitionPlanPtrOutput
type DefinitionPlanInput ¶ added in v4.9.0
type DefinitionPlanInput interface { pulumi.Input ToDefinitionPlanOutput() DefinitionPlanOutput ToDefinitionPlanOutputWithContext(context.Context) DefinitionPlanOutput }
DefinitionPlanInput is an input type that accepts DefinitionPlanArgs and DefinitionPlanOutput values. You can construct a concrete instance of `DefinitionPlanInput` via:
DefinitionPlanArgs{...}
type DefinitionPlanOutput ¶ added in v4.9.0
type DefinitionPlanOutput struct{ *pulumi.OutputState }
func (DefinitionPlanOutput) ElementType ¶ added in v4.9.0
func (DefinitionPlanOutput) ElementType() reflect.Type
func (DefinitionPlanOutput) Name ¶ added in v4.9.0
func (o DefinitionPlanOutput) Name() pulumi.StringOutput
The plan name of the marketplace offer.
func (DefinitionPlanOutput) Product ¶ added in v4.9.0
func (o DefinitionPlanOutput) Product() pulumi.StringOutput
The product code of the plan.
func (DefinitionPlanOutput) Publisher ¶ added in v4.9.0
func (o DefinitionPlanOutput) Publisher() pulumi.StringOutput
The publisher ID of the plan.
func (DefinitionPlanOutput) ToDefinitionPlanOutput ¶ added in v4.9.0
func (o DefinitionPlanOutput) ToDefinitionPlanOutput() DefinitionPlanOutput
func (DefinitionPlanOutput) ToDefinitionPlanOutputWithContext ¶ added in v4.9.0
func (o DefinitionPlanOutput) ToDefinitionPlanOutputWithContext(ctx context.Context) DefinitionPlanOutput
func (DefinitionPlanOutput) ToDefinitionPlanPtrOutput ¶ added in v4.9.0
func (o DefinitionPlanOutput) ToDefinitionPlanPtrOutput() DefinitionPlanPtrOutput
func (DefinitionPlanOutput) ToDefinitionPlanPtrOutputWithContext ¶ added in v4.9.0
func (o DefinitionPlanOutput) ToDefinitionPlanPtrOutputWithContext(ctx context.Context) DefinitionPlanPtrOutput
func (DefinitionPlanOutput) Version ¶ added in v4.9.0
func (o DefinitionPlanOutput) Version() pulumi.StringOutput
The version of the plan.
type DefinitionPlanPtrInput ¶ added in v4.9.0
type DefinitionPlanPtrInput interface { pulumi.Input ToDefinitionPlanPtrOutput() DefinitionPlanPtrOutput ToDefinitionPlanPtrOutputWithContext(context.Context) DefinitionPlanPtrOutput }
DefinitionPlanPtrInput is an input type that accepts DefinitionPlanArgs, DefinitionPlanPtr and DefinitionPlanPtrOutput values. You can construct a concrete instance of `DefinitionPlanPtrInput` via:
DefinitionPlanArgs{...} or: nil
func DefinitionPlanPtr ¶ added in v4.9.0
func DefinitionPlanPtr(v *DefinitionPlanArgs) DefinitionPlanPtrInput
type DefinitionPlanPtrOutput ¶ added in v4.9.0
type DefinitionPlanPtrOutput struct{ *pulumi.OutputState }
func (DefinitionPlanPtrOutput) Elem ¶ added in v4.9.0
func (o DefinitionPlanPtrOutput) Elem() DefinitionPlanOutput
func (DefinitionPlanPtrOutput) ElementType ¶ added in v4.9.0
func (DefinitionPlanPtrOutput) ElementType() reflect.Type
func (DefinitionPlanPtrOutput) Name ¶ added in v4.9.0
func (o DefinitionPlanPtrOutput) Name() pulumi.StringPtrOutput
The plan name of the marketplace offer.
func (DefinitionPlanPtrOutput) Product ¶ added in v4.9.0
func (o DefinitionPlanPtrOutput) Product() pulumi.StringPtrOutput
The product code of the plan.
func (DefinitionPlanPtrOutput) Publisher ¶ added in v4.9.0
func (o DefinitionPlanPtrOutput) Publisher() pulumi.StringPtrOutput
The publisher ID of the plan.
func (DefinitionPlanPtrOutput) ToDefinitionPlanPtrOutput ¶ added in v4.9.0
func (o DefinitionPlanPtrOutput) ToDefinitionPlanPtrOutput() DefinitionPlanPtrOutput
func (DefinitionPlanPtrOutput) ToDefinitionPlanPtrOutputWithContext ¶ added in v4.9.0
func (o DefinitionPlanPtrOutput) ToDefinitionPlanPtrOutputWithContext(ctx context.Context) DefinitionPlanPtrOutput
func (DefinitionPlanPtrOutput) Version ¶ added in v4.9.0
func (o DefinitionPlanPtrOutput) Version() pulumi.StringPtrOutput
The version of the plan.
type DefinitionPtrInput ¶
type DefinitionPtrInput interface { pulumi.Input ToDefinitionPtrOutput() DefinitionPtrOutput ToDefinitionPtrOutputWithContext(ctx context.Context) DefinitionPtrOutput }
type DefinitionPtrOutput ¶
type DefinitionPtrOutput struct {
*pulumi.OutputState
}
func (DefinitionPtrOutput) ElementType ¶
func (DefinitionPtrOutput) ElementType() reflect.Type
func (DefinitionPtrOutput) ToDefinitionPtrOutput ¶
func (o DefinitionPtrOutput) ToDefinitionPtrOutput() DefinitionPtrOutput
func (DefinitionPtrOutput) ToDefinitionPtrOutputWithContext ¶
func (o DefinitionPtrOutput) ToDefinitionPtrOutputWithContext(ctx context.Context) DefinitionPtrOutput
type DefinitionState ¶
type DefinitionState struct { // An authorization block as defined below. Authorizations DefinitionAuthorizationArrayInput // A description of the Lighthouse Definition. Description pulumi.StringPtrInput // A unique UUID/GUID which identifies this lighthouse definition - one will be generated if not specified. Changing this forces a new resource to be created. LighthouseDefinitionId pulumi.StringPtrInput // The ID of the managing tenant. Changing this forces a new resource to be created. ManagingTenantId pulumi.StringPtrInput // The name of the Lighthouse Definition. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A `plan` block as defined below. Plan DefinitionPlanPtrInput // The ID of the managed subscription. Changing this forces a new resource to be created. Scope pulumi.StringPtrInput }
func (DefinitionState) ElementType ¶
func (DefinitionState) ElementType() reflect.Type