Documentation ¶
Index ¶
- type Group
- type GroupArgs
- type GroupArray
- type GroupArrayInput
- type GroupArrayOutput
- func (GroupArrayOutput) ElementType() reflect.Type
- func (o GroupArrayOutput) Index(i pulumi.IntInput) GroupOutput
- func (o GroupArrayOutput) ToGroupArrayOutput() GroupArrayOutput
- func (o GroupArrayOutput) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput
- func (o GroupArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Group]
- type GroupInput
- type GroupMap
- type GroupMapInput
- type GroupMapOutput
- func (GroupMapOutput) ElementType() reflect.Type
- func (o GroupMapOutput) MapIndex(k pulumi.StringInput) GroupOutput
- func (o GroupMapOutput) ToGroupMapOutput() GroupMapOutput
- func (o GroupMapOutput) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput
- func (o GroupMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Group]
- type GroupOutput
- func (o GroupOutput) DisplayName() pulumi.StringOutput
- func (GroupOutput) ElementType() reflect.Type
- func (o GroupOutput) Name() pulumi.StringOutput
- func (o GroupOutput) ParentManagementGroupId() pulumi.StringOutput
- func (o GroupOutput) SubscriptionIds() pulumi.StringArrayOutput
- func (o GroupOutput) ToGroupOutput() GroupOutput
- func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput
- func (o GroupOutput) ToOutput(ctx context.Context) pulumix.Output[*Group]
- type GroupPolicyAssignment
- func (*GroupPolicyAssignment) ElementType() reflect.Type
- func (i *GroupPolicyAssignment) ToGroupPolicyAssignmentOutput() GroupPolicyAssignmentOutput
- func (i *GroupPolicyAssignment) ToGroupPolicyAssignmentOutputWithContext(ctx context.Context) GroupPolicyAssignmentOutput
- func (i *GroupPolicyAssignment) ToOutput(ctx context.Context) pulumix.Output[*GroupPolicyAssignment]
- type GroupPolicyAssignmentArgs
- type GroupPolicyAssignmentArray
- func (GroupPolicyAssignmentArray) ElementType() reflect.Type
- func (i GroupPolicyAssignmentArray) ToGroupPolicyAssignmentArrayOutput() GroupPolicyAssignmentArrayOutput
- func (i GroupPolicyAssignmentArray) ToGroupPolicyAssignmentArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentArrayOutput
- func (i GroupPolicyAssignmentArray) ToOutput(ctx context.Context) pulumix.Output[[]*GroupPolicyAssignment]
- type GroupPolicyAssignmentArrayInput
- type GroupPolicyAssignmentArrayOutput
- func (GroupPolicyAssignmentArrayOutput) ElementType() reflect.Type
- func (o GroupPolicyAssignmentArrayOutput) Index(i pulumi.IntInput) GroupPolicyAssignmentOutput
- func (o GroupPolicyAssignmentArrayOutput) ToGroupPolicyAssignmentArrayOutput() GroupPolicyAssignmentArrayOutput
- func (o GroupPolicyAssignmentArrayOutput) ToGroupPolicyAssignmentArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentArrayOutput
- func (o GroupPolicyAssignmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*GroupPolicyAssignment]
- type GroupPolicyAssignmentIdentity
- type GroupPolicyAssignmentIdentityArgs
- func (GroupPolicyAssignmentIdentityArgs) ElementType() reflect.Type
- func (i GroupPolicyAssignmentIdentityArgs) ToGroupPolicyAssignmentIdentityOutput() GroupPolicyAssignmentIdentityOutput
- func (i GroupPolicyAssignmentIdentityArgs) ToGroupPolicyAssignmentIdentityOutputWithContext(ctx context.Context) GroupPolicyAssignmentIdentityOutput
- func (i GroupPolicyAssignmentIdentityArgs) ToGroupPolicyAssignmentIdentityPtrOutput() GroupPolicyAssignmentIdentityPtrOutput
- func (i GroupPolicyAssignmentIdentityArgs) ToGroupPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) GroupPolicyAssignmentIdentityPtrOutput
- func (i GroupPolicyAssignmentIdentityArgs) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentIdentity]
- type GroupPolicyAssignmentIdentityInput
- type GroupPolicyAssignmentIdentityOutput
- func (GroupPolicyAssignmentIdentityOutput) ElementType() reflect.Type
- func (o GroupPolicyAssignmentIdentityOutput) IdentityIds() pulumi.StringArrayOutput
- func (o GroupPolicyAssignmentIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o GroupPolicyAssignmentIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o GroupPolicyAssignmentIdentityOutput) ToGroupPolicyAssignmentIdentityOutput() GroupPolicyAssignmentIdentityOutput
- func (o GroupPolicyAssignmentIdentityOutput) ToGroupPolicyAssignmentIdentityOutputWithContext(ctx context.Context) GroupPolicyAssignmentIdentityOutput
- func (o GroupPolicyAssignmentIdentityOutput) ToGroupPolicyAssignmentIdentityPtrOutput() GroupPolicyAssignmentIdentityPtrOutput
- func (o GroupPolicyAssignmentIdentityOutput) ToGroupPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) GroupPolicyAssignmentIdentityPtrOutput
- func (o GroupPolicyAssignmentIdentityOutput) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentIdentity]
- func (o GroupPolicyAssignmentIdentityOutput) Type() pulumi.StringOutput
- type GroupPolicyAssignmentIdentityPtrInput
- type GroupPolicyAssignmentIdentityPtrOutput
- func (o GroupPolicyAssignmentIdentityPtrOutput) Elem() GroupPolicyAssignmentIdentityOutput
- func (GroupPolicyAssignmentIdentityPtrOutput) ElementType() reflect.Type
- func (o GroupPolicyAssignmentIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
- func (o GroupPolicyAssignmentIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o GroupPolicyAssignmentIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o GroupPolicyAssignmentIdentityPtrOutput) ToGroupPolicyAssignmentIdentityPtrOutput() GroupPolicyAssignmentIdentityPtrOutput
- func (o GroupPolicyAssignmentIdentityPtrOutput) ToGroupPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) GroupPolicyAssignmentIdentityPtrOutput
- func (o GroupPolicyAssignmentIdentityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GroupPolicyAssignmentIdentity]
- func (o GroupPolicyAssignmentIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type GroupPolicyAssignmentInput
- type GroupPolicyAssignmentMap
- func (GroupPolicyAssignmentMap) ElementType() reflect.Type
- func (i GroupPolicyAssignmentMap) ToGroupPolicyAssignmentMapOutput() GroupPolicyAssignmentMapOutput
- func (i GroupPolicyAssignmentMap) ToGroupPolicyAssignmentMapOutputWithContext(ctx context.Context) GroupPolicyAssignmentMapOutput
- func (i GroupPolicyAssignmentMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupPolicyAssignment]
- type GroupPolicyAssignmentMapInput
- type GroupPolicyAssignmentMapOutput
- func (GroupPolicyAssignmentMapOutput) ElementType() reflect.Type
- func (o GroupPolicyAssignmentMapOutput) MapIndex(k pulumi.StringInput) GroupPolicyAssignmentOutput
- func (o GroupPolicyAssignmentMapOutput) ToGroupPolicyAssignmentMapOutput() GroupPolicyAssignmentMapOutput
- func (o GroupPolicyAssignmentMapOutput) ToGroupPolicyAssignmentMapOutputWithContext(ctx context.Context) GroupPolicyAssignmentMapOutput
- func (o GroupPolicyAssignmentMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupPolicyAssignment]
- type GroupPolicyAssignmentNonComplianceMessage
- type GroupPolicyAssignmentNonComplianceMessageArgs
- func (GroupPolicyAssignmentNonComplianceMessageArgs) ElementType() reflect.Type
- func (i GroupPolicyAssignmentNonComplianceMessageArgs) ToGroupPolicyAssignmentNonComplianceMessageOutput() GroupPolicyAssignmentNonComplianceMessageOutput
- func (i GroupPolicyAssignmentNonComplianceMessageArgs) ToGroupPolicyAssignmentNonComplianceMessageOutputWithContext(ctx context.Context) GroupPolicyAssignmentNonComplianceMessageOutput
- func (i GroupPolicyAssignmentNonComplianceMessageArgs) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentNonComplianceMessage]
- type GroupPolicyAssignmentNonComplianceMessageArray
- func (GroupPolicyAssignmentNonComplianceMessageArray) ElementType() reflect.Type
- func (i GroupPolicyAssignmentNonComplianceMessageArray) ToGroupPolicyAssignmentNonComplianceMessageArrayOutput() GroupPolicyAssignmentNonComplianceMessageArrayOutput
- func (i GroupPolicyAssignmentNonComplianceMessageArray) ToGroupPolicyAssignmentNonComplianceMessageArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentNonComplianceMessageArrayOutput
- func (i GroupPolicyAssignmentNonComplianceMessageArray) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentNonComplianceMessage]
- type GroupPolicyAssignmentNonComplianceMessageArrayInput
- type GroupPolicyAssignmentNonComplianceMessageArrayOutput
- func (GroupPolicyAssignmentNonComplianceMessageArrayOutput) ElementType() reflect.Type
- func (o GroupPolicyAssignmentNonComplianceMessageArrayOutput) Index(i pulumi.IntInput) GroupPolicyAssignmentNonComplianceMessageOutput
- func (o GroupPolicyAssignmentNonComplianceMessageArrayOutput) ToGroupPolicyAssignmentNonComplianceMessageArrayOutput() GroupPolicyAssignmentNonComplianceMessageArrayOutput
- func (o GroupPolicyAssignmentNonComplianceMessageArrayOutput) ToGroupPolicyAssignmentNonComplianceMessageArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentNonComplianceMessageArrayOutput
- func (o GroupPolicyAssignmentNonComplianceMessageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentNonComplianceMessage]
- type GroupPolicyAssignmentNonComplianceMessageInput
- type GroupPolicyAssignmentNonComplianceMessageOutput
- func (o GroupPolicyAssignmentNonComplianceMessageOutput) Content() pulumi.StringOutput
- func (GroupPolicyAssignmentNonComplianceMessageOutput) ElementType() reflect.Type
- func (o GroupPolicyAssignmentNonComplianceMessageOutput) PolicyDefinitionReferenceId() pulumi.StringPtrOutput
- func (o GroupPolicyAssignmentNonComplianceMessageOutput) ToGroupPolicyAssignmentNonComplianceMessageOutput() GroupPolicyAssignmentNonComplianceMessageOutput
- func (o GroupPolicyAssignmentNonComplianceMessageOutput) ToGroupPolicyAssignmentNonComplianceMessageOutputWithContext(ctx context.Context) GroupPolicyAssignmentNonComplianceMessageOutput
- func (o GroupPolicyAssignmentNonComplianceMessageOutput) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentNonComplianceMessage]
- type GroupPolicyAssignmentOutput
- func (o GroupPolicyAssignmentOutput) Description() pulumi.StringPtrOutput
- func (o GroupPolicyAssignmentOutput) DisplayName() pulumi.StringPtrOutput
- func (GroupPolicyAssignmentOutput) ElementType() reflect.Type
- func (o GroupPolicyAssignmentOutput) Enforce() pulumi.BoolPtrOutput
- func (o GroupPolicyAssignmentOutput) Identity() GroupPolicyAssignmentIdentityPtrOutput
- func (o GroupPolicyAssignmentOutput) Location() pulumi.StringOutput
- func (o GroupPolicyAssignmentOutput) ManagementGroupId() pulumi.StringOutput
- func (o GroupPolicyAssignmentOutput) Metadata() pulumi.StringOutput
- func (o GroupPolicyAssignmentOutput) Name() pulumi.StringOutput
- func (o GroupPolicyAssignmentOutput) NonComplianceMessages() GroupPolicyAssignmentNonComplianceMessageArrayOutput
- func (o GroupPolicyAssignmentOutput) NotScopes() pulumi.StringArrayOutput
- func (o GroupPolicyAssignmentOutput) Overrides() GroupPolicyAssignmentOverrideArrayOutput
- func (o GroupPolicyAssignmentOutput) Parameters() pulumi.StringPtrOutput
- func (o GroupPolicyAssignmentOutput) PolicyDefinitionId() pulumi.StringOutput
- func (o GroupPolicyAssignmentOutput) ResourceSelectors() GroupPolicyAssignmentResourceSelectorArrayOutput
- func (o GroupPolicyAssignmentOutput) ToGroupPolicyAssignmentOutput() GroupPolicyAssignmentOutput
- func (o GroupPolicyAssignmentOutput) ToGroupPolicyAssignmentOutputWithContext(ctx context.Context) GroupPolicyAssignmentOutput
- func (o GroupPolicyAssignmentOutput) ToOutput(ctx context.Context) pulumix.Output[*GroupPolicyAssignment]
- type GroupPolicyAssignmentOverride
- type GroupPolicyAssignmentOverrideArgs
- func (GroupPolicyAssignmentOverrideArgs) ElementType() reflect.Type
- func (i GroupPolicyAssignmentOverrideArgs) ToGroupPolicyAssignmentOverrideOutput() GroupPolicyAssignmentOverrideOutput
- func (i GroupPolicyAssignmentOverrideArgs) ToGroupPolicyAssignmentOverrideOutputWithContext(ctx context.Context) GroupPolicyAssignmentOverrideOutput
- func (i GroupPolicyAssignmentOverrideArgs) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentOverride]
- type GroupPolicyAssignmentOverrideArray
- func (GroupPolicyAssignmentOverrideArray) ElementType() reflect.Type
- func (i GroupPolicyAssignmentOverrideArray) ToGroupPolicyAssignmentOverrideArrayOutput() GroupPolicyAssignmentOverrideArrayOutput
- func (i GroupPolicyAssignmentOverrideArray) ToGroupPolicyAssignmentOverrideArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentOverrideArrayOutput
- func (i GroupPolicyAssignmentOverrideArray) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentOverride]
- type GroupPolicyAssignmentOverrideArrayInput
- type GroupPolicyAssignmentOverrideArrayOutput
- func (GroupPolicyAssignmentOverrideArrayOutput) ElementType() reflect.Type
- func (o GroupPolicyAssignmentOverrideArrayOutput) Index(i pulumi.IntInput) GroupPolicyAssignmentOverrideOutput
- func (o GroupPolicyAssignmentOverrideArrayOutput) ToGroupPolicyAssignmentOverrideArrayOutput() GroupPolicyAssignmentOverrideArrayOutput
- func (o GroupPolicyAssignmentOverrideArrayOutput) ToGroupPolicyAssignmentOverrideArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentOverrideArrayOutput
- func (o GroupPolicyAssignmentOverrideArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentOverride]
- type GroupPolicyAssignmentOverrideInput
- type GroupPolicyAssignmentOverrideOutput
- func (GroupPolicyAssignmentOverrideOutput) ElementType() reflect.Type
- func (o GroupPolicyAssignmentOverrideOutput) Selectors() GroupPolicyAssignmentOverrideSelectorArrayOutput
- func (o GroupPolicyAssignmentOverrideOutput) ToGroupPolicyAssignmentOverrideOutput() GroupPolicyAssignmentOverrideOutput
- func (o GroupPolicyAssignmentOverrideOutput) ToGroupPolicyAssignmentOverrideOutputWithContext(ctx context.Context) GroupPolicyAssignmentOverrideOutput
- func (o GroupPolicyAssignmentOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentOverride]
- func (o GroupPolicyAssignmentOverrideOutput) Value() pulumi.StringOutput
- type GroupPolicyAssignmentOverrideSelector
- type GroupPolicyAssignmentOverrideSelectorArgs
- func (GroupPolicyAssignmentOverrideSelectorArgs) ElementType() reflect.Type
- func (i GroupPolicyAssignmentOverrideSelectorArgs) ToGroupPolicyAssignmentOverrideSelectorOutput() GroupPolicyAssignmentOverrideSelectorOutput
- func (i GroupPolicyAssignmentOverrideSelectorArgs) ToGroupPolicyAssignmentOverrideSelectorOutputWithContext(ctx context.Context) GroupPolicyAssignmentOverrideSelectorOutput
- func (i GroupPolicyAssignmentOverrideSelectorArgs) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentOverrideSelector]
- type GroupPolicyAssignmentOverrideSelectorArray
- func (GroupPolicyAssignmentOverrideSelectorArray) ElementType() reflect.Type
- func (i GroupPolicyAssignmentOverrideSelectorArray) ToGroupPolicyAssignmentOverrideSelectorArrayOutput() GroupPolicyAssignmentOverrideSelectorArrayOutput
- func (i GroupPolicyAssignmentOverrideSelectorArray) ToGroupPolicyAssignmentOverrideSelectorArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentOverrideSelectorArrayOutput
- func (i GroupPolicyAssignmentOverrideSelectorArray) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentOverrideSelector]
- type GroupPolicyAssignmentOverrideSelectorArrayInput
- type GroupPolicyAssignmentOverrideSelectorArrayOutput
- func (GroupPolicyAssignmentOverrideSelectorArrayOutput) ElementType() reflect.Type
- func (o GroupPolicyAssignmentOverrideSelectorArrayOutput) Index(i pulumi.IntInput) GroupPolicyAssignmentOverrideSelectorOutput
- func (o GroupPolicyAssignmentOverrideSelectorArrayOutput) ToGroupPolicyAssignmentOverrideSelectorArrayOutput() GroupPolicyAssignmentOverrideSelectorArrayOutput
- func (o GroupPolicyAssignmentOverrideSelectorArrayOutput) ToGroupPolicyAssignmentOverrideSelectorArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentOverrideSelectorArrayOutput
- func (o GroupPolicyAssignmentOverrideSelectorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentOverrideSelector]
- type GroupPolicyAssignmentOverrideSelectorInput
- type GroupPolicyAssignmentOverrideSelectorOutput
- func (GroupPolicyAssignmentOverrideSelectorOutput) ElementType() reflect.Type
- func (o GroupPolicyAssignmentOverrideSelectorOutput) Ins() pulumi.StringArrayOutput
- func (o GroupPolicyAssignmentOverrideSelectorOutput) Kind() pulumi.StringPtrOutput
- func (o GroupPolicyAssignmentOverrideSelectorOutput) NotIns() pulumi.StringArrayOutput
- func (o GroupPolicyAssignmentOverrideSelectorOutput) ToGroupPolicyAssignmentOverrideSelectorOutput() GroupPolicyAssignmentOverrideSelectorOutput
- func (o GroupPolicyAssignmentOverrideSelectorOutput) ToGroupPolicyAssignmentOverrideSelectorOutputWithContext(ctx context.Context) GroupPolicyAssignmentOverrideSelectorOutput
- func (o GroupPolicyAssignmentOverrideSelectorOutput) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentOverrideSelector]
- type GroupPolicyAssignmentResourceSelector
- type GroupPolicyAssignmentResourceSelectorArgs
- func (GroupPolicyAssignmentResourceSelectorArgs) ElementType() reflect.Type
- func (i GroupPolicyAssignmentResourceSelectorArgs) ToGroupPolicyAssignmentResourceSelectorOutput() GroupPolicyAssignmentResourceSelectorOutput
- func (i GroupPolicyAssignmentResourceSelectorArgs) ToGroupPolicyAssignmentResourceSelectorOutputWithContext(ctx context.Context) GroupPolicyAssignmentResourceSelectorOutput
- func (i GroupPolicyAssignmentResourceSelectorArgs) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentResourceSelector]
- type GroupPolicyAssignmentResourceSelectorArray
- func (GroupPolicyAssignmentResourceSelectorArray) ElementType() reflect.Type
- func (i GroupPolicyAssignmentResourceSelectorArray) ToGroupPolicyAssignmentResourceSelectorArrayOutput() GroupPolicyAssignmentResourceSelectorArrayOutput
- func (i GroupPolicyAssignmentResourceSelectorArray) ToGroupPolicyAssignmentResourceSelectorArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentResourceSelectorArrayOutput
- func (i GroupPolicyAssignmentResourceSelectorArray) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentResourceSelector]
- type GroupPolicyAssignmentResourceSelectorArrayInput
- type GroupPolicyAssignmentResourceSelectorArrayOutput
- func (GroupPolicyAssignmentResourceSelectorArrayOutput) ElementType() reflect.Type
- func (o GroupPolicyAssignmentResourceSelectorArrayOutput) Index(i pulumi.IntInput) GroupPolicyAssignmentResourceSelectorOutput
- func (o GroupPolicyAssignmentResourceSelectorArrayOutput) ToGroupPolicyAssignmentResourceSelectorArrayOutput() GroupPolicyAssignmentResourceSelectorArrayOutput
- func (o GroupPolicyAssignmentResourceSelectorArrayOutput) ToGroupPolicyAssignmentResourceSelectorArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentResourceSelectorArrayOutput
- func (o GroupPolicyAssignmentResourceSelectorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentResourceSelector]
- type GroupPolicyAssignmentResourceSelectorInput
- type GroupPolicyAssignmentResourceSelectorOutput
- func (GroupPolicyAssignmentResourceSelectorOutput) ElementType() reflect.Type
- func (o GroupPolicyAssignmentResourceSelectorOutput) Name() pulumi.StringPtrOutput
- func (o GroupPolicyAssignmentResourceSelectorOutput) Selectors() GroupPolicyAssignmentResourceSelectorSelectorArrayOutput
- func (o GroupPolicyAssignmentResourceSelectorOutput) ToGroupPolicyAssignmentResourceSelectorOutput() GroupPolicyAssignmentResourceSelectorOutput
- func (o GroupPolicyAssignmentResourceSelectorOutput) ToGroupPolicyAssignmentResourceSelectorOutputWithContext(ctx context.Context) GroupPolicyAssignmentResourceSelectorOutput
- func (o GroupPolicyAssignmentResourceSelectorOutput) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentResourceSelector]
- type GroupPolicyAssignmentResourceSelectorSelector
- type GroupPolicyAssignmentResourceSelectorSelectorArgs
- func (GroupPolicyAssignmentResourceSelectorSelectorArgs) ElementType() reflect.Type
- func (i GroupPolicyAssignmentResourceSelectorSelectorArgs) ToGroupPolicyAssignmentResourceSelectorSelectorOutput() GroupPolicyAssignmentResourceSelectorSelectorOutput
- func (i GroupPolicyAssignmentResourceSelectorSelectorArgs) ToGroupPolicyAssignmentResourceSelectorSelectorOutputWithContext(ctx context.Context) GroupPolicyAssignmentResourceSelectorSelectorOutput
- func (i GroupPolicyAssignmentResourceSelectorSelectorArgs) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentResourceSelectorSelector]
- type GroupPolicyAssignmentResourceSelectorSelectorArray
- func (GroupPolicyAssignmentResourceSelectorSelectorArray) ElementType() reflect.Type
- func (i GroupPolicyAssignmentResourceSelectorSelectorArray) ToGroupPolicyAssignmentResourceSelectorSelectorArrayOutput() GroupPolicyAssignmentResourceSelectorSelectorArrayOutput
- func (i GroupPolicyAssignmentResourceSelectorSelectorArray) ToGroupPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentResourceSelectorSelectorArrayOutput
- func (i GroupPolicyAssignmentResourceSelectorSelectorArray) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentResourceSelectorSelector]
- type GroupPolicyAssignmentResourceSelectorSelectorArrayInput
- type GroupPolicyAssignmentResourceSelectorSelectorArrayOutput
- func (GroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ElementType() reflect.Type
- func (o GroupPolicyAssignmentResourceSelectorSelectorArrayOutput) Index(i pulumi.IntInput) GroupPolicyAssignmentResourceSelectorSelectorOutput
- func (o GroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ToGroupPolicyAssignmentResourceSelectorSelectorArrayOutput() GroupPolicyAssignmentResourceSelectorSelectorArrayOutput
- func (o GroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ToGroupPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentResourceSelectorSelectorArrayOutput
- func (o GroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentResourceSelectorSelector]
- type GroupPolicyAssignmentResourceSelectorSelectorInput
- type GroupPolicyAssignmentResourceSelectorSelectorOutput
- func (GroupPolicyAssignmentResourceSelectorSelectorOutput) ElementType() reflect.Type
- func (o GroupPolicyAssignmentResourceSelectorSelectorOutput) Ins() pulumi.StringArrayOutput
- func (o GroupPolicyAssignmentResourceSelectorSelectorOutput) Kind() pulumi.StringOutput
- func (o GroupPolicyAssignmentResourceSelectorSelectorOutput) NotIns() pulumi.StringArrayOutput
- func (o GroupPolicyAssignmentResourceSelectorSelectorOutput) ToGroupPolicyAssignmentResourceSelectorSelectorOutput() GroupPolicyAssignmentResourceSelectorSelectorOutput
- func (o GroupPolicyAssignmentResourceSelectorSelectorOutput) ToGroupPolicyAssignmentResourceSelectorSelectorOutputWithContext(ctx context.Context) GroupPolicyAssignmentResourceSelectorSelectorOutput
- func (o GroupPolicyAssignmentResourceSelectorSelectorOutput) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentResourceSelectorSelector]
- type GroupPolicyAssignmentState
- type GroupPolicyExemption
- func (*GroupPolicyExemption) ElementType() reflect.Type
- func (i *GroupPolicyExemption) ToGroupPolicyExemptionOutput() GroupPolicyExemptionOutput
- func (i *GroupPolicyExemption) ToGroupPolicyExemptionOutputWithContext(ctx context.Context) GroupPolicyExemptionOutput
- func (i *GroupPolicyExemption) ToOutput(ctx context.Context) pulumix.Output[*GroupPolicyExemption]
- type GroupPolicyExemptionArgs
- type GroupPolicyExemptionArray
- func (GroupPolicyExemptionArray) ElementType() reflect.Type
- func (i GroupPolicyExemptionArray) ToGroupPolicyExemptionArrayOutput() GroupPolicyExemptionArrayOutput
- func (i GroupPolicyExemptionArray) ToGroupPolicyExemptionArrayOutputWithContext(ctx context.Context) GroupPolicyExemptionArrayOutput
- func (i GroupPolicyExemptionArray) ToOutput(ctx context.Context) pulumix.Output[[]*GroupPolicyExemption]
- type GroupPolicyExemptionArrayInput
- type GroupPolicyExemptionArrayOutput
- func (GroupPolicyExemptionArrayOutput) ElementType() reflect.Type
- func (o GroupPolicyExemptionArrayOutput) Index(i pulumi.IntInput) GroupPolicyExemptionOutput
- func (o GroupPolicyExemptionArrayOutput) ToGroupPolicyExemptionArrayOutput() GroupPolicyExemptionArrayOutput
- func (o GroupPolicyExemptionArrayOutput) ToGroupPolicyExemptionArrayOutputWithContext(ctx context.Context) GroupPolicyExemptionArrayOutput
- func (o GroupPolicyExemptionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*GroupPolicyExemption]
- type GroupPolicyExemptionInput
- type GroupPolicyExemptionMap
- func (GroupPolicyExemptionMap) ElementType() reflect.Type
- func (i GroupPolicyExemptionMap) ToGroupPolicyExemptionMapOutput() GroupPolicyExemptionMapOutput
- func (i GroupPolicyExemptionMap) ToGroupPolicyExemptionMapOutputWithContext(ctx context.Context) GroupPolicyExemptionMapOutput
- func (i GroupPolicyExemptionMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupPolicyExemption]
- type GroupPolicyExemptionMapInput
- type GroupPolicyExemptionMapOutput
- func (GroupPolicyExemptionMapOutput) ElementType() reflect.Type
- func (o GroupPolicyExemptionMapOutput) MapIndex(k pulumi.StringInput) GroupPolicyExemptionOutput
- func (o GroupPolicyExemptionMapOutput) ToGroupPolicyExemptionMapOutput() GroupPolicyExemptionMapOutput
- func (o GroupPolicyExemptionMapOutput) ToGroupPolicyExemptionMapOutputWithContext(ctx context.Context) GroupPolicyExemptionMapOutput
- func (o GroupPolicyExemptionMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupPolicyExemption]
- type GroupPolicyExemptionOutput
- func (o GroupPolicyExemptionOutput) Description() pulumi.StringPtrOutput
- func (o GroupPolicyExemptionOutput) DisplayName() pulumi.StringPtrOutput
- func (GroupPolicyExemptionOutput) ElementType() reflect.Type
- func (o GroupPolicyExemptionOutput) ExemptionCategory() pulumi.StringOutput
- func (o GroupPolicyExemptionOutput) ExpiresOn() pulumi.StringPtrOutput
- func (o GroupPolicyExemptionOutput) ManagementGroupId() pulumi.StringOutput
- func (o GroupPolicyExemptionOutput) Metadata() pulumi.StringOutput
- func (o GroupPolicyExemptionOutput) Name() pulumi.StringOutput
- func (o GroupPolicyExemptionOutput) PolicyAssignmentId() pulumi.StringOutput
- func (o GroupPolicyExemptionOutput) PolicyDefinitionReferenceIds() pulumi.StringArrayOutput
- func (o GroupPolicyExemptionOutput) ToGroupPolicyExemptionOutput() GroupPolicyExemptionOutput
- func (o GroupPolicyExemptionOutput) ToGroupPolicyExemptionOutputWithContext(ctx context.Context) GroupPolicyExemptionOutput
- func (o GroupPolicyExemptionOutput) ToOutput(ctx context.Context) pulumix.Output[*GroupPolicyExemption]
- type GroupPolicyExemptionState
- type GroupPolicyRemediation
- func (*GroupPolicyRemediation) ElementType() reflect.Type
- func (i *GroupPolicyRemediation) ToGroupPolicyRemediationOutput() GroupPolicyRemediationOutput
- func (i *GroupPolicyRemediation) ToGroupPolicyRemediationOutputWithContext(ctx context.Context) GroupPolicyRemediationOutput
- func (i *GroupPolicyRemediation) ToOutput(ctx context.Context) pulumix.Output[*GroupPolicyRemediation]
- type GroupPolicyRemediationArgs
- type GroupPolicyRemediationArray
- func (GroupPolicyRemediationArray) ElementType() reflect.Type
- func (i GroupPolicyRemediationArray) ToGroupPolicyRemediationArrayOutput() GroupPolicyRemediationArrayOutput
- func (i GroupPolicyRemediationArray) ToGroupPolicyRemediationArrayOutputWithContext(ctx context.Context) GroupPolicyRemediationArrayOutput
- func (i GroupPolicyRemediationArray) ToOutput(ctx context.Context) pulumix.Output[[]*GroupPolicyRemediation]
- type GroupPolicyRemediationArrayInput
- type GroupPolicyRemediationArrayOutput
- func (GroupPolicyRemediationArrayOutput) ElementType() reflect.Type
- func (o GroupPolicyRemediationArrayOutput) Index(i pulumi.IntInput) GroupPolicyRemediationOutput
- func (o GroupPolicyRemediationArrayOutput) ToGroupPolicyRemediationArrayOutput() GroupPolicyRemediationArrayOutput
- func (o GroupPolicyRemediationArrayOutput) ToGroupPolicyRemediationArrayOutputWithContext(ctx context.Context) GroupPolicyRemediationArrayOutput
- func (o GroupPolicyRemediationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*GroupPolicyRemediation]
- type GroupPolicyRemediationInput
- type GroupPolicyRemediationMap
- func (GroupPolicyRemediationMap) ElementType() reflect.Type
- func (i GroupPolicyRemediationMap) ToGroupPolicyRemediationMapOutput() GroupPolicyRemediationMapOutput
- func (i GroupPolicyRemediationMap) ToGroupPolicyRemediationMapOutputWithContext(ctx context.Context) GroupPolicyRemediationMapOutput
- func (i GroupPolicyRemediationMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupPolicyRemediation]
- type GroupPolicyRemediationMapInput
- type GroupPolicyRemediationMapOutput
- func (GroupPolicyRemediationMapOutput) ElementType() reflect.Type
- func (o GroupPolicyRemediationMapOutput) MapIndex(k pulumi.StringInput) GroupPolicyRemediationOutput
- func (o GroupPolicyRemediationMapOutput) ToGroupPolicyRemediationMapOutput() GroupPolicyRemediationMapOutput
- func (o GroupPolicyRemediationMapOutput) ToGroupPolicyRemediationMapOutputWithContext(ctx context.Context) GroupPolicyRemediationMapOutput
- func (o GroupPolicyRemediationMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupPolicyRemediation]
- type GroupPolicyRemediationOutput
- func (GroupPolicyRemediationOutput) ElementType() reflect.Type
- func (o GroupPolicyRemediationOutput) FailurePercentage() pulumi.Float64PtrOutput
- func (o GroupPolicyRemediationOutput) LocationFilters() pulumi.StringArrayOutput
- func (o GroupPolicyRemediationOutput) ManagementGroupId() pulumi.StringOutput
- func (o GroupPolicyRemediationOutput) Name() pulumi.StringOutput
- func (o GroupPolicyRemediationOutput) ParallelDeployments() pulumi.IntPtrOutput
- func (o GroupPolicyRemediationOutput) PolicyAssignmentId() pulumi.StringOutput
- func (o GroupPolicyRemediationOutput) PolicyDefinitionId() pulumi.StringPtrOutputdeprecated
- func (o GroupPolicyRemediationOutput) PolicyDefinitionReferenceId() pulumi.StringPtrOutput
- func (o GroupPolicyRemediationOutput) ResourceCount() pulumi.IntPtrOutput
- func (o GroupPolicyRemediationOutput) ResourceDiscoveryMode() pulumi.StringPtrOutputdeprecated
- func (o GroupPolicyRemediationOutput) ToGroupPolicyRemediationOutput() GroupPolicyRemediationOutput
- func (o GroupPolicyRemediationOutput) ToGroupPolicyRemediationOutputWithContext(ctx context.Context) GroupPolicyRemediationOutput
- func (o GroupPolicyRemediationOutput) ToOutput(ctx context.Context) pulumix.Output[*GroupPolicyRemediation]
- type GroupPolicyRemediationState
- type GroupState
- type GroupSubscriptionAssociation
- func (*GroupSubscriptionAssociation) ElementType() reflect.Type
- func (i *GroupSubscriptionAssociation) ToGroupSubscriptionAssociationOutput() GroupSubscriptionAssociationOutput
- func (i *GroupSubscriptionAssociation) ToGroupSubscriptionAssociationOutputWithContext(ctx context.Context) GroupSubscriptionAssociationOutput
- func (i *GroupSubscriptionAssociation) ToOutput(ctx context.Context) pulumix.Output[*GroupSubscriptionAssociation]
- type GroupSubscriptionAssociationArgs
- type GroupSubscriptionAssociationArray
- func (GroupSubscriptionAssociationArray) ElementType() reflect.Type
- func (i GroupSubscriptionAssociationArray) ToGroupSubscriptionAssociationArrayOutput() GroupSubscriptionAssociationArrayOutput
- func (i GroupSubscriptionAssociationArray) ToGroupSubscriptionAssociationArrayOutputWithContext(ctx context.Context) GroupSubscriptionAssociationArrayOutput
- func (i GroupSubscriptionAssociationArray) ToOutput(ctx context.Context) pulumix.Output[[]*GroupSubscriptionAssociation]
- type GroupSubscriptionAssociationArrayInput
- type GroupSubscriptionAssociationArrayOutput
- func (GroupSubscriptionAssociationArrayOutput) ElementType() reflect.Type
- func (o GroupSubscriptionAssociationArrayOutput) Index(i pulumi.IntInput) GroupSubscriptionAssociationOutput
- func (o GroupSubscriptionAssociationArrayOutput) ToGroupSubscriptionAssociationArrayOutput() GroupSubscriptionAssociationArrayOutput
- func (o GroupSubscriptionAssociationArrayOutput) ToGroupSubscriptionAssociationArrayOutputWithContext(ctx context.Context) GroupSubscriptionAssociationArrayOutput
- func (o GroupSubscriptionAssociationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*GroupSubscriptionAssociation]
- type GroupSubscriptionAssociationInput
- type GroupSubscriptionAssociationMap
- func (GroupSubscriptionAssociationMap) ElementType() reflect.Type
- func (i GroupSubscriptionAssociationMap) ToGroupSubscriptionAssociationMapOutput() GroupSubscriptionAssociationMapOutput
- func (i GroupSubscriptionAssociationMap) ToGroupSubscriptionAssociationMapOutputWithContext(ctx context.Context) GroupSubscriptionAssociationMapOutput
- func (i GroupSubscriptionAssociationMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupSubscriptionAssociation]
- type GroupSubscriptionAssociationMapInput
- type GroupSubscriptionAssociationMapOutput
- func (GroupSubscriptionAssociationMapOutput) ElementType() reflect.Type
- func (o GroupSubscriptionAssociationMapOutput) MapIndex(k pulumi.StringInput) GroupSubscriptionAssociationOutput
- func (o GroupSubscriptionAssociationMapOutput) ToGroupSubscriptionAssociationMapOutput() GroupSubscriptionAssociationMapOutput
- func (o GroupSubscriptionAssociationMapOutput) ToGroupSubscriptionAssociationMapOutputWithContext(ctx context.Context) GroupSubscriptionAssociationMapOutput
- func (o GroupSubscriptionAssociationMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupSubscriptionAssociation]
- type GroupSubscriptionAssociationOutput
- func (GroupSubscriptionAssociationOutput) ElementType() reflect.Type
- func (o GroupSubscriptionAssociationOutput) ManagementGroupId() pulumi.StringOutput
- func (o GroupSubscriptionAssociationOutput) SubscriptionId() pulumi.StringOutput
- func (o GroupSubscriptionAssociationOutput) ToGroupSubscriptionAssociationOutput() GroupSubscriptionAssociationOutput
- func (o GroupSubscriptionAssociationOutput) ToGroupSubscriptionAssociationOutputWithContext(ctx context.Context) GroupSubscriptionAssociationOutput
- func (o GroupSubscriptionAssociationOutput) ToOutput(ctx context.Context) pulumix.Output[*GroupSubscriptionAssociation]
- type GroupSubscriptionAssociationState
- type GroupTemplateDeployment
- func (*GroupTemplateDeployment) ElementType() reflect.Type
- func (i *GroupTemplateDeployment) ToGroupTemplateDeploymentOutput() GroupTemplateDeploymentOutput
- func (i *GroupTemplateDeployment) ToGroupTemplateDeploymentOutputWithContext(ctx context.Context) GroupTemplateDeploymentOutput
- func (i *GroupTemplateDeployment) ToOutput(ctx context.Context) pulumix.Output[*GroupTemplateDeployment]
- type GroupTemplateDeploymentArgs
- type GroupTemplateDeploymentArray
- func (GroupTemplateDeploymentArray) ElementType() reflect.Type
- func (i GroupTemplateDeploymentArray) ToGroupTemplateDeploymentArrayOutput() GroupTemplateDeploymentArrayOutput
- func (i GroupTemplateDeploymentArray) ToGroupTemplateDeploymentArrayOutputWithContext(ctx context.Context) GroupTemplateDeploymentArrayOutput
- func (i GroupTemplateDeploymentArray) ToOutput(ctx context.Context) pulumix.Output[[]*GroupTemplateDeployment]
- type GroupTemplateDeploymentArrayInput
- type GroupTemplateDeploymentArrayOutput
- func (GroupTemplateDeploymentArrayOutput) ElementType() reflect.Type
- func (o GroupTemplateDeploymentArrayOutput) Index(i pulumi.IntInput) GroupTemplateDeploymentOutput
- func (o GroupTemplateDeploymentArrayOutput) ToGroupTemplateDeploymentArrayOutput() GroupTemplateDeploymentArrayOutput
- func (o GroupTemplateDeploymentArrayOutput) ToGroupTemplateDeploymentArrayOutputWithContext(ctx context.Context) GroupTemplateDeploymentArrayOutput
- func (o GroupTemplateDeploymentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*GroupTemplateDeployment]
- type GroupTemplateDeploymentInput
- type GroupTemplateDeploymentMap
- func (GroupTemplateDeploymentMap) ElementType() reflect.Type
- func (i GroupTemplateDeploymentMap) ToGroupTemplateDeploymentMapOutput() GroupTemplateDeploymentMapOutput
- func (i GroupTemplateDeploymentMap) ToGroupTemplateDeploymentMapOutputWithContext(ctx context.Context) GroupTemplateDeploymentMapOutput
- func (i GroupTemplateDeploymentMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupTemplateDeployment]
- type GroupTemplateDeploymentMapInput
- type GroupTemplateDeploymentMapOutput
- func (GroupTemplateDeploymentMapOutput) ElementType() reflect.Type
- func (o GroupTemplateDeploymentMapOutput) MapIndex(k pulumi.StringInput) GroupTemplateDeploymentOutput
- func (o GroupTemplateDeploymentMapOutput) ToGroupTemplateDeploymentMapOutput() GroupTemplateDeploymentMapOutput
- func (o GroupTemplateDeploymentMapOutput) ToGroupTemplateDeploymentMapOutputWithContext(ctx context.Context) GroupTemplateDeploymentMapOutput
- func (o GroupTemplateDeploymentMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupTemplateDeployment]
- type GroupTemplateDeploymentOutput
- func (o GroupTemplateDeploymentOutput) DebugLevel() pulumi.StringPtrOutput
- func (GroupTemplateDeploymentOutput) ElementType() reflect.Type
- func (o GroupTemplateDeploymentOutput) Location() pulumi.StringOutput
- func (o GroupTemplateDeploymentOutput) ManagementGroupId() pulumi.StringOutput
- func (o GroupTemplateDeploymentOutput) Name() pulumi.StringOutput
- func (o GroupTemplateDeploymentOutput) OutputContent() pulumi.StringOutput
- func (o GroupTemplateDeploymentOutput) ParametersContent() pulumi.StringOutput
- func (o GroupTemplateDeploymentOutput) Tags() pulumi.StringMapOutput
- func (o GroupTemplateDeploymentOutput) TemplateContent() pulumi.StringOutput
- func (o GroupTemplateDeploymentOutput) TemplateSpecVersionId() pulumi.StringPtrOutput
- func (o GroupTemplateDeploymentOutput) ToGroupTemplateDeploymentOutput() GroupTemplateDeploymentOutput
- func (o GroupTemplateDeploymentOutput) ToGroupTemplateDeploymentOutputWithContext(ctx context.Context) GroupTemplateDeploymentOutput
- func (o GroupTemplateDeploymentOutput) ToOutput(ctx context.Context) pulumix.Output[*GroupTemplateDeployment]
- type GroupTemplateDeploymentState
- type Lock
- type LockArgs
- type LockArray
- type LockArrayInput
- type LockArrayOutput
- func (LockArrayOutput) ElementType() reflect.Type
- func (o LockArrayOutput) Index(i pulumi.IntInput) LockOutput
- func (o LockArrayOutput) ToLockArrayOutput() LockArrayOutput
- func (o LockArrayOutput) ToLockArrayOutputWithContext(ctx context.Context) LockArrayOutput
- func (o LockArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Lock]
- type LockInput
- type LockMap
- type LockMapInput
- type LockMapOutput
- func (LockMapOutput) ElementType() reflect.Type
- func (o LockMapOutput) MapIndex(k pulumi.StringInput) LockOutput
- func (o LockMapOutput) ToLockMapOutput() LockMapOutput
- func (o LockMapOutput) ToLockMapOutputWithContext(ctx context.Context) LockMapOutput
- func (o LockMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Lock]
- type LockOutput
- func (LockOutput) ElementType() reflect.Type
- func (o LockOutput) LockLevel() pulumi.StringOutput
- func (o LockOutput) Name() pulumi.StringOutput
- func (o LockOutput) Notes() pulumi.StringPtrOutput
- func (o LockOutput) Scope() pulumi.StringOutput
- func (o LockOutput) ToLockOutput() LockOutput
- func (o LockOutput) ToLockOutputWithContext(ctx context.Context) LockOutput
- func (o LockOutput) ToOutput(ctx context.Context) pulumix.Output[*Lock]
- type LockState
- type LookupGroupArgs
- type LookupGroupOutputArgs
- type LookupGroupResult
- type LookupGroupResultOutput
- func (o LookupGroupResultOutput) AllManagementGroupIds() pulumi.StringArrayOutput
- func (o LookupGroupResultOutput) AllSubscriptionIds() pulumi.StringArrayOutput
- func (o LookupGroupResultOutput) DisplayName() pulumi.StringOutput
- func (LookupGroupResultOutput) ElementType() reflect.Type
- func (o LookupGroupResultOutput) Id() pulumi.StringOutput
- func (o LookupGroupResultOutput) ManagementGroupIds() pulumi.StringArrayOutput
- func (o LookupGroupResultOutput) Name() pulumi.StringOutput
- func (o LookupGroupResultOutput) ParentManagementGroupId() pulumi.StringOutput
- func (o LookupGroupResultOutput) SubscriptionIds() pulumi.StringArrayOutput
- func (o LookupGroupResultOutput) ToLookupGroupResultOutput() LookupGroupResultOutput
- func (o LookupGroupResultOutput) ToLookupGroupResultOutputWithContext(ctx context.Context) LookupGroupResultOutput
- func (o LookupGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGroupResult]
- type LookupGroupTemplateDeploymentArgs
- type LookupGroupTemplateDeploymentOutputArgs
- type LookupGroupTemplateDeploymentResult
- type LookupGroupTemplateDeploymentResultOutput
- func (LookupGroupTemplateDeploymentResultOutput) ElementType() reflect.Type
- func (o LookupGroupTemplateDeploymentResultOutput) Id() pulumi.StringOutput
- func (o LookupGroupTemplateDeploymentResultOutput) ManagementGroupId() pulumi.StringOutput
- func (o LookupGroupTemplateDeploymentResultOutput) Name() pulumi.StringOutput
- func (o LookupGroupTemplateDeploymentResultOutput) OutputContent() pulumi.StringOutput
- func (o LookupGroupTemplateDeploymentResultOutput) ToLookupGroupTemplateDeploymentResultOutput() LookupGroupTemplateDeploymentResultOutput
- func (o LookupGroupTemplateDeploymentResultOutput) ToLookupGroupTemplateDeploymentResultOutputWithContext(ctx context.Context) LookupGroupTemplateDeploymentResultOutput
- func (o LookupGroupTemplateDeploymentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGroupTemplateDeploymentResult]
- type PrivateLink
- type PrivateLinkArgs
- type PrivateLinkArray
- func (PrivateLinkArray) ElementType() reflect.Type
- func (i PrivateLinkArray) ToOutput(ctx context.Context) pulumix.Output[[]*PrivateLink]
- func (i PrivateLinkArray) ToPrivateLinkArrayOutput() PrivateLinkArrayOutput
- func (i PrivateLinkArray) ToPrivateLinkArrayOutputWithContext(ctx context.Context) PrivateLinkArrayOutput
- type PrivateLinkArrayInput
- type PrivateLinkArrayOutput
- func (PrivateLinkArrayOutput) ElementType() reflect.Type
- func (o PrivateLinkArrayOutput) Index(i pulumi.IntInput) PrivateLinkOutput
- func (o PrivateLinkArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*PrivateLink]
- func (o PrivateLinkArrayOutput) ToPrivateLinkArrayOutput() PrivateLinkArrayOutput
- func (o PrivateLinkArrayOutput) ToPrivateLinkArrayOutputWithContext(ctx context.Context) PrivateLinkArrayOutput
- type PrivateLinkAssociation
- func (*PrivateLinkAssociation) ElementType() reflect.Type
- func (i *PrivateLinkAssociation) ToOutput(ctx context.Context) pulumix.Output[*PrivateLinkAssociation]
- func (i *PrivateLinkAssociation) ToPrivateLinkAssociationOutput() PrivateLinkAssociationOutput
- func (i *PrivateLinkAssociation) ToPrivateLinkAssociationOutputWithContext(ctx context.Context) PrivateLinkAssociationOutput
- type PrivateLinkAssociationArgs
- type PrivateLinkAssociationArray
- func (PrivateLinkAssociationArray) ElementType() reflect.Type
- func (i PrivateLinkAssociationArray) ToOutput(ctx context.Context) pulumix.Output[[]*PrivateLinkAssociation]
- func (i PrivateLinkAssociationArray) ToPrivateLinkAssociationArrayOutput() PrivateLinkAssociationArrayOutput
- func (i PrivateLinkAssociationArray) ToPrivateLinkAssociationArrayOutputWithContext(ctx context.Context) PrivateLinkAssociationArrayOutput
- type PrivateLinkAssociationArrayInput
- type PrivateLinkAssociationArrayOutput
- func (PrivateLinkAssociationArrayOutput) ElementType() reflect.Type
- func (o PrivateLinkAssociationArrayOutput) Index(i pulumi.IntInput) PrivateLinkAssociationOutput
- func (o PrivateLinkAssociationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*PrivateLinkAssociation]
- func (o PrivateLinkAssociationArrayOutput) ToPrivateLinkAssociationArrayOutput() PrivateLinkAssociationArrayOutput
- func (o PrivateLinkAssociationArrayOutput) ToPrivateLinkAssociationArrayOutputWithContext(ctx context.Context) PrivateLinkAssociationArrayOutput
- type PrivateLinkAssociationInput
- type PrivateLinkAssociationMap
- func (PrivateLinkAssociationMap) ElementType() reflect.Type
- func (i PrivateLinkAssociationMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*PrivateLinkAssociation]
- func (i PrivateLinkAssociationMap) ToPrivateLinkAssociationMapOutput() PrivateLinkAssociationMapOutput
- func (i PrivateLinkAssociationMap) ToPrivateLinkAssociationMapOutputWithContext(ctx context.Context) PrivateLinkAssociationMapOutput
- type PrivateLinkAssociationMapInput
- type PrivateLinkAssociationMapOutput
- func (PrivateLinkAssociationMapOutput) ElementType() reflect.Type
- func (o PrivateLinkAssociationMapOutput) MapIndex(k pulumi.StringInput) PrivateLinkAssociationOutput
- func (o PrivateLinkAssociationMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*PrivateLinkAssociation]
- func (o PrivateLinkAssociationMapOutput) ToPrivateLinkAssociationMapOutput() PrivateLinkAssociationMapOutput
- func (o PrivateLinkAssociationMapOutput) ToPrivateLinkAssociationMapOutputWithContext(ctx context.Context) PrivateLinkAssociationMapOutput
- type PrivateLinkAssociationOutput
- func (PrivateLinkAssociationOutput) ElementType() reflect.Type
- func (o PrivateLinkAssociationOutput) ManagementGroupId() pulumi.StringOutput
- func (o PrivateLinkAssociationOutput) Name() pulumi.StringOutput
- func (o PrivateLinkAssociationOutput) PublicNetworkAccessEnabled() pulumi.BoolOutput
- func (o PrivateLinkAssociationOutput) ResourceManagementPrivateLinkId() pulumi.StringOutput
- func (o PrivateLinkAssociationOutput) TenantId() pulumi.StringOutput
- func (o PrivateLinkAssociationOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateLinkAssociation]
- func (o PrivateLinkAssociationOutput) ToPrivateLinkAssociationOutput() PrivateLinkAssociationOutput
- func (o PrivateLinkAssociationOutput) ToPrivateLinkAssociationOutputWithContext(ctx context.Context) PrivateLinkAssociationOutput
- type PrivateLinkAssociationState
- type PrivateLinkInput
- type PrivateLinkMap
- func (PrivateLinkMap) ElementType() reflect.Type
- func (i PrivateLinkMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*PrivateLink]
- func (i PrivateLinkMap) ToPrivateLinkMapOutput() PrivateLinkMapOutput
- func (i PrivateLinkMap) ToPrivateLinkMapOutputWithContext(ctx context.Context) PrivateLinkMapOutput
- type PrivateLinkMapInput
- type PrivateLinkMapOutput
- func (PrivateLinkMapOutput) ElementType() reflect.Type
- func (o PrivateLinkMapOutput) MapIndex(k pulumi.StringInput) PrivateLinkOutput
- func (o PrivateLinkMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*PrivateLink]
- func (o PrivateLinkMapOutput) ToPrivateLinkMapOutput() PrivateLinkMapOutput
- func (o PrivateLinkMapOutput) ToPrivateLinkMapOutputWithContext(ctx context.Context) PrivateLinkMapOutput
- type PrivateLinkOutput
- func (PrivateLinkOutput) ElementType() reflect.Type
- func (o PrivateLinkOutput) Location() pulumi.StringOutput
- func (o PrivateLinkOutput) Name() pulumi.StringOutput
- func (o PrivateLinkOutput) ResourceGroupName() pulumi.StringOutput
- func (o PrivateLinkOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateLink]
- func (o PrivateLinkOutput) ToPrivateLinkOutput() PrivateLinkOutput
- func (o PrivateLinkOutput) ToPrivateLinkOutputWithContext(ctx context.Context) PrivateLinkOutput
- type PrivateLinkState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct { pulumi.CustomResourceState // A friendly name for this Management Group. If not specified, this will be the same as the `name`. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The name or UUID for this Management Group, which needs to be unique across your tenant. A new UUID will be generated if not provided. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The ID of the Parent Management Group. ParentManagementGroupId pulumi.StringOutput `pulumi:"parentManagementGroupId"` // A list of Subscription GUIDs which should be assigned to the Management Group. // // > **Note:** To clear all Subscriptions from the Management Group set `subscriptionIds` to an empty list SubscriptionIds pulumi.StringArrayOutput `pulumi:"subscriptionIds"` }
Manages a Management Group.
!> **Note:** Configuring `subscriptionIds` is not supported when using the `management.GroupSubscriptionAssociation` resource, results will be unpredictable.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.LookupSubscription(ctx, nil, nil) if err != nil { return err } exampleParent, err := management.NewGroup(ctx, "exampleParent", &management.GroupArgs{ DisplayName: pulumi.String("ParentGroup"), SubscriptionIds: pulumi.StringArray{ *pulumi.String(current.SubscriptionId), }, }) if err != nil { return err } _, err = management.NewGroup(ctx, "exampleChild", &management.GroupArgs{ DisplayName: pulumi.String("ChildGroup"), ParentManagementGroupId: exampleParent.ID(), SubscriptionIds: pulumi.StringArray{ *pulumi.String(current.SubscriptionId), }, }) if err != nil { return err } return nil }) }
```
## Import
Management Groups can be imported using the `management group resource id`, e.g.
```sh
$ pulumi import azure:management/group:Group example /providers/Microsoft.Management/managementGroups/group1
```
func GetGroup ¶
func GetGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GroupState, opts ...pulumi.ResourceOption) (*Group, error)
GetGroup gets an existing Group 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 NewGroup ¶
func NewGroup(ctx *pulumi.Context, name string, args *GroupArgs, opts ...pulumi.ResourceOption) (*Group, error)
NewGroup registers a new resource with the given unique name, arguments, and options.
func (*Group) ElementType ¶
func (*Group) ToGroupOutput ¶
func (i *Group) ToGroupOutput() GroupOutput
func (*Group) ToGroupOutputWithContext ¶
func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput
type GroupArgs ¶
type GroupArgs struct { // A friendly name for this Management Group. If not specified, this will be the same as the `name`. DisplayName pulumi.StringPtrInput // The name or UUID for this Management Group, which needs to be unique across your tenant. A new UUID will be generated if not provided. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the Parent Management Group. ParentManagementGroupId pulumi.StringPtrInput // A list of Subscription GUIDs which should be assigned to the Management Group. // // > **Note:** To clear all Subscriptions from the Management Group set `subscriptionIds` to an empty list SubscriptionIds pulumi.StringArrayInput }
The set of arguments for constructing a Group resource.
func (GroupArgs) ElementType ¶
type GroupArray ¶
type GroupArray []GroupInput
func (GroupArray) ElementType ¶
func (GroupArray) ElementType() reflect.Type
func (GroupArray) ToGroupArrayOutput ¶
func (i GroupArray) ToGroupArrayOutput() GroupArrayOutput
func (GroupArray) ToGroupArrayOutputWithContext ¶
func (i GroupArray) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput
type GroupArrayInput ¶
type GroupArrayInput interface { pulumi.Input ToGroupArrayOutput() GroupArrayOutput ToGroupArrayOutputWithContext(context.Context) GroupArrayOutput }
GroupArrayInput is an input type that accepts GroupArray and GroupArrayOutput values. You can construct a concrete instance of `GroupArrayInput` via:
GroupArray{ GroupArgs{...} }
type GroupArrayOutput ¶
type GroupArrayOutput struct{ *pulumi.OutputState }
func (GroupArrayOutput) ElementType ¶
func (GroupArrayOutput) ElementType() reflect.Type
func (GroupArrayOutput) Index ¶
func (o GroupArrayOutput) Index(i pulumi.IntInput) GroupOutput
func (GroupArrayOutput) ToGroupArrayOutput ¶
func (o GroupArrayOutput) ToGroupArrayOutput() GroupArrayOutput
func (GroupArrayOutput) ToGroupArrayOutputWithContext ¶
func (o GroupArrayOutput) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput
type GroupInput ¶
type GroupInput interface { pulumi.Input ToGroupOutput() GroupOutput ToGroupOutputWithContext(ctx context.Context) GroupOutput }
type GroupMap ¶
type GroupMap map[string]GroupInput
func (GroupMap) ElementType ¶
func (GroupMap) ToGroupMapOutput ¶
func (i GroupMap) ToGroupMapOutput() GroupMapOutput
func (GroupMap) ToGroupMapOutputWithContext ¶
func (i GroupMap) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput
type GroupMapInput ¶
type GroupMapInput interface { pulumi.Input ToGroupMapOutput() GroupMapOutput ToGroupMapOutputWithContext(context.Context) GroupMapOutput }
GroupMapInput is an input type that accepts GroupMap and GroupMapOutput values. You can construct a concrete instance of `GroupMapInput` via:
GroupMap{ "key": GroupArgs{...} }
type GroupMapOutput ¶
type GroupMapOutput struct{ *pulumi.OutputState }
func (GroupMapOutput) ElementType ¶
func (GroupMapOutput) ElementType() reflect.Type
func (GroupMapOutput) MapIndex ¶
func (o GroupMapOutput) MapIndex(k pulumi.StringInput) GroupOutput
func (GroupMapOutput) ToGroupMapOutput ¶
func (o GroupMapOutput) ToGroupMapOutput() GroupMapOutput
func (GroupMapOutput) ToGroupMapOutputWithContext ¶
func (o GroupMapOutput) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput
type GroupOutput ¶
type GroupOutput struct{ *pulumi.OutputState }
func (GroupOutput) DisplayName ¶ added in v5.5.0
func (o GroupOutput) DisplayName() pulumi.StringOutput
A friendly name for this Management Group. If not specified, this will be the same as the `name`.
func (GroupOutput) ElementType ¶
func (GroupOutput) ElementType() reflect.Type
func (GroupOutput) Name ¶ added in v5.5.0
func (o GroupOutput) Name() pulumi.StringOutput
The name or UUID for this Management Group, which needs to be unique across your tenant. A new UUID will be generated if not provided. Changing this forces a new resource to be created.
func (GroupOutput) ParentManagementGroupId ¶ added in v5.5.0
func (o GroupOutput) ParentManagementGroupId() pulumi.StringOutput
The ID of the Parent Management Group.
func (GroupOutput) SubscriptionIds ¶ added in v5.5.0
func (o GroupOutput) SubscriptionIds() pulumi.StringArrayOutput
A list of Subscription GUIDs which should be assigned to the Management Group.
> **Note:** To clear all Subscriptions from the Management Group set `subscriptionIds` to an empty list
func (GroupOutput) ToGroupOutput ¶
func (o GroupOutput) ToGroupOutput() GroupOutput
func (GroupOutput) ToGroupOutputWithContext ¶
func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput
type GroupPolicyAssignment ¶
type GroupPolicyAssignment struct { pulumi.CustomResourceState // A description which should be used for this Policy Assignment. Description pulumi.StringPtrOutput `pulumi:"description"` // The Display Name for this Policy Assignment. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // Specifies if this Policy should be enforced or not? Defaults to `true`. Enforce pulumi.BoolPtrOutput `pulumi:"enforce"` // An `identity` block as defined below. // // > **Note:** The `location` field must also be specified when `identity` is specified. Identity GroupPolicyAssignmentIdentityPtrOutput `pulumi:"identity"` // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location pulumi.StringOutput `pulumi:"location"` // The ID of the Management Group. Changing this forces a new Policy Assignment to be created. ManagementGroupId pulumi.StringOutput `pulumi:"managementGroupId"` // A JSON mapping of any Metadata for this Policy. Metadata pulumi.StringOutput `pulumi:"metadata"` // The name which should be used for this Policy Assignment. Possible values must be between 3 and 24 characters in length. Changing this forces a new Policy Assignment to be created. Name pulumi.StringOutput `pulumi:"name"` // One or more `nonComplianceMessage` blocks as defined below. NonComplianceMessages GroupPolicyAssignmentNonComplianceMessageArrayOutput `pulumi:"nonComplianceMessages"` // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes pulumi.StringArrayOutput `pulumi:"notScopes"` // One or more `overrides` blocks as defined below. More detail about `overrides` and `resourceSelectors` see [policy assignment structure](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure#resource-selectors-preview) Overrides GroupPolicyAssignmentOverrideArrayOutput `pulumi:"overrides"` // A JSON mapping of any Parameters for this Policy. Parameters pulumi.StringPtrOutput `pulumi:"parameters"` // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. PolicyDefinitionId pulumi.StringOutput `pulumi:"policyDefinitionId"` // One or more `resourceSelectors` blocks as defined below to filter polices by resource properties. ResourceSelectors GroupPolicyAssignmentResourceSelectorArrayOutput `pulumi:"resourceSelectors"` }
Manages a Policy Assignment to a Management Group.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/policy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleGroup, err := management.NewGroup(ctx, "exampleGroup", &management.GroupArgs{ DisplayName: pulumi.String("Some Management Group"), }) if err != nil { return err } exampleDefinition, err := policy.NewDefinition(ctx, "exampleDefinition", &policy.DefinitionArgs{ PolicyType: pulumi.String("Custom"), Mode: pulumi.String("All"), DisplayName: pulumi.String("my-policy-definition"), ManagementGroupId: exampleGroup.ID(), PolicyRule: pulumi.String(` { "if": { "not": { "field": "location", "equals": "westeurope" } }, "then": { "effect": "Deny" } }
`),
}) if err != nil { return err } _, err = management.NewGroupPolicyAssignment(ctx, "exampleGroupPolicyAssignment", &management.GroupPolicyAssignmentArgs{ PolicyDefinitionId: exampleDefinition.ID(), ManagementGroupId: exampleGroup.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Management Group Policy Assignments can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:management/groupPolicyAssignment:GroupPolicyAssignment example /providers/Microsoft.Management/managementGroups/group1/providers/Microsoft.Authorization/policyAssignments/assignment1
```
func GetGroupPolicyAssignment ¶
func GetGroupPolicyAssignment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GroupPolicyAssignmentState, opts ...pulumi.ResourceOption) (*GroupPolicyAssignment, error)
GetGroupPolicyAssignment gets an existing GroupPolicyAssignment 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 NewGroupPolicyAssignment ¶
func NewGroupPolicyAssignment(ctx *pulumi.Context, name string, args *GroupPolicyAssignmentArgs, opts ...pulumi.ResourceOption) (*GroupPolicyAssignment, error)
NewGroupPolicyAssignment registers a new resource with the given unique name, arguments, and options.
func (*GroupPolicyAssignment) ElementType ¶
func (*GroupPolicyAssignment) ElementType() reflect.Type
func (*GroupPolicyAssignment) ToGroupPolicyAssignmentOutput ¶
func (i *GroupPolicyAssignment) ToGroupPolicyAssignmentOutput() GroupPolicyAssignmentOutput
func (*GroupPolicyAssignment) ToGroupPolicyAssignmentOutputWithContext ¶
func (i *GroupPolicyAssignment) ToGroupPolicyAssignmentOutputWithContext(ctx context.Context) GroupPolicyAssignmentOutput
func (*GroupPolicyAssignment) ToOutput ¶ added in v5.52.0
func (i *GroupPolicyAssignment) ToOutput(ctx context.Context) pulumix.Output[*GroupPolicyAssignment]
type GroupPolicyAssignmentArgs ¶
type GroupPolicyAssignmentArgs struct { // A description which should be used for this Policy Assignment. Description pulumi.StringPtrInput // The Display Name for this Policy Assignment. DisplayName pulumi.StringPtrInput // Specifies if this Policy should be enforced or not? Defaults to `true`. Enforce pulumi.BoolPtrInput // An `identity` block as defined below. // // > **Note:** The `location` field must also be specified when `identity` is specified. Identity GroupPolicyAssignmentIdentityPtrInput // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location pulumi.StringPtrInput // The ID of the Management Group. Changing this forces a new Policy Assignment to be created. ManagementGroupId pulumi.StringInput // A JSON mapping of any Metadata for this Policy. Metadata pulumi.StringPtrInput // The name which should be used for this Policy Assignment. Possible values must be between 3 and 24 characters in length. Changing this forces a new Policy Assignment to be created. Name pulumi.StringPtrInput // One or more `nonComplianceMessage` blocks as defined below. NonComplianceMessages GroupPolicyAssignmentNonComplianceMessageArrayInput // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes pulumi.StringArrayInput // One or more `overrides` blocks as defined below. More detail about `overrides` and `resourceSelectors` see [policy assignment structure](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure#resource-selectors-preview) Overrides GroupPolicyAssignmentOverrideArrayInput // A JSON mapping of any Parameters for this Policy. Parameters pulumi.StringPtrInput // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. PolicyDefinitionId pulumi.StringInput // One or more `resourceSelectors` blocks as defined below to filter polices by resource properties. ResourceSelectors GroupPolicyAssignmentResourceSelectorArrayInput }
The set of arguments for constructing a GroupPolicyAssignment resource.
func (GroupPolicyAssignmentArgs) ElementType ¶
func (GroupPolicyAssignmentArgs) ElementType() reflect.Type
type GroupPolicyAssignmentArray ¶
type GroupPolicyAssignmentArray []GroupPolicyAssignmentInput
func (GroupPolicyAssignmentArray) ElementType ¶
func (GroupPolicyAssignmentArray) ElementType() reflect.Type
func (GroupPolicyAssignmentArray) ToGroupPolicyAssignmentArrayOutput ¶
func (i GroupPolicyAssignmentArray) ToGroupPolicyAssignmentArrayOutput() GroupPolicyAssignmentArrayOutput
func (GroupPolicyAssignmentArray) ToGroupPolicyAssignmentArrayOutputWithContext ¶
func (i GroupPolicyAssignmentArray) ToGroupPolicyAssignmentArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentArrayOutput
func (GroupPolicyAssignmentArray) ToOutput ¶ added in v5.52.0
func (i GroupPolicyAssignmentArray) ToOutput(ctx context.Context) pulumix.Output[[]*GroupPolicyAssignment]
type GroupPolicyAssignmentArrayInput ¶
type GroupPolicyAssignmentArrayInput interface { pulumi.Input ToGroupPolicyAssignmentArrayOutput() GroupPolicyAssignmentArrayOutput ToGroupPolicyAssignmentArrayOutputWithContext(context.Context) GroupPolicyAssignmentArrayOutput }
GroupPolicyAssignmentArrayInput is an input type that accepts GroupPolicyAssignmentArray and GroupPolicyAssignmentArrayOutput values. You can construct a concrete instance of `GroupPolicyAssignmentArrayInput` via:
GroupPolicyAssignmentArray{ GroupPolicyAssignmentArgs{...} }
type GroupPolicyAssignmentArrayOutput ¶
type GroupPolicyAssignmentArrayOutput struct{ *pulumi.OutputState }
func (GroupPolicyAssignmentArrayOutput) ElementType ¶
func (GroupPolicyAssignmentArrayOutput) ElementType() reflect.Type
func (GroupPolicyAssignmentArrayOutput) Index ¶
func (o GroupPolicyAssignmentArrayOutput) Index(i pulumi.IntInput) GroupPolicyAssignmentOutput
func (GroupPolicyAssignmentArrayOutput) ToGroupPolicyAssignmentArrayOutput ¶
func (o GroupPolicyAssignmentArrayOutput) ToGroupPolicyAssignmentArrayOutput() GroupPolicyAssignmentArrayOutput
func (GroupPolicyAssignmentArrayOutput) ToGroupPolicyAssignmentArrayOutputWithContext ¶
func (o GroupPolicyAssignmentArrayOutput) ToGroupPolicyAssignmentArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentArrayOutput
func (GroupPolicyAssignmentArrayOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyAssignmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*GroupPolicyAssignment]
type GroupPolicyAssignmentIdentity ¶
type GroupPolicyAssignmentIdentity struct { // A list of User Managed Identity IDs which should be assigned to the Policy Definition. // // > **NOTE:** This is required when `type` is set to `UserAssigned`. IdentityIds []string `pulumi:"identityIds"` // The Principal ID of the Policy Assignment for this Management Group. PrincipalId *string `pulumi:"principalId"` // The Tenant ID of the Policy Assignment for this Management Group. TenantId *string `pulumi:"tenantId"` // The Type of Managed Identity which should be added to this Policy Definition. Possible values are `SystemAssigned` and `UserAssigned`. Type string `pulumi:"type"` }
type GroupPolicyAssignmentIdentityArgs ¶
type GroupPolicyAssignmentIdentityArgs struct { // A list of User Managed Identity IDs which should be assigned to the Policy Definition. // // > **NOTE:** This is required when `type` is set to `UserAssigned`. IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"` // The Principal ID of the Policy Assignment for this Management Group. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The Tenant ID of the Policy Assignment for this Management Group. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // The Type of Managed Identity which should be added to this Policy Definition. Possible values are `SystemAssigned` and `UserAssigned`. Type pulumi.StringInput `pulumi:"type"` }
func (GroupPolicyAssignmentIdentityArgs) ElementType ¶
func (GroupPolicyAssignmentIdentityArgs) ElementType() reflect.Type
func (GroupPolicyAssignmentIdentityArgs) ToGroupPolicyAssignmentIdentityOutput ¶
func (i GroupPolicyAssignmentIdentityArgs) ToGroupPolicyAssignmentIdentityOutput() GroupPolicyAssignmentIdentityOutput
func (GroupPolicyAssignmentIdentityArgs) ToGroupPolicyAssignmentIdentityOutputWithContext ¶
func (i GroupPolicyAssignmentIdentityArgs) ToGroupPolicyAssignmentIdentityOutputWithContext(ctx context.Context) GroupPolicyAssignmentIdentityOutput
func (GroupPolicyAssignmentIdentityArgs) ToGroupPolicyAssignmentIdentityPtrOutput ¶
func (i GroupPolicyAssignmentIdentityArgs) ToGroupPolicyAssignmentIdentityPtrOutput() GroupPolicyAssignmentIdentityPtrOutput
func (GroupPolicyAssignmentIdentityArgs) ToGroupPolicyAssignmentIdentityPtrOutputWithContext ¶
func (i GroupPolicyAssignmentIdentityArgs) ToGroupPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) GroupPolicyAssignmentIdentityPtrOutput
func (GroupPolicyAssignmentIdentityArgs) ToOutput ¶ added in v5.52.0
func (i GroupPolicyAssignmentIdentityArgs) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentIdentity]
type GroupPolicyAssignmentIdentityInput ¶
type GroupPolicyAssignmentIdentityInput interface { pulumi.Input ToGroupPolicyAssignmentIdentityOutput() GroupPolicyAssignmentIdentityOutput ToGroupPolicyAssignmentIdentityOutputWithContext(context.Context) GroupPolicyAssignmentIdentityOutput }
GroupPolicyAssignmentIdentityInput is an input type that accepts GroupPolicyAssignmentIdentityArgs and GroupPolicyAssignmentIdentityOutput values. You can construct a concrete instance of `GroupPolicyAssignmentIdentityInput` via:
GroupPolicyAssignmentIdentityArgs{...}
type GroupPolicyAssignmentIdentityOutput ¶
type GroupPolicyAssignmentIdentityOutput struct{ *pulumi.OutputState }
func (GroupPolicyAssignmentIdentityOutput) ElementType ¶
func (GroupPolicyAssignmentIdentityOutput) ElementType() reflect.Type
func (GroupPolicyAssignmentIdentityOutput) IdentityIds ¶
func (o GroupPolicyAssignmentIdentityOutput) IdentityIds() pulumi.StringArrayOutput
A list of User Managed Identity IDs which should be assigned to the Policy Definition.
> **NOTE:** This is required when `type` is set to `UserAssigned`.
func (GroupPolicyAssignmentIdentityOutput) PrincipalId ¶
func (o GroupPolicyAssignmentIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID of the Policy Assignment for this Management Group.
func (GroupPolicyAssignmentIdentityOutput) TenantId ¶
func (o GroupPolicyAssignmentIdentityOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID of the Policy Assignment for this Management Group.
func (GroupPolicyAssignmentIdentityOutput) ToGroupPolicyAssignmentIdentityOutput ¶
func (o GroupPolicyAssignmentIdentityOutput) ToGroupPolicyAssignmentIdentityOutput() GroupPolicyAssignmentIdentityOutput
func (GroupPolicyAssignmentIdentityOutput) ToGroupPolicyAssignmentIdentityOutputWithContext ¶
func (o GroupPolicyAssignmentIdentityOutput) ToGroupPolicyAssignmentIdentityOutputWithContext(ctx context.Context) GroupPolicyAssignmentIdentityOutput
func (GroupPolicyAssignmentIdentityOutput) ToGroupPolicyAssignmentIdentityPtrOutput ¶
func (o GroupPolicyAssignmentIdentityOutput) ToGroupPolicyAssignmentIdentityPtrOutput() GroupPolicyAssignmentIdentityPtrOutput
func (GroupPolicyAssignmentIdentityOutput) ToGroupPolicyAssignmentIdentityPtrOutputWithContext ¶
func (o GroupPolicyAssignmentIdentityOutput) ToGroupPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) GroupPolicyAssignmentIdentityPtrOutput
func (GroupPolicyAssignmentIdentityOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyAssignmentIdentityOutput) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentIdentity]
func (GroupPolicyAssignmentIdentityOutput) Type ¶
func (o GroupPolicyAssignmentIdentityOutput) Type() pulumi.StringOutput
The Type of Managed Identity which should be added to this Policy Definition. Possible values are `SystemAssigned` and `UserAssigned`.
type GroupPolicyAssignmentIdentityPtrInput ¶
type GroupPolicyAssignmentIdentityPtrInput interface { pulumi.Input ToGroupPolicyAssignmentIdentityPtrOutput() GroupPolicyAssignmentIdentityPtrOutput ToGroupPolicyAssignmentIdentityPtrOutputWithContext(context.Context) GroupPolicyAssignmentIdentityPtrOutput }
GroupPolicyAssignmentIdentityPtrInput is an input type that accepts GroupPolicyAssignmentIdentityArgs, GroupPolicyAssignmentIdentityPtr and GroupPolicyAssignmentIdentityPtrOutput values. You can construct a concrete instance of `GroupPolicyAssignmentIdentityPtrInput` via:
GroupPolicyAssignmentIdentityArgs{...} or: nil
func GroupPolicyAssignmentIdentityPtr ¶
func GroupPolicyAssignmentIdentityPtr(v *GroupPolicyAssignmentIdentityArgs) GroupPolicyAssignmentIdentityPtrInput
type GroupPolicyAssignmentIdentityPtrOutput ¶
type GroupPolicyAssignmentIdentityPtrOutput struct{ *pulumi.OutputState }
func (GroupPolicyAssignmentIdentityPtrOutput) ElementType ¶
func (GroupPolicyAssignmentIdentityPtrOutput) ElementType() reflect.Type
func (GroupPolicyAssignmentIdentityPtrOutput) IdentityIds ¶
func (o GroupPolicyAssignmentIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
A list of User Managed Identity IDs which should be assigned to the Policy Definition.
> **NOTE:** This is required when `type` is set to `UserAssigned`.
func (GroupPolicyAssignmentIdentityPtrOutput) PrincipalId ¶
func (o GroupPolicyAssignmentIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID of the Policy Assignment for this Management Group.
func (GroupPolicyAssignmentIdentityPtrOutput) TenantId ¶
func (o GroupPolicyAssignmentIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID of the Policy Assignment for this Management Group.
func (GroupPolicyAssignmentIdentityPtrOutput) ToGroupPolicyAssignmentIdentityPtrOutput ¶
func (o GroupPolicyAssignmentIdentityPtrOutput) ToGroupPolicyAssignmentIdentityPtrOutput() GroupPolicyAssignmentIdentityPtrOutput
func (GroupPolicyAssignmentIdentityPtrOutput) ToGroupPolicyAssignmentIdentityPtrOutputWithContext ¶
func (o GroupPolicyAssignmentIdentityPtrOutput) ToGroupPolicyAssignmentIdentityPtrOutputWithContext(ctx context.Context) GroupPolicyAssignmentIdentityPtrOutput
func (GroupPolicyAssignmentIdentityPtrOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyAssignmentIdentityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GroupPolicyAssignmentIdentity]
func (GroupPolicyAssignmentIdentityPtrOutput) Type ¶
func (o GroupPolicyAssignmentIdentityPtrOutput) Type() pulumi.StringPtrOutput
The Type of Managed Identity which should be added to this Policy Definition. Possible values are `SystemAssigned` and `UserAssigned`.
type GroupPolicyAssignmentInput ¶
type GroupPolicyAssignmentInput interface { pulumi.Input ToGroupPolicyAssignmentOutput() GroupPolicyAssignmentOutput ToGroupPolicyAssignmentOutputWithContext(ctx context.Context) GroupPolicyAssignmentOutput }
type GroupPolicyAssignmentMap ¶
type GroupPolicyAssignmentMap map[string]GroupPolicyAssignmentInput
func (GroupPolicyAssignmentMap) ElementType ¶
func (GroupPolicyAssignmentMap) ElementType() reflect.Type
func (GroupPolicyAssignmentMap) ToGroupPolicyAssignmentMapOutput ¶
func (i GroupPolicyAssignmentMap) ToGroupPolicyAssignmentMapOutput() GroupPolicyAssignmentMapOutput
func (GroupPolicyAssignmentMap) ToGroupPolicyAssignmentMapOutputWithContext ¶
func (i GroupPolicyAssignmentMap) ToGroupPolicyAssignmentMapOutputWithContext(ctx context.Context) GroupPolicyAssignmentMapOutput
func (GroupPolicyAssignmentMap) ToOutput ¶ added in v5.52.0
func (i GroupPolicyAssignmentMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupPolicyAssignment]
type GroupPolicyAssignmentMapInput ¶
type GroupPolicyAssignmentMapInput interface { pulumi.Input ToGroupPolicyAssignmentMapOutput() GroupPolicyAssignmentMapOutput ToGroupPolicyAssignmentMapOutputWithContext(context.Context) GroupPolicyAssignmentMapOutput }
GroupPolicyAssignmentMapInput is an input type that accepts GroupPolicyAssignmentMap and GroupPolicyAssignmentMapOutput values. You can construct a concrete instance of `GroupPolicyAssignmentMapInput` via:
GroupPolicyAssignmentMap{ "key": GroupPolicyAssignmentArgs{...} }
type GroupPolicyAssignmentMapOutput ¶
type GroupPolicyAssignmentMapOutput struct{ *pulumi.OutputState }
func (GroupPolicyAssignmentMapOutput) ElementType ¶
func (GroupPolicyAssignmentMapOutput) ElementType() reflect.Type
func (GroupPolicyAssignmentMapOutput) MapIndex ¶
func (o GroupPolicyAssignmentMapOutput) MapIndex(k pulumi.StringInput) GroupPolicyAssignmentOutput
func (GroupPolicyAssignmentMapOutput) ToGroupPolicyAssignmentMapOutput ¶
func (o GroupPolicyAssignmentMapOutput) ToGroupPolicyAssignmentMapOutput() GroupPolicyAssignmentMapOutput
func (GroupPolicyAssignmentMapOutput) ToGroupPolicyAssignmentMapOutputWithContext ¶
func (o GroupPolicyAssignmentMapOutput) ToGroupPolicyAssignmentMapOutputWithContext(ctx context.Context) GroupPolicyAssignmentMapOutput
func (GroupPolicyAssignmentMapOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyAssignmentMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupPolicyAssignment]
type GroupPolicyAssignmentNonComplianceMessage ¶
type GroupPolicyAssignmentNonComplianceMessage struct { // The non-compliance message text. When assigning policy sets (initiatives), unless `policyDefinitionReferenceId` is specified then this message will be the default for all policies. Content string `pulumi:"content"` // When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to. PolicyDefinitionReferenceId *string `pulumi:"policyDefinitionReferenceId"` }
type GroupPolicyAssignmentNonComplianceMessageArgs ¶
type GroupPolicyAssignmentNonComplianceMessageArgs struct { // The non-compliance message text. When assigning policy sets (initiatives), unless `policyDefinitionReferenceId` is specified then this message will be the default for all policies. Content pulumi.StringInput `pulumi:"content"` // When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to. PolicyDefinitionReferenceId pulumi.StringPtrInput `pulumi:"policyDefinitionReferenceId"` }
func (GroupPolicyAssignmentNonComplianceMessageArgs) ElementType ¶
func (GroupPolicyAssignmentNonComplianceMessageArgs) ElementType() reflect.Type
func (GroupPolicyAssignmentNonComplianceMessageArgs) ToGroupPolicyAssignmentNonComplianceMessageOutput ¶
func (i GroupPolicyAssignmentNonComplianceMessageArgs) ToGroupPolicyAssignmentNonComplianceMessageOutput() GroupPolicyAssignmentNonComplianceMessageOutput
func (GroupPolicyAssignmentNonComplianceMessageArgs) ToGroupPolicyAssignmentNonComplianceMessageOutputWithContext ¶
func (i GroupPolicyAssignmentNonComplianceMessageArgs) ToGroupPolicyAssignmentNonComplianceMessageOutputWithContext(ctx context.Context) GroupPolicyAssignmentNonComplianceMessageOutput
func (GroupPolicyAssignmentNonComplianceMessageArgs) ToOutput ¶ added in v5.52.0
func (i GroupPolicyAssignmentNonComplianceMessageArgs) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentNonComplianceMessage]
type GroupPolicyAssignmentNonComplianceMessageArray ¶
type GroupPolicyAssignmentNonComplianceMessageArray []GroupPolicyAssignmentNonComplianceMessageInput
func (GroupPolicyAssignmentNonComplianceMessageArray) ElementType ¶
func (GroupPolicyAssignmentNonComplianceMessageArray) ElementType() reflect.Type
func (GroupPolicyAssignmentNonComplianceMessageArray) ToGroupPolicyAssignmentNonComplianceMessageArrayOutput ¶
func (i GroupPolicyAssignmentNonComplianceMessageArray) ToGroupPolicyAssignmentNonComplianceMessageArrayOutput() GroupPolicyAssignmentNonComplianceMessageArrayOutput
func (GroupPolicyAssignmentNonComplianceMessageArray) ToGroupPolicyAssignmentNonComplianceMessageArrayOutputWithContext ¶
func (i GroupPolicyAssignmentNonComplianceMessageArray) ToGroupPolicyAssignmentNonComplianceMessageArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentNonComplianceMessageArrayOutput
func (GroupPolicyAssignmentNonComplianceMessageArray) ToOutput ¶ added in v5.52.0
func (i GroupPolicyAssignmentNonComplianceMessageArray) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentNonComplianceMessage]
type GroupPolicyAssignmentNonComplianceMessageArrayInput ¶
type GroupPolicyAssignmentNonComplianceMessageArrayInput interface { pulumi.Input ToGroupPolicyAssignmentNonComplianceMessageArrayOutput() GroupPolicyAssignmentNonComplianceMessageArrayOutput ToGroupPolicyAssignmentNonComplianceMessageArrayOutputWithContext(context.Context) GroupPolicyAssignmentNonComplianceMessageArrayOutput }
GroupPolicyAssignmentNonComplianceMessageArrayInput is an input type that accepts GroupPolicyAssignmentNonComplianceMessageArray and GroupPolicyAssignmentNonComplianceMessageArrayOutput values. You can construct a concrete instance of `GroupPolicyAssignmentNonComplianceMessageArrayInput` via:
GroupPolicyAssignmentNonComplianceMessageArray{ GroupPolicyAssignmentNonComplianceMessageArgs{...} }
type GroupPolicyAssignmentNonComplianceMessageArrayOutput ¶
type GroupPolicyAssignmentNonComplianceMessageArrayOutput struct{ *pulumi.OutputState }
func (GroupPolicyAssignmentNonComplianceMessageArrayOutput) ElementType ¶
func (GroupPolicyAssignmentNonComplianceMessageArrayOutput) ElementType() reflect.Type
func (GroupPolicyAssignmentNonComplianceMessageArrayOutput) ToGroupPolicyAssignmentNonComplianceMessageArrayOutput ¶
func (o GroupPolicyAssignmentNonComplianceMessageArrayOutput) ToGroupPolicyAssignmentNonComplianceMessageArrayOutput() GroupPolicyAssignmentNonComplianceMessageArrayOutput
func (GroupPolicyAssignmentNonComplianceMessageArrayOutput) ToGroupPolicyAssignmentNonComplianceMessageArrayOutputWithContext ¶
func (o GroupPolicyAssignmentNonComplianceMessageArrayOutput) ToGroupPolicyAssignmentNonComplianceMessageArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentNonComplianceMessageArrayOutput
func (GroupPolicyAssignmentNonComplianceMessageArrayOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyAssignmentNonComplianceMessageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentNonComplianceMessage]
type GroupPolicyAssignmentNonComplianceMessageInput ¶
type GroupPolicyAssignmentNonComplianceMessageInput interface { pulumi.Input ToGroupPolicyAssignmentNonComplianceMessageOutput() GroupPolicyAssignmentNonComplianceMessageOutput ToGroupPolicyAssignmentNonComplianceMessageOutputWithContext(context.Context) GroupPolicyAssignmentNonComplianceMessageOutput }
GroupPolicyAssignmentNonComplianceMessageInput is an input type that accepts GroupPolicyAssignmentNonComplianceMessageArgs and GroupPolicyAssignmentNonComplianceMessageOutput values. You can construct a concrete instance of `GroupPolicyAssignmentNonComplianceMessageInput` via:
GroupPolicyAssignmentNonComplianceMessageArgs{...}
type GroupPolicyAssignmentNonComplianceMessageOutput ¶
type GroupPolicyAssignmentNonComplianceMessageOutput struct{ *pulumi.OutputState }
func (GroupPolicyAssignmentNonComplianceMessageOutput) Content ¶
func (o GroupPolicyAssignmentNonComplianceMessageOutput) Content() pulumi.StringOutput
The non-compliance message text. When assigning policy sets (initiatives), unless `policyDefinitionReferenceId` is specified then this message will be the default for all policies.
func (GroupPolicyAssignmentNonComplianceMessageOutput) ElementType ¶
func (GroupPolicyAssignmentNonComplianceMessageOutput) ElementType() reflect.Type
func (GroupPolicyAssignmentNonComplianceMessageOutput) PolicyDefinitionReferenceId ¶
func (o GroupPolicyAssignmentNonComplianceMessageOutput) PolicyDefinitionReferenceId() pulumi.StringPtrOutput
When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to.
func (GroupPolicyAssignmentNonComplianceMessageOutput) ToGroupPolicyAssignmentNonComplianceMessageOutput ¶
func (o GroupPolicyAssignmentNonComplianceMessageOutput) ToGroupPolicyAssignmentNonComplianceMessageOutput() GroupPolicyAssignmentNonComplianceMessageOutput
func (GroupPolicyAssignmentNonComplianceMessageOutput) ToGroupPolicyAssignmentNonComplianceMessageOutputWithContext ¶
func (o GroupPolicyAssignmentNonComplianceMessageOutput) ToGroupPolicyAssignmentNonComplianceMessageOutputWithContext(ctx context.Context) GroupPolicyAssignmentNonComplianceMessageOutput
func (GroupPolicyAssignmentNonComplianceMessageOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyAssignmentNonComplianceMessageOutput) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentNonComplianceMessage]
type GroupPolicyAssignmentOutput ¶
type GroupPolicyAssignmentOutput struct{ *pulumi.OutputState }
func (GroupPolicyAssignmentOutput) Description ¶ added in v5.5.0
func (o GroupPolicyAssignmentOutput) Description() pulumi.StringPtrOutput
A description which should be used for this Policy Assignment.
func (GroupPolicyAssignmentOutput) DisplayName ¶ added in v5.5.0
func (o GroupPolicyAssignmentOutput) DisplayName() pulumi.StringPtrOutput
The Display Name for this Policy Assignment.
func (GroupPolicyAssignmentOutput) ElementType ¶
func (GroupPolicyAssignmentOutput) ElementType() reflect.Type
func (GroupPolicyAssignmentOutput) Enforce ¶ added in v5.5.0
func (o GroupPolicyAssignmentOutput) Enforce() pulumi.BoolPtrOutput
Specifies if this Policy should be enforced or not? Defaults to `true`.
func (GroupPolicyAssignmentOutput) Identity ¶ added in v5.5.0
func (o GroupPolicyAssignmentOutput) Identity() GroupPolicyAssignmentIdentityPtrOutput
An `identity` block as defined below.
> **Note:** The `location` field must also be specified when `identity` is specified.
func (GroupPolicyAssignmentOutput) Location ¶ added in v5.5.0
func (o GroupPolicyAssignmentOutput) Location() pulumi.StringOutput
The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created.
func (GroupPolicyAssignmentOutput) ManagementGroupId ¶ added in v5.5.0
func (o GroupPolicyAssignmentOutput) ManagementGroupId() pulumi.StringOutput
The ID of the Management Group. Changing this forces a new Policy Assignment to be created.
func (GroupPolicyAssignmentOutput) Metadata ¶ added in v5.5.0
func (o GroupPolicyAssignmentOutput) Metadata() pulumi.StringOutput
A JSON mapping of any Metadata for this Policy.
func (GroupPolicyAssignmentOutput) Name ¶ added in v5.5.0
func (o GroupPolicyAssignmentOutput) Name() pulumi.StringOutput
The name which should be used for this Policy Assignment. Possible values must be between 3 and 24 characters in length. Changing this forces a new Policy Assignment to be created.
func (GroupPolicyAssignmentOutput) NonComplianceMessages ¶ added in v5.5.0
func (o GroupPolicyAssignmentOutput) NonComplianceMessages() GroupPolicyAssignmentNonComplianceMessageArrayOutput
One or more `nonComplianceMessage` blocks as defined below.
func (GroupPolicyAssignmentOutput) NotScopes ¶ added in v5.5.0
func (o GroupPolicyAssignmentOutput) NotScopes() pulumi.StringArrayOutput
Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy.
func (GroupPolicyAssignmentOutput) Overrides ¶ added in v5.39.0
func (o GroupPolicyAssignmentOutput) Overrides() GroupPolicyAssignmentOverrideArrayOutput
One or more `overrides` blocks as defined below. More detail about `overrides` and `resourceSelectors` see [policy assignment structure](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure#resource-selectors-preview)
func (GroupPolicyAssignmentOutput) Parameters ¶ added in v5.5.0
func (o GroupPolicyAssignmentOutput) Parameters() pulumi.StringPtrOutput
A JSON mapping of any Parameters for this Policy.
func (GroupPolicyAssignmentOutput) PolicyDefinitionId ¶ added in v5.5.0
func (o GroupPolicyAssignmentOutput) PolicyDefinitionId() pulumi.StringOutput
The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created.
func (GroupPolicyAssignmentOutput) ResourceSelectors ¶ added in v5.39.0
func (o GroupPolicyAssignmentOutput) ResourceSelectors() GroupPolicyAssignmentResourceSelectorArrayOutput
One or more `resourceSelectors` blocks as defined below to filter polices by resource properties.
func (GroupPolicyAssignmentOutput) ToGroupPolicyAssignmentOutput ¶
func (o GroupPolicyAssignmentOutput) ToGroupPolicyAssignmentOutput() GroupPolicyAssignmentOutput
func (GroupPolicyAssignmentOutput) ToGroupPolicyAssignmentOutputWithContext ¶
func (o GroupPolicyAssignmentOutput) ToGroupPolicyAssignmentOutputWithContext(ctx context.Context) GroupPolicyAssignmentOutput
func (GroupPolicyAssignmentOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyAssignmentOutput) ToOutput(ctx context.Context) pulumix.Output[*GroupPolicyAssignment]
type GroupPolicyAssignmentOverride ¶ added in v5.39.0
type GroupPolicyAssignmentOverride struct { // One or more `overrideSelector` block as defined below. Selectors []GroupPolicyAssignmentOverrideSelector `pulumi:"selectors"` // Specifies the value to override the policy property. Possible values for `policyEffect` override listed [policy effects](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effects). Value string `pulumi:"value"` }
type GroupPolicyAssignmentOverrideArgs ¶ added in v5.39.0
type GroupPolicyAssignmentOverrideArgs struct { // One or more `overrideSelector` block as defined below. Selectors GroupPolicyAssignmentOverrideSelectorArrayInput `pulumi:"selectors"` // Specifies the value to override the policy property. Possible values for `policyEffect` override listed [policy effects](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effects). Value pulumi.StringInput `pulumi:"value"` }
func (GroupPolicyAssignmentOverrideArgs) ElementType ¶ added in v5.39.0
func (GroupPolicyAssignmentOverrideArgs) ElementType() reflect.Type
func (GroupPolicyAssignmentOverrideArgs) ToGroupPolicyAssignmentOverrideOutput ¶ added in v5.39.0
func (i GroupPolicyAssignmentOverrideArgs) ToGroupPolicyAssignmentOverrideOutput() GroupPolicyAssignmentOverrideOutput
func (GroupPolicyAssignmentOverrideArgs) ToGroupPolicyAssignmentOverrideOutputWithContext ¶ added in v5.39.0
func (i GroupPolicyAssignmentOverrideArgs) ToGroupPolicyAssignmentOverrideOutputWithContext(ctx context.Context) GroupPolicyAssignmentOverrideOutput
func (GroupPolicyAssignmentOverrideArgs) ToOutput ¶ added in v5.52.0
func (i GroupPolicyAssignmentOverrideArgs) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentOverride]
type GroupPolicyAssignmentOverrideArray ¶ added in v5.39.0
type GroupPolicyAssignmentOverrideArray []GroupPolicyAssignmentOverrideInput
func (GroupPolicyAssignmentOverrideArray) ElementType ¶ added in v5.39.0
func (GroupPolicyAssignmentOverrideArray) ElementType() reflect.Type
func (GroupPolicyAssignmentOverrideArray) ToGroupPolicyAssignmentOverrideArrayOutput ¶ added in v5.39.0
func (i GroupPolicyAssignmentOverrideArray) ToGroupPolicyAssignmentOverrideArrayOutput() GroupPolicyAssignmentOverrideArrayOutput
func (GroupPolicyAssignmentOverrideArray) ToGroupPolicyAssignmentOverrideArrayOutputWithContext ¶ added in v5.39.0
func (i GroupPolicyAssignmentOverrideArray) ToGroupPolicyAssignmentOverrideArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentOverrideArrayOutput
func (GroupPolicyAssignmentOverrideArray) ToOutput ¶ added in v5.52.0
func (i GroupPolicyAssignmentOverrideArray) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentOverride]
type GroupPolicyAssignmentOverrideArrayInput ¶ added in v5.39.0
type GroupPolicyAssignmentOverrideArrayInput interface { pulumi.Input ToGroupPolicyAssignmentOverrideArrayOutput() GroupPolicyAssignmentOverrideArrayOutput ToGroupPolicyAssignmentOverrideArrayOutputWithContext(context.Context) GroupPolicyAssignmentOverrideArrayOutput }
GroupPolicyAssignmentOverrideArrayInput is an input type that accepts GroupPolicyAssignmentOverrideArray and GroupPolicyAssignmentOverrideArrayOutput values. You can construct a concrete instance of `GroupPolicyAssignmentOverrideArrayInput` via:
GroupPolicyAssignmentOverrideArray{ GroupPolicyAssignmentOverrideArgs{...} }
type GroupPolicyAssignmentOverrideArrayOutput ¶ added in v5.39.0
type GroupPolicyAssignmentOverrideArrayOutput struct{ *pulumi.OutputState }
func (GroupPolicyAssignmentOverrideArrayOutput) ElementType ¶ added in v5.39.0
func (GroupPolicyAssignmentOverrideArrayOutput) ElementType() reflect.Type
func (GroupPolicyAssignmentOverrideArrayOutput) ToGroupPolicyAssignmentOverrideArrayOutput ¶ added in v5.39.0
func (o GroupPolicyAssignmentOverrideArrayOutput) ToGroupPolicyAssignmentOverrideArrayOutput() GroupPolicyAssignmentOverrideArrayOutput
func (GroupPolicyAssignmentOverrideArrayOutput) ToGroupPolicyAssignmentOverrideArrayOutputWithContext ¶ added in v5.39.0
func (o GroupPolicyAssignmentOverrideArrayOutput) ToGroupPolicyAssignmentOverrideArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentOverrideArrayOutput
func (GroupPolicyAssignmentOverrideArrayOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyAssignmentOverrideArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentOverride]
type GroupPolicyAssignmentOverrideInput ¶ added in v5.39.0
type GroupPolicyAssignmentOverrideInput interface { pulumi.Input ToGroupPolicyAssignmentOverrideOutput() GroupPolicyAssignmentOverrideOutput ToGroupPolicyAssignmentOverrideOutputWithContext(context.Context) GroupPolicyAssignmentOverrideOutput }
GroupPolicyAssignmentOverrideInput is an input type that accepts GroupPolicyAssignmentOverrideArgs and GroupPolicyAssignmentOverrideOutput values. You can construct a concrete instance of `GroupPolicyAssignmentOverrideInput` via:
GroupPolicyAssignmentOverrideArgs{...}
type GroupPolicyAssignmentOverrideOutput ¶ added in v5.39.0
type GroupPolicyAssignmentOverrideOutput struct{ *pulumi.OutputState }
func (GroupPolicyAssignmentOverrideOutput) ElementType ¶ added in v5.39.0
func (GroupPolicyAssignmentOverrideOutput) ElementType() reflect.Type
func (GroupPolicyAssignmentOverrideOutput) Selectors ¶ added in v5.39.0
func (o GroupPolicyAssignmentOverrideOutput) Selectors() GroupPolicyAssignmentOverrideSelectorArrayOutput
One or more `overrideSelector` block as defined below.
func (GroupPolicyAssignmentOverrideOutput) ToGroupPolicyAssignmentOverrideOutput ¶ added in v5.39.0
func (o GroupPolicyAssignmentOverrideOutput) ToGroupPolicyAssignmentOverrideOutput() GroupPolicyAssignmentOverrideOutput
func (GroupPolicyAssignmentOverrideOutput) ToGroupPolicyAssignmentOverrideOutputWithContext ¶ added in v5.39.0
func (o GroupPolicyAssignmentOverrideOutput) ToGroupPolicyAssignmentOverrideOutputWithContext(ctx context.Context) GroupPolicyAssignmentOverrideOutput
func (GroupPolicyAssignmentOverrideOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyAssignmentOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentOverride]
func (GroupPolicyAssignmentOverrideOutput) Value ¶ added in v5.39.0
func (o GroupPolicyAssignmentOverrideOutput) Value() pulumi.StringOutput
Specifies the value to override the policy property. Possible values for `policyEffect` override listed [policy effects](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effects).
type GroupPolicyAssignmentOverrideSelector ¶ added in v5.39.0
type GroupPolicyAssignmentOverrideSelector struct { // Specify the list of policy reference id values to filter in. Cannot be used with `notIn`. Ins []string `pulumi:"ins"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`. Kind *string `pulumi:"kind"` // Specify the list of policy reference id values to filter out. Cannot be used with `in`. NotIns []string `pulumi:"notIns"` }
type GroupPolicyAssignmentOverrideSelectorArgs ¶ added in v5.39.0
type GroupPolicyAssignmentOverrideSelectorArgs struct { // Specify the list of policy reference id values to filter in. Cannot be used with `notIn`. Ins pulumi.StringArrayInput `pulumi:"ins"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`. Kind pulumi.StringPtrInput `pulumi:"kind"` // Specify the list of policy reference id values to filter out. Cannot be used with `in`. NotIns pulumi.StringArrayInput `pulumi:"notIns"` }
func (GroupPolicyAssignmentOverrideSelectorArgs) ElementType ¶ added in v5.39.0
func (GroupPolicyAssignmentOverrideSelectorArgs) ElementType() reflect.Type
func (GroupPolicyAssignmentOverrideSelectorArgs) ToGroupPolicyAssignmentOverrideSelectorOutput ¶ added in v5.39.0
func (i GroupPolicyAssignmentOverrideSelectorArgs) ToGroupPolicyAssignmentOverrideSelectorOutput() GroupPolicyAssignmentOverrideSelectorOutput
func (GroupPolicyAssignmentOverrideSelectorArgs) ToGroupPolicyAssignmentOverrideSelectorOutputWithContext ¶ added in v5.39.0
func (i GroupPolicyAssignmentOverrideSelectorArgs) ToGroupPolicyAssignmentOverrideSelectorOutputWithContext(ctx context.Context) GroupPolicyAssignmentOverrideSelectorOutput
func (GroupPolicyAssignmentOverrideSelectorArgs) ToOutput ¶ added in v5.52.0
func (i GroupPolicyAssignmentOverrideSelectorArgs) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentOverrideSelector]
type GroupPolicyAssignmentOverrideSelectorArray ¶ added in v5.39.0
type GroupPolicyAssignmentOverrideSelectorArray []GroupPolicyAssignmentOverrideSelectorInput
func (GroupPolicyAssignmentOverrideSelectorArray) ElementType ¶ added in v5.39.0
func (GroupPolicyAssignmentOverrideSelectorArray) ElementType() reflect.Type
func (GroupPolicyAssignmentOverrideSelectorArray) ToGroupPolicyAssignmentOverrideSelectorArrayOutput ¶ added in v5.39.0
func (i GroupPolicyAssignmentOverrideSelectorArray) ToGroupPolicyAssignmentOverrideSelectorArrayOutput() GroupPolicyAssignmentOverrideSelectorArrayOutput
func (GroupPolicyAssignmentOverrideSelectorArray) ToGroupPolicyAssignmentOverrideSelectorArrayOutputWithContext ¶ added in v5.39.0
func (i GroupPolicyAssignmentOverrideSelectorArray) ToGroupPolicyAssignmentOverrideSelectorArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentOverrideSelectorArrayOutput
func (GroupPolicyAssignmentOverrideSelectorArray) ToOutput ¶ added in v5.52.0
func (i GroupPolicyAssignmentOverrideSelectorArray) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentOverrideSelector]
type GroupPolicyAssignmentOverrideSelectorArrayInput ¶ added in v5.39.0
type GroupPolicyAssignmentOverrideSelectorArrayInput interface { pulumi.Input ToGroupPolicyAssignmentOverrideSelectorArrayOutput() GroupPolicyAssignmentOverrideSelectorArrayOutput ToGroupPolicyAssignmentOverrideSelectorArrayOutputWithContext(context.Context) GroupPolicyAssignmentOverrideSelectorArrayOutput }
GroupPolicyAssignmentOverrideSelectorArrayInput is an input type that accepts GroupPolicyAssignmentOverrideSelectorArray and GroupPolicyAssignmentOverrideSelectorArrayOutput values. You can construct a concrete instance of `GroupPolicyAssignmentOverrideSelectorArrayInput` via:
GroupPolicyAssignmentOverrideSelectorArray{ GroupPolicyAssignmentOverrideSelectorArgs{...} }
type GroupPolicyAssignmentOverrideSelectorArrayOutput ¶ added in v5.39.0
type GroupPolicyAssignmentOverrideSelectorArrayOutput struct{ *pulumi.OutputState }
func (GroupPolicyAssignmentOverrideSelectorArrayOutput) ElementType ¶ added in v5.39.0
func (GroupPolicyAssignmentOverrideSelectorArrayOutput) ElementType() reflect.Type
func (GroupPolicyAssignmentOverrideSelectorArrayOutput) ToGroupPolicyAssignmentOverrideSelectorArrayOutput ¶ added in v5.39.0
func (o GroupPolicyAssignmentOverrideSelectorArrayOutput) ToGroupPolicyAssignmentOverrideSelectorArrayOutput() GroupPolicyAssignmentOverrideSelectorArrayOutput
func (GroupPolicyAssignmentOverrideSelectorArrayOutput) ToGroupPolicyAssignmentOverrideSelectorArrayOutputWithContext ¶ added in v5.39.0
func (o GroupPolicyAssignmentOverrideSelectorArrayOutput) ToGroupPolicyAssignmentOverrideSelectorArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentOverrideSelectorArrayOutput
func (GroupPolicyAssignmentOverrideSelectorArrayOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyAssignmentOverrideSelectorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentOverrideSelector]
type GroupPolicyAssignmentOverrideSelectorInput ¶ added in v5.39.0
type GroupPolicyAssignmentOverrideSelectorInput interface { pulumi.Input ToGroupPolicyAssignmentOverrideSelectorOutput() GroupPolicyAssignmentOverrideSelectorOutput ToGroupPolicyAssignmentOverrideSelectorOutputWithContext(context.Context) GroupPolicyAssignmentOverrideSelectorOutput }
GroupPolicyAssignmentOverrideSelectorInput is an input type that accepts GroupPolicyAssignmentOverrideSelectorArgs and GroupPolicyAssignmentOverrideSelectorOutput values. You can construct a concrete instance of `GroupPolicyAssignmentOverrideSelectorInput` via:
GroupPolicyAssignmentOverrideSelectorArgs{...}
type GroupPolicyAssignmentOverrideSelectorOutput ¶ added in v5.39.0
type GroupPolicyAssignmentOverrideSelectorOutput struct{ *pulumi.OutputState }
func (GroupPolicyAssignmentOverrideSelectorOutput) ElementType ¶ added in v5.39.0
func (GroupPolicyAssignmentOverrideSelectorOutput) ElementType() reflect.Type
func (GroupPolicyAssignmentOverrideSelectorOutput) Ins ¶ added in v5.39.0
func (o GroupPolicyAssignmentOverrideSelectorOutput) Ins() pulumi.StringArrayOutput
Specify the list of policy reference id values to filter in. Cannot be used with `notIn`.
func (GroupPolicyAssignmentOverrideSelectorOutput) Kind ¶ added in v5.39.0
func (o GroupPolicyAssignmentOverrideSelectorOutput) Kind() pulumi.StringPtrOutput
Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`.
func (GroupPolicyAssignmentOverrideSelectorOutput) NotIns ¶ added in v5.39.0
func (o GroupPolicyAssignmentOverrideSelectorOutput) NotIns() pulumi.StringArrayOutput
Specify the list of policy reference id values to filter out. Cannot be used with `in`.
func (GroupPolicyAssignmentOverrideSelectorOutput) ToGroupPolicyAssignmentOverrideSelectorOutput ¶ added in v5.39.0
func (o GroupPolicyAssignmentOverrideSelectorOutput) ToGroupPolicyAssignmentOverrideSelectorOutput() GroupPolicyAssignmentOverrideSelectorOutput
func (GroupPolicyAssignmentOverrideSelectorOutput) ToGroupPolicyAssignmentOverrideSelectorOutputWithContext ¶ added in v5.39.0
func (o GroupPolicyAssignmentOverrideSelectorOutput) ToGroupPolicyAssignmentOverrideSelectorOutputWithContext(ctx context.Context) GroupPolicyAssignmentOverrideSelectorOutput
func (GroupPolicyAssignmentOverrideSelectorOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyAssignmentOverrideSelectorOutput) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentOverrideSelector]
type GroupPolicyAssignmentResourceSelector ¶ added in v5.39.0
type GroupPolicyAssignmentResourceSelector struct { // Specifies a name for the resource selector. Name *string `pulumi:"name"` // One or more `resourceSelector` block as defined below. Selectors []GroupPolicyAssignmentResourceSelectorSelector `pulumi:"selectors"` }
type GroupPolicyAssignmentResourceSelectorArgs ¶ added in v5.39.0
type GroupPolicyAssignmentResourceSelectorArgs struct { // Specifies a name for the resource selector. Name pulumi.StringPtrInput `pulumi:"name"` // One or more `resourceSelector` block as defined below. Selectors GroupPolicyAssignmentResourceSelectorSelectorArrayInput `pulumi:"selectors"` }
func (GroupPolicyAssignmentResourceSelectorArgs) ElementType ¶ added in v5.39.0
func (GroupPolicyAssignmentResourceSelectorArgs) ElementType() reflect.Type
func (GroupPolicyAssignmentResourceSelectorArgs) ToGroupPolicyAssignmentResourceSelectorOutput ¶ added in v5.39.0
func (i GroupPolicyAssignmentResourceSelectorArgs) ToGroupPolicyAssignmentResourceSelectorOutput() GroupPolicyAssignmentResourceSelectorOutput
func (GroupPolicyAssignmentResourceSelectorArgs) ToGroupPolicyAssignmentResourceSelectorOutputWithContext ¶ added in v5.39.0
func (i GroupPolicyAssignmentResourceSelectorArgs) ToGroupPolicyAssignmentResourceSelectorOutputWithContext(ctx context.Context) GroupPolicyAssignmentResourceSelectorOutput
func (GroupPolicyAssignmentResourceSelectorArgs) ToOutput ¶ added in v5.52.0
func (i GroupPolicyAssignmentResourceSelectorArgs) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentResourceSelector]
type GroupPolicyAssignmentResourceSelectorArray ¶ added in v5.39.0
type GroupPolicyAssignmentResourceSelectorArray []GroupPolicyAssignmentResourceSelectorInput
func (GroupPolicyAssignmentResourceSelectorArray) ElementType ¶ added in v5.39.0
func (GroupPolicyAssignmentResourceSelectorArray) ElementType() reflect.Type
func (GroupPolicyAssignmentResourceSelectorArray) ToGroupPolicyAssignmentResourceSelectorArrayOutput ¶ added in v5.39.0
func (i GroupPolicyAssignmentResourceSelectorArray) ToGroupPolicyAssignmentResourceSelectorArrayOutput() GroupPolicyAssignmentResourceSelectorArrayOutput
func (GroupPolicyAssignmentResourceSelectorArray) ToGroupPolicyAssignmentResourceSelectorArrayOutputWithContext ¶ added in v5.39.0
func (i GroupPolicyAssignmentResourceSelectorArray) ToGroupPolicyAssignmentResourceSelectorArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentResourceSelectorArrayOutput
func (GroupPolicyAssignmentResourceSelectorArray) ToOutput ¶ added in v5.52.0
func (i GroupPolicyAssignmentResourceSelectorArray) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentResourceSelector]
type GroupPolicyAssignmentResourceSelectorArrayInput ¶ added in v5.39.0
type GroupPolicyAssignmentResourceSelectorArrayInput interface { pulumi.Input ToGroupPolicyAssignmentResourceSelectorArrayOutput() GroupPolicyAssignmentResourceSelectorArrayOutput ToGroupPolicyAssignmentResourceSelectorArrayOutputWithContext(context.Context) GroupPolicyAssignmentResourceSelectorArrayOutput }
GroupPolicyAssignmentResourceSelectorArrayInput is an input type that accepts GroupPolicyAssignmentResourceSelectorArray and GroupPolicyAssignmentResourceSelectorArrayOutput values. You can construct a concrete instance of `GroupPolicyAssignmentResourceSelectorArrayInput` via:
GroupPolicyAssignmentResourceSelectorArray{ GroupPolicyAssignmentResourceSelectorArgs{...} }
type GroupPolicyAssignmentResourceSelectorArrayOutput ¶ added in v5.39.0
type GroupPolicyAssignmentResourceSelectorArrayOutput struct{ *pulumi.OutputState }
func (GroupPolicyAssignmentResourceSelectorArrayOutput) ElementType ¶ added in v5.39.0
func (GroupPolicyAssignmentResourceSelectorArrayOutput) ElementType() reflect.Type
func (GroupPolicyAssignmentResourceSelectorArrayOutput) ToGroupPolicyAssignmentResourceSelectorArrayOutput ¶ added in v5.39.0
func (o GroupPolicyAssignmentResourceSelectorArrayOutput) ToGroupPolicyAssignmentResourceSelectorArrayOutput() GroupPolicyAssignmentResourceSelectorArrayOutput
func (GroupPolicyAssignmentResourceSelectorArrayOutput) ToGroupPolicyAssignmentResourceSelectorArrayOutputWithContext ¶ added in v5.39.0
func (o GroupPolicyAssignmentResourceSelectorArrayOutput) ToGroupPolicyAssignmentResourceSelectorArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentResourceSelectorArrayOutput
func (GroupPolicyAssignmentResourceSelectorArrayOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyAssignmentResourceSelectorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentResourceSelector]
type GroupPolicyAssignmentResourceSelectorInput ¶ added in v5.39.0
type GroupPolicyAssignmentResourceSelectorInput interface { pulumi.Input ToGroupPolicyAssignmentResourceSelectorOutput() GroupPolicyAssignmentResourceSelectorOutput ToGroupPolicyAssignmentResourceSelectorOutputWithContext(context.Context) GroupPolicyAssignmentResourceSelectorOutput }
GroupPolicyAssignmentResourceSelectorInput is an input type that accepts GroupPolicyAssignmentResourceSelectorArgs and GroupPolicyAssignmentResourceSelectorOutput values. You can construct a concrete instance of `GroupPolicyAssignmentResourceSelectorInput` via:
GroupPolicyAssignmentResourceSelectorArgs{...}
type GroupPolicyAssignmentResourceSelectorOutput ¶ added in v5.39.0
type GroupPolicyAssignmentResourceSelectorOutput struct{ *pulumi.OutputState }
func (GroupPolicyAssignmentResourceSelectorOutput) ElementType ¶ added in v5.39.0
func (GroupPolicyAssignmentResourceSelectorOutput) ElementType() reflect.Type
func (GroupPolicyAssignmentResourceSelectorOutput) Name ¶ added in v5.39.0
func (o GroupPolicyAssignmentResourceSelectorOutput) Name() pulumi.StringPtrOutput
Specifies a name for the resource selector.
func (GroupPolicyAssignmentResourceSelectorOutput) Selectors ¶ added in v5.39.0
func (o GroupPolicyAssignmentResourceSelectorOutput) Selectors() GroupPolicyAssignmentResourceSelectorSelectorArrayOutput
One or more `resourceSelector` block as defined below.
func (GroupPolicyAssignmentResourceSelectorOutput) ToGroupPolicyAssignmentResourceSelectorOutput ¶ added in v5.39.0
func (o GroupPolicyAssignmentResourceSelectorOutput) ToGroupPolicyAssignmentResourceSelectorOutput() GroupPolicyAssignmentResourceSelectorOutput
func (GroupPolicyAssignmentResourceSelectorOutput) ToGroupPolicyAssignmentResourceSelectorOutputWithContext ¶ added in v5.39.0
func (o GroupPolicyAssignmentResourceSelectorOutput) ToGroupPolicyAssignmentResourceSelectorOutputWithContext(ctx context.Context) GroupPolicyAssignmentResourceSelectorOutput
func (GroupPolicyAssignmentResourceSelectorOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyAssignmentResourceSelectorOutput) ToOutput(ctx context.Context) pulumix.Output[GroupPolicyAssignmentResourceSelector]
type GroupPolicyAssignmentResourceSelectorSelector ¶ added in v5.39.0
type GroupPolicyAssignmentResourceSelectorSelector struct { // Specify the list of policy reference id values to filter in. Cannot be used with `notIn`. Ins []string `pulumi:"ins"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`. Kind string `pulumi:"kind"` // Specify the list of policy reference id values to filter out. Cannot be used with `in`. NotIns []string `pulumi:"notIns"` }
type GroupPolicyAssignmentResourceSelectorSelectorArgs ¶ added in v5.39.0
type GroupPolicyAssignmentResourceSelectorSelectorArgs struct { // Specify the list of policy reference id values to filter in. Cannot be used with `notIn`. Ins pulumi.StringArrayInput `pulumi:"ins"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`. Kind pulumi.StringInput `pulumi:"kind"` // Specify the list of policy reference id values to filter out. Cannot be used with `in`. NotIns pulumi.StringArrayInput `pulumi:"notIns"` }
func (GroupPolicyAssignmentResourceSelectorSelectorArgs) ElementType ¶ added in v5.39.0
func (GroupPolicyAssignmentResourceSelectorSelectorArgs) ElementType() reflect.Type
func (GroupPolicyAssignmentResourceSelectorSelectorArgs) ToGroupPolicyAssignmentResourceSelectorSelectorOutput ¶ added in v5.39.0
func (i GroupPolicyAssignmentResourceSelectorSelectorArgs) ToGroupPolicyAssignmentResourceSelectorSelectorOutput() GroupPolicyAssignmentResourceSelectorSelectorOutput
func (GroupPolicyAssignmentResourceSelectorSelectorArgs) ToGroupPolicyAssignmentResourceSelectorSelectorOutputWithContext ¶ added in v5.39.0
func (i GroupPolicyAssignmentResourceSelectorSelectorArgs) ToGroupPolicyAssignmentResourceSelectorSelectorOutputWithContext(ctx context.Context) GroupPolicyAssignmentResourceSelectorSelectorOutput
type GroupPolicyAssignmentResourceSelectorSelectorArray ¶ added in v5.39.0
type GroupPolicyAssignmentResourceSelectorSelectorArray []GroupPolicyAssignmentResourceSelectorSelectorInput
func (GroupPolicyAssignmentResourceSelectorSelectorArray) ElementType ¶ added in v5.39.0
func (GroupPolicyAssignmentResourceSelectorSelectorArray) ElementType() reflect.Type
func (GroupPolicyAssignmentResourceSelectorSelectorArray) ToGroupPolicyAssignmentResourceSelectorSelectorArrayOutput ¶ added in v5.39.0
func (i GroupPolicyAssignmentResourceSelectorSelectorArray) ToGroupPolicyAssignmentResourceSelectorSelectorArrayOutput() GroupPolicyAssignmentResourceSelectorSelectorArrayOutput
func (GroupPolicyAssignmentResourceSelectorSelectorArray) ToGroupPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext ¶ added in v5.39.0
func (i GroupPolicyAssignmentResourceSelectorSelectorArray) ToGroupPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentResourceSelectorSelectorArrayOutput
func (GroupPolicyAssignmentResourceSelectorSelectorArray) ToOutput ¶ added in v5.52.0
func (i GroupPolicyAssignmentResourceSelectorSelectorArray) ToOutput(ctx context.Context) pulumix.Output[[]GroupPolicyAssignmentResourceSelectorSelector]
type GroupPolicyAssignmentResourceSelectorSelectorArrayInput ¶ added in v5.39.0
type GroupPolicyAssignmentResourceSelectorSelectorArrayInput interface { pulumi.Input ToGroupPolicyAssignmentResourceSelectorSelectorArrayOutput() GroupPolicyAssignmentResourceSelectorSelectorArrayOutput ToGroupPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(context.Context) GroupPolicyAssignmentResourceSelectorSelectorArrayOutput }
GroupPolicyAssignmentResourceSelectorSelectorArrayInput is an input type that accepts GroupPolicyAssignmentResourceSelectorSelectorArray and GroupPolicyAssignmentResourceSelectorSelectorArrayOutput values. You can construct a concrete instance of `GroupPolicyAssignmentResourceSelectorSelectorArrayInput` via:
GroupPolicyAssignmentResourceSelectorSelectorArray{ GroupPolicyAssignmentResourceSelectorSelectorArgs{...} }
type GroupPolicyAssignmentResourceSelectorSelectorArrayOutput ¶ added in v5.39.0
type GroupPolicyAssignmentResourceSelectorSelectorArrayOutput struct{ *pulumi.OutputState }
func (GroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ElementType ¶ added in v5.39.0
func (GroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ElementType() reflect.Type
func (GroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ToGroupPolicyAssignmentResourceSelectorSelectorArrayOutput ¶ added in v5.39.0
func (o GroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ToGroupPolicyAssignmentResourceSelectorSelectorArrayOutput() GroupPolicyAssignmentResourceSelectorSelectorArrayOutput
func (GroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ToGroupPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext ¶ added in v5.39.0
func (o GroupPolicyAssignmentResourceSelectorSelectorArrayOutput) ToGroupPolicyAssignmentResourceSelectorSelectorArrayOutputWithContext(ctx context.Context) GroupPolicyAssignmentResourceSelectorSelectorArrayOutput
type GroupPolicyAssignmentResourceSelectorSelectorInput ¶ added in v5.39.0
type GroupPolicyAssignmentResourceSelectorSelectorInput interface { pulumi.Input ToGroupPolicyAssignmentResourceSelectorSelectorOutput() GroupPolicyAssignmentResourceSelectorSelectorOutput ToGroupPolicyAssignmentResourceSelectorSelectorOutputWithContext(context.Context) GroupPolicyAssignmentResourceSelectorSelectorOutput }
GroupPolicyAssignmentResourceSelectorSelectorInput is an input type that accepts GroupPolicyAssignmentResourceSelectorSelectorArgs and GroupPolicyAssignmentResourceSelectorSelectorOutput values. You can construct a concrete instance of `GroupPolicyAssignmentResourceSelectorSelectorInput` via:
GroupPolicyAssignmentResourceSelectorSelectorArgs{...}
type GroupPolicyAssignmentResourceSelectorSelectorOutput ¶ added in v5.39.0
type GroupPolicyAssignmentResourceSelectorSelectorOutput struct{ *pulumi.OutputState }
func (GroupPolicyAssignmentResourceSelectorSelectorOutput) ElementType ¶ added in v5.39.0
func (GroupPolicyAssignmentResourceSelectorSelectorOutput) ElementType() reflect.Type
func (GroupPolicyAssignmentResourceSelectorSelectorOutput) Ins ¶ added in v5.39.0
Specify the list of policy reference id values to filter in. Cannot be used with `notIn`.
func (GroupPolicyAssignmentResourceSelectorSelectorOutput) Kind ¶ added in v5.39.0
func (o GroupPolicyAssignmentResourceSelectorSelectorOutput) Kind() pulumi.StringOutput
Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`.
func (GroupPolicyAssignmentResourceSelectorSelectorOutput) NotIns ¶ added in v5.39.0
func (o GroupPolicyAssignmentResourceSelectorSelectorOutput) NotIns() pulumi.StringArrayOutput
Specify the list of policy reference id values to filter out. Cannot be used with `in`.
func (GroupPolicyAssignmentResourceSelectorSelectorOutput) ToGroupPolicyAssignmentResourceSelectorSelectorOutput ¶ added in v5.39.0
func (o GroupPolicyAssignmentResourceSelectorSelectorOutput) ToGroupPolicyAssignmentResourceSelectorSelectorOutput() GroupPolicyAssignmentResourceSelectorSelectorOutput
func (GroupPolicyAssignmentResourceSelectorSelectorOutput) ToGroupPolicyAssignmentResourceSelectorSelectorOutputWithContext ¶ added in v5.39.0
func (o GroupPolicyAssignmentResourceSelectorSelectorOutput) ToGroupPolicyAssignmentResourceSelectorSelectorOutputWithContext(ctx context.Context) GroupPolicyAssignmentResourceSelectorSelectorOutput
type GroupPolicyAssignmentState ¶
type GroupPolicyAssignmentState struct { // A description which should be used for this Policy Assignment. Description pulumi.StringPtrInput // The Display Name for this Policy Assignment. DisplayName pulumi.StringPtrInput // Specifies if this Policy should be enforced or not? Defaults to `true`. Enforce pulumi.BoolPtrInput // An `identity` block as defined below. // // > **Note:** The `location` field must also be specified when `identity` is specified. Identity GroupPolicyAssignmentIdentityPtrInput // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location pulumi.StringPtrInput // The ID of the Management Group. Changing this forces a new Policy Assignment to be created. ManagementGroupId pulumi.StringPtrInput // A JSON mapping of any Metadata for this Policy. Metadata pulumi.StringPtrInput // The name which should be used for this Policy Assignment. Possible values must be between 3 and 24 characters in length. Changing this forces a new Policy Assignment to be created. Name pulumi.StringPtrInput // One or more `nonComplianceMessage` blocks as defined below. NonComplianceMessages GroupPolicyAssignmentNonComplianceMessageArrayInput // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes pulumi.StringArrayInput // One or more `overrides` blocks as defined below. More detail about `overrides` and `resourceSelectors` see [policy assignment structure](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure#resource-selectors-preview) Overrides GroupPolicyAssignmentOverrideArrayInput // A JSON mapping of any Parameters for this Policy. Parameters pulumi.StringPtrInput // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. PolicyDefinitionId pulumi.StringPtrInput // One or more `resourceSelectors` blocks as defined below to filter polices by resource properties. ResourceSelectors GroupPolicyAssignmentResourceSelectorArrayInput }
func (GroupPolicyAssignmentState) ElementType ¶
func (GroupPolicyAssignmentState) ElementType() reflect.Type
type GroupPolicyExemption ¶ added in v5.2.0
type GroupPolicyExemption struct { pulumi.CustomResourceState // A description to use for this Policy Exemption. Description pulumi.StringPtrOutput `pulumi:"description"` // A friendly display name to use for this Policy Exemption. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // The category of this policy exemption. Possible values are `Waiver` and `Mitigated`. ExemptionCategory pulumi.StringOutput `pulumi:"exemptionCategory"` // The expiration date and time in UTC ISO 8601 format of this policy exemption. ExpiresOn pulumi.StringPtrOutput `pulumi:"expiresOn"` // The Management Group ID where the Policy Exemption should be applied. Changing this forces a new resource to be created. ManagementGroupId pulumi.StringOutput `pulumi:"managementGroupId"` // The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption. Metadata pulumi.StringOutput `pulumi:"metadata"` // The name of the Policy Exemption. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The ID of the Policy Assignment to be exempted at the specified Scope. PolicyAssignmentId pulumi.StringOutput `pulumi:"policyAssignmentId"` // The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition. PolicyDefinitionReferenceIds pulumi.StringArrayOutput `pulumi:"policyDefinitionReferenceIds"` }
Manages a Management Group Policy Exemption.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/policy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleGroup, err := management.NewGroup(ctx, "exampleGroup", &management.GroupArgs{ DisplayName: pulumi.String("Example MgmtGroup"), }) if err != nil { return err } examplePolicySetDefinition, err := policy.LookupPolicySetDefinition(ctx, &policy.LookupPolicySetDefinitionArgs{ DisplayName: pulumi.StringRef("Audit machines with insecure password security settings"), }, nil) if err != nil { return err } exampleGroupPolicyAssignment, err := management.NewGroupPolicyAssignment(ctx, "exampleGroupPolicyAssignment", &management.GroupPolicyAssignmentArgs{ ManagementGroupId: exampleGroup.ID(), PolicyDefinitionId: *pulumi.String(examplePolicySetDefinition.Id), Location: pulumi.String("westus"), Identity: &management.GroupPolicyAssignmentIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, }) if err != nil { return err } _, err = management.NewGroupPolicyExemption(ctx, "exampleGroupPolicyExemption", &management.GroupPolicyExemptionArgs{ ManagementGroupId: exampleGroup.ID(), PolicyAssignmentId: exampleGroupPolicyAssignment.ID(), ExemptionCategory: pulumi.String("Mitigated"), }) if err != nil { return err } return nil }) }
```
## Import
Policy Exemptions can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:management/groupPolicyExemption:GroupPolicyExemption exemption1 /providers/Microsoft.Management/managementGroups/group1/providers/Microsoft.Authorization/policyExemptions/exemption1
```
func GetGroupPolicyExemption ¶ added in v5.2.0
func GetGroupPolicyExemption(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GroupPolicyExemptionState, opts ...pulumi.ResourceOption) (*GroupPolicyExemption, error)
GetGroupPolicyExemption gets an existing GroupPolicyExemption 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 NewGroupPolicyExemption ¶ added in v5.2.0
func NewGroupPolicyExemption(ctx *pulumi.Context, name string, args *GroupPolicyExemptionArgs, opts ...pulumi.ResourceOption) (*GroupPolicyExemption, error)
NewGroupPolicyExemption registers a new resource with the given unique name, arguments, and options.
func (*GroupPolicyExemption) ElementType ¶ added in v5.2.0
func (*GroupPolicyExemption) ElementType() reflect.Type
func (*GroupPolicyExemption) ToGroupPolicyExemptionOutput ¶ added in v5.2.0
func (i *GroupPolicyExemption) ToGroupPolicyExemptionOutput() GroupPolicyExemptionOutput
func (*GroupPolicyExemption) ToGroupPolicyExemptionOutputWithContext ¶ added in v5.2.0
func (i *GroupPolicyExemption) ToGroupPolicyExemptionOutputWithContext(ctx context.Context) GroupPolicyExemptionOutput
func (*GroupPolicyExemption) ToOutput ¶ added in v5.52.0
func (i *GroupPolicyExemption) ToOutput(ctx context.Context) pulumix.Output[*GroupPolicyExemption]
type GroupPolicyExemptionArgs ¶ added in v5.2.0
type GroupPolicyExemptionArgs struct { // A description to use for this Policy Exemption. Description pulumi.StringPtrInput // A friendly display name to use for this Policy Exemption. DisplayName pulumi.StringPtrInput // The category of this policy exemption. Possible values are `Waiver` and `Mitigated`. ExemptionCategory pulumi.StringInput // The expiration date and time in UTC ISO 8601 format of this policy exemption. ExpiresOn pulumi.StringPtrInput // The Management Group ID where the Policy Exemption should be applied. Changing this forces a new resource to be created. ManagementGroupId pulumi.StringInput // The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption. Metadata pulumi.StringPtrInput // The name of the Policy Exemption. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the Policy Assignment to be exempted at the specified Scope. PolicyAssignmentId pulumi.StringInput // The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition. PolicyDefinitionReferenceIds pulumi.StringArrayInput }
The set of arguments for constructing a GroupPolicyExemption resource.
func (GroupPolicyExemptionArgs) ElementType ¶ added in v5.2.0
func (GroupPolicyExemptionArgs) ElementType() reflect.Type
type GroupPolicyExemptionArray ¶ added in v5.2.0
type GroupPolicyExemptionArray []GroupPolicyExemptionInput
func (GroupPolicyExemptionArray) ElementType ¶ added in v5.2.0
func (GroupPolicyExemptionArray) ElementType() reflect.Type
func (GroupPolicyExemptionArray) ToGroupPolicyExemptionArrayOutput ¶ added in v5.2.0
func (i GroupPolicyExemptionArray) ToGroupPolicyExemptionArrayOutput() GroupPolicyExemptionArrayOutput
func (GroupPolicyExemptionArray) ToGroupPolicyExemptionArrayOutputWithContext ¶ added in v5.2.0
func (i GroupPolicyExemptionArray) ToGroupPolicyExemptionArrayOutputWithContext(ctx context.Context) GroupPolicyExemptionArrayOutput
func (GroupPolicyExemptionArray) ToOutput ¶ added in v5.52.0
func (i GroupPolicyExemptionArray) ToOutput(ctx context.Context) pulumix.Output[[]*GroupPolicyExemption]
type GroupPolicyExemptionArrayInput ¶ added in v5.2.0
type GroupPolicyExemptionArrayInput interface { pulumi.Input ToGroupPolicyExemptionArrayOutput() GroupPolicyExemptionArrayOutput ToGroupPolicyExemptionArrayOutputWithContext(context.Context) GroupPolicyExemptionArrayOutput }
GroupPolicyExemptionArrayInput is an input type that accepts GroupPolicyExemptionArray and GroupPolicyExemptionArrayOutput values. You can construct a concrete instance of `GroupPolicyExemptionArrayInput` via:
GroupPolicyExemptionArray{ GroupPolicyExemptionArgs{...} }
type GroupPolicyExemptionArrayOutput ¶ added in v5.2.0
type GroupPolicyExemptionArrayOutput struct{ *pulumi.OutputState }
func (GroupPolicyExemptionArrayOutput) ElementType ¶ added in v5.2.0
func (GroupPolicyExemptionArrayOutput) ElementType() reflect.Type
func (GroupPolicyExemptionArrayOutput) Index ¶ added in v5.2.0
func (o GroupPolicyExemptionArrayOutput) Index(i pulumi.IntInput) GroupPolicyExemptionOutput
func (GroupPolicyExemptionArrayOutput) ToGroupPolicyExemptionArrayOutput ¶ added in v5.2.0
func (o GroupPolicyExemptionArrayOutput) ToGroupPolicyExemptionArrayOutput() GroupPolicyExemptionArrayOutput
func (GroupPolicyExemptionArrayOutput) ToGroupPolicyExemptionArrayOutputWithContext ¶ added in v5.2.0
func (o GroupPolicyExemptionArrayOutput) ToGroupPolicyExemptionArrayOutputWithContext(ctx context.Context) GroupPolicyExemptionArrayOutput
func (GroupPolicyExemptionArrayOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyExemptionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*GroupPolicyExemption]
type GroupPolicyExemptionInput ¶ added in v5.2.0
type GroupPolicyExemptionInput interface { pulumi.Input ToGroupPolicyExemptionOutput() GroupPolicyExemptionOutput ToGroupPolicyExemptionOutputWithContext(ctx context.Context) GroupPolicyExemptionOutput }
type GroupPolicyExemptionMap ¶ added in v5.2.0
type GroupPolicyExemptionMap map[string]GroupPolicyExemptionInput
func (GroupPolicyExemptionMap) ElementType ¶ added in v5.2.0
func (GroupPolicyExemptionMap) ElementType() reflect.Type
func (GroupPolicyExemptionMap) ToGroupPolicyExemptionMapOutput ¶ added in v5.2.0
func (i GroupPolicyExemptionMap) ToGroupPolicyExemptionMapOutput() GroupPolicyExemptionMapOutput
func (GroupPolicyExemptionMap) ToGroupPolicyExemptionMapOutputWithContext ¶ added in v5.2.0
func (i GroupPolicyExemptionMap) ToGroupPolicyExemptionMapOutputWithContext(ctx context.Context) GroupPolicyExemptionMapOutput
func (GroupPolicyExemptionMap) ToOutput ¶ added in v5.52.0
func (i GroupPolicyExemptionMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupPolicyExemption]
type GroupPolicyExemptionMapInput ¶ added in v5.2.0
type GroupPolicyExemptionMapInput interface { pulumi.Input ToGroupPolicyExemptionMapOutput() GroupPolicyExemptionMapOutput ToGroupPolicyExemptionMapOutputWithContext(context.Context) GroupPolicyExemptionMapOutput }
GroupPolicyExemptionMapInput is an input type that accepts GroupPolicyExemptionMap and GroupPolicyExemptionMapOutput values. You can construct a concrete instance of `GroupPolicyExemptionMapInput` via:
GroupPolicyExemptionMap{ "key": GroupPolicyExemptionArgs{...} }
type GroupPolicyExemptionMapOutput ¶ added in v5.2.0
type GroupPolicyExemptionMapOutput struct{ *pulumi.OutputState }
func (GroupPolicyExemptionMapOutput) ElementType ¶ added in v5.2.0
func (GroupPolicyExemptionMapOutput) ElementType() reflect.Type
func (GroupPolicyExemptionMapOutput) MapIndex ¶ added in v5.2.0
func (o GroupPolicyExemptionMapOutput) MapIndex(k pulumi.StringInput) GroupPolicyExemptionOutput
func (GroupPolicyExemptionMapOutput) ToGroupPolicyExemptionMapOutput ¶ added in v5.2.0
func (o GroupPolicyExemptionMapOutput) ToGroupPolicyExemptionMapOutput() GroupPolicyExemptionMapOutput
func (GroupPolicyExemptionMapOutput) ToGroupPolicyExemptionMapOutputWithContext ¶ added in v5.2.0
func (o GroupPolicyExemptionMapOutput) ToGroupPolicyExemptionMapOutputWithContext(ctx context.Context) GroupPolicyExemptionMapOutput
func (GroupPolicyExemptionMapOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyExemptionMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupPolicyExemption]
type GroupPolicyExemptionOutput ¶ added in v5.2.0
type GroupPolicyExemptionOutput struct{ *pulumi.OutputState }
func (GroupPolicyExemptionOutput) Description ¶ added in v5.5.0
func (o GroupPolicyExemptionOutput) Description() pulumi.StringPtrOutput
A description to use for this Policy Exemption.
func (GroupPolicyExemptionOutput) DisplayName ¶ added in v5.5.0
func (o GroupPolicyExemptionOutput) DisplayName() pulumi.StringPtrOutput
A friendly display name to use for this Policy Exemption.
func (GroupPolicyExemptionOutput) ElementType ¶ added in v5.2.0
func (GroupPolicyExemptionOutput) ElementType() reflect.Type
func (GroupPolicyExemptionOutput) ExemptionCategory ¶ added in v5.5.0
func (o GroupPolicyExemptionOutput) ExemptionCategory() pulumi.StringOutput
The category of this policy exemption. Possible values are `Waiver` and `Mitigated`.
func (GroupPolicyExemptionOutput) ExpiresOn ¶ added in v5.5.0
func (o GroupPolicyExemptionOutput) ExpiresOn() pulumi.StringPtrOutput
The expiration date and time in UTC ISO 8601 format of this policy exemption.
func (GroupPolicyExemptionOutput) ManagementGroupId ¶ added in v5.5.0
func (o GroupPolicyExemptionOutput) ManagementGroupId() pulumi.StringOutput
The Management Group ID where the Policy Exemption should be applied. Changing this forces a new resource to be created.
func (GroupPolicyExemptionOutput) Metadata ¶ added in v5.5.0
func (o GroupPolicyExemptionOutput) Metadata() pulumi.StringOutput
The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption.
func (GroupPolicyExemptionOutput) Name ¶ added in v5.5.0
func (o GroupPolicyExemptionOutput) Name() pulumi.StringOutput
The name of the Policy Exemption. Changing this forces a new resource to be created.
func (GroupPolicyExemptionOutput) PolicyAssignmentId ¶ added in v5.5.0
func (o GroupPolicyExemptionOutput) PolicyAssignmentId() pulumi.StringOutput
The ID of the Policy Assignment to be exempted at the specified Scope.
func (GroupPolicyExemptionOutput) PolicyDefinitionReferenceIds ¶ added in v5.5.0
func (o GroupPolicyExemptionOutput) PolicyDefinitionReferenceIds() pulumi.StringArrayOutput
The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.
func (GroupPolicyExemptionOutput) ToGroupPolicyExemptionOutput ¶ added in v5.2.0
func (o GroupPolicyExemptionOutput) ToGroupPolicyExemptionOutput() GroupPolicyExemptionOutput
func (GroupPolicyExemptionOutput) ToGroupPolicyExemptionOutputWithContext ¶ added in v5.2.0
func (o GroupPolicyExemptionOutput) ToGroupPolicyExemptionOutputWithContext(ctx context.Context) GroupPolicyExemptionOutput
func (GroupPolicyExemptionOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyExemptionOutput) ToOutput(ctx context.Context) pulumix.Output[*GroupPolicyExemption]
type GroupPolicyExemptionState ¶ added in v5.2.0
type GroupPolicyExemptionState struct { // A description to use for this Policy Exemption. Description pulumi.StringPtrInput // A friendly display name to use for this Policy Exemption. DisplayName pulumi.StringPtrInput // The category of this policy exemption. Possible values are `Waiver` and `Mitigated`. ExemptionCategory pulumi.StringPtrInput // The expiration date and time in UTC ISO 8601 format of this policy exemption. ExpiresOn pulumi.StringPtrInput // The Management Group ID where the Policy Exemption should be applied. Changing this forces a new resource to be created. ManagementGroupId pulumi.StringPtrInput // The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption. Metadata pulumi.StringPtrInput // The name of the Policy Exemption. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the Policy Assignment to be exempted at the specified Scope. PolicyAssignmentId pulumi.StringPtrInput // The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition. PolicyDefinitionReferenceIds pulumi.StringArrayInput }
func (GroupPolicyExemptionState) ElementType ¶ added in v5.2.0
func (GroupPolicyExemptionState) ElementType() reflect.Type
type GroupPolicyRemediation ¶
type GroupPolicyRemediation struct { pulumi.CustomResourceState FailurePercentage pulumi.Float64PtrOutput `pulumi:"failurePercentage"` LocationFilters pulumi.StringArrayOutput `pulumi:"locationFilters"` ManagementGroupId pulumi.StringOutput `pulumi:"managementGroupId"` Name pulumi.StringOutput `pulumi:"name"` ParallelDeployments pulumi.IntPtrOutput `pulumi:"parallelDeployments"` PolicyAssignmentId pulumi.StringOutput `pulumi:"policyAssignmentId"` // Deprecated: `policy_definition_id` will be removed in version 4.0 of the AzureRM Provider in favour of `policy_definition_reference_id`. PolicyDefinitionId pulumi.StringPtrOutput `pulumi:"policyDefinitionId"` PolicyDefinitionReferenceId pulumi.StringPtrOutput `pulumi:"policyDefinitionReferenceId"` ResourceCount pulumi.IntPtrOutput `pulumi:"resourceCount"` // Deprecated: `resource_discovery_mode` will be removed in version 4.0 of the AzureRM Provider as evaluating compliance before remediation is only supported at subscription scope and below. ResourceDiscoveryMode pulumi.StringPtrOutput `pulumi:"resourceDiscoveryMode"` }
func GetGroupPolicyRemediation ¶
func GetGroupPolicyRemediation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GroupPolicyRemediationState, opts ...pulumi.ResourceOption) (*GroupPolicyRemediation, error)
GetGroupPolicyRemediation gets an existing GroupPolicyRemediation 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 NewGroupPolicyRemediation ¶
func NewGroupPolicyRemediation(ctx *pulumi.Context, name string, args *GroupPolicyRemediationArgs, opts ...pulumi.ResourceOption) (*GroupPolicyRemediation, error)
NewGroupPolicyRemediation registers a new resource with the given unique name, arguments, and options.
func (*GroupPolicyRemediation) ElementType ¶
func (*GroupPolicyRemediation) ElementType() reflect.Type
func (*GroupPolicyRemediation) ToGroupPolicyRemediationOutput ¶
func (i *GroupPolicyRemediation) ToGroupPolicyRemediationOutput() GroupPolicyRemediationOutput
func (*GroupPolicyRemediation) ToGroupPolicyRemediationOutputWithContext ¶
func (i *GroupPolicyRemediation) ToGroupPolicyRemediationOutputWithContext(ctx context.Context) GroupPolicyRemediationOutput
func (*GroupPolicyRemediation) ToOutput ¶ added in v5.52.0
func (i *GroupPolicyRemediation) ToOutput(ctx context.Context) pulumix.Output[*GroupPolicyRemediation]
type GroupPolicyRemediationArgs ¶
type GroupPolicyRemediationArgs struct { FailurePercentage pulumi.Float64PtrInput LocationFilters pulumi.StringArrayInput ManagementGroupId pulumi.StringInput Name pulumi.StringPtrInput ParallelDeployments pulumi.IntPtrInput PolicyAssignmentId pulumi.StringInput // Deprecated: `policy_definition_id` will be removed in version 4.0 of the AzureRM Provider in favour of `policy_definition_reference_id`. PolicyDefinitionId pulumi.StringPtrInput PolicyDefinitionReferenceId pulumi.StringPtrInput ResourceCount pulumi.IntPtrInput // Deprecated: `resource_discovery_mode` will be removed in version 4.0 of the AzureRM Provider as evaluating compliance before remediation is only supported at subscription scope and below. ResourceDiscoveryMode pulumi.StringPtrInput }
The set of arguments for constructing a GroupPolicyRemediation resource.
func (GroupPolicyRemediationArgs) ElementType ¶
func (GroupPolicyRemediationArgs) ElementType() reflect.Type
type GroupPolicyRemediationArray ¶
type GroupPolicyRemediationArray []GroupPolicyRemediationInput
func (GroupPolicyRemediationArray) ElementType ¶
func (GroupPolicyRemediationArray) ElementType() reflect.Type
func (GroupPolicyRemediationArray) ToGroupPolicyRemediationArrayOutput ¶
func (i GroupPolicyRemediationArray) ToGroupPolicyRemediationArrayOutput() GroupPolicyRemediationArrayOutput
func (GroupPolicyRemediationArray) ToGroupPolicyRemediationArrayOutputWithContext ¶
func (i GroupPolicyRemediationArray) ToGroupPolicyRemediationArrayOutputWithContext(ctx context.Context) GroupPolicyRemediationArrayOutput
func (GroupPolicyRemediationArray) ToOutput ¶ added in v5.52.0
func (i GroupPolicyRemediationArray) ToOutput(ctx context.Context) pulumix.Output[[]*GroupPolicyRemediation]
type GroupPolicyRemediationArrayInput ¶
type GroupPolicyRemediationArrayInput interface { pulumi.Input ToGroupPolicyRemediationArrayOutput() GroupPolicyRemediationArrayOutput ToGroupPolicyRemediationArrayOutputWithContext(context.Context) GroupPolicyRemediationArrayOutput }
GroupPolicyRemediationArrayInput is an input type that accepts GroupPolicyRemediationArray and GroupPolicyRemediationArrayOutput values. You can construct a concrete instance of `GroupPolicyRemediationArrayInput` via:
GroupPolicyRemediationArray{ GroupPolicyRemediationArgs{...} }
type GroupPolicyRemediationArrayOutput ¶
type GroupPolicyRemediationArrayOutput struct{ *pulumi.OutputState }
func (GroupPolicyRemediationArrayOutput) ElementType ¶
func (GroupPolicyRemediationArrayOutput) ElementType() reflect.Type
func (GroupPolicyRemediationArrayOutput) Index ¶
func (o GroupPolicyRemediationArrayOutput) Index(i pulumi.IntInput) GroupPolicyRemediationOutput
func (GroupPolicyRemediationArrayOutput) ToGroupPolicyRemediationArrayOutput ¶
func (o GroupPolicyRemediationArrayOutput) ToGroupPolicyRemediationArrayOutput() GroupPolicyRemediationArrayOutput
func (GroupPolicyRemediationArrayOutput) ToGroupPolicyRemediationArrayOutputWithContext ¶
func (o GroupPolicyRemediationArrayOutput) ToGroupPolicyRemediationArrayOutputWithContext(ctx context.Context) GroupPolicyRemediationArrayOutput
func (GroupPolicyRemediationArrayOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyRemediationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*GroupPolicyRemediation]
type GroupPolicyRemediationInput ¶
type GroupPolicyRemediationInput interface { pulumi.Input ToGroupPolicyRemediationOutput() GroupPolicyRemediationOutput ToGroupPolicyRemediationOutputWithContext(ctx context.Context) GroupPolicyRemediationOutput }
type GroupPolicyRemediationMap ¶
type GroupPolicyRemediationMap map[string]GroupPolicyRemediationInput
func (GroupPolicyRemediationMap) ElementType ¶
func (GroupPolicyRemediationMap) ElementType() reflect.Type
func (GroupPolicyRemediationMap) ToGroupPolicyRemediationMapOutput ¶
func (i GroupPolicyRemediationMap) ToGroupPolicyRemediationMapOutput() GroupPolicyRemediationMapOutput
func (GroupPolicyRemediationMap) ToGroupPolicyRemediationMapOutputWithContext ¶
func (i GroupPolicyRemediationMap) ToGroupPolicyRemediationMapOutputWithContext(ctx context.Context) GroupPolicyRemediationMapOutput
func (GroupPolicyRemediationMap) ToOutput ¶ added in v5.52.0
func (i GroupPolicyRemediationMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupPolicyRemediation]
type GroupPolicyRemediationMapInput ¶
type GroupPolicyRemediationMapInput interface { pulumi.Input ToGroupPolicyRemediationMapOutput() GroupPolicyRemediationMapOutput ToGroupPolicyRemediationMapOutputWithContext(context.Context) GroupPolicyRemediationMapOutput }
GroupPolicyRemediationMapInput is an input type that accepts GroupPolicyRemediationMap and GroupPolicyRemediationMapOutput values. You can construct a concrete instance of `GroupPolicyRemediationMapInput` via:
GroupPolicyRemediationMap{ "key": GroupPolicyRemediationArgs{...} }
type GroupPolicyRemediationMapOutput ¶
type GroupPolicyRemediationMapOutput struct{ *pulumi.OutputState }
func (GroupPolicyRemediationMapOutput) ElementType ¶
func (GroupPolicyRemediationMapOutput) ElementType() reflect.Type
func (GroupPolicyRemediationMapOutput) MapIndex ¶
func (o GroupPolicyRemediationMapOutput) MapIndex(k pulumi.StringInput) GroupPolicyRemediationOutput
func (GroupPolicyRemediationMapOutput) ToGroupPolicyRemediationMapOutput ¶
func (o GroupPolicyRemediationMapOutput) ToGroupPolicyRemediationMapOutput() GroupPolicyRemediationMapOutput
func (GroupPolicyRemediationMapOutput) ToGroupPolicyRemediationMapOutputWithContext ¶
func (o GroupPolicyRemediationMapOutput) ToGroupPolicyRemediationMapOutputWithContext(ctx context.Context) GroupPolicyRemediationMapOutput
func (GroupPolicyRemediationMapOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyRemediationMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupPolicyRemediation]
type GroupPolicyRemediationOutput ¶
type GroupPolicyRemediationOutput struct{ *pulumi.OutputState }
func (GroupPolicyRemediationOutput) ElementType ¶
func (GroupPolicyRemediationOutput) ElementType() reflect.Type
func (GroupPolicyRemediationOutput) FailurePercentage ¶ added in v5.18.0
func (o GroupPolicyRemediationOutput) FailurePercentage() pulumi.Float64PtrOutput
func (GroupPolicyRemediationOutput) LocationFilters ¶ added in v5.5.0
func (o GroupPolicyRemediationOutput) LocationFilters() pulumi.StringArrayOutput
func (GroupPolicyRemediationOutput) ManagementGroupId ¶ added in v5.5.0
func (o GroupPolicyRemediationOutput) ManagementGroupId() pulumi.StringOutput
func (GroupPolicyRemediationOutput) Name ¶ added in v5.5.0
func (o GroupPolicyRemediationOutput) Name() pulumi.StringOutput
func (GroupPolicyRemediationOutput) ParallelDeployments ¶ added in v5.18.0
func (o GroupPolicyRemediationOutput) ParallelDeployments() pulumi.IntPtrOutput
func (GroupPolicyRemediationOutput) PolicyAssignmentId ¶ added in v5.5.0
func (o GroupPolicyRemediationOutput) PolicyAssignmentId() pulumi.StringOutput
func (GroupPolicyRemediationOutput) PolicyDefinitionId
deprecated
added in
v5.5.0
func (o GroupPolicyRemediationOutput) PolicyDefinitionId() pulumi.StringPtrOutput
Deprecated: `policy_definition_id` will be removed in version 4.0 of the AzureRM Provider in favour of `policy_definition_reference_id`.
func (GroupPolicyRemediationOutput) PolicyDefinitionReferenceId ¶ added in v5.21.0
func (o GroupPolicyRemediationOutput) PolicyDefinitionReferenceId() pulumi.StringPtrOutput
func (GroupPolicyRemediationOutput) ResourceCount ¶ added in v5.18.0
func (o GroupPolicyRemediationOutput) ResourceCount() pulumi.IntPtrOutput
func (GroupPolicyRemediationOutput) ResourceDiscoveryMode
deprecated
added in
v5.5.0
func (o GroupPolicyRemediationOutput) ResourceDiscoveryMode() pulumi.StringPtrOutput
Deprecated: `resource_discovery_mode` will be removed in version 4.0 of the AzureRM Provider as evaluating compliance before remediation is only supported at subscription scope and below.
func (GroupPolicyRemediationOutput) ToGroupPolicyRemediationOutput ¶
func (o GroupPolicyRemediationOutput) ToGroupPolicyRemediationOutput() GroupPolicyRemediationOutput
func (GroupPolicyRemediationOutput) ToGroupPolicyRemediationOutputWithContext ¶
func (o GroupPolicyRemediationOutput) ToGroupPolicyRemediationOutputWithContext(ctx context.Context) GroupPolicyRemediationOutput
func (GroupPolicyRemediationOutput) ToOutput ¶ added in v5.52.0
func (o GroupPolicyRemediationOutput) ToOutput(ctx context.Context) pulumix.Output[*GroupPolicyRemediation]
type GroupPolicyRemediationState ¶
type GroupPolicyRemediationState struct { FailurePercentage pulumi.Float64PtrInput LocationFilters pulumi.StringArrayInput ManagementGroupId pulumi.StringPtrInput Name pulumi.StringPtrInput ParallelDeployments pulumi.IntPtrInput PolicyAssignmentId pulumi.StringPtrInput // Deprecated: `policy_definition_id` will be removed in version 4.0 of the AzureRM Provider in favour of `policy_definition_reference_id`. PolicyDefinitionId pulumi.StringPtrInput PolicyDefinitionReferenceId pulumi.StringPtrInput ResourceCount pulumi.IntPtrInput // Deprecated: `resource_discovery_mode` will be removed in version 4.0 of the AzureRM Provider as evaluating compliance before remediation is only supported at subscription scope and below. ResourceDiscoveryMode pulumi.StringPtrInput }
func (GroupPolicyRemediationState) ElementType ¶
func (GroupPolicyRemediationState) ElementType() reflect.Type
type GroupState ¶
type GroupState struct { // A friendly name for this Management Group. If not specified, this will be the same as the `name`. DisplayName pulumi.StringPtrInput // The name or UUID for this Management Group, which needs to be unique across your tenant. A new UUID will be generated if not provided. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the Parent Management Group. ParentManagementGroupId pulumi.StringPtrInput // A list of Subscription GUIDs which should be assigned to the Management Group. // // > **Note:** To clear all Subscriptions from the Management Group set `subscriptionIds` to an empty list SubscriptionIds pulumi.StringArrayInput }
func (GroupState) ElementType ¶
func (GroupState) ElementType() reflect.Type
type GroupSubscriptionAssociation ¶
type GroupSubscriptionAssociation struct { pulumi.CustomResourceState // The ID of the Management Group to associate the Subscription with. Changing this forces a new Management to be created. ManagementGroupId pulumi.StringOutput `pulumi:"managementGroupId"` // The ID of the Subscription to be associated with the Management Group. Changing this forces a new Management to be created. SubscriptionId pulumi.StringOutput `pulumi:"subscriptionId"` }
Manages a Management Group Subscription Association.
!> **Note:** When using this resource, configuring `subscriptionIds` on the `management.Group` resource is not supported.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleGroup, err := management.LookupGroup(ctx, &management.LookupGroupArgs{ Name: pulumi.StringRef("exampleManagementGroup"), }, nil) if err != nil { return err } exampleSubscription, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{ SubscriptionId: pulumi.StringRef("12345678-1234-1234-1234-123456789012"), }, nil) if err != nil { return err } _, err = management.NewGroupSubscriptionAssociation(ctx, "exampleGroupSubscriptionAssociation", &management.GroupSubscriptionAssociationArgs{ ManagementGroupId: *pulumi.String(exampleGroup.Id), SubscriptionId: *pulumi.String(exampleSubscription.Id), }) if err != nil { return err } return nil }) }
```
## Import
Managements can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:management/groupSubscriptionAssociation:GroupSubscriptionAssociation example /managementGroup/MyManagementGroup/subscription/12345678-1234-1234-1234-123456789012
```
func GetGroupSubscriptionAssociation ¶
func GetGroupSubscriptionAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GroupSubscriptionAssociationState, opts ...pulumi.ResourceOption) (*GroupSubscriptionAssociation, error)
GetGroupSubscriptionAssociation gets an existing GroupSubscriptionAssociation 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 NewGroupSubscriptionAssociation ¶
func NewGroupSubscriptionAssociation(ctx *pulumi.Context, name string, args *GroupSubscriptionAssociationArgs, opts ...pulumi.ResourceOption) (*GroupSubscriptionAssociation, error)
NewGroupSubscriptionAssociation registers a new resource with the given unique name, arguments, and options.
func (*GroupSubscriptionAssociation) ElementType ¶
func (*GroupSubscriptionAssociation) ElementType() reflect.Type
func (*GroupSubscriptionAssociation) ToGroupSubscriptionAssociationOutput ¶
func (i *GroupSubscriptionAssociation) ToGroupSubscriptionAssociationOutput() GroupSubscriptionAssociationOutput
func (*GroupSubscriptionAssociation) ToGroupSubscriptionAssociationOutputWithContext ¶
func (i *GroupSubscriptionAssociation) ToGroupSubscriptionAssociationOutputWithContext(ctx context.Context) GroupSubscriptionAssociationOutput
func (*GroupSubscriptionAssociation) ToOutput ¶ added in v5.52.0
func (i *GroupSubscriptionAssociation) ToOutput(ctx context.Context) pulumix.Output[*GroupSubscriptionAssociation]
type GroupSubscriptionAssociationArgs ¶
type GroupSubscriptionAssociationArgs struct { // The ID of the Management Group to associate the Subscription with. Changing this forces a new Management to be created. ManagementGroupId pulumi.StringInput // The ID of the Subscription to be associated with the Management Group. Changing this forces a new Management to be created. SubscriptionId pulumi.StringInput }
The set of arguments for constructing a GroupSubscriptionAssociation resource.
func (GroupSubscriptionAssociationArgs) ElementType ¶
func (GroupSubscriptionAssociationArgs) ElementType() reflect.Type
type GroupSubscriptionAssociationArray ¶
type GroupSubscriptionAssociationArray []GroupSubscriptionAssociationInput
func (GroupSubscriptionAssociationArray) ElementType ¶
func (GroupSubscriptionAssociationArray) ElementType() reflect.Type
func (GroupSubscriptionAssociationArray) ToGroupSubscriptionAssociationArrayOutput ¶
func (i GroupSubscriptionAssociationArray) ToGroupSubscriptionAssociationArrayOutput() GroupSubscriptionAssociationArrayOutput
func (GroupSubscriptionAssociationArray) ToGroupSubscriptionAssociationArrayOutputWithContext ¶
func (i GroupSubscriptionAssociationArray) ToGroupSubscriptionAssociationArrayOutputWithContext(ctx context.Context) GroupSubscriptionAssociationArrayOutput
func (GroupSubscriptionAssociationArray) ToOutput ¶ added in v5.52.0
func (i GroupSubscriptionAssociationArray) ToOutput(ctx context.Context) pulumix.Output[[]*GroupSubscriptionAssociation]
type GroupSubscriptionAssociationArrayInput ¶
type GroupSubscriptionAssociationArrayInput interface { pulumi.Input ToGroupSubscriptionAssociationArrayOutput() GroupSubscriptionAssociationArrayOutput ToGroupSubscriptionAssociationArrayOutputWithContext(context.Context) GroupSubscriptionAssociationArrayOutput }
GroupSubscriptionAssociationArrayInput is an input type that accepts GroupSubscriptionAssociationArray and GroupSubscriptionAssociationArrayOutput values. You can construct a concrete instance of `GroupSubscriptionAssociationArrayInput` via:
GroupSubscriptionAssociationArray{ GroupSubscriptionAssociationArgs{...} }
type GroupSubscriptionAssociationArrayOutput ¶
type GroupSubscriptionAssociationArrayOutput struct{ *pulumi.OutputState }
func (GroupSubscriptionAssociationArrayOutput) ElementType ¶
func (GroupSubscriptionAssociationArrayOutput) ElementType() reflect.Type
func (GroupSubscriptionAssociationArrayOutput) ToGroupSubscriptionAssociationArrayOutput ¶
func (o GroupSubscriptionAssociationArrayOutput) ToGroupSubscriptionAssociationArrayOutput() GroupSubscriptionAssociationArrayOutput
func (GroupSubscriptionAssociationArrayOutput) ToGroupSubscriptionAssociationArrayOutputWithContext ¶
func (o GroupSubscriptionAssociationArrayOutput) ToGroupSubscriptionAssociationArrayOutputWithContext(ctx context.Context) GroupSubscriptionAssociationArrayOutput
func (GroupSubscriptionAssociationArrayOutput) ToOutput ¶ added in v5.52.0
func (o GroupSubscriptionAssociationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*GroupSubscriptionAssociation]
type GroupSubscriptionAssociationInput ¶
type GroupSubscriptionAssociationInput interface { pulumi.Input ToGroupSubscriptionAssociationOutput() GroupSubscriptionAssociationOutput ToGroupSubscriptionAssociationOutputWithContext(ctx context.Context) GroupSubscriptionAssociationOutput }
type GroupSubscriptionAssociationMap ¶
type GroupSubscriptionAssociationMap map[string]GroupSubscriptionAssociationInput
func (GroupSubscriptionAssociationMap) ElementType ¶
func (GroupSubscriptionAssociationMap) ElementType() reflect.Type
func (GroupSubscriptionAssociationMap) ToGroupSubscriptionAssociationMapOutput ¶
func (i GroupSubscriptionAssociationMap) ToGroupSubscriptionAssociationMapOutput() GroupSubscriptionAssociationMapOutput
func (GroupSubscriptionAssociationMap) ToGroupSubscriptionAssociationMapOutputWithContext ¶
func (i GroupSubscriptionAssociationMap) ToGroupSubscriptionAssociationMapOutputWithContext(ctx context.Context) GroupSubscriptionAssociationMapOutput
func (GroupSubscriptionAssociationMap) ToOutput ¶ added in v5.52.0
func (i GroupSubscriptionAssociationMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupSubscriptionAssociation]
type GroupSubscriptionAssociationMapInput ¶
type GroupSubscriptionAssociationMapInput interface { pulumi.Input ToGroupSubscriptionAssociationMapOutput() GroupSubscriptionAssociationMapOutput ToGroupSubscriptionAssociationMapOutputWithContext(context.Context) GroupSubscriptionAssociationMapOutput }
GroupSubscriptionAssociationMapInput is an input type that accepts GroupSubscriptionAssociationMap and GroupSubscriptionAssociationMapOutput values. You can construct a concrete instance of `GroupSubscriptionAssociationMapInput` via:
GroupSubscriptionAssociationMap{ "key": GroupSubscriptionAssociationArgs{...} }
type GroupSubscriptionAssociationMapOutput ¶
type GroupSubscriptionAssociationMapOutput struct{ *pulumi.OutputState }
func (GroupSubscriptionAssociationMapOutput) ElementType ¶
func (GroupSubscriptionAssociationMapOutput) ElementType() reflect.Type
func (GroupSubscriptionAssociationMapOutput) MapIndex ¶
func (o GroupSubscriptionAssociationMapOutput) MapIndex(k pulumi.StringInput) GroupSubscriptionAssociationOutput
func (GroupSubscriptionAssociationMapOutput) ToGroupSubscriptionAssociationMapOutput ¶
func (o GroupSubscriptionAssociationMapOutput) ToGroupSubscriptionAssociationMapOutput() GroupSubscriptionAssociationMapOutput
func (GroupSubscriptionAssociationMapOutput) ToGroupSubscriptionAssociationMapOutputWithContext ¶
func (o GroupSubscriptionAssociationMapOutput) ToGroupSubscriptionAssociationMapOutputWithContext(ctx context.Context) GroupSubscriptionAssociationMapOutput
func (GroupSubscriptionAssociationMapOutput) ToOutput ¶ added in v5.52.0
func (o GroupSubscriptionAssociationMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupSubscriptionAssociation]
type GroupSubscriptionAssociationOutput ¶
type GroupSubscriptionAssociationOutput struct{ *pulumi.OutputState }
func (GroupSubscriptionAssociationOutput) ElementType ¶
func (GroupSubscriptionAssociationOutput) ElementType() reflect.Type
func (GroupSubscriptionAssociationOutput) ManagementGroupId ¶ added in v5.5.0
func (o GroupSubscriptionAssociationOutput) ManagementGroupId() pulumi.StringOutput
The ID of the Management Group to associate the Subscription with. Changing this forces a new Management to be created.
func (GroupSubscriptionAssociationOutput) SubscriptionId ¶ added in v5.5.0
func (o GroupSubscriptionAssociationOutput) SubscriptionId() pulumi.StringOutput
The ID of the Subscription to be associated with the Management Group. Changing this forces a new Management to be created.
func (GroupSubscriptionAssociationOutput) ToGroupSubscriptionAssociationOutput ¶
func (o GroupSubscriptionAssociationOutput) ToGroupSubscriptionAssociationOutput() GroupSubscriptionAssociationOutput
func (GroupSubscriptionAssociationOutput) ToGroupSubscriptionAssociationOutputWithContext ¶
func (o GroupSubscriptionAssociationOutput) ToGroupSubscriptionAssociationOutputWithContext(ctx context.Context) GroupSubscriptionAssociationOutput
func (GroupSubscriptionAssociationOutput) ToOutput ¶ added in v5.52.0
func (o GroupSubscriptionAssociationOutput) ToOutput(ctx context.Context) pulumix.Output[*GroupSubscriptionAssociation]
type GroupSubscriptionAssociationState ¶
type GroupSubscriptionAssociationState struct { // The ID of the Management Group to associate the Subscription with. Changing this forces a new Management to be created. ManagementGroupId pulumi.StringPtrInput // The ID of the Subscription to be associated with the Management Group. Changing this forces a new Management to be created. SubscriptionId pulumi.StringPtrInput }
func (GroupSubscriptionAssociationState) ElementType ¶
func (GroupSubscriptionAssociationState) ElementType() reflect.Type
type GroupTemplateDeployment ¶
type GroupTemplateDeployment struct { pulumi.CustomResourceState // The Debug Level which should be used for this Resource Group Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`. DebugLevel pulumi.StringPtrOutput `pulumi:"debugLevel"` // The Azure Region where the Template should exist. Changing this forces a new Template to be created. Location pulumi.StringOutput `pulumi:"location"` // The ID of the Management Group to apply the Deployment Template to. Changing this forces a new resource to be created. ManagementGroupId pulumi.StringOutput `pulumi:"managementGroupId"` // The name which should be used for this Template Deployment. Changing this forces a new Template Deployment to be created. Name pulumi.StringOutput `pulumi:"name"` // The JSON Content of the Outputs of the ARM Template Deployment. OutputContent pulumi.StringOutput `pulumi:"outputContent"` // The contents of the ARM Template parameters file - containing a JSON list of parameters. ParametersContent pulumi.StringOutput `pulumi:"parametersContent"` // A mapping of tags which should be assigned to the Template. Tags pulumi.StringMapOutput `pulumi:"tags"` // The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with `templateSpecVersionId`. TemplateContent pulumi.StringOutput `pulumi:"templateContent"` // The ID of the Template Spec Version to deploy. Cannot be specified with `templateContent`. TemplateSpecVersionId pulumi.StringPtrOutput `pulumi:"templateSpecVersionId"` }
Manages a Template Deployment at a Management Group Scope.
> **Note:** Deleting a Deployment at the Management Group Scope will not delete any resources created by the deployment.
> **Note:** Deployments to a Management Group are always Incrementally applied. Existing resources that are not part of the template will not be removed.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleGroup, err := management.LookupGroup(ctx, &management.LookupGroupArgs{ Name: pulumi.StringRef("00000000-0000-0000-0000-000000000000"), }, nil) if err != nil { return err } _, err = management.NewGroupTemplateDeployment(ctx, "exampleGroupTemplateDeployment", &management.GroupTemplateDeploymentArgs{ Location: pulumi.String("West Europe"), ManagementGroupId: *pulumi.String(exampleGroup.Id), TemplateContent: pulumi.String(`{ "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "policyAssignmentName": { "type": "string", "defaultValue": "[guid(parameters('policyDefinitionID'), resourceGroup().name)]", "metadata": { "description": "Specifies the name of the policy assignment, can be used defined or an idempotent name as the defaultValue provides." } }, "policyDefinitionID": { "type": "string", "metadata": { "description": "Specifies the ID of the policy definition or policy set definition being assigned." } } }, "resources": [ { "type": "Microsoft.Authorization/policyAssignments", "name": "[parameters('policyAssignmentName')]", "apiVersion": "2019-09-01", "properties": { "scope": "[subscriptionResourceId('Microsoft.Resources/resourceGroups', resourceGroup().name)]", "policyDefinitionId": "[parameters('policyDefinitionID')]" } } ] }
`),
ParametersContent: pulumi.String(`{ "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", "contentVersion": "1.0.0.0", "parameters": { "policyDefinitionID": { "value": "/providers/Microsoft.Authorization/policyDefinitions/0a914e76-4921-4c19-b460-a2d36003525a" } } }
`),
}) if err != nil { return err } return nil }) }
```
```go package main
import (
"os" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := os.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) } func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleGroup, err := management.LookupGroup(ctx, &management.LookupGroupArgs{ Name: pulumi.StringRef("00000000-0000-0000-0000-000000000000"), }, nil) if err != nil { return err } _, err = management.NewGroupTemplateDeployment(ctx, "exampleGroupTemplateDeployment", &management.GroupTemplateDeploymentArgs{ Location: pulumi.String("West Europe"), ManagementGroupId: *pulumi.String(exampleGroup.Id), TemplateContent: readFileOrPanic("templates/example-deploy-template.json"), ParametersContent: readFileOrPanic("templates/example-deploy-params.json"), }) if err != nil { return err } return nil }) }
```
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleGroup, err := management.LookupGroup(ctx, &management.LookupGroupArgs{ Name: pulumi.StringRef("00000000-0000-0000-0000-000000000000"), }, nil) if err != nil { return err } exampleTemplateSpecVersion, err := core.GetTemplateSpecVersion(ctx, &core.GetTemplateSpecVersionArgs{ Name: "exampleTemplateForManagementGroup", ResourceGroupName: "exampleResourceGroup", Version: "v1.0.9", }, nil) if err != nil { return err } _, err = management.NewGroupTemplateDeployment(ctx, "exampleGroupTemplateDeployment", &management.GroupTemplateDeploymentArgs{ Location: pulumi.String("West Europe"), ManagementGroupId: *pulumi.String(exampleGroup.Id), TemplateSpecVersionId: *pulumi.String(exampleTemplateSpecVersion.Id), }) if err != nil { return err } return nil }) }
```
## Import
Management Group Template Deployments can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:management/groupTemplateDeployment:GroupTemplateDeployment example /providers/Microsoft.Management/managementGroups/my-management-group-id/providers/Microsoft.Resources/deployments/deploy1
```
func GetGroupTemplateDeployment ¶
func GetGroupTemplateDeployment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GroupTemplateDeploymentState, opts ...pulumi.ResourceOption) (*GroupTemplateDeployment, error)
GetGroupTemplateDeployment gets an existing GroupTemplateDeployment 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 NewGroupTemplateDeployment ¶
func NewGroupTemplateDeployment(ctx *pulumi.Context, name string, args *GroupTemplateDeploymentArgs, opts ...pulumi.ResourceOption) (*GroupTemplateDeployment, error)
NewGroupTemplateDeployment registers a new resource with the given unique name, arguments, and options.
func (*GroupTemplateDeployment) ElementType ¶
func (*GroupTemplateDeployment) ElementType() reflect.Type
func (*GroupTemplateDeployment) ToGroupTemplateDeploymentOutput ¶
func (i *GroupTemplateDeployment) ToGroupTemplateDeploymentOutput() GroupTemplateDeploymentOutput
func (*GroupTemplateDeployment) ToGroupTemplateDeploymentOutputWithContext ¶
func (i *GroupTemplateDeployment) ToGroupTemplateDeploymentOutputWithContext(ctx context.Context) GroupTemplateDeploymentOutput
func (*GroupTemplateDeployment) ToOutput ¶ added in v5.52.0
func (i *GroupTemplateDeployment) ToOutput(ctx context.Context) pulumix.Output[*GroupTemplateDeployment]
type GroupTemplateDeploymentArgs ¶
type GroupTemplateDeploymentArgs struct { // The Debug Level which should be used for this Resource Group Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`. DebugLevel pulumi.StringPtrInput // The Azure Region where the Template should exist. Changing this forces a new Template to be created. Location pulumi.StringPtrInput // The ID of the Management Group to apply the Deployment Template to. Changing this forces a new resource to be created. ManagementGroupId pulumi.StringInput // The name which should be used for this Template Deployment. Changing this forces a new Template Deployment to be created. Name pulumi.StringPtrInput // The contents of the ARM Template parameters file - containing a JSON list of parameters. ParametersContent pulumi.StringPtrInput // A mapping of tags which should be assigned to the Template. Tags pulumi.StringMapInput // The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with `templateSpecVersionId`. TemplateContent pulumi.StringPtrInput // The ID of the Template Spec Version to deploy. Cannot be specified with `templateContent`. TemplateSpecVersionId pulumi.StringPtrInput }
The set of arguments for constructing a GroupTemplateDeployment resource.
func (GroupTemplateDeploymentArgs) ElementType ¶
func (GroupTemplateDeploymentArgs) ElementType() reflect.Type
type GroupTemplateDeploymentArray ¶
type GroupTemplateDeploymentArray []GroupTemplateDeploymentInput
func (GroupTemplateDeploymentArray) ElementType ¶
func (GroupTemplateDeploymentArray) ElementType() reflect.Type
func (GroupTemplateDeploymentArray) ToGroupTemplateDeploymentArrayOutput ¶
func (i GroupTemplateDeploymentArray) ToGroupTemplateDeploymentArrayOutput() GroupTemplateDeploymentArrayOutput
func (GroupTemplateDeploymentArray) ToGroupTemplateDeploymentArrayOutputWithContext ¶
func (i GroupTemplateDeploymentArray) ToGroupTemplateDeploymentArrayOutputWithContext(ctx context.Context) GroupTemplateDeploymentArrayOutput
func (GroupTemplateDeploymentArray) ToOutput ¶ added in v5.52.0
func (i GroupTemplateDeploymentArray) ToOutput(ctx context.Context) pulumix.Output[[]*GroupTemplateDeployment]
type GroupTemplateDeploymentArrayInput ¶
type GroupTemplateDeploymentArrayInput interface { pulumi.Input ToGroupTemplateDeploymentArrayOutput() GroupTemplateDeploymentArrayOutput ToGroupTemplateDeploymentArrayOutputWithContext(context.Context) GroupTemplateDeploymentArrayOutput }
GroupTemplateDeploymentArrayInput is an input type that accepts GroupTemplateDeploymentArray and GroupTemplateDeploymentArrayOutput values. You can construct a concrete instance of `GroupTemplateDeploymentArrayInput` via:
GroupTemplateDeploymentArray{ GroupTemplateDeploymentArgs{...} }
type GroupTemplateDeploymentArrayOutput ¶
type GroupTemplateDeploymentArrayOutput struct{ *pulumi.OutputState }
func (GroupTemplateDeploymentArrayOutput) ElementType ¶
func (GroupTemplateDeploymentArrayOutput) ElementType() reflect.Type
func (GroupTemplateDeploymentArrayOutput) Index ¶
func (o GroupTemplateDeploymentArrayOutput) Index(i pulumi.IntInput) GroupTemplateDeploymentOutput
func (GroupTemplateDeploymentArrayOutput) ToGroupTemplateDeploymentArrayOutput ¶
func (o GroupTemplateDeploymentArrayOutput) ToGroupTemplateDeploymentArrayOutput() GroupTemplateDeploymentArrayOutput
func (GroupTemplateDeploymentArrayOutput) ToGroupTemplateDeploymentArrayOutputWithContext ¶
func (o GroupTemplateDeploymentArrayOutput) ToGroupTemplateDeploymentArrayOutputWithContext(ctx context.Context) GroupTemplateDeploymentArrayOutput
func (GroupTemplateDeploymentArrayOutput) ToOutput ¶ added in v5.52.0
func (o GroupTemplateDeploymentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*GroupTemplateDeployment]
type GroupTemplateDeploymentInput ¶
type GroupTemplateDeploymentInput interface { pulumi.Input ToGroupTemplateDeploymentOutput() GroupTemplateDeploymentOutput ToGroupTemplateDeploymentOutputWithContext(ctx context.Context) GroupTemplateDeploymentOutput }
type GroupTemplateDeploymentMap ¶
type GroupTemplateDeploymentMap map[string]GroupTemplateDeploymentInput
func (GroupTemplateDeploymentMap) ElementType ¶
func (GroupTemplateDeploymentMap) ElementType() reflect.Type
func (GroupTemplateDeploymentMap) ToGroupTemplateDeploymentMapOutput ¶
func (i GroupTemplateDeploymentMap) ToGroupTemplateDeploymentMapOutput() GroupTemplateDeploymentMapOutput
func (GroupTemplateDeploymentMap) ToGroupTemplateDeploymentMapOutputWithContext ¶
func (i GroupTemplateDeploymentMap) ToGroupTemplateDeploymentMapOutputWithContext(ctx context.Context) GroupTemplateDeploymentMapOutput
func (GroupTemplateDeploymentMap) ToOutput ¶ added in v5.52.0
func (i GroupTemplateDeploymentMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupTemplateDeployment]
type GroupTemplateDeploymentMapInput ¶
type GroupTemplateDeploymentMapInput interface { pulumi.Input ToGroupTemplateDeploymentMapOutput() GroupTemplateDeploymentMapOutput ToGroupTemplateDeploymentMapOutputWithContext(context.Context) GroupTemplateDeploymentMapOutput }
GroupTemplateDeploymentMapInput is an input type that accepts GroupTemplateDeploymentMap and GroupTemplateDeploymentMapOutput values. You can construct a concrete instance of `GroupTemplateDeploymentMapInput` via:
GroupTemplateDeploymentMap{ "key": GroupTemplateDeploymentArgs{...} }
type GroupTemplateDeploymentMapOutput ¶
type GroupTemplateDeploymentMapOutput struct{ *pulumi.OutputState }
func (GroupTemplateDeploymentMapOutput) ElementType ¶
func (GroupTemplateDeploymentMapOutput) ElementType() reflect.Type
func (GroupTemplateDeploymentMapOutput) MapIndex ¶
func (o GroupTemplateDeploymentMapOutput) MapIndex(k pulumi.StringInput) GroupTemplateDeploymentOutput
func (GroupTemplateDeploymentMapOutput) ToGroupTemplateDeploymentMapOutput ¶
func (o GroupTemplateDeploymentMapOutput) ToGroupTemplateDeploymentMapOutput() GroupTemplateDeploymentMapOutput
func (GroupTemplateDeploymentMapOutput) ToGroupTemplateDeploymentMapOutputWithContext ¶
func (o GroupTemplateDeploymentMapOutput) ToGroupTemplateDeploymentMapOutputWithContext(ctx context.Context) GroupTemplateDeploymentMapOutput
func (GroupTemplateDeploymentMapOutput) ToOutput ¶ added in v5.52.0
func (o GroupTemplateDeploymentMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupTemplateDeployment]
type GroupTemplateDeploymentOutput ¶
type GroupTemplateDeploymentOutput struct{ *pulumi.OutputState }
func (GroupTemplateDeploymentOutput) DebugLevel ¶ added in v5.5.0
func (o GroupTemplateDeploymentOutput) DebugLevel() pulumi.StringPtrOutput
The Debug Level which should be used for this Resource Group Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`.
func (GroupTemplateDeploymentOutput) ElementType ¶
func (GroupTemplateDeploymentOutput) ElementType() reflect.Type
func (GroupTemplateDeploymentOutput) Location ¶ added in v5.5.0
func (o GroupTemplateDeploymentOutput) Location() pulumi.StringOutput
The Azure Region where the Template should exist. Changing this forces a new Template to be created.
func (GroupTemplateDeploymentOutput) ManagementGroupId ¶ added in v5.5.0
func (o GroupTemplateDeploymentOutput) ManagementGroupId() pulumi.StringOutput
The ID of the Management Group to apply the Deployment Template to. Changing this forces a new resource to be created.
func (GroupTemplateDeploymentOutput) Name ¶ added in v5.5.0
func (o GroupTemplateDeploymentOutput) Name() pulumi.StringOutput
The name which should be used for this Template Deployment. Changing this forces a new Template Deployment to be created.
func (GroupTemplateDeploymentOutput) OutputContent ¶ added in v5.5.0
func (o GroupTemplateDeploymentOutput) OutputContent() pulumi.StringOutput
The JSON Content of the Outputs of the ARM Template Deployment.
func (GroupTemplateDeploymentOutput) ParametersContent ¶ added in v5.5.0
func (o GroupTemplateDeploymentOutput) ParametersContent() pulumi.StringOutput
The contents of the ARM Template parameters file - containing a JSON list of parameters.
func (GroupTemplateDeploymentOutput) Tags ¶ added in v5.5.0
func (o GroupTemplateDeploymentOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Template.
func (GroupTemplateDeploymentOutput) TemplateContent ¶ added in v5.5.0
func (o GroupTemplateDeploymentOutput) TemplateContent() pulumi.StringOutput
The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with `templateSpecVersionId`.
func (GroupTemplateDeploymentOutput) TemplateSpecVersionId ¶ added in v5.5.0
func (o GroupTemplateDeploymentOutput) TemplateSpecVersionId() pulumi.StringPtrOutput
The ID of the Template Spec Version to deploy. Cannot be specified with `templateContent`.
func (GroupTemplateDeploymentOutput) ToGroupTemplateDeploymentOutput ¶
func (o GroupTemplateDeploymentOutput) ToGroupTemplateDeploymentOutput() GroupTemplateDeploymentOutput
func (GroupTemplateDeploymentOutput) ToGroupTemplateDeploymentOutputWithContext ¶
func (o GroupTemplateDeploymentOutput) ToGroupTemplateDeploymentOutputWithContext(ctx context.Context) GroupTemplateDeploymentOutput
func (GroupTemplateDeploymentOutput) ToOutput ¶ added in v5.52.0
func (o GroupTemplateDeploymentOutput) ToOutput(ctx context.Context) pulumix.Output[*GroupTemplateDeployment]
type GroupTemplateDeploymentState ¶
type GroupTemplateDeploymentState struct { // The Debug Level which should be used for this Resource Group Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`. DebugLevel pulumi.StringPtrInput // The Azure Region where the Template should exist. Changing this forces a new Template to be created. Location pulumi.StringPtrInput // The ID of the Management Group to apply the Deployment Template to. Changing this forces a new resource to be created. ManagementGroupId pulumi.StringPtrInput // The name which should be used for this Template Deployment. Changing this forces a new Template Deployment to be created. Name pulumi.StringPtrInput // The JSON Content of the Outputs of the ARM Template Deployment. OutputContent pulumi.StringPtrInput // The contents of the ARM Template parameters file - containing a JSON list of parameters. ParametersContent pulumi.StringPtrInput // A mapping of tags which should be assigned to the Template. Tags pulumi.StringMapInput // The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with `templateSpecVersionId`. TemplateContent pulumi.StringPtrInput // The ID of the Template Spec Version to deploy. Cannot be specified with `templateContent`. TemplateSpecVersionId pulumi.StringPtrInput }
func (GroupTemplateDeploymentState) ElementType ¶
func (GroupTemplateDeploymentState) ElementType() reflect.Type
type Lock ¶
type Lock struct { pulumi.CustomResourceState // Specifies the Level to be used for this Lock. Possible values are `CanNotDelete` and `ReadOnly`. Changing this forces a new resource to be created. // // > **Note:** `CanNotDelete` means authorized users are able to read and modify the resources, but not delete. `ReadOnly` means authorized users can only read from a resource, but they can't modify or delete it. LockLevel pulumi.StringOutput `pulumi:"lockLevel"` // Specifies the name of the Management Lock. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Specifies some notes about the lock. Maximum of 512 characters. Changing this forces a new resource to be created. Notes pulumi.StringPtrOutput `pulumi:"notes"` // Specifies the scope at which the Management Lock should be created. Changing this forces a new resource to be created. Scope pulumi.StringOutput `pulumi:"scope"` }
Manages a Management Lock which is scoped to a Subscription, Resource Group or Resource.
## Example Usage ### Subscription Level Lock)
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.LookupSubscription(ctx, nil, nil) if err != nil { return err } _, err = management.NewLock(ctx, "subscription-level", &management.LockArgs{ Scope: *pulumi.String(current.Id), LockLevel: pulumi.String("CanNotDelete"), Notes: pulumi.String("Items can't be deleted in this subscription!"), }) if err != nil { return err } return nil }) }
``` ### Resource Group Level Lock)
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = management.NewLock(ctx, "resource-group-level", &management.LockArgs{ Scope: example.ID(), LockLevel: pulumi.String("ReadOnly"), Notes: pulumi.String("This Resource Group is Read-Only"), }) if err != nil { return err } return nil }) }
``` ### Resource Level Lock)
```go package main
import (
"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/network" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } examplePublicIp, err := network.NewPublicIp(ctx, "examplePublicIp", &network.PublicIpArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AllocationMethod: pulumi.String("Static"), IdleTimeoutInMinutes: pulumi.Int(30), }) if err != nil { return err } _, err = management.NewLock(ctx, "public-ip", &management.LockArgs{ Scope: examplePublicIp.ID(), LockLevel: pulumi.String("CanNotDelete"), Notes: pulumi.String("Locked because it's needed by a third-party"), }) if err != nil { return err } return nil }) }
```
## Import
Management Locks can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:management/lock:Lock lock1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Authorization/locks/lock1
```
func GetLock ¶
func GetLock(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LockState, opts ...pulumi.ResourceOption) (*Lock, error)
GetLock gets an existing Lock 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 NewLock ¶
func NewLock(ctx *pulumi.Context, name string, args *LockArgs, opts ...pulumi.ResourceOption) (*Lock, error)
NewLock registers a new resource with the given unique name, arguments, and options.
func (*Lock) ElementType ¶
func (*Lock) ToLockOutput ¶
func (i *Lock) ToLockOutput() LockOutput
func (*Lock) ToLockOutputWithContext ¶
func (i *Lock) ToLockOutputWithContext(ctx context.Context) LockOutput
type LockArgs ¶
type LockArgs struct { // Specifies the Level to be used for this Lock. Possible values are `CanNotDelete` and `ReadOnly`. Changing this forces a new resource to be created. // // > **Note:** `CanNotDelete` means authorized users are able to read and modify the resources, but not delete. `ReadOnly` means authorized users can only read from a resource, but they can't modify or delete it. LockLevel pulumi.StringInput // Specifies the name of the Management Lock. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies some notes about the lock. Maximum of 512 characters. Changing this forces a new resource to be created. Notes pulumi.StringPtrInput // Specifies the scope at which the Management Lock should be created. Changing this forces a new resource to be created. Scope pulumi.StringInput }
The set of arguments for constructing a Lock resource.
func (LockArgs) ElementType ¶
type LockArray ¶
type LockArray []LockInput
func (LockArray) ElementType ¶
func (LockArray) ToLockArrayOutput ¶
func (i LockArray) ToLockArrayOutput() LockArrayOutput
func (LockArray) ToLockArrayOutputWithContext ¶
func (i LockArray) ToLockArrayOutputWithContext(ctx context.Context) LockArrayOutput
type LockArrayInput ¶
type LockArrayInput interface { pulumi.Input ToLockArrayOutput() LockArrayOutput ToLockArrayOutputWithContext(context.Context) LockArrayOutput }
LockArrayInput is an input type that accepts LockArray and LockArrayOutput values. You can construct a concrete instance of `LockArrayInput` via:
LockArray{ LockArgs{...} }
type LockArrayOutput ¶
type LockArrayOutput struct{ *pulumi.OutputState }
func (LockArrayOutput) ElementType ¶
func (LockArrayOutput) ElementType() reflect.Type
func (LockArrayOutput) Index ¶
func (o LockArrayOutput) Index(i pulumi.IntInput) LockOutput
func (LockArrayOutput) ToLockArrayOutput ¶
func (o LockArrayOutput) ToLockArrayOutput() LockArrayOutput
func (LockArrayOutput) ToLockArrayOutputWithContext ¶
func (o LockArrayOutput) ToLockArrayOutputWithContext(ctx context.Context) LockArrayOutput
type LockInput ¶
type LockInput interface { pulumi.Input ToLockOutput() LockOutput ToLockOutputWithContext(ctx context.Context) LockOutput }
type LockMap ¶
func (LockMap) ElementType ¶
func (LockMap) ToLockMapOutput ¶
func (i LockMap) ToLockMapOutput() LockMapOutput
func (LockMap) ToLockMapOutputWithContext ¶
func (i LockMap) ToLockMapOutputWithContext(ctx context.Context) LockMapOutput
type LockMapInput ¶
type LockMapInput interface { pulumi.Input ToLockMapOutput() LockMapOutput ToLockMapOutputWithContext(context.Context) LockMapOutput }
LockMapInput is an input type that accepts LockMap and LockMapOutput values. You can construct a concrete instance of `LockMapInput` via:
LockMap{ "key": LockArgs{...} }
type LockMapOutput ¶
type LockMapOutput struct{ *pulumi.OutputState }
func (LockMapOutput) ElementType ¶
func (LockMapOutput) ElementType() reflect.Type
func (LockMapOutput) MapIndex ¶
func (o LockMapOutput) MapIndex(k pulumi.StringInput) LockOutput
func (LockMapOutput) ToLockMapOutput ¶
func (o LockMapOutput) ToLockMapOutput() LockMapOutput
func (LockMapOutput) ToLockMapOutputWithContext ¶
func (o LockMapOutput) ToLockMapOutputWithContext(ctx context.Context) LockMapOutput
type LockOutput ¶
type LockOutput struct{ *pulumi.OutputState }
func (LockOutput) ElementType ¶
func (LockOutput) ElementType() reflect.Type
func (LockOutput) LockLevel ¶ added in v5.5.0
func (o LockOutput) LockLevel() pulumi.StringOutput
Specifies the Level to be used for this Lock. Possible values are `CanNotDelete` and `ReadOnly`. Changing this forces a new resource to be created.
> **Note:** `CanNotDelete` means authorized users are able to read and modify the resources, but not delete. `ReadOnly` means authorized users can only read from a resource, but they can't modify or delete it.
func (LockOutput) Name ¶ added in v5.5.0
func (o LockOutput) Name() pulumi.StringOutput
Specifies the name of the Management Lock. Changing this forces a new resource to be created.
func (LockOutput) Notes ¶ added in v5.5.0
func (o LockOutput) Notes() pulumi.StringPtrOutput
Specifies some notes about the lock. Maximum of 512 characters. Changing this forces a new resource to be created.
func (LockOutput) Scope ¶ added in v5.5.0
func (o LockOutput) Scope() pulumi.StringOutput
Specifies the scope at which the Management Lock should be created. Changing this forces a new resource to be created.
func (LockOutput) ToLockOutput ¶
func (o LockOutput) ToLockOutput() LockOutput
func (LockOutput) ToLockOutputWithContext ¶
func (o LockOutput) ToLockOutputWithContext(ctx context.Context) LockOutput
type LockState ¶
type LockState struct { // Specifies the Level to be used for this Lock. Possible values are `CanNotDelete` and `ReadOnly`. Changing this forces a new resource to be created. // // > **Note:** `CanNotDelete` means authorized users are able to read and modify the resources, but not delete. `ReadOnly` means authorized users can only read from a resource, but they can't modify or delete it. LockLevel pulumi.StringPtrInput // Specifies the name of the Management Lock. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies some notes about the lock. Maximum of 512 characters. Changing this forces a new resource to be created. Notes pulumi.StringPtrInput // Specifies the scope at which the Management Lock should be created. Changing this forces a new resource to be created. Scope pulumi.StringPtrInput }
func (LockState) ElementType ¶
type LookupGroupArgs ¶
type LookupGroupArgs struct { // Specifies the display name of this Management Group. // // > **NOTE** Whilst multiple management groups may share the same display name, when filtering, the provider expects a single management group to be found with this name. DisplayName *string `pulumi:"displayName"` // Specifies the name or UUID of this Management Group. Name *string `pulumi:"name"` }
A collection of arguments for invoking getGroup.
type LookupGroupOutputArgs ¶
type LookupGroupOutputArgs struct { // Specifies the display name of this Management Group. // // > **NOTE** Whilst multiple management groups may share the same display name, when filtering, the provider expects a single management group to be found with this name. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` // Specifies the name or UUID of this Management Group. Name pulumi.StringPtrInput `pulumi:"name"` }
A collection of arguments for invoking getGroup.
func (LookupGroupOutputArgs) ElementType ¶
func (LookupGroupOutputArgs) ElementType() reflect.Type
type LookupGroupResult ¶
type LookupGroupResult struct { // A list of Management Group IDs which directly or indirectly belong to this Management Group. AllManagementGroupIds []string `pulumi:"allManagementGroupIds"` // A list of Subscription IDs which are assigned to this Management Group or its children Management Groups. AllSubscriptionIds []string `pulumi:"allSubscriptionIds"` DisplayName string `pulumi:"displayName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of Management Group IDs which directly belong to this Management Group. ManagementGroupIds []string `pulumi:"managementGroupIds"` Name string `pulumi:"name"` // The ID of any Parent Management Group. ParentManagementGroupId string `pulumi:"parentManagementGroupId"` // A list of Subscription IDs which are directly assigned to this Management Group. SubscriptionIds []string `pulumi:"subscriptionIds"` }
A collection of values returned by getGroup.
func LookupGroup ¶
func LookupGroup(ctx *pulumi.Context, args *LookupGroupArgs, opts ...pulumi.InvokeOption) (*LookupGroupResult, error)
Use this data source to access information about an existing Management Group.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := management.LookupGroup(ctx, &management.LookupGroupArgs{ Name: pulumi.StringRef("00000000-0000-0000-0000-000000000000"), }, nil) if err != nil { return err } ctx.Export("displayName", example.DisplayName) return nil }) }
```
type LookupGroupResultOutput ¶
type LookupGroupResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGroup.
func LookupGroupOutput ¶
func LookupGroupOutput(ctx *pulumi.Context, args LookupGroupOutputArgs, opts ...pulumi.InvokeOption) LookupGroupResultOutput
func (LookupGroupResultOutput) AllManagementGroupIds ¶ added in v5.16.0
func (o LookupGroupResultOutput) AllManagementGroupIds() pulumi.StringArrayOutput
A list of Management Group IDs which directly or indirectly belong to this Management Group.
func (LookupGroupResultOutput) AllSubscriptionIds ¶ added in v5.16.0
func (o LookupGroupResultOutput) AllSubscriptionIds() pulumi.StringArrayOutput
A list of Subscription IDs which are assigned to this Management Group or its children Management Groups.
func (LookupGroupResultOutput) DisplayName ¶
func (o LookupGroupResultOutput) DisplayName() pulumi.StringOutput
func (LookupGroupResultOutput) ElementType ¶
func (LookupGroupResultOutput) ElementType() reflect.Type
func (LookupGroupResultOutput) Id ¶
func (o LookupGroupResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupGroupResultOutput) ManagementGroupIds ¶ added in v5.16.0
func (o LookupGroupResultOutput) ManagementGroupIds() pulumi.StringArrayOutput
A list of Management Group IDs which directly belong to this Management Group.
func (LookupGroupResultOutput) Name ¶
func (o LookupGroupResultOutput) Name() pulumi.StringOutput
func (LookupGroupResultOutput) ParentManagementGroupId ¶
func (o LookupGroupResultOutput) ParentManagementGroupId() pulumi.StringOutput
The ID of any Parent Management Group.
func (LookupGroupResultOutput) SubscriptionIds ¶
func (o LookupGroupResultOutput) SubscriptionIds() pulumi.StringArrayOutput
A list of Subscription IDs which are directly assigned to this Management Group.
func (LookupGroupResultOutput) ToLookupGroupResultOutput ¶
func (o LookupGroupResultOutput) ToLookupGroupResultOutput() LookupGroupResultOutput
func (LookupGroupResultOutput) ToLookupGroupResultOutputWithContext ¶
func (o LookupGroupResultOutput) ToLookupGroupResultOutputWithContext(ctx context.Context) LookupGroupResultOutput
func (LookupGroupResultOutput) ToOutput ¶ added in v5.52.0
func (o LookupGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGroupResult]
type LookupGroupTemplateDeploymentArgs ¶ added in v5.11.0
type LookupGroupTemplateDeploymentArgs struct { // The ID of the Management Group to which this template was applied. ManagementGroupId string `pulumi:"managementGroupId"` // The name of this Management Group Template Deployment. Name string `pulumi:"name"` }
A collection of arguments for invoking getGroupTemplateDeployment.
type LookupGroupTemplateDeploymentOutputArgs ¶ added in v5.11.0
type LookupGroupTemplateDeploymentOutputArgs struct { // The ID of the Management Group to which this template was applied. ManagementGroupId pulumi.StringInput `pulumi:"managementGroupId"` // The name of this Management Group Template Deployment. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getGroupTemplateDeployment.
func (LookupGroupTemplateDeploymentOutputArgs) ElementType ¶ added in v5.11.0
func (LookupGroupTemplateDeploymentOutputArgs) ElementType() reflect.Type
type LookupGroupTemplateDeploymentResult ¶ added in v5.11.0
type LookupGroupTemplateDeploymentResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` ManagementGroupId string `pulumi:"managementGroupId"` Name string `pulumi:"name"` // The JSON Content of the Outputs of the ARM Template Deployment. OutputContent string `pulumi:"outputContent"` }
A collection of values returned by getGroupTemplateDeployment.
func LookupGroupTemplateDeployment ¶ added in v5.11.0
func LookupGroupTemplateDeployment(ctx *pulumi.Context, args *LookupGroupTemplateDeploymentArgs, opts ...pulumi.InvokeOption) (*LookupGroupTemplateDeploymentResult, error)
Use this data source to access information about an existing Management Group Template Deployment.
type LookupGroupTemplateDeploymentResultOutput ¶ added in v5.11.0
type LookupGroupTemplateDeploymentResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGroupTemplateDeployment.
func LookupGroupTemplateDeploymentOutput ¶ added in v5.11.0
func LookupGroupTemplateDeploymentOutput(ctx *pulumi.Context, args LookupGroupTemplateDeploymentOutputArgs, opts ...pulumi.InvokeOption) LookupGroupTemplateDeploymentResultOutput
func (LookupGroupTemplateDeploymentResultOutput) ElementType ¶ added in v5.11.0
func (LookupGroupTemplateDeploymentResultOutput) ElementType() reflect.Type
func (LookupGroupTemplateDeploymentResultOutput) Id ¶ added in v5.11.0
func (o LookupGroupTemplateDeploymentResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupGroupTemplateDeploymentResultOutput) ManagementGroupId ¶ added in v5.11.0
func (o LookupGroupTemplateDeploymentResultOutput) ManagementGroupId() pulumi.StringOutput
func (LookupGroupTemplateDeploymentResultOutput) Name ¶ added in v5.11.0
func (o LookupGroupTemplateDeploymentResultOutput) Name() pulumi.StringOutput
func (LookupGroupTemplateDeploymentResultOutput) OutputContent ¶ added in v5.11.0
func (o LookupGroupTemplateDeploymentResultOutput) OutputContent() pulumi.StringOutput
The JSON Content of the Outputs of the ARM Template Deployment.
func (LookupGroupTemplateDeploymentResultOutput) ToLookupGroupTemplateDeploymentResultOutput ¶ added in v5.11.0
func (o LookupGroupTemplateDeploymentResultOutput) ToLookupGroupTemplateDeploymentResultOutput() LookupGroupTemplateDeploymentResultOutput
func (LookupGroupTemplateDeploymentResultOutput) ToLookupGroupTemplateDeploymentResultOutputWithContext ¶ added in v5.11.0
func (o LookupGroupTemplateDeploymentResultOutput) ToLookupGroupTemplateDeploymentResultOutputWithContext(ctx context.Context) LookupGroupTemplateDeploymentResultOutput
func (LookupGroupTemplateDeploymentResultOutput) ToOutput ¶ added in v5.52.0
func (o LookupGroupTemplateDeploymentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGroupTemplateDeploymentResult]
type PrivateLink ¶ added in v5.52.0
type PrivateLink struct { pulumi.CustomResourceState // The Azure Region where the Resource Management Private Link should exist. Changing this forces a new Resource Management Private Link to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of this Resource Management Private Link. Changing this forces a new Resource Management Private Link to be created. Name pulumi.StringOutput `pulumi:"name"` // Specifies the name of the Resource Group within which this Resource Management Private Link should exist. Changing this forces a new Resource Management Private Link to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
Manages a Resource Management Private Link to restrict access for managing resources in the tenant.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = management.NewPrivateLink(ctx, "examplePrivateLink", &management.PrivateLinkArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, }) if err != nil { return err } return nil }) }
```
## Import
An existing Resource Management Private Link can be imported into Terraform using the `resource id`, e.g.
```sh
$ pulumi import azure:management/privateLink:PrivateLink example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Authorization/resourceManagementPrivateLinks/link1
```
func GetPrivateLink ¶ added in v5.52.0
func GetPrivateLink(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PrivateLinkState, opts ...pulumi.ResourceOption) (*PrivateLink, error)
GetPrivateLink gets an existing PrivateLink 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 NewPrivateLink ¶ added in v5.52.0
func NewPrivateLink(ctx *pulumi.Context, name string, args *PrivateLinkArgs, opts ...pulumi.ResourceOption) (*PrivateLink, error)
NewPrivateLink registers a new resource with the given unique name, arguments, and options.
func (*PrivateLink) ElementType ¶ added in v5.52.0
func (*PrivateLink) ElementType() reflect.Type
func (*PrivateLink) ToOutput ¶ added in v5.52.0
func (i *PrivateLink) ToOutput(ctx context.Context) pulumix.Output[*PrivateLink]
func (*PrivateLink) ToPrivateLinkOutput ¶ added in v5.52.0
func (i *PrivateLink) ToPrivateLinkOutput() PrivateLinkOutput
func (*PrivateLink) ToPrivateLinkOutputWithContext ¶ added in v5.52.0
func (i *PrivateLink) ToPrivateLinkOutputWithContext(ctx context.Context) PrivateLinkOutput
type PrivateLinkArgs ¶ added in v5.52.0
type PrivateLinkArgs struct { // The Azure Region where the Resource Management Private Link should exist. Changing this forces a new Resource Management Private Link to be created. Location pulumi.StringPtrInput // Specifies the name of this Resource Management Private Link. Changing this forces a new Resource Management Private Link to be created. Name pulumi.StringPtrInput // Specifies the name of the Resource Group within which this Resource Management Private Link should exist. Changing this forces a new Resource Management Private Link to be created. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a PrivateLink resource.
func (PrivateLinkArgs) ElementType ¶ added in v5.52.0
func (PrivateLinkArgs) ElementType() reflect.Type
type PrivateLinkArray ¶ added in v5.52.0
type PrivateLinkArray []PrivateLinkInput
func (PrivateLinkArray) ElementType ¶ added in v5.52.0
func (PrivateLinkArray) ElementType() reflect.Type
func (PrivateLinkArray) ToOutput ¶ added in v5.52.0
func (i PrivateLinkArray) ToOutput(ctx context.Context) pulumix.Output[[]*PrivateLink]
func (PrivateLinkArray) ToPrivateLinkArrayOutput ¶ added in v5.52.0
func (i PrivateLinkArray) ToPrivateLinkArrayOutput() PrivateLinkArrayOutput
func (PrivateLinkArray) ToPrivateLinkArrayOutputWithContext ¶ added in v5.52.0
func (i PrivateLinkArray) ToPrivateLinkArrayOutputWithContext(ctx context.Context) PrivateLinkArrayOutput
type PrivateLinkArrayInput ¶ added in v5.52.0
type PrivateLinkArrayInput interface { pulumi.Input ToPrivateLinkArrayOutput() PrivateLinkArrayOutput ToPrivateLinkArrayOutputWithContext(context.Context) PrivateLinkArrayOutput }
PrivateLinkArrayInput is an input type that accepts PrivateLinkArray and PrivateLinkArrayOutput values. You can construct a concrete instance of `PrivateLinkArrayInput` via:
PrivateLinkArray{ PrivateLinkArgs{...} }
type PrivateLinkArrayOutput ¶ added in v5.52.0
type PrivateLinkArrayOutput struct{ *pulumi.OutputState }
func (PrivateLinkArrayOutput) ElementType ¶ added in v5.52.0
func (PrivateLinkArrayOutput) ElementType() reflect.Type
func (PrivateLinkArrayOutput) Index ¶ added in v5.52.0
func (o PrivateLinkArrayOutput) Index(i pulumi.IntInput) PrivateLinkOutput
func (PrivateLinkArrayOutput) ToOutput ¶ added in v5.52.0
func (o PrivateLinkArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*PrivateLink]
func (PrivateLinkArrayOutput) ToPrivateLinkArrayOutput ¶ added in v5.52.0
func (o PrivateLinkArrayOutput) ToPrivateLinkArrayOutput() PrivateLinkArrayOutput
func (PrivateLinkArrayOutput) ToPrivateLinkArrayOutputWithContext ¶ added in v5.52.0
func (o PrivateLinkArrayOutput) ToPrivateLinkArrayOutputWithContext(ctx context.Context) PrivateLinkArrayOutput
type PrivateLinkAssociation ¶ added in v5.54.0
type PrivateLinkAssociation struct { pulumi.CustomResourceState // Specifies the Management Group ID within which this Private Link Association should exist. Changing this forces a new Private Link Association to be created. // // > **Note:** For now, `managementGroupId` must be the ID of [Root Management Group](https://learn.microsoft.com/en-us/azure/governance/management-groups/overview#root-management-group-for-each-directory). ManagementGroupId pulumi.StringOutput `pulumi:"managementGroupId"` // Specifies the name of this Private Link Association, which should be a UUID. If `name` is not provided, a UUID will be generated, you should use the `ignoreChanges` attribute to ignore changes to this field. Changing this forces a new Private Link Association to be created. // // “`go // package main // // import ( // "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := management.NewPrivateLinkAssociation(ctx, "example", &management.PrivateLinkAssociationArgs{ // ManagementGroupId: pulumi.Any(azurerm_management_group.Example.Id), // ResourceManagementPrivateLinkId: pulumi.Any(azurerm_resource_management_private_link.Example.Id), // PublicNetworkAccessEnabled: pulumi.Bool(true), // }) // if err != nil { // return err // } // return nil // }) // } // “` Name pulumi.StringOutput `pulumi:"name"` // Whether public network access is allowed. Changing this forces a new Private Link Association to be created. PublicNetworkAccessEnabled pulumi.BoolOutput `pulumi:"publicNetworkAccessEnabled"` // The Resource ID of Resource Management Private Link. Changing this forces a new Private Link Association to be created. ResourceManagementPrivateLinkId pulumi.StringOutput `pulumi:"resourceManagementPrivateLinkId"` // The Tenant ID. TenantId pulumi.StringOutput `pulumi:"tenantId"` }
Manages a Resource Management Private Link Association.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "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 } _, err = management.LookupGroup(ctx, &management.LookupGroupArgs{ Name: pulumi.StringRef(exampleClientConfig.TenantId), }, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } examplePrivateLink, err := management.NewPrivateLink(ctx, "examplePrivateLink", &management.PrivateLinkArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, }) if err != nil { return err } _, err = random.NewRandomUuid(ctx, "exampleRandomUuid", nil) if err != nil { return err } _, err = management.NewPrivateLinkAssociation(ctx, "examplePrivateLinkAssociation", &management.PrivateLinkAssociationArgs{ ManagementGroupId: pulumi.Any(azurerm_management_group.Example.Id), ResourceManagementPrivateLinkId: examplePrivateLink.ID(), PublicNetworkAccessEnabled: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
An existing Private Link Association can be imported into Terraform using the `resource id`, e.g.
```sh
$ pulumi import azure:management/privateLinkAssociation:PrivateLinkAssociation example /providers/Microsoft.Management/managementGroups/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/privateLinkAssociations/00000000-0000-0000-0000-000000000000
```
func GetPrivateLinkAssociation ¶ added in v5.54.0
func GetPrivateLinkAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PrivateLinkAssociationState, opts ...pulumi.ResourceOption) (*PrivateLinkAssociation, error)
GetPrivateLinkAssociation gets an existing PrivateLinkAssociation 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 NewPrivateLinkAssociation ¶ added in v5.54.0
func NewPrivateLinkAssociation(ctx *pulumi.Context, name string, args *PrivateLinkAssociationArgs, opts ...pulumi.ResourceOption) (*PrivateLinkAssociation, error)
NewPrivateLinkAssociation registers a new resource with the given unique name, arguments, and options.
func (*PrivateLinkAssociation) ElementType ¶ added in v5.54.0
func (*PrivateLinkAssociation) ElementType() reflect.Type
func (*PrivateLinkAssociation) ToOutput ¶ added in v5.54.0
func (i *PrivateLinkAssociation) ToOutput(ctx context.Context) pulumix.Output[*PrivateLinkAssociation]
func (*PrivateLinkAssociation) ToPrivateLinkAssociationOutput ¶ added in v5.54.0
func (i *PrivateLinkAssociation) ToPrivateLinkAssociationOutput() PrivateLinkAssociationOutput
func (*PrivateLinkAssociation) ToPrivateLinkAssociationOutputWithContext ¶ added in v5.54.0
func (i *PrivateLinkAssociation) ToPrivateLinkAssociationOutputWithContext(ctx context.Context) PrivateLinkAssociationOutput
type PrivateLinkAssociationArgs ¶ added in v5.54.0
type PrivateLinkAssociationArgs struct { // Specifies the Management Group ID within which this Private Link Association should exist. Changing this forces a new Private Link Association to be created. // // > **Note:** For now, `managementGroupId` must be the ID of [Root Management Group](https://learn.microsoft.com/en-us/azure/governance/management-groups/overview#root-management-group-for-each-directory). ManagementGroupId pulumi.StringInput // Specifies the name of this Private Link Association, which should be a UUID. If `name` is not provided, a UUID will be generated, you should use the `ignoreChanges` attribute to ignore changes to this field. Changing this forces a new Private Link Association to be created. // // “`go // package main // // import ( // "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := management.NewPrivateLinkAssociation(ctx, "example", &management.PrivateLinkAssociationArgs{ // ManagementGroupId: pulumi.Any(azurerm_management_group.Example.Id), // ResourceManagementPrivateLinkId: pulumi.Any(azurerm_resource_management_private_link.Example.Id), // PublicNetworkAccessEnabled: pulumi.Bool(true), // }) // if err != nil { // return err // } // return nil // }) // } // “` Name pulumi.StringPtrInput // Whether public network access is allowed. Changing this forces a new Private Link Association to be created. PublicNetworkAccessEnabled pulumi.BoolInput // The Resource ID of Resource Management Private Link. Changing this forces a new Private Link Association to be created. ResourceManagementPrivateLinkId pulumi.StringInput }
The set of arguments for constructing a PrivateLinkAssociation resource.
func (PrivateLinkAssociationArgs) ElementType ¶ added in v5.54.0
func (PrivateLinkAssociationArgs) ElementType() reflect.Type
type PrivateLinkAssociationArray ¶ added in v5.54.0
type PrivateLinkAssociationArray []PrivateLinkAssociationInput
func (PrivateLinkAssociationArray) ElementType ¶ added in v5.54.0
func (PrivateLinkAssociationArray) ElementType() reflect.Type
func (PrivateLinkAssociationArray) ToOutput ¶ added in v5.54.0
func (i PrivateLinkAssociationArray) ToOutput(ctx context.Context) pulumix.Output[[]*PrivateLinkAssociation]
func (PrivateLinkAssociationArray) ToPrivateLinkAssociationArrayOutput ¶ added in v5.54.0
func (i PrivateLinkAssociationArray) ToPrivateLinkAssociationArrayOutput() PrivateLinkAssociationArrayOutput
func (PrivateLinkAssociationArray) ToPrivateLinkAssociationArrayOutputWithContext ¶ added in v5.54.0
func (i PrivateLinkAssociationArray) ToPrivateLinkAssociationArrayOutputWithContext(ctx context.Context) PrivateLinkAssociationArrayOutput
type PrivateLinkAssociationArrayInput ¶ added in v5.54.0
type PrivateLinkAssociationArrayInput interface { pulumi.Input ToPrivateLinkAssociationArrayOutput() PrivateLinkAssociationArrayOutput ToPrivateLinkAssociationArrayOutputWithContext(context.Context) PrivateLinkAssociationArrayOutput }
PrivateLinkAssociationArrayInput is an input type that accepts PrivateLinkAssociationArray and PrivateLinkAssociationArrayOutput values. You can construct a concrete instance of `PrivateLinkAssociationArrayInput` via:
PrivateLinkAssociationArray{ PrivateLinkAssociationArgs{...} }
type PrivateLinkAssociationArrayOutput ¶ added in v5.54.0
type PrivateLinkAssociationArrayOutput struct{ *pulumi.OutputState }
func (PrivateLinkAssociationArrayOutput) ElementType ¶ added in v5.54.0
func (PrivateLinkAssociationArrayOutput) ElementType() reflect.Type
func (PrivateLinkAssociationArrayOutput) Index ¶ added in v5.54.0
func (o PrivateLinkAssociationArrayOutput) Index(i pulumi.IntInput) PrivateLinkAssociationOutput
func (PrivateLinkAssociationArrayOutput) ToOutput ¶ added in v5.54.0
func (o PrivateLinkAssociationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*PrivateLinkAssociation]
func (PrivateLinkAssociationArrayOutput) ToPrivateLinkAssociationArrayOutput ¶ added in v5.54.0
func (o PrivateLinkAssociationArrayOutput) ToPrivateLinkAssociationArrayOutput() PrivateLinkAssociationArrayOutput
func (PrivateLinkAssociationArrayOutput) ToPrivateLinkAssociationArrayOutputWithContext ¶ added in v5.54.0
func (o PrivateLinkAssociationArrayOutput) ToPrivateLinkAssociationArrayOutputWithContext(ctx context.Context) PrivateLinkAssociationArrayOutput
type PrivateLinkAssociationInput ¶ added in v5.54.0
type PrivateLinkAssociationInput interface { pulumi.Input ToPrivateLinkAssociationOutput() PrivateLinkAssociationOutput ToPrivateLinkAssociationOutputWithContext(ctx context.Context) PrivateLinkAssociationOutput }
type PrivateLinkAssociationMap ¶ added in v5.54.0
type PrivateLinkAssociationMap map[string]PrivateLinkAssociationInput
func (PrivateLinkAssociationMap) ElementType ¶ added in v5.54.0
func (PrivateLinkAssociationMap) ElementType() reflect.Type
func (PrivateLinkAssociationMap) ToOutput ¶ added in v5.54.0
func (i PrivateLinkAssociationMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*PrivateLinkAssociation]
func (PrivateLinkAssociationMap) ToPrivateLinkAssociationMapOutput ¶ added in v5.54.0
func (i PrivateLinkAssociationMap) ToPrivateLinkAssociationMapOutput() PrivateLinkAssociationMapOutput
func (PrivateLinkAssociationMap) ToPrivateLinkAssociationMapOutputWithContext ¶ added in v5.54.0
func (i PrivateLinkAssociationMap) ToPrivateLinkAssociationMapOutputWithContext(ctx context.Context) PrivateLinkAssociationMapOutput
type PrivateLinkAssociationMapInput ¶ added in v5.54.0
type PrivateLinkAssociationMapInput interface { pulumi.Input ToPrivateLinkAssociationMapOutput() PrivateLinkAssociationMapOutput ToPrivateLinkAssociationMapOutputWithContext(context.Context) PrivateLinkAssociationMapOutput }
PrivateLinkAssociationMapInput is an input type that accepts PrivateLinkAssociationMap and PrivateLinkAssociationMapOutput values. You can construct a concrete instance of `PrivateLinkAssociationMapInput` via:
PrivateLinkAssociationMap{ "key": PrivateLinkAssociationArgs{...} }
type PrivateLinkAssociationMapOutput ¶ added in v5.54.0
type PrivateLinkAssociationMapOutput struct{ *pulumi.OutputState }
func (PrivateLinkAssociationMapOutput) ElementType ¶ added in v5.54.0
func (PrivateLinkAssociationMapOutput) ElementType() reflect.Type
func (PrivateLinkAssociationMapOutput) MapIndex ¶ added in v5.54.0
func (o PrivateLinkAssociationMapOutput) MapIndex(k pulumi.StringInput) PrivateLinkAssociationOutput
func (PrivateLinkAssociationMapOutput) ToOutput ¶ added in v5.54.0
func (o PrivateLinkAssociationMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*PrivateLinkAssociation]
func (PrivateLinkAssociationMapOutput) ToPrivateLinkAssociationMapOutput ¶ added in v5.54.0
func (o PrivateLinkAssociationMapOutput) ToPrivateLinkAssociationMapOutput() PrivateLinkAssociationMapOutput
func (PrivateLinkAssociationMapOutput) ToPrivateLinkAssociationMapOutputWithContext ¶ added in v5.54.0
func (o PrivateLinkAssociationMapOutput) ToPrivateLinkAssociationMapOutputWithContext(ctx context.Context) PrivateLinkAssociationMapOutput
type PrivateLinkAssociationOutput ¶ added in v5.54.0
type PrivateLinkAssociationOutput struct{ *pulumi.OutputState }
func (PrivateLinkAssociationOutput) ElementType ¶ added in v5.54.0
func (PrivateLinkAssociationOutput) ElementType() reflect.Type
func (PrivateLinkAssociationOutput) ManagementGroupId ¶ added in v5.54.0
func (o PrivateLinkAssociationOutput) ManagementGroupId() pulumi.StringOutput
Specifies the Management Group ID within which this Private Link Association should exist. Changing this forces a new Private Link Association to be created.
> **Note:** For now, `managementGroupId` must be the ID of [Root Management Group](https://learn.microsoft.com/en-us/azure/governance/management-groups/overview#root-management-group-for-each-directory).
func (PrivateLinkAssociationOutput) Name ¶ added in v5.54.0
func (o PrivateLinkAssociationOutput) Name() pulumi.StringOutput
Specifies the name of this Private Link Association, which should be a UUID. If `name` is not provided, a UUID will be generated, you should use the `ignoreChanges` attribute to ignore changes to this field. Changing this forces a new Private Link Association to be created.
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := management.NewPrivateLinkAssociation(ctx, "example", &management.PrivateLinkAssociationArgs{ ManagementGroupId: pulumi.Any(azurerm_management_group.Example.Id), ResourceManagementPrivateLinkId: pulumi.Any(azurerm_resource_management_private_link.Example.Id), PublicNetworkAccessEnabled: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
func (PrivateLinkAssociationOutput) PublicNetworkAccessEnabled ¶ added in v5.54.0
func (o PrivateLinkAssociationOutput) PublicNetworkAccessEnabled() pulumi.BoolOutput
Whether public network access is allowed. Changing this forces a new Private Link Association to be created.
func (PrivateLinkAssociationOutput) ResourceManagementPrivateLinkId ¶ added in v5.54.0
func (o PrivateLinkAssociationOutput) ResourceManagementPrivateLinkId() pulumi.StringOutput
The Resource ID of Resource Management Private Link. Changing this forces a new Private Link Association to be created.
func (PrivateLinkAssociationOutput) TenantId ¶ added in v5.54.0
func (o PrivateLinkAssociationOutput) TenantId() pulumi.StringOutput
The Tenant ID.
func (PrivateLinkAssociationOutput) ToOutput ¶ added in v5.54.0
func (o PrivateLinkAssociationOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateLinkAssociation]
func (PrivateLinkAssociationOutput) ToPrivateLinkAssociationOutput ¶ added in v5.54.0
func (o PrivateLinkAssociationOutput) ToPrivateLinkAssociationOutput() PrivateLinkAssociationOutput
func (PrivateLinkAssociationOutput) ToPrivateLinkAssociationOutputWithContext ¶ added in v5.54.0
func (o PrivateLinkAssociationOutput) ToPrivateLinkAssociationOutputWithContext(ctx context.Context) PrivateLinkAssociationOutput
type PrivateLinkAssociationState ¶ added in v5.54.0
type PrivateLinkAssociationState struct { // Specifies the Management Group ID within which this Private Link Association should exist. Changing this forces a new Private Link Association to be created. // // > **Note:** For now, `managementGroupId` must be the ID of [Root Management Group](https://learn.microsoft.com/en-us/azure/governance/management-groups/overview#root-management-group-for-each-directory). ManagementGroupId pulumi.StringPtrInput // Specifies the name of this Private Link Association, which should be a UUID. If `name` is not provided, a UUID will be generated, you should use the `ignoreChanges` attribute to ignore changes to this field. Changing this forces a new Private Link Association to be created. // // “`go // package main // // import ( // "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := management.NewPrivateLinkAssociation(ctx, "example", &management.PrivateLinkAssociationArgs{ // ManagementGroupId: pulumi.Any(azurerm_management_group.Example.Id), // ResourceManagementPrivateLinkId: pulumi.Any(azurerm_resource_management_private_link.Example.Id), // PublicNetworkAccessEnabled: pulumi.Bool(true), // }) // if err != nil { // return err // } // return nil // }) // } // “` Name pulumi.StringPtrInput // Whether public network access is allowed. Changing this forces a new Private Link Association to be created. PublicNetworkAccessEnabled pulumi.BoolPtrInput // The Resource ID of Resource Management Private Link. Changing this forces a new Private Link Association to be created. ResourceManagementPrivateLinkId pulumi.StringPtrInput // The Tenant ID. TenantId pulumi.StringPtrInput }
func (PrivateLinkAssociationState) ElementType ¶ added in v5.54.0
func (PrivateLinkAssociationState) ElementType() reflect.Type
type PrivateLinkInput ¶ added in v5.52.0
type PrivateLinkInput interface { pulumi.Input ToPrivateLinkOutput() PrivateLinkOutput ToPrivateLinkOutputWithContext(ctx context.Context) PrivateLinkOutput }
type PrivateLinkMap ¶ added in v5.52.0
type PrivateLinkMap map[string]PrivateLinkInput
func (PrivateLinkMap) ElementType ¶ added in v5.52.0
func (PrivateLinkMap) ElementType() reflect.Type
func (PrivateLinkMap) ToOutput ¶ added in v5.52.0
func (i PrivateLinkMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*PrivateLink]
func (PrivateLinkMap) ToPrivateLinkMapOutput ¶ added in v5.52.0
func (i PrivateLinkMap) ToPrivateLinkMapOutput() PrivateLinkMapOutput
func (PrivateLinkMap) ToPrivateLinkMapOutputWithContext ¶ added in v5.52.0
func (i PrivateLinkMap) ToPrivateLinkMapOutputWithContext(ctx context.Context) PrivateLinkMapOutput
type PrivateLinkMapInput ¶ added in v5.52.0
type PrivateLinkMapInput interface { pulumi.Input ToPrivateLinkMapOutput() PrivateLinkMapOutput ToPrivateLinkMapOutputWithContext(context.Context) PrivateLinkMapOutput }
PrivateLinkMapInput is an input type that accepts PrivateLinkMap and PrivateLinkMapOutput values. You can construct a concrete instance of `PrivateLinkMapInput` via:
PrivateLinkMap{ "key": PrivateLinkArgs{...} }
type PrivateLinkMapOutput ¶ added in v5.52.0
type PrivateLinkMapOutput struct{ *pulumi.OutputState }
func (PrivateLinkMapOutput) ElementType ¶ added in v5.52.0
func (PrivateLinkMapOutput) ElementType() reflect.Type
func (PrivateLinkMapOutput) MapIndex ¶ added in v5.52.0
func (o PrivateLinkMapOutput) MapIndex(k pulumi.StringInput) PrivateLinkOutput
func (PrivateLinkMapOutput) ToOutput ¶ added in v5.52.0
func (o PrivateLinkMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*PrivateLink]
func (PrivateLinkMapOutput) ToPrivateLinkMapOutput ¶ added in v5.52.0
func (o PrivateLinkMapOutput) ToPrivateLinkMapOutput() PrivateLinkMapOutput
func (PrivateLinkMapOutput) ToPrivateLinkMapOutputWithContext ¶ added in v5.52.0
func (o PrivateLinkMapOutput) ToPrivateLinkMapOutputWithContext(ctx context.Context) PrivateLinkMapOutput
type PrivateLinkOutput ¶ added in v5.52.0
type PrivateLinkOutput struct{ *pulumi.OutputState }
func (PrivateLinkOutput) ElementType ¶ added in v5.52.0
func (PrivateLinkOutput) ElementType() reflect.Type
func (PrivateLinkOutput) Location ¶ added in v5.52.0
func (o PrivateLinkOutput) Location() pulumi.StringOutput
The Azure Region where the Resource Management Private Link should exist. Changing this forces a new Resource Management Private Link to be created.
func (PrivateLinkOutput) Name ¶ added in v5.52.0
func (o PrivateLinkOutput) Name() pulumi.StringOutput
Specifies the name of this Resource Management Private Link. Changing this forces a new Resource Management Private Link to be created.
func (PrivateLinkOutput) ResourceGroupName ¶ added in v5.52.0
func (o PrivateLinkOutput) ResourceGroupName() pulumi.StringOutput
Specifies the name of the Resource Group within which this Resource Management Private Link should exist. Changing this forces a new Resource Management Private Link to be created.
func (PrivateLinkOutput) ToOutput ¶ added in v5.52.0
func (o PrivateLinkOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateLink]
func (PrivateLinkOutput) ToPrivateLinkOutput ¶ added in v5.52.0
func (o PrivateLinkOutput) ToPrivateLinkOutput() PrivateLinkOutput
func (PrivateLinkOutput) ToPrivateLinkOutputWithContext ¶ added in v5.52.0
func (o PrivateLinkOutput) ToPrivateLinkOutputWithContext(ctx context.Context) PrivateLinkOutput
type PrivateLinkState ¶ added in v5.52.0
type PrivateLinkState struct { // The Azure Region where the Resource Management Private Link should exist. Changing this forces a new Resource Management Private Link to be created. Location pulumi.StringPtrInput // Specifies the name of this Resource Management Private Link. Changing this forces a new Resource Management Private Link to be created. Name pulumi.StringPtrInput // Specifies the name of the Resource Group within which this Resource Management Private Link should exist. Changing this forces a new Resource Management Private Link to be created. ResourceGroupName pulumi.StringPtrInput }
func (PrivateLinkState) ElementType ¶ added in v5.52.0
func (PrivateLinkState) ElementType() reflect.Type