Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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.
func LookupPolicyAssignment ¶
func LookupPolicyAssignment(ctx *pulumi.Context, args *LookupPolicyAssignmentArgs, opts ...pulumi.InvokeOption) (*LookupPolicyAssignmentResult, error)
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.
func LookupPolicyDefinition ¶
func LookupPolicyDefinition(ctx *pulumi.Context, args *LookupPolicyDefinitionArgs, opts ...pulumi.InvokeOption) (*LookupPolicyDefinitionResult, error)
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