v20151001preview

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 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 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.

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 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.

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 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

Jump to

Keyboard shortcuts

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