v1beta2

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=authorization.azure.upbound.io +versionName=v1beta2

Index

Constants

View Source
const (
	CRDGroup   = "authorization.azure.upbound.io"
	CRDVersion = "v1beta2"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	ResourceGroupPolicyAssignment_Kind             = "ResourceGroupPolicyAssignment"
	ResourceGroupPolicyAssignment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ResourceGroupPolicyAssignment_Kind}.String()
	ResourceGroupPolicyAssignment_KindAPIVersion   = ResourceGroupPolicyAssignment_Kind + "." + CRDGroupVersion.String()
	ResourceGroupPolicyAssignment_GroupVersionKind = CRDGroupVersion.WithKind(ResourceGroupPolicyAssignment_Kind)
)

Repository type metadata.

View Source
var (
	ResourcePolicyAssignment_Kind             = "ResourcePolicyAssignment"
	ResourcePolicyAssignment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ResourcePolicyAssignment_Kind}.String()
	ResourcePolicyAssignment_KindAPIVersion   = ResourcePolicyAssignment_Kind + "." + CRDGroupVersion.String()
	ResourcePolicyAssignment_GroupVersionKind = CRDGroupVersion.WithKind(ResourcePolicyAssignment_Kind)
)

Repository type metadata.

View Source
var (
	SubscriptionPolicyAssignment_Kind             = "SubscriptionPolicyAssignment"
	SubscriptionPolicyAssignment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SubscriptionPolicyAssignment_Kind}.String()
	SubscriptionPolicyAssignment_KindAPIVersion   = SubscriptionPolicyAssignment_Kind + "." + CRDGroupVersion.String()
	SubscriptionPolicyAssignment_GroupVersionKind = CRDGroupVersion.WithKind(SubscriptionPolicyAssignment_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type IdentityInitParameters

type IdentityInitParameters struct {

	// A list of User Managed Identity IDs which should be assigned to the Policy Definition.
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned and UserAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IdentityInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityInitParameters.

func (*IdentityInitParameters) DeepCopyInto

func (in *IdentityInitParameters) DeepCopyInto(out *IdentityInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IdentityObservation

type IdentityObservation struct {

	// A list of User Managed Identity IDs which should be assigned to the Policy Definition.
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// The Principal ID of the Policy Assignment for this Resource Group.
	PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`

	// The Tenant ID of the Policy Assignment for this Resource Group.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`

	// The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned and UserAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IdentityObservation) DeepCopy

func (in *IdentityObservation) DeepCopy() *IdentityObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation.

func (*IdentityObservation) DeepCopyInto

func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IdentityParameters

type IdentityParameters struct {

	// A list of User Managed Identity IDs which should be assigned to the Policy Definition.
	// +kubebuilder:validation:Optional
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned and UserAssigned.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*IdentityParameters) DeepCopy

func (in *IdentityParameters) DeepCopy() *IdentityParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters.

func (*IdentityParameters) DeepCopyInto

func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NonComplianceMessageInitParameters

type NonComplianceMessageInitParameters struct {

	// The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to.
	PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"`
}

func (*NonComplianceMessageInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonComplianceMessageInitParameters.

func (*NonComplianceMessageInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NonComplianceMessageObservation

type NonComplianceMessageObservation struct {

	// The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to.
	PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"`
}

func (*NonComplianceMessageObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonComplianceMessageObservation.

func (*NonComplianceMessageObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NonComplianceMessageParameters

type NonComplianceMessageParameters struct {

	// The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies.
	// +kubebuilder:validation:Optional
	Content *string `json:"content" tf:"content,omitempty"`

	// When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to.
	// +kubebuilder:validation:Optional
	PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"`
}

func (*NonComplianceMessageParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonComplianceMessageParameters.

func (*NonComplianceMessageParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OverridesInitParameters

type OverridesInitParameters struct {

	// One or more override_selector block as defined below.
	Selectors []SelectorsInitParameters `json:"selectors,omitempty" tf:"selectors,omitempty"`

	// Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*OverridesInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesInitParameters.

func (*OverridesInitParameters) DeepCopyInto

func (in *OverridesInitParameters) DeepCopyInto(out *OverridesInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OverridesObservation

type OverridesObservation struct {

	// One or more override_selector block as defined below.
	Selectors []SelectorsObservation `json:"selectors,omitempty" tf:"selectors,omitempty"`

	// Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*OverridesObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesObservation.

func (*OverridesObservation) DeepCopyInto

func (in *OverridesObservation) DeepCopyInto(out *OverridesObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OverridesParameters

type OverridesParameters struct {

	// One or more override_selector block as defined below.
	// +kubebuilder:validation:Optional
	Selectors []SelectorsParameters `json:"selectors,omitempty" tf:"selectors,omitempty"`

	// Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects.
	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*OverridesParameters) DeepCopy

func (in *OverridesParameters) DeepCopy() *OverridesParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesParameters.

func (*OverridesParameters) DeepCopyInto

func (in *OverridesParameters) DeepCopyInto(out *OverridesParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OverridesSelectorsInitParameters

type OverridesSelectorsInitParameters struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*OverridesSelectorsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesSelectorsInitParameters.

func (*OverridesSelectorsInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OverridesSelectorsObservation

type OverridesSelectorsObservation struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation.
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*OverridesSelectorsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesSelectorsObservation.

func (*OverridesSelectorsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OverridesSelectorsParameters

type OverridesSelectorsParameters struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	// +kubebuilder:validation:Optional
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	// +kubebuilder:validation:Optional
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*OverridesSelectorsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesSelectorsParameters.

func (*OverridesSelectorsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceGroupPolicyAssignment

type ResourceGroupPolicyAssignment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResourceGroupPolicyAssignmentSpec   `json:"spec"`
	Status            ResourceGroupPolicyAssignmentStatus `json:"status,omitempty"`
}

ResourceGroupPolicyAssignment is the Schema for the ResourceGroupPolicyAssignments API. Manages a Resource Group Policy Assignment. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*ResourceGroupPolicyAssignment) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupPolicyAssignment.

func (*ResourceGroupPolicyAssignment) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceGroupPolicyAssignment) DeepCopyObject

func (in *ResourceGroupPolicyAssignment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ResourceGroupPolicyAssignment) GetCondition

GetCondition of this ResourceGroupPolicyAssignment.

func (*ResourceGroupPolicyAssignment) GetConnectionDetailsMapping

func (tr *ResourceGroupPolicyAssignment) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ResourceGroupPolicyAssignment

func (*ResourceGroupPolicyAssignment) GetDeletionPolicy

func (mg *ResourceGroupPolicyAssignment) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ResourceGroupPolicyAssignment.

func (*ResourceGroupPolicyAssignment) GetID

GetID returns ID of underlying Terraform resource of this ResourceGroupPolicyAssignment

func (*ResourceGroupPolicyAssignment) GetInitParameters

func (tr *ResourceGroupPolicyAssignment) GetInitParameters() (map[string]any, error)

GetInitParameters of this ResourceGroupPolicyAssignment

func (*ResourceGroupPolicyAssignment) GetManagementPolicies

func (mg *ResourceGroupPolicyAssignment) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this ResourceGroupPolicyAssignment.

func (*ResourceGroupPolicyAssignment) GetMergedParameters

func (tr *ResourceGroupPolicyAssignment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this ResourceGroupPolicyAssignment

func (*ResourceGroupPolicyAssignment) GetObservation

func (tr *ResourceGroupPolicyAssignment) GetObservation() (map[string]any, error)

GetObservation of this ResourceGroupPolicyAssignment

func (*ResourceGroupPolicyAssignment) GetParameters

func (tr *ResourceGroupPolicyAssignment) GetParameters() (map[string]any, error)

GetParameters of this ResourceGroupPolicyAssignment

func (*ResourceGroupPolicyAssignment) GetProviderConfigReference

func (mg *ResourceGroupPolicyAssignment) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ResourceGroupPolicyAssignment.

func (*ResourceGroupPolicyAssignment) GetPublishConnectionDetailsTo

func (mg *ResourceGroupPolicyAssignment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ResourceGroupPolicyAssignment.

func (*ResourceGroupPolicyAssignment) GetTerraformResourceType

func (mg *ResourceGroupPolicyAssignment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ResourceGroupPolicyAssignment

func (*ResourceGroupPolicyAssignment) GetTerraformSchemaVersion

func (tr *ResourceGroupPolicyAssignment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ResourceGroupPolicyAssignment) GetWriteConnectionSecretToReference

func (mg *ResourceGroupPolicyAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ResourceGroupPolicyAssignment.

func (*ResourceGroupPolicyAssignment) Hub

Hub marks this type as a conversion hub.

func (*ResourceGroupPolicyAssignment) LateInitialize

func (tr *ResourceGroupPolicyAssignment) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ResourceGroupPolicyAssignment using its observed tfState. returns True if there are any spec changes for the resource.

func (*ResourceGroupPolicyAssignment) ResolveReferences

func (mg *ResourceGroupPolicyAssignment) ResolveReferences(
	ctx context.Context, c client.Reader) error

func (*ResourceGroupPolicyAssignment) SetConditions

func (mg *ResourceGroupPolicyAssignment) SetConditions(c ...xpv1.Condition)

SetConditions of this ResourceGroupPolicyAssignment.

func (*ResourceGroupPolicyAssignment) SetDeletionPolicy

func (mg *ResourceGroupPolicyAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ResourceGroupPolicyAssignment.

func (*ResourceGroupPolicyAssignment) SetManagementPolicies

func (mg *ResourceGroupPolicyAssignment) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this ResourceGroupPolicyAssignment.

func (*ResourceGroupPolicyAssignment) SetObservation

func (tr *ResourceGroupPolicyAssignment) SetObservation(obs map[string]any) error

SetObservation for this ResourceGroupPolicyAssignment

func (*ResourceGroupPolicyAssignment) SetParameters

func (tr *ResourceGroupPolicyAssignment) SetParameters(params map[string]any) error

SetParameters for this ResourceGroupPolicyAssignment

func (*ResourceGroupPolicyAssignment) SetProviderConfigReference

func (mg *ResourceGroupPolicyAssignment) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ResourceGroupPolicyAssignment.

func (*ResourceGroupPolicyAssignment) SetPublishConnectionDetailsTo

func (mg *ResourceGroupPolicyAssignment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ResourceGroupPolicyAssignment.

func (*ResourceGroupPolicyAssignment) SetWriteConnectionSecretToReference

func (mg *ResourceGroupPolicyAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ResourceGroupPolicyAssignment.

type ResourceGroupPolicyAssignmentInitParameters

type ResourceGroupPolicyAssignmentInitParameters struct {

	// A description which should be used for this Policy Assignment.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The Display Name for this Policy Assignment.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Specifies if this Policy should be enforced or not? Defaults to true.
	Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"`

	// An identity block as defined below.
	Identity *IdentityInitParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A JSON mapping of any Metadata for this Policy.
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// One or more non_compliance_message blocks as defined below.
	NonComplianceMessage []NonComplianceMessageInitParameters `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"`

	// 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 []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"`

	// One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure
	Overrides []OverridesInitParameters `json:"overrides,omitempty" tf:"overrides,omitempty"`

	// A JSON mapping of any Parameters for this Policy.
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.PolicyDefinition
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"`

	// Reference to a PolicyDefinition in authorization to populate policyDefinitionId.
	// +kubebuilder:validation:Optional
	PolicyDefinitionIDRef *v1.Reference `json:"policyDefinitionIdRef,omitempty" tf:"-"`

	// Selector for a PolicyDefinition in authorization to populate policyDefinitionId.
	// +kubebuilder:validation:Optional
	PolicyDefinitionIDSelector *v1.Selector `json:"policyDefinitionIdSelector,omitempty" tf:"-"`

	// The ID of the Resource Group where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	ResourceGroupID *string `json:"resourceGroupId,omitempty" tf:"resource_group_id,omitempty"`

	// Reference to a ResourceGroup in azure to populate resourceGroupId.
	// +kubebuilder:validation:Optional
	ResourceGroupIDRef *v1.Reference `json:"resourceGroupIdRef,omitempty" tf:"-"`

	// Selector for a ResourceGroup in azure to populate resourceGroupId.
	// +kubebuilder:validation:Optional
	ResourceGroupIDSelector *v1.Selector `json:"resourceGroupIdSelector,omitempty" tf:"-"`

	// One or more resource_selectors blocks as defined below to filter polices by resource properties.
	ResourceSelectors []ResourceSelectorsInitParameters `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"`
}

func (*ResourceGroupPolicyAssignmentInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupPolicyAssignmentInitParameters.

func (*ResourceGroupPolicyAssignmentInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceGroupPolicyAssignmentList

type ResourceGroupPolicyAssignmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ResourceGroupPolicyAssignment `json:"items"`
}

ResourceGroupPolicyAssignmentList contains a list of ResourceGroupPolicyAssignments

func (*ResourceGroupPolicyAssignmentList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupPolicyAssignmentList.

func (*ResourceGroupPolicyAssignmentList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceGroupPolicyAssignmentList) DeepCopyObject

func (in *ResourceGroupPolicyAssignmentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ResourceGroupPolicyAssignmentList) GetItems

GetItems of this ResourceGroupPolicyAssignmentList.

type ResourceGroupPolicyAssignmentObservation

type ResourceGroupPolicyAssignmentObservation struct {

	// A description which should be used for this Policy Assignment.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The Display Name for this Policy Assignment.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Specifies if this Policy should be enforced or not? Defaults to true.
	Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"`

	// The ID of the Resource Group Policy Assignment.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// An identity block as defined below.
	Identity *IdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A JSON mapping of any Metadata for this Policy.
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// One or more non_compliance_message blocks as defined below.
	NonComplianceMessage []NonComplianceMessageObservation `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"`

	// 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 []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"`

	// One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure
	Overrides []OverridesObservation `json:"overrides,omitempty" tf:"overrides,omitempty"`

	// A JSON mapping of any Parameters for this Policy.
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created.
	PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"`

	// The ID of the Resource Group where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created.
	ResourceGroupID *string `json:"resourceGroupId,omitempty" tf:"resource_group_id,omitempty"`

	// One or more resource_selectors blocks as defined below to filter polices by resource properties.
	ResourceSelectors []ResourceSelectorsObservation `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"`
}

func (*ResourceGroupPolicyAssignmentObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupPolicyAssignmentObservation.

func (*ResourceGroupPolicyAssignmentObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceGroupPolicyAssignmentParameters

type ResourceGroupPolicyAssignmentParameters struct {

	// A description which should be used for this Policy Assignment.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The Display Name for this Policy Assignment.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Specifies if this Policy should be enforced or not? Defaults to true.
	// +kubebuilder:validation:Optional
	Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"`

	// An identity block as defined below.
	// +kubebuilder:validation:Optional
	Identity *IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A JSON mapping of any Metadata for this Policy.
	// +kubebuilder:validation:Optional
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// One or more non_compliance_message blocks as defined below.
	// +kubebuilder:validation:Optional
	NonComplianceMessage []NonComplianceMessageParameters `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"`

	// Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy.
	// +kubebuilder:validation:Optional
	NotScopes []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"`

	// One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure
	// +kubebuilder:validation:Optional
	Overrides []OverridesParameters `json:"overrides,omitempty" tf:"overrides,omitempty"`

	// A JSON mapping of any Parameters for this Policy.
	// +kubebuilder:validation:Optional
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.PolicyDefinition
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"`

	// Reference to a PolicyDefinition in authorization to populate policyDefinitionId.
	// +kubebuilder:validation:Optional
	PolicyDefinitionIDRef *v1.Reference `json:"policyDefinitionIdRef,omitempty" tf:"-"`

	// Selector for a PolicyDefinition in authorization to populate policyDefinitionId.
	// +kubebuilder:validation:Optional
	PolicyDefinitionIDSelector *v1.Selector `json:"policyDefinitionIdSelector,omitempty" tf:"-"`

	// The ID of the Resource Group where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ResourceGroupID *string `json:"resourceGroupId,omitempty" tf:"resource_group_id,omitempty"`

	// Reference to a ResourceGroup in azure to populate resourceGroupId.
	// +kubebuilder:validation:Optional
	ResourceGroupIDRef *v1.Reference `json:"resourceGroupIdRef,omitempty" tf:"-"`

	// Selector for a ResourceGroup in azure to populate resourceGroupId.
	// +kubebuilder:validation:Optional
	ResourceGroupIDSelector *v1.Selector `json:"resourceGroupIdSelector,omitempty" tf:"-"`

	// One or more resource_selectors blocks as defined below to filter polices by resource properties.
	// +kubebuilder:validation:Optional
	ResourceSelectors []ResourceSelectorsParameters `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"`
}

func (*ResourceGroupPolicyAssignmentParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupPolicyAssignmentParameters.

func (*ResourceGroupPolicyAssignmentParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceGroupPolicyAssignmentSpec

type ResourceGroupPolicyAssignmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ResourceGroupPolicyAssignmentParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ResourceGroupPolicyAssignmentInitParameters `json:"initProvider,omitempty"`
}

ResourceGroupPolicyAssignmentSpec defines the desired state of ResourceGroupPolicyAssignment

func (*ResourceGroupPolicyAssignmentSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupPolicyAssignmentSpec.

func (*ResourceGroupPolicyAssignmentSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceGroupPolicyAssignmentStatus

type ResourceGroupPolicyAssignmentStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ResourceGroupPolicyAssignmentObservation `json:"atProvider,omitempty"`
}

ResourceGroupPolicyAssignmentStatus defines the observed state of ResourceGroupPolicyAssignment.

func (*ResourceGroupPolicyAssignmentStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupPolicyAssignmentStatus.

func (*ResourceGroupPolicyAssignmentStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignment

type ResourcePolicyAssignment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceId) || (has(self.initProvider) && has(self.initProvider.resourceId))",message="spec.forProvider.resourceId is a required parameter"
	Spec   ResourcePolicyAssignmentSpec   `json:"spec"`
	Status ResourcePolicyAssignmentStatus `json:"status,omitempty"`
}

ResourcePolicyAssignment is the Schema for the ResourcePolicyAssignments API. Manages a Policy Assignment to a Resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*ResourcePolicyAssignment) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) DeepCopyInto

func (in *ResourcePolicyAssignment) DeepCopyInto(out *ResourcePolicyAssignment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourcePolicyAssignment) DeepCopyObject

func (in *ResourcePolicyAssignment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ResourcePolicyAssignment) GetCondition

GetCondition of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) GetConnectionDetailsMapping

func (tr *ResourcePolicyAssignment) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) GetDeletionPolicy

func (mg *ResourcePolicyAssignment) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) GetID

func (tr *ResourcePolicyAssignment) GetID() string

GetID returns ID of underlying Terraform resource of this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) GetInitParameters

func (tr *ResourcePolicyAssignment) GetInitParameters() (map[string]any, error)

GetInitParameters of this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) GetManagementPolicies

func (mg *ResourcePolicyAssignment) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) GetMergedParameters

func (tr *ResourcePolicyAssignment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) GetObservation

func (tr *ResourcePolicyAssignment) GetObservation() (map[string]any, error)

GetObservation of this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) GetParameters

func (tr *ResourcePolicyAssignment) GetParameters() (map[string]any, error)

GetParameters of this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) GetProviderConfigReference

func (mg *ResourcePolicyAssignment) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) GetPublishConnectionDetailsTo

func (mg *ResourcePolicyAssignment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) GetTerraformResourceType

func (mg *ResourcePolicyAssignment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) GetTerraformSchemaVersion

func (tr *ResourcePolicyAssignment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ResourcePolicyAssignment) GetWriteConnectionSecretToReference

func (mg *ResourcePolicyAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) Hub

func (tr *ResourcePolicyAssignment) Hub()

Hub marks this type as a conversion hub.

func (*ResourcePolicyAssignment) LateInitialize

func (tr *ResourcePolicyAssignment) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ResourcePolicyAssignment using its observed tfState. returns True if there are any spec changes for the resource.

func (*ResourcePolicyAssignment) ResolveReferences

func (mg *ResourcePolicyAssignment) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) SetConditions

func (mg *ResourcePolicyAssignment) SetConditions(c ...xpv1.Condition)

SetConditions of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) SetDeletionPolicy

func (mg *ResourcePolicyAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) SetManagementPolicies

func (mg *ResourcePolicyAssignment) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) SetObservation

func (tr *ResourcePolicyAssignment) SetObservation(obs map[string]any) error

SetObservation for this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) SetParameters

func (tr *ResourcePolicyAssignment) SetParameters(params map[string]any) error

SetParameters for this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) SetProviderConfigReference

func (mg *ResourcePolicyAssignment) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) SetPublishConnectionDetailsTo

func (mg *ResourcePolicyAssignment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) SetWriteConnectionSecretToReference

func (mg *ResourcePolicyAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ResourcePolicyAssignment.

type ResourcePolicyAssignmentIdentityInitParameters

type ResourcePolicyAssignmentIdentityInitParameters struct {

	// A list of User Managed Identity IDs which should be assigned to the Policy Definition.
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned and UserAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ResourcePolicyAssignmentIdentityInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentIdentityInitParameters.

func (*ResourcePolicyAssignmentIdentityInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentIdentityObservation

type ResourcePolicyAssignmentIdentityObservation struct {

	// A list of User Managed Identity IDs which should be assigned to the Policy Definition.
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// The Principal ID of the Policy Assignment for this Resource.
	PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`

	// The Tenant ID of the Policy Assignment for this Resource.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`

	// The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned and UserAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ResourcePolicyAssignmentIdentityObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentIdentityObservation.

func (*ResourcePolicyAssignmentIdentityObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentIdentityParameters

type ResourcePolicyAssignmentIdentityParameters struct {

	// A list of User Managed Identity IDs which should be assigned to the Policy Definition.
	// +kubebuilder:validation:Optional
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned and UserAssigned.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*ResourcePolicyAssignmentIdentityParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentIdentityParameters.

func (*ResourcePolicyAssignmentIdentityParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentInitParameters

type ResourcePolicyAssignmentInitParameters struct {

	// A description which should be used for this Policy Assignment.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The Display Name for this Policy Assignment.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Specifies if this Policy should be enforced or not? Defaults to true.
	Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"`

	// An identity block as defined below.
	Identity *ResourcePolicyAssignmentIdentityInitParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A JSON mapping of any Metadata for this Policy.
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The name which should be used for this Policy Assignment. Changing this forces a new Resource Policy Assignment to be created. Cannot exceed 64 characters in length.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// One or more non_compliance_message blocks as defined below.
	NonComplianceMessage []ResourcePolicyAssignmentNonComplianceMessageInitParameters `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"`

	// 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 []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"`

	// One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure
	Overrides []ResourcePolicyAssignmentOverridesInitParameters `json:"overrides,omitempty" tf:"overrides,omitempty"`

	// A JSON mapping of any Parameters for this Policy.
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.PolicyDefinition
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"`

	// Reference to a PolicyDefinition in authorization to populate policyDefinitionId.
	// +kubebuilder:validation:Optional
	PolicyDefinitionIDRef *v1.Reference `json:"policyDefinitionIdRef,omitempty" tf:"-"`

	// Selector for a PolicyDefinition in authorization to populate policyDefinitionId.
	// +kubebuilder:validation:Optional
	PolicyDefinitionIDSelector *v1.Selector `json:"policyDefinitionIdSelector,omitempty" tf:"-"`

	// The ID of the Resource (or Resource Scope) where this should be applied. Changing this forces a new Resource Policy Assignment to be created.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// One or more resource_selectors blocks as defined below to filter polices by resource properties.
	ResourceSelectors []ResourcePolicyAssignmentResourceSelectorsInitParameters `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"`
}

func (*ResourcePolicyAssignmentInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentInitParameters.

func (*ResourcePolicyAssignmentInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentList

type ResourcePolicyAssignmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ResourcePolicyAssignment `json:"items"`
}

ResourcePolicyAssignmentList contains a list of ResourcePolicyAssignments

func (*ResourcePolicyAssignmentList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentList.

func (*ResourcePolicyAssignmentList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourcePolicyAssignmentList) DeepCopyObject

func (in *ResourcePolicyAssignmentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ResourcePolicyAssignmentList) GetItems

GetItems of this ResourcePolicyAssignmentList.

type ResourcePolicyAssignmentNonComplianceMessageInitParameters

type ResourcePolicyAssignmentNonComplianceMessageInitParameters struct {

	// The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to.
	PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"`
}

func (*ResourcePolicyAssignmentNonComplianceMessageInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentNonComplianceMessageInitParameters.

func (*ResourcePolicyAssignmentNonComplianceMessageInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentNonComplianceMessageObservation

type ResourcePolicyAssignmentNonComplianceMessageObservation struct {

	// The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to.
	PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"`
}

func (*ResourcePolicyAssignmentNonComplianceMessageObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentNonComplianceMessageObservation.

func (*ResourcePolicyAssignmentNonComplianceMessageObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentNonComplianceMessageParameters

type ResourcePolicyAssignmentNonComplianceMessageParameters struct {

	// The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies.
	// +kubebuilder:validation:Optional
	Content *string `json:"content" tf:"content,omitempty"`

	// When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to.
	// +kubebuilder:validation:Optional
	PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"`
}

func (*ResourcePolicyAssignmentNonComplianceMessageParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentNonComplianceMessageParameters.

func (*ResourcePolicyAssignmentNonComplianceMessageParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentObservation

type ResourcePolicyAssignmentObservation struct {

	// A description which should be used for this Policy Assignment.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The Display Name for this Policy Assignment.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Specifies if this Policy should be enforced or not? Defaults to true.
	Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"`

	// The ID of the Resource Policy Assignment.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// An identity block as defined below.
	Identity *ResourcePolicyAssignmentIdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A JSON mapping of any Metadata for this Policy.
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The name which should be used for this Policy Assignment. Changing this forces a new Resource Policy Assignment to be created. Cannot exceed 64 characters in length.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// One or more non_compliance_message blocks as defined below.
	NonComplianceMessage []ResourcePolicyAssignmentNonComplianceMessageObservation `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"`

	// 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 []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"`

	// One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure
	Overrides []ResourcePolicyAssignmentOverridesObservation `json:"overrides,omitempty" tf:"overrides,omitempty"`

	// A JSON mapping of any Parameters for this Policy.
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created.
	PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"`

	// The ID of the Resource (or Resource Scope) where this should be applied. Changing this forces a new Resource Policy Assignment to be created.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// One or more resource_selectors blocks as defined below to filter polices by resource properties.
	ResourceSelectors []ResourcePolicyAssignmentResourceSelectorsObservation `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"`
}

func (*ResourcePolicyAssignmentObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentObservation.

func (*ResourcePolicyAssignmentObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentOverridesInitParameters

type ResourcePolicyAssignmentOverridesInitParameters struct {

	// One or more override_selector block as defined below.
	Selectors []OverridesSelectorsInitParameters `json:"selectors,omitempty" tf:"selectors,omitempty"`

	// Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*ResourcePolicyAssignmentOverridesInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentOverridesInitParameters.

func (*ResourcePolicyAssignmentOverridesInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentOverridesObservation

type ResourcePolicyAssignmentOverridesObservation struct {

	// One or more override_selector block as defined below.
	Selectors []OverridesSelectorsObservation `json:"selectors,omitempty" tf:"selectors,omitempty"`

	// Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*ResourcePolicyAssignmentOverridesObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentOverridesObservation.

func (*ResourcePolicyAssignmentOverridesObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentOverridesParameters

type ResourcePolicyAssignmentOverridesParameters struct {

	// One or more override_selector block as defined below.
	// +kubebuilder:validation:Optional
	Selectors []OverridesSelectorsParameters `json:"selectors,omitempty" tf:"selectors,omitempty"`

	// Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects.
	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*ResourcePolicyAssignmentOverridesParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentOverridesParameters.

func (*ResourcePolicyAssignmentOverridesParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentParameters

type ResourcePolicyAssignmentParameters struct {

	// A description which should be used for this Policy Assignment.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The Display Name for this Policy Assignment.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Specifies if this Policy should be enforced or not? Defaults to true.
	// +kubebuilder:validation:Optional
	Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"`

	// An identity block as defined below.
	// +kubebuilder:validation:Optional
	Identity *ResourcePolicyAssignmentIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A JSON mapping of any Metadata for this Policy.
	// +kubebuilder:validation:Optional
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The name which should be used for this Policy Assignment. Changing this forces a new Resource Policy Assignment to be created. Cannot exceed 64 characters in length.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// One or more non_compliance_message blocks as defined below.
	// +kubebuilder:validation:Optional
	NonComplianceMessage []ResourcePolicyAssignmentNonComplianceMessageParameters `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"`

	// Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy.
	// +kubebuilder:validation:Optional
	NotScopes []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"`

	// One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure
	// +kubebuilder:validation:Optional
	Overrides []ResourcePolicyAssignmentOverridesParameters `json:"overrides,omitempty" tf:"overrides,omitempty"`

	// A JSON mapping of any Parameters for this Policy.
	// +kubebuilder:validation:Optional
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.PolicyDefinition
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"`

	// Reference to a PolicyDefinition in authorization to populate policyDefinitionId.
	// +kubebuilder:validation:Optional
	PolicyDefinitionIDRef *v1.Reference `json:"policyDefinitionIdRef,omitempty" tf:"-"`

	// Selector for a PolicyDefinition in authorization to populate policyDefinitionId.
	// +kubebuilder:validation:Optional
	PolicyDefinitionIDSelector *v1.Selector `json:"policyDefinitionIdSelector,omitempty" tf:"-"`

	// The ID of the Resource (or Resource Scope) where this should be applied. Changing this forces a new Resource Policy Assignment to be created.
	// +kubebuilder:validation:Optional
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// One or more resource_selectors blocks as defined below to filter polices by resource properties.
	// +kubebuilder:validation:Optional
	ResourceSelectors []ResourcePolicyAssignmentResourceSelectorsParameters `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"`
}

func (*ResourcePolicyAssignmentParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentParameters.

func (*ResourcePolicyAssignmentParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentResourceSelectorsInitParameters

type ResourcePolicyAssignmentResourceSelectorsInitParameters struct {

	// Specifies a name for the resource selector.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// One or more resource_selector block as defined below.
	Selectors []ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters `json:"selectors,omitempty" tf:"selectors,omitempty"`
}

func (*ResourcePolicyAssignmentResourceSelectorsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentResourceSelectorsInitParameters.

func (*ResourcePolicyAssignmentResourceSelectorsInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentResourceSelectorsObservation

type ResourcePolicyAssignmentResourceSelectorsObservation struct {

	// Specifies a name for the resource selector.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// One or more resource_selector block as defined below.
	Selectors []ResourcePolicyAssignmentResourceSelectorsSelectorsObservation `json:"selectors,omitempty" tf:"selectors,omitempty"`
}

func (*ResourcePolicyAssignmentResourceSelectorsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentResourceSelectorsObservation.

func (*ResourcePolicyAssignmentResourceSelectorsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentResourceSelectorsParameters

type ResourcePolicyAssignmentResourceSelectorsParameters struct {

	// Specifies a name for the resource selector.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// One or more resource_selector block as defined below.
	// +kubebuilder:validation:Optional
	Selectors []ResourcePolicyAssignmentResourceSelectorsSelectorsParameters `json:"selectors" tf:"selectors,omitempty"`
}

func (*ResourcePolicyAssignmentResourceSelectorsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentResourceSelectorsParameters.

func (*ResourcePolicyAssignmentResourceSelectorsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters

type ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation.
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters.

func (*ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentResourceSelectorsSelectorsObservation

type ResourcePolicyAssignmentResourceSelectorsSelectorsObservation struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation.
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*ResourcePolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentResourceSelectorsSelectorsObservation.

func (*ResourcePolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentResourceSelectorsSelectorsParameters

type ResourcePolicyAssignmentResourceSelectorsSelectorsParameters struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	// +kubebuilder:validation:Optional
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation.
	// +kubebuilder:validation:Optional
	Kind *string `json:"kind" tf:"kind,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	// +kubebuilder:validation:Optional
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*ResourcePolicyAssignmentResourceSelectorsSelectorsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentResourceSelectorsSelectorsParameters.

func (*ResourcePolicyAssignmentResourceSelectorsSelectorsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentSpec

type ResourcePolicyAssignmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ResourcePolicyAssignmentParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ResourcePolicyAssignmentInitParameters `json:"initProvider,omitempty"`
}

ResourcePolicyAssignmentSpec defines the desired state of ResourcePolicyAssignment

func (*ResourcePolicyAssignmentSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentSpec.

func (*ResourcePolicyAssignmentSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourcePolicyAssignmentStatus

type ResourcePolicyAssignmentStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ResourcePolicyAssignmentObservation `json:"atProvider,omitempty"`
}

ResourcePolicyAssignmentStatus defines the observed state of ResourcePolicyAssignment.

func (*ResourcePolicyAssignmentStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentStatus.

func (*ResourcePolicyAssignmentStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceSelectorsInitParameters

type ResourceSelectorsInitParameters struct {

	// Specifies a name for the resource selector.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// One or more resource_selector block as defined below.
	Selectors []ResourceSelectorsSelectorsInitParameters `json:"selectors,omitempty" tf:"selectors,omitempty"`
}

func (*ResourceSelectorsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSelectorsInitParameters.

func (*ResourceSelectorsInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceSelectorsObservation

type ResourceSelectorsObservation struct {

	// Specifies a name for the resource selector.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// One or more resource_selector block as defined below.
	Selectors []ResourceSelectorsSelectorsObservation `json:"selectors,omitempty" tf:"selectors,omitempty"`
}

func (*ResourceSelectorsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSelectorsObservation.

func (*ResourceSelectorsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceSelectorsParameters

type ResourceSelectorsParameters struct {

	// Specifies a name for the resource selector.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// One or more resource_selector block as defined below.
	// +kubebuilder:validation:Optional
	Selectors []ResourceSelectorsSelectorsParameters `json:"selectors" tf:"selectors,omitempty"`
}

func (*ResourceSelectorsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSelectorsParameters.

func (*ResourceSelectorsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceSelectorsSelectorsInitParameters

type ResourceSelectorsSelectorsInitParameters struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation.
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*ResourceSelectorsSelectorsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSelectorsSelectorsInitParameters.

func (*ResourceSelectorsSelectorsInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceSelectorsSelectorsObservation

type ResourceSelectorsSelectorsObservation struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation.
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*ResourceSelectorsSelectorsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSelectorsSelectorsObservation.

func (*ResourceSelectorsSelectorsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceSelectorsSelectorsParameters

type ResourceSelectorsSelectorsParameters struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	// +kubebuilder:validation:Optional
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation.
	// +kubebuilder:validation:Optional
	Kind *string `json:"kind" tf:"kind,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	// +kubebuilder:validation:Optional
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*ResourceSelectorsSelectorsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSelectorsSelectorsParameters.

func (*ResourceSelectorsSelectorsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SelectorsInitParameters

type SelectorsInitParameters struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*SelectorsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectorsInitParameters.

func (*SelectorsInitParameters) DeepCopyInto

func (in *SelectorsInitParameters) DeepCopyInto(out *SelectorsInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SelectorsObservation

type SelectorsObservation struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation.
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*SelectorsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectorsObservation.

func (*SelectorsObservation) DeepCopyInto

func (in *SelectorsObservation) DeepCopyInto(out *SelectorsObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SelectorsParameters

type SelectorsParameters struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	// +kubebuilder:validation:Optional
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	// +kubebuilder:validation:Optional
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*SelectorsParameters) DeepCopy

func (in *SelectorsParameters) DeepCopy() *SelectorsParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectorsParameters.

func (*SelectorsParameters) DeepCopyInto

func (in *SelectorsParameters) DeepCopyInto(out *SelectorsParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignment

type SubscriptionPolicyAssignment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.subscriptionId) || (has(self.initProvider) && has(self.initProvider.subscriptionId))",message="spec.forProvider.subscriptionId is a required parameter"
	Spec   SubscriptionPolicyAssignmentSpec   `json:"spec"`
	Status SubscriptionPolicyAssignmentStatus `json:"status,omitempty"`
}

SubscriptionPolicyAssignment is the Schema for the SubscriptionPolicyAssignments API. Manages a Subscription Policy Assignment. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*SubscriptionPolicyAssignment) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SubscriptionPolicyAssignment) DeepCopyObject

func (in *SubscriptionPolicyAssignment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SubscriptionPolicyAssignment) GetCondition

GetCondition of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) GetConnectionDetailsMapping

func (tr *SubscriptionPolicyAssignment) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) GetDeletionPolicy

func (mg *SubscriptionPolicyAssignment) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) GetID

GetID returns ID of underlying Terraform resource of this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) GetInitParameters

func (tr *SubscriptionPolicyAssignment) GetInitParameters() (map[string]any, error)

GetInitParameters of this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) GetManagementPolicies

func (mg *SubscriptionPolicyAssignment) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) GetMergedParameters

func (tr *SubscriptionPolicyAssignment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) GetObservation

func (tr *SubscriptionPolicyAssignment) GetObservation() (map[string]any, error)

GetObservation of this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) GetParameters

func (tr *SubscriptionPolicyAssignment) GetParameters() (map[string]any, error)

GetParameters of this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) GetProviderConfigReference

func (mg *SubscriptionPolicyAssignment) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) GetPublishConnectionDetailsTo

func (mg *SubscriptionPolicyAssignment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) GetTerraformResourceType

func (mg *SubscriptionPolicyAssignment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) GetTerraformSchemaVersion

func (tr *SubscriptionPolicyAssignment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SubscriptionPolicyAssignment) GetWriteConnectionSecretToReference

func (mg *SubscriptionPolicyAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) Hub

func (tr *SubscriptionPolicyAssignment) Hub()

Hub marks this type as a conversion hub.

func (*SubscriptionPolicyAssignment) LateInitialize

func (tr *SubscriptionPolicyAssignment) LateInitialize(attrs []byte) (bool, error)

LateInitialize this SubscriptionPolicyAssignment using its observed tfState. returns True if there are any spec changes for the resource.

func (*SubscriptionPolicyAssignment) ResolveReferences

func (mg *SubscriptionPolicyAssignment) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) SetConditions

func (mg *SubscriptionPolicyAssignment) SetConditions(c ...xpv1.Condition)

SetConditions of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) SetDeletionPolicy

func (mg *SubscriptionPolicyAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) SetManagementPolicies

func (mg *SubscriptionPolicyAssignment) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) SetObservation

func (tr *SubscriptionPolicyAssignment) SetObservation(obs map[string]any) error

SetObservation for this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) SetParameters

func (tr *SubscriptionPolicyAssignment) SetParameters(params map[string]any) error

SetParameters for this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) SetProviderConfigReference

func (mg *SubscriptionPolicyAssignment) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) SetPublishConnectionDetailsTo

func (mg *SubscriptionPolicyAssignment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) SetWriteConnectionSecretToReference

func (mg *SubscriptionPolicyAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this SubscriptionPolicyAssignment.

type SubscriptionPolicyAssignmentIdentityInitParameters

type SubscriptionPolicyAssignmentIdentityInitParameters struct {

	// A list of User Managed Identity IDs which should be assigned to the Policy Definition.
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned or UserAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*SubscriptionPolicyAssignmentIdentityInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentIdentityInitParameters.

func (*SubscriptionPolicyAssignmentIdentityInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentIdentityObservation

type SubscriptionPolicyAssignmentIdentityObservation struct {

	// A list of User Managed Identity IDs which should be assigned to the Policy Definition.
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// The Principal ID of the Policy Assignment for this Subscription.
	PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`

	// The Tenant ID of the Policy Assignment for this Subscription.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`

	// The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned or UserAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*SubscriptionPolicyAssignmentIdentityObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentIdentityObservation.

func (*SubscriptionPolicyAssignmentIdentityObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentIdentityParameters

type SubscriptionPolicyAssignmentIdentityParameters struct {

	// A list of User Managed Identity IDs which should be assigned to the Policy Definition.
	// +kubebuilder:validation:Optional
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned or UserAssigned.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*SubscriptionPolicyAssignmentIdentityParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentIdentityParameters.

func (*SubscriptionPolicyAssignmentIdentityParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentInitParameters

type SubscriptionPolicyAssignmentInitParameters struct {

	// A description which should be used for this Policy Assignment.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The Display Name for this Policy Assignment.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Specifies if this Policy should be enforced or not? Defaults to true.
	Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"`

	// An identity block as defined below.
	Identity *SubscriptionPolicyAssignmentIdentityInitParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A JSON mapping of any Metadata for this Policy.
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// One or more non_compliance_message blocks as defined below.
	NonComplianceMessage []SubscriptionPolicyAssignmentNonComplianceMessageInitParameters `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"`

	// 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 []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"`

	// One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure
	Overrides []SubscriptionPolicyAssignmentOverridesInitParameters `json:"overrides,omitempty" tf:"overrides,omitempty"`

	// A JSON mapping of any Parameters for this Policy.
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.PolicyDefinition
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"`

	// Reference to a PolicyDefinition in authorization to populate policyDefinitionId.
	// +kubebuilder:validation:Optional
	PolicyDefinitionIDRef *v1.Reference `json:"policyDefinitionIdRef,omitempty" tf:"-"`

	// Selector for a PolicyDefinition in authorization to populate policyDefinitionId.
	// +kubebuilder:validation:Optional
	PolicyDefinitionIDSelector *v1.Selector `json:"policyDefinitionIdSelector,omitempty" tf:"-"`

	// One or more resource_selectors blocks as defined below to filter polices by resource properties.
	ResourceSelectors []SubscriptionPolicyAssignmentResourceSelectorsInitParameters `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"`

	// The ID of the Subscription where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created.
	SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"`
}

func (*SubscriptionPolicyAssignmentInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentInitParameters.

func (*SubscriptionPolicyAssignmentInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentList

type SubscriptionPolicyAssignmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SubscriptionPolicyAssignment `json:"items"`
}

SubscriptionPolicyAssignmentList contains a list of SubscriptionPolicyAssignments

func (*SubscriptionPolicyAssignmentList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentList.

func (*SubscriptionPolicyAssignmentList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SubscriptionPolicyAssignmentList) DeepCopyObject

func (in *SubscriptionPolicyAssignmentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SubscriptionPolicyAssignmentList) GetItems

GetItems of this SubscriptionPolicyAssignmentList.

type SubscriptionPolicyAssignmentNonComplianceMessageInitParameters

type SubscriptionPolicyAssignmentNonComplianceMessageInitParameters struct {

	// The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to.
	PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"`
}

func (*SubscriptionPolicyAssignmentNonComplianceMessageInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentNonComplianceMessageInitParameters.

func (*SubscriptionPolicyAssignmentNonComplianceMessageInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentNonComplianceMessageObservation

type SubscriptionPolicyAssignmentNonComplianceMessageObservation struct {

	// The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to.
	PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"`
}

func (*SubscriptionPolicyAssignmentNonComplianceMessageObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentNonComplianceMessageObservation.

func (*SubscriptionPolicyAssignmentNonComplianceMessageObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentNonComplianceMessageParameters

type SubscriptionPolicyAssignmentNonComplianceMessageParameters struct {

	// The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies.
	// +kubebuilder:validation:Optional
	Content *string `json:"content" tf:"content,omitempty"`

	// When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to.
	// +kubebuilder:validation:Optional
	PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"`
}

func (*SubscriptionPolicyAssignmentNonComplianceMessageParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentNonComplianceMessageParameters.

func (*SubscriptionPolicyAssignmentNonComplianceMessageParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentObservation

type SubscriptionPolicyAssignmentObservation struct {

	// A description which should be used for this Policy Assignment.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The Display Name for this Policy Assignment.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Specifies if this Policy should be enforced or not? Defaults to true.
	Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"`

	// The ID of the Subscription Policy Assignment.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// An identity block as defined below.
	Identity *SubscriptionPolicyAssignmentIdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A JSON mapping of any Metadata for this Policy.
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// One or more non_compliance_message blocks as defined below.
	NonComplianceMessage []SubscriptionPolicyAssignmentNonComplianceMessageObservation `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"`

	// 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 []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"`

	// One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure
	Overrides []SubscriptionPolicyAssignmentOverridesObservation `json:"overrides,omitempty" tf:"overrides,omitempty"`

	// A JSON mapping of any Parameters for this Policy.
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created.
	PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"`

	// One or more resource_selectors blocks as defined below to filter polices by resource properties.
	ResourceSelectors []SubscriptionPolicyAssignmentResourceSelectorsObservation `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"`

	// The ID of the Subscription where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created.
	SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"`
}

func (*SubscriptionPolicyAssignmentObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentObservation.

func (*SubscriptionPolicyAssignmentObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentOverridesInitParameters

type SubscriptionPolicyAssignmentOverridesInitParameters struct {

	// One or more override_selector block as defined below.
	Selectors []SubscriptionPolicyAssignmentOverridesSelectorsInitParameters `json:"selectors,omitempty" tf:"selectors,omitempty"`

	// Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*SubscriptionPolicyAssignmentOverridesInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentOverridesInitParameters.

func (*SubscriptionPolicyAssignmentOverridesInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentOverridesObservation

type SubscriptionPolicyAssignmentOverridesObservation struct {

	// One or more override_selector block as defined below.
	Selectors []SubscriptionPolicyAssignmentOverridesSelectorsObservation `json:"selectors,omitempty" tf:"selectors,omitempty"`

	// Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*SubscriptionPolicyAssignmentOverridesObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentOverridesObservation.

func (*SubscriptionPolicyAssignmentOverridesObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentOverridesParameters

type SubscriptionPolicyAssignmentOverridesParameters struct {

	// One or more override_selector block as defined below.
	// +kubebuilder:validation:Optional
	Selectors []SubscriptionPolicyAssignmentOverridesSelectorsParameters `json:"selectors,omitempty" tf:"selectors,omitempty"`

	// Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects.
	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*SubscriptionPolicyAssignmentOverridesParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentOverridesParameters.

func (*SubscriptionPolicyAssignmentOverridesParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentOverridesSelectorsInitParameters

type SubscriptionPolicyAssignmentOverridesSelectorsInitParameters struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*SubscriptionPolicyAssignmentOverridesSelectorsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentOverridesSelectorsInitParameters.

func (*SubscriptionPolicyAssignmentOverridesSelectorsInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentOverridesSelectorsObservation

type SubscriptionPolicyAssignmentOverridesSelectorsObservation struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation.
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*SubscriptionPolicyAssignmentOverridesSelectorsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentOverridesSelectorsObservation.

func (*SubscriptionPolicyAssignmentOverridesSelectorsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentOverridesSelectorsParameters

type SubscriptionPolicyAssignmentOverridesSelectorsParameters struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	// +kubebuilder:validation:Optional
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	// +kubebuilder:validation:Optional
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*SubscriptionPolicyAssignmentOverridesSelectorsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentOverridesSelectorsParameters.

func (*SubscriptionPolicyAssignmentOverridesSelectorsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentParameters

type SubscriptionPolicyAssignmentParameters struct {

	// A description which should be used for this Policy Assignment.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The Display Name for this Policy Assignment.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// Specifies if this Policy should be enforced or not? Defaults to true.
	// +kubebuilder:validation:Optional
	Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"`

	// An identity block as defined below.
	// +kubebuilder:validation:Optional
	Identity *SubscriptionPolicyAssignmentIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A JSON mapping of any Metadata for this Policy.
	// +kubebuilder:validation:Optional
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// One or more non_compliance_message blocks as defined below.
	// +kubebuilder:validation:Optional
	NonComplianceMessage []SubscriptionPolicyAssignmentNonComplianceMessageParameters `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"`

	// Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy.
	// +kubebuilder:validation:Optional
	NotScopes []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"`

	// One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure
	// +kubebuilder:validation:Optional
	Overrides []SubscriptionPolicyAssignmentOverridesParameters `json:"overrides,omitempty" tf:"overrides,omitempty"`

	// A JSON mapping of any Parameters for this Policy.
	// +kubebuilder:validation:Optional
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.PolicyDefinition
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"`

	// Reference to a PolicyDefinition in authorization to populate policyDefinitionId.
	// +kubebuilder:validation:Optional
	PolicyDefinitionIDRef *v1.Reference `json:"policyDefinitionIdRef,omitempty" tf:"-"`

	// Selector for a PolicyDefinition in authorization to populate policyDefinitionId.
	// +kubebuilder:validation:Optional
	PolicyDefinitionIDSelector *v1.Selector `json:"policyDefinitionIdSelector,omitempty" tf:"-"`

	// One or more resource_selectors blocks as defined below to filter polices by resource properties.
	// +kubebuilder:validation:Optional
	ResourceSelectors []SubscriptionPolicyAssignmentResourceSelectorsParameters `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"`

	// The ID of the Subscription where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created.
	// +kubebuilder:validation:Optional
	SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"`
}

func (*SubscriptionPolicyAssignmentParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentParameters.

func (*SubscriptionPolicyAssignmentParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentResourceSelectorsInitParameters

type SubscriptionPolicyAssignmentResourceSelectorsInitParameters struct {

	// Specifies a name for the resource selector.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// One or more resource_selector block as defined below.
	Selectors []SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters `json:"selectors,omitempty" tf:"selectors,omitempty"`
}

func (*SubscriptionPolicyAssignmentResourceSelectorsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentResourceSelectorsInitParameters.

func (*SubscriptionPolicyAssignmentResourceSelectorsInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentResourceSelectorsObservation

type SubscriptionPolicyAssignmentResourceSelectorsObservation struct {

	// Specifies a name for the resource selector.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// One or more resource_selector block as defined below.
	Selectors []SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation `json:"selectors,omitempty" tf:"selectors,omitempty"`
}

func (*SubscriptionPolicyAssignmentResourceSelectorsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentResourceSelectorsObservation.

func (*SubscriptionPolicyAssignmentResourceSelectorsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentResourceSelectorsParameters

type SubscriptionPolicyAssignmentResourceSelectorsParameters struct {

	// Specifies a name for the resource selector.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// One or more resource_selector block as defined below.
	// +kubebuilder:validation:Optional
	Selectors []SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters `json:"selectors" tf:"selectors,omitempty"`
}

func (*SubscriptionPolicyAssignmentResourceSelectorsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentResourceSelectorsParameters.

func (*SubscriptionPolicyAssignmentResourceSelectorsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters

type SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation.
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters.

func (*SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation

type SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation.
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation.

func (*SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters

type SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters struct {

	// The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values.
	// +kubebuilder:validation:Optional
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation.
	// +kubebuilder:validation:Optional
	Kind *string `json:"kind" tf:"kind,omitempty"`

	// The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values.
	// +kubebuilder:validation:Optional
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters.

func (*SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentSpec

type SubscriptionPolicyAssignmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SubscriptionPolicyAssignmentParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider SubscriptionPolicyAssignmentInitParameters `json:"initProvider,omitempty"`
}

SubscriptionPolicyAssignmentSpec defines the desired state of SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignmentSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentSpec.

func (*SubscriptionPolicyAssignmentSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SubscriptionPolicyAssignmentStatus

type SubscriptionPolicyAssignmentStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SubscriptionPolicyAssignmentObservation `json:"atProvider,omitempty"`
}

SubscriptionPolicyAssignmentStatus defines the observed state of SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignmentStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentStatus.

func (*SubscriptionPolicyAssignmentStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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