v20160401

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 (
	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 {
	// 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"`
	// 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 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 name of the policy definition. If you do not specify a value for name, the value is inferred from the name value in the request URI.
	Name *string `pulumi:"name"`
	// 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

	// The display name of the policy assignment.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// The name of the policy assignment.
	Name pulumi.StringPtrOutput `pulumi:"name"`
	// 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 {
	// The display name of the policy assignment.
	DisplayName pulumi.StringPtrInput
	// The ID of the policy assignment.
	Id pulumi.StringPtrInput
	// The name of the policy assignment.
	Name pulumi.StringPtrInput
	// 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 {
	// The display name of the policy assignment.
	DisplayName pulumi.StringPtrInput
	// The name of the policy assignment.
	Name pulumi.StringPtrInput
	// 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 name of the policy definition. If you do not specify a value for name, the value is inferred from the name value in the request URI.
	Name pulumi.StringPtrOutput `pulumi:"name"`
	// 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 name of the policy definition. If you do not specify a value for name, the value is inferred from the name value in the request URI.
	Name pulumi.StringPtrInput
	// 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 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 name of the policy definition. If you do not specify a value for name, the value is inferred from the name value in the request URI.
	Name pulumi.StringPtrInput
	// 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 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