v20161201

package
v0.6.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	PolicyModeNotSpecified = PolicyMode("NotSpecified")
	PolicyModeIndexed      = PolicyMode("Indexed")
	PolicyModeAll          = PolicyMode("All")
)
View Source
const (
	PolicyTypeNotSpecified = PolicyType("NotSpecified")
	PolicyTypeBuiltIn      = PolicyType("BuiltIn")
	PolicyTypeCustom       = PolicyType("Custom")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupPolicyAssignmentArgs

type LookupPolicyAssignmentArgs struct {
	// The name of the policy assignment to get.
	PolicyAssignmentName string `pulumi:"policyAssignmentName"`
	// The scope of the policy assignment.
	Scope string `pulumi:"scope"`
}

type LookupPolicyAssignmentResult

type LookupPolicyAssignmentResult struct {
	// This message will be part of response in case of policy violation.
	Description *string `pulumi:"description"`
	// The display name of the policy assignment.
	DisplayName *string `pulumi:"displayName"`
	// The ID of the policy assignment.
	Id string `pulumi:"id"`
	// The name of the policy assignment.
	Name *string `pulumi:"name"`
	// Required if a parameter is used in policy rule.
	Parameters interface{} `pulumi:"parameters"`
	// The ID of the policy definition.
	PolicyDefinitionId *string `pulumi:"policyDefinitionId"`
	// The scope for the policy assignment.
	Scope *string `pulumi:"scope"`
	// The type of the policy assignment.
	Type *string `pulumi:"type"`
}

The policy assignment.

type LookupPolicyDefinitionArgs

type LookupPolicyDefinitionArgs struct {
	// The name of the policy definition to get.
	PolicyDefinitionName string `pulumi:"policyDefinitionName"`
}

type LookupPolicyDefinitionAtManagementGroupArgs added in v0.6.0

type LookupPolicyDefinitionAtManagementGroupArgs struct {
	// The ID of the management group.
	ManagementGroupId string `pulumi:"managementGroupId"`
	// The name of the policy definition to get.
	PolicyDefinitionName string `pulumi:"policyDefinitionName"`
}

type LookupPolicyDefinitionAtManagementGroupResult added in v0.6.0

type LookupPolicyDefinitionAtManagementGroupResult struct {
	// The policy definition description.
	Description *string `pulumi:"description"`
	// The display name of the policy definition.
	DisplayName *string `pulumi:"displayName"`
	// The ID of the policy definition.
	Id string `pulumi:"id"`
	// The policy definition metadata.
	Metadata interface{} `pulumi:"metadata"`
	// The policy definition mode. Possible values are NotSpecified, Indexed, and All.
	Mode *string `pulumi:"mode"`
	// The name of the policy definition.
	Name string `pulumi:"name"`
	// Required if a parameter is used in policy rule.
	Parameters interface{} `pulumi:"parameters"`
	// The policy rule.
	PolicyRule interface{} `pulumi:"policyRule"`
	// The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.
	PolicyType *string `pulumi:"policyType"`
}

The policy definition.

type LookupPolicyDefinitionResult

type LookupPolicyDefinitionResult struct {
	// The policy definition description.
	Description *string `pulumi:"description"`
	// The display name of the policy definition.
	DisplayName *string `pulumi:"displayName"`
	// The ID of the policy definition.
	Id string `pulumi:"id"`
	// The policy definition metadata.
	Metadata interface{} `pulumi:"metadata"`
	// The policy definition mode. Possible values are NotSpecified, Indexed, and All.
	Mode *string `pulumi:"mode"`
	// The name of the policy definition.
	Name string `pulumi:"name"`
	// Required if a parameter is used in policy rule.
	Parameters interface{} `pulumi:"parameters"`
	// The policy rule.
	PolicyRule interface{} `pulumi:"policyRule"`
	// The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.
	PolicyType *string `pulumi:"policyType"`
}

The policy definition.

type PolicyAssignment

type PolicyAssignment struct {
	pulumi.CustomResourceState

	// This message will be part of response in case of policy violation.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The display name of the policy assignment.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// The name of the policy assignment.
	Name pulumi.StringPtrOutput `pulumi:"name"`
	// Required if a parameter is used in policy rule.
	Parameters pulumi.AnyOutput `pulumi:"parameters"`
	// The ID of the policy definition.
	PolicyDefinitionId pulumi.StringPtrOutput `pulumi:"policyDefinitionId"`
	// The scope for the policy assignment.
	Scope pulumi.StringPtrOutput `pulumi:"scope"`
	// The type of the policy assignment.
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

The policy assignment.

func GetPolicyAssignment

func GetPolicyAssignment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyAssignmentState, opts ...pulumi.ResourceOption) (*PolicyAssignment, error)

GetPolicyAssignment gets an existing PolicyAssignment 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 NewPolicyAssignment

func NewPolicyAssignment(ctx *pulumi.Context,
	name string, args *PolicyAssignmentArgs, opts ...pulumi.ResourceOption) (*PolicyAssignment, error)

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

func (*PolicyAssignment) ElementType added in v0.2.6

func (*PolicyAssignment) ElementType() reflect.Type

func (*PolicyAssignment) ToPolicyAssignmentOutput added in v0.2.6

func (i *PolicyAssignment) ToPolicyAssignmentOutput() PolicyAssignmentOutput

func (*PolicyAssignment) ToPolicyAssignmentOutputWithContext added in v0.2.6

func (i *PolicyAssignment) ToPolicyAssignmentOutputWithContext(ctx context.Context) PolicyAssignmentOutput

type PolicyAssignmentArgs

type PolicyAssignmentArgs struct {
	// This message will be part of response in case of policy violation.
	Description pulumi.StringPtrInput
	// The display name of the policy assignment.
	DisplayName pulumi.StringPtrInput
	// The name of the policy assignment.
	Name pulumi.StringPtrInput
	// Required if a parameter is used in policy rule.
	Parameters pulumi.Input
	// The name of the policy assignment.
	PolicyAssignmentName pulumi.StringInput
	// The ID of the policy definition.
	PolicyDefinitionId pulumi.StringPtrInput
	// The scope for the policy assignment.
	Scope pulumi.StringInput
	// The type of the policy assignment.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a PolicyAssignment resource.

func (PolicyAssignmentArgs) ElementType

func (PolicyAssignmentArgs) ElementType() reflect.Type

type PolicyAssignmentInput added in v0.2.6

type PolicyAssignmentInput interface {
	pulumi.Input

	ToPolicyAssignmentOutput() PolicyAssignmentOutput
	ToPolicyAssignmentOutputWithContext(ctx context.Context) PolicyAssignmentOutput
}

type PolicyAssignmentOutput added in v0.2.6

type PolicyAssignmentOutput struct {
	*pulumi.OutputState
}

func (PolicyAssignmentOutput) ElementType added in v0.2.6

func (PolicyAssignmentOutput) ElementType() reflect.Type

func (PolicyAssignmentOutput) ToPolicyAssignmentOutput added in v0.2.6

func (o PolicyAssignmentOutput) ToPolicyAssignmentOutput() PolicyAssignmentOutput

func (PolicyAssignmentOutput) ToPolicyAssignmentOutputWithContext added in v0.2.6

func (o PolicyAssignmentOutput) ToPolicyAssignmentOutputWithContext(ctx context.Context) PolicyAssignmentOutput

type PolicyAssignmentState

type PolicyAssignmentState struct {
	// This message will be part of response in case of policy violation.
	Description pulumi.StringPtrInput
	// The display name of the policy assignment.
	DisplayName pulumi.StringPtrInput
	// The name of the policy assignment.
	Name pulumi.StringPtrInput
	// Required if a parameter is used in policy rule.
	Parameters pulumi.Input
	// The ID of the policy definition.
	PolicyDefinitionId pulumi.StringPtrInput
	// The scope for the policy assignment.
	Scope pulumi.StringPtrInput
	// The type of the policy assignment.
	Type pulumi.StringPtrInput
}

func (PolicyAssignmentState) ElementType

func (PolicyAssignmentState) ElementType() reflect.Type

type PolicyDefinition

type PolicyDefinition struct {
	pulumi.CustomResourceState

	// The policy definition description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The display name of the policy definition.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// The policy definition metadata.
	Metadata pulumi.AnyOutput `pulumi:"metadata"`
	// The policy definition mode. Possible values are NotSpecified, Indexed, and All.
	Mode pulumi.StringPtrOutput `pulumi:"mode"`
	// The name of the policy definition.
	Name pulumi.StringOutput `pulumi:"name"`
	// Required if a parameter is used in policy rule.
	Parameters pulumi.AnyOutput `pulumi:"parameters"`
	// The policy rule.
	PolicyRule pulumi.AnyOutput `pulumi:"policyRule"`
	// The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.
	PolicyType pulumi.StringPtrOutput `pulumi:"policyType"`
}

The policy definition.

func GetPolicyDefinition

func GetPolicyDefinition(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyDefinitionState, opts ...pulumi.ResourceOption) (*PolicyDefinition, error)

GetPolicyDefinition gets an existing PolicyDefinition 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 NewPolicyDefinition

func NewPolicyDefinition(ctx *pulumi.Context,
	name string, args *PolicyDefinitionArgs, opts ...pulumi.ResourceOption) (*PolicyDefinition, error)

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

func (*PolicyDefinition) ElementType added in v0.2.6

func (*PolicyDefinition) ElementType() reflect.Type

func (*PolicyDefinition) ToPolicyDefinitionOutput added in v0.2.6

func (i *PolicyDefinition) ToPolicyDefinitionOutput() PolicyDefinitionOutput

func (*PolicyDefinition) ToPolicyDefinitionOutputWithContext added in v0.2.6

func (i *PolicyDefinition) ToPolicyDefinitionOutputWithContext(ctx context.Context) PolicyDefinitionOutput

type PolicyDefinitionArgs

type PolicyDefinitionArgs struct {
	// The policy definition description.
	Description pulumi.StringPtrInput
	// The display name of the policy definition.
	DisplayName pulumi.StringPtrInput
	// The policy definition metadata.
	Metadata pulumi.Input
	// The policy definition mode. Possible values are NotSpecified, Indexed, and All.
	Mode pulumi.StringPtrInput
	// Required if a parameter is used in policy rule.
	Parameters pulumi.Input
	// The name of the policy definition to create.
	PolicyDefinitionName pulumi.StringInput
	// The policy rule.
	PolicyRule pulumi.Input
	// The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.
	PolicyType pulumi.StringPtrInput
}

The set of arguments for constructing a PolicyDefinition resource.

func (PolicyDefinitionArgs) ElementType

func (PolicyDefinitionArgs) ElementType() reflect.Type

type PolicyDefinitionAtManagementGroup added in v0.6.0

type PolicyDefinitionAtManagementGroup struct {
	pulumi.CustomResourceState

	// The policy definition description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The display name of the policy definition.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// The policy definition metadata.
	Metadata pulumi.AnyOutput `pulumi:"metadata"`
	// The policy definition mode. Possible values are NotSpecified, Indexed, and All.
	Mode pulumi.StringPtrOutput `pulumi:"mode"`
	// The name of the policy definition.
	Name pulumi.StringOutput `pulumi:"name"`
	// Required if a parameter is used in policy rule.
	Parameters pulumi.AnyOutput `pulumi:"parameters"`
	// The policy rule.
	PolicyRule pulumi.AnyOutput `pulumi:"policyRule"`
	// The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.
	PolicyType pulumi.StringPtrOutput `pulumi:"policyType"`
}

The policy definition.

func GetPolicyDefinitionAtManagementGroup added in v0.6.0

func GetPolicyDefinitionAtManagementGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyDefinitionAtManagementGroupState, opts ...pulumi.ResourceOption) (*PolicyDefinitionAtManagementGroup, error)

GetPolicyDefinitionAtManagementGroup gets an existing PolicyDefinitionAtManagementGroup 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 NewPolicyDefinitionAtManagementGroup added in v0.6.0

func NewPolicyDefinitionAtManagementGroup(ctx *pulumi.Context,
	name string, args *PolicyDefinitionAtManagementGroupArgs, opts ...pulumi.ResourceOption) (*PolicyDefinitionAtManagementGroup, error)

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

func (*PolicyDefinitionAtManagementGroup) ElementType added in v0.6.0

func (*PolicyDefinitionAtManagementGroup) ToPolicyDefinitionAtManagementGroupOutput added in v0.6.0

func (i *PolicyDefinitionAtManagementGroup) ToPolicyDefinitionAtManagementGroupOutput() PolicyDefinitionAtManagementGroupOutput

func (*PolicyDefinitionAtManagementGroup) ToPolicyDefinitionAtManagementGroupOutputWithContext added in v0.6.0

func (i *PolicyDefinitionAtManagementGroup) ToPolicyDefinitionAtManagementGroupOutputWithContext(ctx context.Context) PolicyDefinitionAtManagementGroupOutput

type PolicyDefinitionAtManagementGroupArgs added in v0.6.0

type PolicyDefinitionAtManagementGroupArgs struct {
	// The policy definition description.
	Description pulumi.StringPtrInput
	// The display name of the policy definition.
	DisplayName pulumi.StringPtrInput
	// The ID of the management group.
	ManagementGroupId pulumi.StringInput
	// The policy definition metadata.
	Metadata pulumi.Input
	// The policy definition mode. Possible values are NotSpecified, Indexed, and All.
	Mode pulumi.StringPtrInput
	// Required if a parameter is used in policy rule.
	Parameters pulumi.Input
	// The name of the policy definition to create.
	PolicyDefinitionName pulumi.StringInput
	// The policy rule.
	PolicyRule pulumi.Input
	// The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.
	PolicyType pulumi.StringPtrInput
}

The set of arguments for constructing a PolicyDefinitionAtManagementGroup resource.

func (PolicyDefinitionAtManagementGroupArgs) ElementType added in v0.6.0

type PolicyDefinitionAtManagementGroupInput added in v0.6.0

type PolicyDefinitionAtManagementGroupInput interface {
	pulumi.Input

	ToPolicyDefinitionAtManagementGroupOutput() PolicyDefinitionAtManagementGroupOutput
	ToPolicyDefinitionAtManagementGroupOutputWithContext(ctx context.Context) PolicyDefinitionAtManagementGroupOutput
}

type PolicyDefinitionAtManagementGroupOutput added in v0.6.0

type PolicyDefinitionAtManagementGroupOutput struct {
	*pulumi.OutputState
}

func (PolicyDefinitionAtManagementGroupOutput) ElementType added in v0.6.0

func (PolicyDefinitionAtManagementGroupOutput) ToPolicyDefinitionAtManagementGroupOutput added in v0.6.0

func (o PolicyDefinitionAtManagementGroupOutput) ToPolicyDefinitionAtManagementGroupOutput() PolicyDefinitionAtManagementGroupOutput

func (PolicyDefinitionAtManagementGroupOutput) ToPolicyDefinitionAtManagementGroupOutputWithContext added in v0.6.0

func (o PolicyDefinitionAtManagementGroupOutput) ToPolicyDefinitionAtManagementGroupOutputWithContext(ctx context.Context) PolicyDefinitionAtManagementGroupOutput

type PolicyDefinitionAtManagementGroupState added in v0.6.0

type PolicyDefinitionAtManagementGroupState struct {
	// The policy definition description.
	Description pulumi.StringPtrInput
	// The display name of the policy definition.
	DisplayName pulumi.StringPtrInput
	// The policy definition metadata.
	Metadata pulumi.Input
	// The policy definition mode. Possible values are NotSpecified, Indexed, and All.
	Mode pulumi.StringPtrInput
	// The name of the policy definition.
	Name pulumi.StringPtrInput
	// Required if a parameter is used in policy rule.
	Parameters pulumi.Input
	// The policy rule.
	PolicyRule pulumi.Input
	// The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.
	PolicyType pulumi.StringPtrInput
}

func (PolicyDefinitionAtManagementGroupState) ElementType added in v0.6.0

type PolicyDefinitionInput added in v0.2.6

type PolicyDefinitionInput interface {
	pulumi.Input

	ToPolicyDefinitionOutput() PolicyDefinitionOutput
	ToPolicyDefinitionOutputWithContext(ctx context.Context) PolicyDefinitionOutput
}

type PolicyDefinitionOutput added in v0.2.6

type PolicyDefinitionOutput struct {
	*pulumi.OutputState
}

func (PolicyDefinitionOutput) ElementType added in v0.2.6

func (PolicyDefinitionOutput) ElementType() reflect.Type

func (PolicyDefinitionOutput) ToPolicyDefinitionOutput added in v0.2.6

func (o PolicyDefinitionOutput) ToPolicyDefinitionOutput() PolicyDefinitionOutput

func (PolicyDefinitionOutput) ToPolicyDefinitionOutputWithContext added in v0.2.6

func (o PolicyDefinitionOutput) ToPolicyDefinitionOutputWithContext(ctx context.Context) PolicyDefinitionOutput

type PolicyDefinitionState

type PolicyDefinitionState struct {
	// The policy definition description.
	Description pulumi.StringPtrInput
	// The display name of the policy definition.
	DisplayName pulumi.StringPtrInput
	// The policy definition metadata.
	Metadata pulumi.Input
	// The policy definition mode. Possible values are NotSpecified, Indexed, and All.
	Mode pulumi.StringPtrInput
	// The name of the policy definition.
	Name pulumi.StringPtrInput
	// Required if a parameter is used in policy rule.
	Parameters pulumi.Input
	// The policy rule.
	PolicyRule pulumi.Input
	// The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.
	PolicyType pulumi.StringPtrInput
}

func (PolicyDefinitionState) ElementType

func (PolicyDefinitionState) ElementType() reflect.Type

type PolicyMode added in v0.3.1

type PolicyMode pulumi.String

The policy definition mode. Possible values are NotSpecified, Indexed, and All.

func (PolicyMode) ElementType added in v0.3.1

func (PolicyMode) ElementType() reflect.Type

func (PolicyMode) ToStringOutput added in v0.3.1

func (e PolicyMode) ToStringOutput() pulumi.StringOutput

func (PolicyMode) ToStringOutputWithContext added in v0.3.1

func (e PolicyMode) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (PolicyMode) ToStringPtrOutput added in v0.3.1

func (e PolicyMode) ToStringPtrOutput() pulumi.StringPtrOutput

func (PolicyMode) ToStringPtrOutputWithContext added in v0.3.1

func (e PolicyMode) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type PolicyType added in v0.3.1

type PolicyType pulumi.String

The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.

func (PolicyType) ElementType added in v0.3.1

func (PolicyType) ElementType() reflect.Type

func (PolicyType) ToStringOutput added in v0.3.1

func (e PolicyType) ToStringOutput() pulumi.StringOutput

func (PolicyType) ToStringOutputWithContext added in v0.3.1

func (e PolicyType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (PolicyType) ToStringPtrOutput added in v0.3.1

func (e PolicyType) ToStringPtrOutput() pulumi.StringPtrOutput

func (PolicyType) ToStringPtrOutputWithContext added in v0.3.1

func (e PolicyType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

Jump to

Keyboard shortcuts

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