v1beta1

package
v0.40.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

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 (
	ManagementLock_Kind             = "ManagementLock"
	ManagementLock_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ManagementLock_Kind}.String()
	ManagementLock_KindAPIVersion   = ManagementLock_Kind + "." + CRDGroupVersion.String()
	ManagementLock_GroupVersionKind = CRDGroupVersion.WithKind(ManagementLock_Kind)
)

Repository type metadata.

View Source
var (
	PolicyDefinition_Kind             = "PolicyDefinition"
	PolicyDefinition_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PolicyDefinition_Kind}.String()
	PolicyDefinition_KindAPIVersion   = PolicyDefinition_Kind + "." + CRDGroupVersion.String()
	PolicyDefinition_GroupVersionKind = CRDGroupVersion.WithKind(PolicyDefinition_Kind)
)

Repository type metadata.

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 (
	ResourcePolicyExemption_Kind             = "ResourcePolicyExemption"
	ResourcePolicyExemption_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ResourcePolicyExemption_Kind}.String()
	ResourcePolicyExemption_KindAPIVersion   = ResourcePolicyExemption_Kind + "." + CRDGroupVersion.String()
	ResourcePolicyExemption_GroupVersionKind = CRDGroupVersion.WithKind(ResourcePolicyExemption_Kind)
)

Repository type metadata.

View Source
var (
	RoleAssignment_Kind             = "RoleAssignment"
	RoleAssignment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RoleAssignment_Kind}.String()
	RoleAssignment_KindAPIVersion   = RoleAssignment_Kind + "." + CRDGroupVersion.String()
	RoleAssignment_GroupVersionKind = CRDGroupVersion.WithKind(RoleAssignment_Kind)
)

Repository type metadata.

View Source
var (
	RoleDefinition_Kind             = "RoleDefinition"
	RoleDefinition_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RoleDefinition_Kind}.String()
	RoleDefinition_KindAPIVersion   = RoleDefinition_Kind + "." + CRDGroupVersion.String()
	RoleDefinition_GroupVersionKind = CRDGroupVersion.WithKind(RoleDefinition_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.

View Source
var (
	SubscriptionPolicyExemption_Kind             = "SubscriptionPolicyExemption"
	SubscriptionPolicyExemption_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SubscriptionPolicyExemption_Kind}.String()
	SubscriptionPolicyExemption_KindAPIVersion   = SubscriptionPolicyExemption_Kind + "." + CRDGroupVersion.String()
	SubscriptionPolicyExemption_GroupVersionKind = CRDGroupVersion.WithKind(SubscriptionPolicyExemption_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type IdentityInitParameters added in v0.35.0

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 added in v0.35.0

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

func (*IdentityInitParameters) DeepCopyInto added in v0.35.0

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 ManagementLock added in v0.26.0

type ManagementLock 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.lockLevel) || (has(self.initProvider) && has(self.initProvider.lockLevel))",message="spec.forProvider.lockLevel is a required parameter"
	// +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"
	Spec   ManagementLockSpec   `json:"spec"`
	Status ManagementLockStatus `json:"status,omitempty"`
}

ManagementLock is the Schema for the ManagementLocks API. Manages a Management Lock which is scoped to a Subscription, Resource Group or Resource. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*ManagementLock) DeepCopy added in v0.26.0

func (in *ManagementLock) DeepCopy() *ManagementLock

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

func (*ManagementLock) DeepCopyInto added in v0.26.0

func (in *ManagementLock) DeepCopyInto(out *ManagementLock)

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

func (*ManagementLock) DeepCopyObject added in v0.26.0

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

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

func (*ManagementLock) GetCondition added in v0.26.0

func (mg *ManagementLock) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ManagementLock.

func (*ManagementLock) GetConnectionDetailsMapping added in v0.26.0

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

GetConnectionDetailsMapping for this ManagementLock

func (*ManagementLock) GetDeletionPolicy added in v0.26.0

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

GetDeletionPolicy of this ManagementLock.

func (*ManagementLock) GetID added in v0.26.0

func (tr *ManagementLock) GetID() string

GetID returns ID of underlying Terraform resource of this ManagementLock

func (*ManagementLock) GetInitParameters added in v0.35.0

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

GetInitParameters of this ManagementLock

func (*ManagementLock) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this ManagementLock.

func (*ManagementLock) GetMergedParameters added in v0.40.0

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

GetInitParameters of this ManagementLock

func (*ManagementLock) GetObservation added in v0.26.0

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

GetObservation of this ManagementLock

func (*ManagementLock) GetParameters added in v0.26.0

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

GetParameters of this ManagementLock

func (*ManagementLock) GetProviderConfigReference added in v0.26.0

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

GetProviderConfigReference of this ManagementLock.

func (*ManagementLock) GetPublishConnectionDetailsTo added in v0.26.0

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

GetPublishConnectionDetailsTo of this ManagementLock.

func (*ManagementLock) GetTerraformResourceType added in v0.26.0

func (mg *ManagementLock) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ManagementLock

func (*ManagementLock) GetTerraformSchemaVersion added in v0.26.0

func (tr *ManagementLock) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ManagementLock) GetWriteConnectionSecretToReference added in v0.26.0

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

GetWriteConnectionSecretToReference of this ManagementLock.

func (*ManagementLock) LateInitialize added in v0.26.0

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

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

func (*ManagementLock) ResolveReferences added in v0.26.0

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

ResolveReferences of this ManagementLock.

func (*ManagementLock) SetConditions added in v0.26.0

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

SetConditions of this ManagementLock.

func (*ManagementLock) SetDeletionPolicy added in v0.26.0

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

SetDeletionPolicy of this ManagementLock.

func (*ManagementLock) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this ManagementLock.

func (*ManagementLock) SetObservation added in v0.26.0

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

SetObservation for this ManagementLock

func (*ManagementLock) SetParameters added in v0.26.0

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

SetParameters for this ManagementLock

func (*ManagementLock) SetProviderConfigReference added in v0.26.0

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

SetProviderConfigReference of this ManagementLock.

func (*ManagementLock) SetPublishConnectionDetailsTo added in v0.26.0

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

SetPublishConnectionDetailsTo of this ManagementLock.

func (*ManagementLock) SetWriteConnectionSecretToReference added in v0.26.0

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

SetWriteConnectionSecretToReference of this ManagementLock.

type ManagementLockInitParameters added in v0.35.0

type ManagementLockInitParameters struct {

	// Specifies the Level to be used for this Lock. Possible values are CanNotDelete and ReadOnly. Changing this forces a new resource to be created.
	LockLevel *string `json:"lockLevel,omitempty" tf:"lock_level,omitempty"`

	// Specifies the name of the Management Lock. Changing this forces a new resource to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies some notes about the lock. Maximum of 512 characters. Changing this forces a new resource to be created.
	Notes *string `json:"notes,omitempty" tf:"notes,omitempty"`

	// Specifies the scope at which the Management Lock should be created. Changing this forces a new resource 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()
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	// Reference to a ResourceGroup in azure to populate scope.
	// +kubebuilder:validation:Optional
	ScopeRef *v1.Reference `json:"scopeRef,omitempty" tf:"-"`

	// Selector for a ResourceGroup in azure to populate scope.
	// +kubebuilder:validation:Optional
	ScopeSelector *v1.Selector `json:"scopeSelector,omitempty" tf:"-"`
}

func (*ManagementLockInitParameters) DeepCopy added in v0.35.0

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

func (*ManagementLockInitParameters) DeepCopyInto added in v0.35.0

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

type ManagementLockList added in v0.26.0

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

ManagementLockList contains a list of ManagementLocks

func (*ManagementLockList) DeepCopy added in v0.26.0

func (in *ManagementLockList) DeepCopy() *ManagementLockList

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

func (*ManagementLockList) DeepCopyInto added in v0.26.0

func (in *ManagementLockList) DeepCopyInto(out *ManagementLockList)

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

func (*ManagementLockList) DeepCopyObject added in v0.26.0

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

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

func (*ManagementLockList) GetItems added in v0.26.0

func (l *ManagementLockList) GetItems() []resource.Managed

GetItems of this ManagementLockList.

type ManagementLockObservation added in v0.26.0

type ManagementLockObservation struct {

	// The ID of the Management Lock
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the Level to be used for this Lock. Possible values are CanNotDelete and ReadOnly. Changing this forces a new resource to be created.
	LockLevel *string `json:"lockLevel,omitempty" tf:"lock_level,omitempty"`

	// Specifies the name of the Management Lock. Changing this forces a new resource to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies some notes about the lock. Maximum of 512 characters. Changing this forces a new resource to be created.
	Notes *string `json:"notes,omitempty" tf:"notes,omitempty"`

	// Specifies the scope at which the Management Lock should be created. Changing this forces a new resource to be created.
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`
}

func (*ManagementLockObservation) DeepCopy added in v0.26.0

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

func (*ManagementLockObservation) DeepCopyInto added in v0.26.0

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

type ManagementLockParameters added in v0.26.0

type ManagementLockParameters struct {

	// Specifies the Level to be used for this Lock. Possible values are CanNotDelete and ReadOnly. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	LockLevel *string `json:"lockLevel,omitempty" tf:"lock_level,omitempty"`

	// Specifies the name of the Management Lock. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies some notes about the lock. Maximum of 512 characters. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Notes *string `json:"notes,omitempty" tf:"notes,omitempty"`

	// Specifies the scope at which the Management Lock should be created. Changing this forces a new resource 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
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	// Reference to a ResourceGroup in azure to populate scope.
	// +kubebuilder:validation:Optional
	ScopeRef *v1.Reference `json:"scopeRef,omitempty" tf:"-"`

	// Selector for a ResourceGroup in azure to populate scope.
	// +kubebuilder:validation:Optional
	ScopeSelector *v1.Selector `json:"scopeSelector,omitempty" tf:"-"`
}

func (*ManagementLockParameters) DeepCopy added in v0.26.0

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

func (*ManagementLockParameters) DeepCopyInto added in v0.26.0

func (in *ManagementLockParameters) DeepCopyInto(out *ManagementLockParameters)

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

type ManagementLockSpec added in v0.26.0

type ManagementLockSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ManagementLockParameters `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 ManagementLockInitParameters `json:"initProvider,omitempty"`
}

ManagementLockSpec defines the desired state of ManagementLock

func (*ManagementLockSpec) DeepCopy added in v0.26.0

func (in *ManagementLockSpec) DeepCopy() *ManagementLockSpec

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

func (*ManagementLockSpec) DeepCopyInto added in v0.26.0

func (in *ManagementLockSpec) DeepCopyInto(out *ManagementLockSpec)

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

type ManagementLockStatus added in v0.26.0

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

ManagementLockStatus defines the observed state of ManagementLock.

func (*ManagementLockStatus) DeepCopy added in v0.26.0

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

func (*ManagementLockStatus) DeepCopyInto added in v0.26.0

func (in *ManagementLockStatus) DeepCopyInto(out *ManagementLockStatus)

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

type NonComplianceMessageInitParameters added in v0.35.0

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 added in v0.35.0

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

func (*NonComplianceMessageInitParameters) DeepCopyInto added in v0.35.0

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 added in v0.35.0

type OverridesInitParameters struct {

	// One or more override_selector 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 added in v0.35.0

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

func (*OverridesInitParameters) DeepCopyInto added in v0.35.0

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 added in v0.32.0

type OverridesObservation struct {

	// One or more override_selector 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 added in v0.32.0

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

func (*OverridesObservation) DeepCopyInto added in v0.32.0

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 added in v0.32.0

type OverridesParameters struct {

	// One or more override_selector 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 added in v0.32.0

func (in *OverridesParameters) DeepCopy() *OverridesParameters

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

func (*OverridesParameters) DeepCopyInto added in v0.32.0

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 added in v0.35.0

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 added in v0.35.0

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

func (*OverridesSelectorsInitParameters) DeepCopyInto added in v0.35.0

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

type OverridesSelectorsObservation added in v0.32.0

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 added in v0.32.0

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

func (*OverridesSelectorsObservation) DeepCopyInto added in v0.32.0

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

type OverridesSelectorsParameters added in v0.32.0

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 added in v0.32.0

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

func (*OverridesSelectorsParameters) DeepCopyInto added in v0.32.0

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

type PermissionsInitParameters added in v0.35.0

type PermissionsInitParameters struct {

	// One or more Allowed Actions, such as *, Microsoft.Resources/subscriptions/resourceGroups/read. See 'Azure Resource Manager resource provider operations' for details.
	Actions []*string `json:"actions,omitempty" tf:"actions,omitempty"`

	// One or more Allowed Data Actions, such as *, Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read. See 'Azure Resource Manager resource provider operations' for details.
	// +listType=set
	DataActions []*string `json:"dataActions,omitempty" tf:"data_actions,omitempty"`

	// One or more Disallowed Actions, such as *, Microsoft.Resources/subscriptions/resourceGroups/read. See 'Azure Resource Manager resource provider operations' for details.
	NotActions []*string `json:"notActions,omitempty" tf:"not_actions,omitempty"`

	// One or more Disallowed Data Actions, such as *, Microsoft.Resources/subscriptions/resourceGroups/read. See 'Azure Resource Manager resource provider operations' for details.
	// +listType=set
	NotDataActions []*string `json:"notDataActions,omitempty" tf:"not_data_actions,omitempty"`
}

func (*PermissionsInitParameters) DeepCopy added in v0.35.0

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

func (*PermissionsInitParameters) DeepCopyInto added in v0.35.0

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

type PermissionsObservation added in v0.26.0

type PermissionsObservation struct {

	// One or more Allowed Actions, such as *, Microsoft.Resources/subscriptions/resourceGroups/read. See 'Azure Resource Manager resource provider operations' for details.
	Actions []*string `json:"actions,omitempty" tf:"actions,omitempty"`

	// One or more Allowed Data Actions, such as *, Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read. See 'Azure Resource Manager resource provider operations' for details.
	// +listType=set
	DataActions []*string `json:"dataActions,omitempty" tf:"data_actions,omitempty"`

	// One or more Disallowed Actions, such as *, Microsoft.Resources/subscriptions/resourceGroups/read. See 'Azure Resource Manager resource provider operations' for details.
	NotActions []*string `json:"notActions,omitempty" tf:"not_actions,omitempty"`

	// One or more Disallowed Data Actions, such as *, Microsoft.Resources/subscriptions/resourceGroups/read. See 'Azure Resource Manager resource provider operations' for details.
	// +listType=set
	NotDataActions []*string `json:"notDataActions,omitempty" tf:"not_data_actions,omitempty"`
}

func (*PermissionsObservation) DeepCopy added in v0.26.0

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

func (*PermissionsObservation) DeepCopyInto added in v0.26.0

func (in *PermissionsObservation) DeepCopyInto(out *PermissionsObservation)

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

type PermissionsParameters added in v0.26.0

type PermissionsParameters struct {

	// One or more Allowed Actions, such as *, Microsoft.Resources/subscriptions/resourceGroups/read. See 'Azure Resource Manager resource provider operations' for details.
	// +kubebuilder:validation:Optional
	Actions []*string `json:"actions,omitempty" tf:"actions,omitempty"`

	// One or more Allowed Data Actions, such as *, Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read. See 'Azure Resource Manager resource provider operations' for details.
	// +kubebuilder:validation:Optional
	// +listType=set
	DataActions []*string `json:"dataActions,omitempty" tf:"data_actions,omitempty"`

	// One or more Disallowed Actions, such as *, Microsoft.Resources/subscriptions/resourceGroups/read. See 'Azure Resource Manager resource provider operations' for details.
	// +kubebuilder:validation:Optional
	NotActions []*string `json:"notActions,omitempty" tf:"not_actions,omitempty"`

	// One or more Disallowed Data Actions, such as *, Microsoft.Resources/subscriptions/resourceGroups/read. See 'Azure Resource Manager resource provider operations' for details.
	// +kubebuilder:validation:Optional
	// +listType=set
	NotDataActions []*string `json:"notDataActions,omitempty" tf:"not_data_actions,omitempty"`
}

func (*PermissionsParameters) DeepCopy added in v0.26.0

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

func (*PermissionsParameters) DeepCopyInto added in v0.26.0

func (in *PermissionsParameters) DeepCopyInto(out *PermissionsParameters)

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

type PolicyDefinition

type PolicyDefinition 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.displayName) || (has(self.initProvider) && has(self.initProvider.displayName))",message="spec.forProvider.displayName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.mode) || (has(self.initProvider) && has(self.initProvider.mode))",message="spec.forProvider.mode is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policyType) || (has(self.initProvider) && has(self.initProvider.policyType))",message="spec.forProvider.policyType is a required parameter"
	Spec   PolicyDefinitionSpec   `json:"spec"`
	Status PolicyDefinitionStatus `json:"status,omitempty"`
}

PolicyDefinition is the Schema for the PolicyDefinitions API. Manages a policy rule definition. Policy definitions do not take effect until they are assigned to a scope using a Policy Assignment. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*PolicyDefinition) DeepCopy

func (in *PolicyDefinition) DeepCopy() *PolicyDefinition

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

func (*PolicyDefinition) DeepCopyInto

func (in *PolicyDefinition) DeepCopyInto(out *PolicyDefinition)

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

func (*PolicyDefinition) DeepCopyObject

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

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

func (*PolicyDefinition) GetCondition

func (mg *PolicyDefinition) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this PolicyDefinition.

func (*PolicyDefinition) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PolicyDefinition

func (*PolicyDefinition) GetDeletionPolicy

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

GetDeletionPolicy of this PolicyDefinition.

func (*PolicyDefinition) GetID

func (tr *PolicyDefinition) GetID() string

GetID returns ID of underlying Terraform resource of this PolicyDefinition

func (*PolicyDefinition) GetInitParameters added in v0.35.0

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

GetInitParameters of this PolicyDefinition

func (*PolicyDefinition) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this PolicyDefinition.

func (*PolicyDefinition) GetMergedParameters added in v0.40.0

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

GetInitParameters of this PolicyDefinition

func (*PolicyDefinition) GetObservation

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

GetObservation of this PolicyDefinition

func (*PolicyDefinition) GetParameters

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

GetParameters of this PolicyDefinition

func (*PolicyDefinition) GetProviderConfigReference

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

GetProviderConfigReference of this PolicyDefinition.

func (*PolicyDefinition) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PolicyDefinition.

func (*PolicyDefinition) GetTerraformResourceType

func (mg *PolicyDefinition) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PolicyDefinition

func (*PolicyDefinition) GetTerraformSchemaVersion

func (tr *PolicyDefinition) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PolicyDefinition) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PolicyDefinition.

func (*PolicyDefinition) LateInitialize

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

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

func (*PolicyDefinition) SetConditions

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

SetConditions of this PolicyDefinition.

func (*PolicyDefinition) SetDeletionPolicy

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

SetDeletionPolicy of this PolicyDefinition.

func (*PolicyDefinition) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this PolicyDefinition.

func (*PolicyDefinition) SetObservation

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

SetObservation for this PolicyDefinition

func (*PolicyDefinition) SetParameters

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

SetParameters for this PolicyDefinition

func (*PolicyDefinition) SetProviderConfigReference

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

SetProviderConfigReference of this PolicyDefinition.

func (*PolicyDefinition) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PolicyDefinition.

func (*PolicyDefinition) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PolicyDefinition.

type PolicyDefinitionInitParameters added in v0.35.0

type PolicyDefinitionInitParameters struct {

	// The description of the policy definition.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The display name of the policy definition.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The id of the Management Group where this policy should be defined. Changing this forces a new resource to be created.
	ManagementGroupID *string `json:"managementGroupId,omitempty" tf:"management_group_id,omitempty"`

	// The metadata for the policy definition. This is a JSON string representing additional metadata that should be stored with the policy definition.
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The policy resource manager mode that allows you to specify which resource types will be evaluated. Possible values are All, Indexed, Microsoft.ContainerService.Data, Microsoft.CustomerLockbox.Data, Microsoft.DataCatalog.Data, Microsoft.KeyVault.Data, Microsoft.Kubernetes.Data, Microsoft.MachineLearningServices.Data, Microsoft.Network.Data and Microsoft.Synapse.Data.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// Parameters for the policy definition. This field is a JSON string that allows you to parameterize your policy definition.
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The policy rule for the policy definition. This is a JSON string representing the rule that contains an if and a then block.
	PolicyRule *string `json:"policyRule,omitempty" tf:"policy_rule,omitempty"`

	// The policy type. Possible values are BuiltIn, Custom, NotSpecified and Static. Changing this forces a new resource to be created.
	PolicyType *string `json:"policyType,omitempty" tf:"policy_type,omitempty"`
}

func (*PolicyDefinitionInitParameters) DeepCopy added in v0.35.0

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

func (*PolicyDefinitionInitParameters) DeepCopyInto added in v0.35.0

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

type PolicyDefinitionList

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

PolicyDefinitionList contains a list of PolicyDefinitions

func (*PolicyDefinitionList) DeepCopy

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

func (*PolicyDefinitionList) DeepCopyInto

func (in *PolicyDefinitionList) DeepCopyInto(out *PolicyDefinitionList)

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

func (*PolicyDefinitionList) DeepCopyObject

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

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

func (*PolicyDefinitionList) GetItems

func (l *PolicyDefinitionList) GetItems() []resource.Managed

GetItems of this PolicyDefinitionList.

type PolicyDefinitionObservation

type PolicyDefinitionObservation struct {

	// The description of the policy definition.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The display name of the policy definition.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

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

	// The id of the Management Group where this policy should be defined. Changing this forces a new resource to be created.
	ManagementGroupID *string `json:"managementGroupId,omitempty" tf:"management_group_id,omitempty"`

	// The metadata for the policy definition. This is a JSON string representing additional metadata that should be stored with the policy definition.
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The policy resource manager mode that allows you to specify which resource types will be evaluated. Possible values are All, Indexed, Microsoft.ContainerService.Data, Microsoft.CustomerLockbox.Data, Microsoft.DataCatalog.Data, Microsoft.KeyVault.Data, Microsoft.Kubernetes.Data, Microsoft.MachineLearningServices.Data, Microsoft.Network.Data and Microsoft.Synapse.Data.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// Parameters for the policy definition. This field is a JSON string that allows you to parameterize your policy definition.
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The policy rule for the policy definition. This is a JSON string representing the rule that contains an if and a then block.
	PolicyRule *string `json:"policyRule,omitempty" tf:"policy_rule,omitempty"`

	// The policy type. Possible values are BuiltIn, Custom, NotSpecified and Static. Changing this forces a new resource to be created.
	PolicyType *string `json:"policyType,omitempty" tf:"policy_type,omitempty"`

	// A list of role definition id extracted from policy_rule required for remediation.
	RoleDefinitionIds []*string `json:"roleDefinitionIds,omitempty" tf:"role_definition_ids,omitempty"`
}

func (*PolicyDefinitionObservation) DeepCopy

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

func (*PolicyDefinitionObservation) DeepCopyInto

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

type PolicyDefinitionParameters

type PolicyDefinitionParameters struct {

	// The description of the policy definition.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The display name of the policy definition.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The id of the Management Group where this policy should be defined. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	ManagementGroupID *string `json:"managementGroupId,omitempty" tf:"management_group_id,omitempty"`

	// The metadata for the policy definition. This is a JSON string representing additional metadata that should be stored with the policy definition.
	// +kubebuilder:validation:Optional
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The policy resource manager mode that allows you to specify which resource types will be evaluated. Possible values are All, Indexed, Microsoft.ContainerService.Data, Microsoft.CustomerLockbox.Data, Microsoft.DataCatalog.Data, Microsoft.KeyVault.Data, Microsoft.Kubernetes.Data, Microsoft.MachineLearningServices.Data, Microsoft.Network.Data and Microsoft.Synapse.Data.
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// Parameters for the policy definition. This field is a JSON string that allows you to parameterize your policy definition.
	// +kubebuilder:validation:Optional
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The policy rule for the policy definition. This is a JSON string representing the rule that contains an if and a then block.
	// +kubebuilder:validation:Optional
	PolicyRule *string `json:"policyRule,omitempty" tf:"policy_rule,omitempty"`

	// The policy type. Possible values are BuiltIn, Custom, NotSpecified and Static. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	PolicyType *string `json:"policyType,omitempty" tf:"policy_type,omitempty"`
}

func (*PolicyDefinitionParameters) DeepCopy

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

func (*PolicyDefinitionParameters) DeepCopyInto

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

type PolicyDefinitionSpec

type PolicyDefinitionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PolicyDefinitionParameters `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 PolicyDefinitionInitParameters `json:"initProvider,omitempty"`
}

PolicyDefinitionSpec defines the desired state of PolicyDefinition

func (*PolicyDefinitionSpec) DeepCopy

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

func (*PolicyDefinitionSpec) DeepCopyInto

func (in *PolicyDefinitionSpec) DeepCopyInto(out *PolicyDefinitionSpec)

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

type PolicyDefinitionStatus

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

PolicyDefinitionStatus defines the observed state of PolicyDefinition.

func (*PolicyDefinitionStatus) DeepCopy

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

func (*PolicyDefinitionStatus) DeepCopyInto

func (in *PolicyDefinitionStatus) DeepCopyInto(out *PolicyDefinitionStatus)

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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +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 added in v0.35.0

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

GetInitParameters of this ResourceGroupPolicyAssignment

func (*ResourceGroupPolicyAssignment) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this ResourceGroupPolicyAssignment.

func (*ResourceGroupPolicyAssignment) GetMergedParameters added in v0.40.0

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

ResolveReferences of this ResourceGroupPolicyAssignment.

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 added in v0.35.0

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 added in v0.35.0

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 added in v0.35.0

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

func (*ResourceGroupPolicyAssignmentInitParameters) DeepCopyInto added in v0.35.0

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 added in v0.26.0

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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*ResourcePolicyAssignment) DeepCopy added in v0.26.0

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

func (*ResourcePolicyAssignment) DeepCopyInto added in v0.26.0

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 added in v0.26.0

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

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

func (*ResourcePolicyAssignment) GetCondition added in v0.26.0

GetCondition of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) GetConnectionDetailsMapping added in v0.26.0

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

GetConnectionDetailsMapping for this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) GetDeletionPolicy added in v0.26.0

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

GetDeletionPolicy of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) GetID added in v0.26.0

func (tr *ResourcePolicyAssignment) GetID() string

GetID returns ID of underlying Terraform resource of this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) GetInitParameters added in v0.35.0

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

GetInitParameters of this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) GetMergedParameters added in v0.40.0

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

GetInitParameters of this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) GetObservation added in v0.26.0

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

GetObservation of this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) GetParameters added in v0.26.0

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

GetParameters of this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) GetProviderConfigReference added in v0.26.0

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

GetProviderConfigReference of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) GetPublishConnectionDetailsTo added in v0.26.0

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

GetPublishConnectionDetailsTo of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) GetTerraformResourceType added in v0.26.0

func (mg *ResourcePolicyAssignment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) GetTerraformSchemaVersion added in v0.26.0

func (tr *ResourcePolicyAssignment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ResourcePolicyAssignment) GetWriteConnectionSecretToReference added in v0.26.0

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

GetWriteConnectionSecretToReference of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) LateInitialize added in v0.26.0

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 added in v0.26.0

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

ResolveReferences of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) SetConditions added in v0.26.0

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

SetConditions of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) SetDeletionPolicy added in v0.26.0

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

SetDeletionPolicy of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) SetObservation added in v0.26.0

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

SetObservation for this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) SetParameters added in v0.26.0

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

SetParameters for this ResourcePolicyAssignment

func (*ResourcePolicyAssignment) SetProviderConfigReference added in v0.26.0

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

SetProviderConfigReference of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) SetPublishConnectionDetailsTo added in v0.26.0

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

SetPublishConnectionDetailsTo of this ResourcePolicyAssignment.

func (*ResourcePolicyAssignment) SetWriteConnectionSecretToReference added in v0.26.0

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

SetWriteConnectionSecretToReference of this ResourcePolicyAssignment.

type ResourcePolicyAssignmentIdentityInitParameters added in v0.35.0

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 added in v0.35.0

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

func (*ResourcePolicyAssignmentIdentityInitParameters) DeepCopyInto added in v0.35.0

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

type ResourcePolicyAssignmentIdentityObservation added in v0.26.0

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 added in v0.26.0

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

func (*ResourcePolicyAssignmentIdentityObservation) DeepCopyInto added in v0.26.0

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

type ResourcePolicyAssignmentIdentityParameters added in v0.26.0

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 added in v0.26.0

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

func (*ResourcePolicyAssignmentIdentityParameters) DeepCopyInto added in v0.26.0

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

type ResourcePolicyAssignmentInitParameters added in v0.35.0

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.
	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 added in v0.35.0

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

func (*ResourcePolicyAssignmentInitParameters) DeepCopyInto added in v0.35.0

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

type ResourcePolicyAssignmentList added in v0.26.0

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 added in v0.26.0

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

func (*ResourcePolicyAssignmentList) DeepCopyInto added in v0.26.0

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

func (*ResourcePolicyAssignmentList) DeepCopyObject added in v0.26.0

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

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

func (*ResourcePolicyAssignmentList) GetItems added in v0.26.0

GetItems of this ResourcePolicyAssignmentList.

type ResourcePolicyAssignmentNonComplianceMessageInitParameters added in v0.35.0

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 added in v0.35.0

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

func (*ResourcePolicyAssignmentNonComplianceMessageInitParameters) DeepCopyInto added in v0.35.0

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

type ResourcePolicyAssignmentNonComplianceMessageObservation added in v0.26.0

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 added in v0.26.0

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

func (*ResourcePolicyAssignmentNonComplianceMessageObservation) DeepCopyInto added in v0.26.0

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

type ResourcePolicyAssignmentNonComplianceMessageParameters added in v0.26.0

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 added in v0.26.0

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

func (*ResourcePolicyAssignmentNonComplianceMessageParameters) DeepCopyInto added in v0.26.0

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

type ResourcePolicyAssignmentObservation added in v0.26.0

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.
	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 added in v0.26.0

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

func (*ResourcePolicyAssignmentObservation) DeepCopyInto added in v0.26.0

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

type ResourcePolicyAssignmentOverridesInitParameters added in v0.35.0

type ResourcePolicyAssignmentOverridesInitParameters struct {

	// One or more override_selector 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 added in v0.35.0

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

func (*ResourcePolicyAssignmentOverridesInitParameters) DeepCopyInto added in v0.35.0

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

type ResourcePolicyAssignmentOverridesObservation added in v0.32.0

type ResourcePolicyAssignmentOverridesObservation struct {

	// One or more override_selector 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 added in v0.32.0

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

func (*ResourcePolicyAssignmentOverridesObservation) DeepCopyInto added in v0.32.0

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

type ResourcePolicyAssignmentOverridesParameters added in v0.32.0

type ResourcePolicyAssignmentOverridesParameters struct {

	// One or more override_selector 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 added in v0.32.0

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

func (*ResourcePolicyAssignmentOverridesParameters) DeepCopyInto added in v0.32.0

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

type ResourcePolicyAssignmentParameters added in v0.26.0

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.
	// +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 added in v0.26.0

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

func (*ResourcePolicyAssignmentParameters) DeepCopyInto added in v0.26.0

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

type ResourcePolicyAssignmentResourceSelectorsInitParameters added in v0.35.0

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 added in v0.35.0

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

func (*ResourcePolicyAssignmentResourceSelectorsInitParameters) DeepCopyInto added in v0.35.0

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

type ResourcePolicyAssignmentResourceSelectorsObservation added in v0.32.0

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 added in v0.32.0

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

func (*ResourcePolicyAssignmentResourceSelectorsObservation) DeepCopyInto added in v0.32.0

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

type ResourcePolicyAssignmentResourceSelectorsParameters added in v0.32.0

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 added in v0.32.0

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

func (*ResourcePolicyAssignmentResourceSelectorsParameters) DeepCopyInto added in v0.32.0

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

type ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters added in v0.35.0

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 added in v0.35.0

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

func (*ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopyInto added in v0.35.0

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

type ResourcePolicyAssignmentResourceSelectorsSelectorsObservation added in v0.32.0

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 added in v0.32.0

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

func (*ResourcePolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopyInto added in v0.32.0

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

type ResourcePolicyAssignmentResourceSelectorsSelectorsParameters added in v0.32.0

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 added in v0.32.0

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

func (*ResourcePolicyAssignmentResourceSelectorsSelectorsParameters) DeepCopyInto added in v0.32.0

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

type ResourcePolicyAssignmentSpec added in v0.26.0

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 added in v0.26.0

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

func (*ResourcePolicyAssignmentSpec) DeepCopyInto added in v0.26.0

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

type ResourcePolicyAssignmentStatus added in v0.26.0

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

ResourcePolicyAssignmentStatus defines the observed state of ResourcePolicyAssignment.

func (*ResourcePolicyAssignmentStatus) DeepCopy added in v0.26.0

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

func (*ResourcePolicyAssignmentStatus) DeepCopyInto added in v0.26.0

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

type ResourcePolicyExemption added in v0.26.0

type ResourcePolicyExemption 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.exemptionCategory) || (has(self.initProvider) && has(self.initProvider.exemptionCategory))",message="spec.forProvider.exemptionCategory is a required parameter"
	// +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"
	Spec   ResourcePolicyExemptionSpec   `json:"spec"`
	Status ResourcePolicyExemptionStatus `json:"status,omitempty"`
}

ResourcePolicyExemption is the Schema for the ResourcePolicyExemptions API. Manages a Resource Policy Exemption. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*ResourcePolicyExemption) DeepCopy added in v0.26.0

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

func (*ResourcePolicyExemption) DeepCopyInto added in v0.26.0

func (in *ResourcePolicyExemption) DeepCopyInto(out *ResourcePolicyExemption)

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

func (*ResourcePolicyExemption) DeepCopyObject added in v0.26.0

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

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

func (*ResourcePolicyExemption) GetCondition added in v0.26.0

GetCondition of this ResourcePolicyExemption.

func (*ResourcePolicyExemption) GetConnectionDetailsMapping added in v0.26.0

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

GetConnectionDetailsMapping for this ResourcePolicyExemption

func (*ResourcePolicyExemption) GetDeletionPolicy added in v0.26.0

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

GetDeletionPolicy of this ResourcePolicyExemption.

func (*ResourcePolicyExemption) GetID added in v0.26.0

func (tr *ResourcePolicyExemption) GetID() string

GetID returns ID of underlying Terraform resource of this ResourcePolicyExemption

func (*ResourcePolicyExemption) GetInitParameters added in v0.35.0

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

GetInitParameters of this ResourcePolicyExemption

func (*ResourcePolicyExemption) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this ResourcePolicyExemption.

func (*ResourcePolicyExemption) GetMergedParameters added in v0.40.0

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

GetInitParameters of this ResourcePolicyExemption

func (*ResourcePolicyExemption) GetObservation added in v0.26.0

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

GetObservation of this ResourcePolicyExemption

func (*ResourcePolicyExemption) GetParameters added in v0.26.0

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

GetParameters of this ResourcePolicyExemption

func (*ResourcePolicyExemption) GetProviderConfigReference added in v0.26.0

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

GetProviderConfigReference of this ResourcePolicyExemption.

func (*ResourcePolicyExemption) GetPublishConnectionDetailsTo added in v0.26.0

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

GetPublishConnectionDetailsTo of this ResourcePolicyExemption.

func (*ResourcePolicyExemption) GetTerraformResourceType added in v0.26.0

func (mg *ResourcePolicyExemption) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ResourcePolicyExemption

func (*ResourcePolicyExemption) GetTerraformSchemaVersion added in v0.26.0

func (tr *ResourcePolicyExemption) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ResourcePolicyExemption) GetWriteConnectionSecretToReference added in v0.26.0

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

GetWriteConnectionSecretToReference of this ResourcePolicyExemption.

func (*ResourcePolicyExemption) LateInitialize added in v0.26.0

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

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

func (*ResourcePolicyExemption) ResolveReferences added in v0.26.0

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

ResolveReferences of this ResourcePolicyExemption.

func (*ResourcePolicyExemption) SetConditions added in v0.26.0

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

SetConditions of this ResourcePolicyExemption.

func (*ResourcePolicyExemption) SetDeletionPolicy added in v0.26.0

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

SetDeletionPolicy of this ResourcePolicyExemption.

func (*ResourcePolicyExemption) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this ResourcePolicyExemption.

func (*ResourcePolicyExemption) SetObservation added in v0.26.0

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

SetObservation for this ResourcePolicyExemption

func (*ResourcePolicyExemption) SetParameters added in v0.26.0

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

SetParameters for this ResourcePolicyExemption

func (*ResourcePolicyExemption) SetProviderConfigReference added in v0.26.0

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

SetProviderConfigReference of this ResourcePolicyExemption.

func (*ResourcePolicyExemption) SetPublishConnectionDetailsTo added in v0.26.0

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

SetPublishConnectionDetailsTo of this ResourcePolicyExemption.

func (*ResourcePolicyExemption) SetWriteConnectionSecretToReference added in v0.26.0

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

SetWriteConnectionSecretToReference of this ResourcePolicyExemption.

type ResourcePolicyExemptionInitParameters added in v0.35.0

type ResourcePolicyExemptionInitParameters struct {

	// A description to use for this Policy Exemption.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A friendly display name to use for this Policy Exemption.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The category of this policy exemption. Possible values are Waiver and Mitigated.
	ExemptionCategory *string `json:"exemptionCategory,omitempty" tf:"exemption_category,omitempty"`

	// The expiration date and time in UTC ISO 8601 format of this policy exemption.
	ExpiresOn *string `json:"expiresOn,omitempty" tf:"expires_on,omitempty"`

	// The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption.
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The name of the Policy Exemption. Changing this forces a new resource to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.ResourcePolicyAssignment
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	PolicyAssignmentID *string `json:"policyAssignmentId,omitempty" tf:"policy_assignment_id,omitempty"`

	// Reference to a ResourcePolicyAssignment in authorization to populate policyAssignmentId.
	// +kubebuilder:validation:Optional
	PolicyAssignmentIDRef *v1.Reference `json:"policyAssignmentIdRef,omitempty" tf:"-"`

	// Selector for a ResourcePolicyAssignment in authorization to populate policyAssignmentId.
	// +kubebuilder:validation:Optional
	PolicyAssignmentIDSelector *v1.Selector `json:"policyAssignmentIdSelector,omitempty" tf:"-"`

	// The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.
	PolicyDefinitionReferenceIds []*string `json:"policyDefinitionReferenceIds,omitempty" tf:"policy_definition_reference_ids,omitempty"`

	// The Resource ID where the Policy Exemption should be applied. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.ResourcePolicyAssignment
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("resource_id",false)
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Reference to a ResourcePolicyAssignment in authorization to populate resourceId.
	// +kubebuilder:validation:Optional
	ResourceIDRef *v1.Reference `json:"resourceIdRef,omitempty" tf:"-"`

	// Selector for a ResourcePolicyAssignment in authorization to populate resourceId.
	// +kubebuilder:validation:Optional
	ResourceIDSelector *v1.Selector `json:"resourceIdSelector,omitempty" tf:"-"`
}

func (*ResourcePolicyExemptionInitParameters) DeepCopy added in v0.35.0

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

func (*ResourcePolicyExemptionInitParameters) DeepCopyInto added in v0.35.0

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

type ResourcePolicyExemptionList added in v0.26.0

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

ResourcePolicyExemptionList contains a list of ResourcePolicyExemptions

func (*ResourcePolicyExemptionList) DeepCopy added in v0.26.0

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

func (*ResourcePolicyExemptionList) DeepCopyInto added in v0.26.0

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

func (*ResourcePolicyExemptionList) DeepCopyObject added in v0.26.0

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

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

func (*ResourcePolicyExemptionList) GetItems added in v0.26.0

GetItems of this ResourcePolicyExemptionList.

type ResourcePolicyExemptionObservation added in v0.26.0

type ResourcePolicyExemptionObservation struct {

	// A description to use for this Policy Exemption.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A friendly display name to use for this Policy Exemption.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The category of this policy exemption. Possible values are Waiver and Mitigated.
	ExemptionCategory *string `json:"exemptionCategory,omitempty" tf:"exemption_category,omitempty"`

	// The expiration date and time in UTC ISO 8601 format of this policy exemption.
	ExpiresOn *string `json:"expiresOn,omitempty" tf:"expires_on,omitempty"`

	// The Policy Exemption id.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption.
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The name of the Policy Exemption. Changing this forces a new resource to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created.
	PolicyAssignmentID *string `json:"policyAssignmentId,omitempty" tf:"policy_assignment_id,omitempty"`

	// The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.
	PolicyDefinitionReferenceIds []*string `json:"policyDefinitionReferenceIds,omitempty" tf:"policy_definition_reference_ids,omitempty"`

	// The Resource ID where the Policy Exemption should be applied. Changing this forces a new resource to be created.
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`
}

func (*ResourcePolicyExemptionObservation) DeepCopy added in v0.26.0

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

func (*ResourcePolicyExemptionObservation) DeepCopyInto added in v0.26.0

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

type ResourcePolicyExemptionParameters added in v0.26.0

type ResourcePolicyExemptionParameters struct {

	// A description to use for this Policy Exemption.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A friendly display name to use for this Policy Exemption.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The category of this policy exemption. Possible values are Waiver and Mitigated.
	// +kubebuilder:validation:Optional
	ExemptionCategory *string `json:"exemptionCategory,omitempty" tf:"exemption_category,omitempty"`

	// The expiration date and time in UTC ISO 8601 format of this policy exemption.
	// +kubebuilder:validation:Optional
	ExpiresOn *string `json:"expiresOn,omitempty" tf:"expires_on,omitempty"`

	// The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption.
	// +kubebuilder:validation:Optional
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The name of the Policy Exemption. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.ResourcePolicyAssignment
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	PolicyAssignmentID *string `json:"policyAssignmentId,omitempty" tf:"policy_assignment_id,omitempty"`

	// Reference to a ResourcePolicyAssignment in authorization to populate policyAssignmentId.
	// +kubebuilder:validation:Optional
	PolicyAssignmentIDRef *v1.Reference `json:"policyAssignmentIdRef,omitempty" tf:"-"`

	// Selector for a ResourcePolicyAssignment in authorization to populate policyAssignmentId.
	// +kubebuilder:validation:Optional
	PolicyAssignmentIDSelector *v1.Selector `json:"policyAssignmentIdSelector,omitempty" tf:"-"`

	// The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.
	// +kubebuilder:validation:Optional
	PolicyDefinitionReferenceIds []*string `json:"policyDefinitionReferenceIds,omitempty" tf:"policy_definition_reference_ids,omitempty"`

	// The Resource ID where the Policy Exemption should be applied. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.ResourcePolicyAssignment
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("resource_id",false)
	// +kubebuilder:validation:Optional
	ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"`

	// Reference to a ResourcePolicyAssignment in authorization to populate resourceId.
	// +kubebuilder:validation:Optional
	ResourceIDRef *v1.Reference `json:"resourceIdRef,omitempty" tf:"-"`

	// Selector for a ResourcePolicyAssignment in authorization to populate resourceId.
	// +kubebuilder:validation:Optional
	ResourceIDSelector *v1.Selector `json:"resourceIdSelector,omitempty" tf:"-"`
}

func (*ResourcePolicyExemptionParameters) DeepCopy added in v0.26.0

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

func (*ResourcePolicyExemptionParameters) DeepCopyInto added in v0.26.0

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

type ResourcePolicyExemptionSpec added in v0.26.0

type ResourcePolicyExemptionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ResourcePolicyExemptionParameters `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 ResourcePolicyExemptionInitParameters `json:"initProvider,omitempty"`
}

ResourcePolicyExemptionSpec defines the desired state of ResourcePolicyExemption

func (*ResourcePolicyExemptionSpec) DeepCopy added in v0.26.0

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

func (*ResourcePolicyExemptionSpec) DeepCopyInto added in v0.26.0

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

type ResourcePolicyExemptionStatus added in v0.26.0

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

ResourcePolicyExemptionStatus defines the observed state of ResourcePolicyExemption.

func (*ResourcePolicyExemptionStatus) DeepCopy added in v0.26.0

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

func (*ResourcePolicyExemptionStatus) DeepCopyInto added in v0.26.0

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

type ResourceSelectorsInitParameters added in v0.35.0

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 added in v0.35.0

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

func (*ResourceSelectorsInitParameters) DeepCopyInto added in v0.35.0

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

type ResourceSelectorsObservation added in v0.32.0

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 added in v0.32.0

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

func (*ResourceSelectorsObservation) DeepCopyInto added in v0.32.0

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

type ResourceSelectorsParameters added in v0.32.0

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 added in v0.32.0

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

func (*ResourceSelectorsParameters) DeepCopyInto added in v0.32.0

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

type ResourceSelectorsSelectorsInitParameters added in v0.35.0

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 added in v0.35.0

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

func (*ResourceSelectorsSelectorsInitParameters) DeepCopyInto added in v0.35.0

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

type ResourceSelectorsSelectorsObservation added in v0.32.0

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 added in v0.32.0

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

func (*ResourceSelectorsSelectorsObservation) DeepCopyInto added in v0.32.0

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

type ResourceSelectorsSelectorsParameters added in v0.32.0

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 added in v0.32.0

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

func (*ResourceSelectorsSelectorsParameters) DeepCopyInto added in v0.32.0

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

type RoleAssignment

type RoleAssignment 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.principalId) || (has(self.initProvider) && has(self.initProvider.principalId))",message="spec.forProvider.principalId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scope) || (has(self.initProvider) && has(self.initProvider.scope))",message="spec.forProvider.scope is a required parameter"
	Spec   RoleAssignmentSpec   `json:"spec"`
	Status RoleAssignmentStatus `json:"status,omitempty"`
}

RoleAssignment is the Schema for the RoleAssignments API. Assigns a given Principal (User or Group) to a given Role. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*RoleAssignment) DeepCopy

func (in *RoleAssignment) DeepCopy() *RoleAssignment

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

func (*RoleAssignment) DeepCopyInto

func (in *RoleAssignment) DeepCopyInto(out *RoleAssignment)

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

func (*RoleAssignment) DeepCopyObject

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

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

func (*RoleAssignment) GetCondition

func (mg *RoleAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this RoleAssignment.

func (*RoleAssignment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RoleAssignment

func (*RoleAssignment) GetDeletionPolicy

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

GetDeletionPolicy of this RoleAssignment.

func (*RoleAssignment) GetID

func (tr *RoleAssignment) GetID() string

GetID returns ID of underlying Terraform resource of this RoleAssignment

func (*RoleAssignment) GetInitParameters added in v0.35.0

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

GetInitParameters of this RoleAssignment

func (*RoleAssignment) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this RoleAssignment.

func (*RoleAssignment) GetMergedParameters added in v0.40.0

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

GetInitParameters of this RoleAssignment

func (*RoleAssignment) GetObservation

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

GetObservation of this RoleAssignment

func (*RoleAssignment) GetParameters

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

GetParameters of this RoleAssignment

func (*RoleAssignment) GetProviderConfigReference

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

GetProviderConfigReference of this RoleAssignment.

func (*RoleAssignment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RoleAssignment.

func (*RoleAssignment) GetTerraformResourceType

func (mg *RoleAssignment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RoleAssignment

func (*RoleAssignment) GetTerraformSchemaVersion

func (tr *RoleAssignment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RoleAssignment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RoleAssignment.

func (*RoleAssignment) LateInitialize

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

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

func (*RoleAssignment) ResolveReferences added in v0.26.0

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

ResolveReferences of this RoleAssignment.

func (*RoleAssignment) SetConditions

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

SetConditions of this RoleAssignment.

func (*RoleAssignment) SetDeletionPolicy

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

SetDeletionPolicy of this RoleAssignment.

func (*RoleAssignment) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this RoleAssignment.

func (*RoleAssignment) SetObservation

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

SetObservation for this RoleAssignment

func (*RoleAssignment) SetParameters

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

SetParameters for this RoleAssignment

func (*RoleAssignment) SetProviderConfigReference

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

SetProviderConfigReference of this RoleAssignment.

func (*RoleAssignment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RoleAssignment.

func (*RoleAssignment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RoleAssignment.

type RoleAssignmentInitParameters added in v0.35.0

type RoleAssignmentInitParameters struct {

	// The condition that limits the resources that the role can be assigned to. Changing this forces a new resource to be created.
	Condition *string `json:"condition,omitempty" tf:"condition,omitempty"`

	// The version of the condition. Possible values are 1.0 or 2.0. Changing this forces a new resource to be created.
	ConditionVersion *string `json:"conditionVersion,omitempty" tf:"condition_version,omitempty"`

	// The delegated Azure Resource Id which contains a Managed Identity. Changing this forces a new resource to be created.
	DelegatedManagedIdentityResourceID *string `json:"delegatedManagedIdentityResourceId,omitempty" tf:"delegated_managed_identity_resource_id,omitempty"`

	// The description for this Role Assignment. Changing this forces a new resource to be created.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A unique UUID/GUID for this Role Assignment - one will be generated if not specified. Changing this forces a new resource to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the Principal (User, Group or Service Principal) to assign the Role Definition to. Changing this forces a new resource to be created.
	PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`

	// The Scoped-ID of the Role Definition. Changing this forces a new resource to be created. Conflicts with role_definition_name.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.RoleDefinition
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("role_definition_resource_id",true)
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty" tf:"role_definition_id,omitempty"`

	// Reference to a RoleDefinition in authorization to populate roleDefinitionId.
	// +kubebuilder:validation:Optional
	RoleDefinitionIDRef *v1.Reference `json:"roleDefinitionIdRef,omitempty" tf:"-"`

	// Selector for a RoleDefinition in authorization to populate roleDefinitionId.
	// +kubebuilder:validation:Optional
	RoleDefinitionIDSelector *v1.Selector `json:"roleDefinitionIdSelector,omitempty" tf:"-"`

	// The name of a built-in Role. Changing this forces a new resource to be created. Conflicts with role_definition_id.
	RoleDefinitionName *string `json:"roleDefinitionName,omitempty" tf:"role_definition_name,omitempty"`

	// The scope at which the Role Assignment applies to, such as /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333, /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup, or /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup/providers/Microsoft.Compute/virtualMachines/myVM, or /providers/Microsoft.Management/managementGroups/myMG. Changing this forces a new resource to be created.
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	// If the principal_id is a newly provisioned Service Principal set this value to true to skip the Azure Active Directory check which may fail due to replication lag. This argument is only valid if the principal_id is a Service Principal identity. Defaults to false.
	SkipServicePrincipalAADCheck *bool `json:"skipServicePrincipalAadCheck,omitempty" tf:"skip_service_principal_aad_check,omitempty"`
}

func (*RoleAssignmentInitParameters) DeepCopy added in v0.35.0

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

func (*RoleAssignmentInitParameters) DeepCopyInto added in v0.35.0

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

type RoleAssignmentList

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

RoleAssignmentList contains a list of RoleAssignments

func (*RoleAssignmentList) DeepCopy

func (in *RoleAssignmentList) DeepCopy() *RoleAssignmentList

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

func (*RoleAssignmentList) DeepCopyInto

func (in *RoleAssignmentList) DeepCopyInto(out *RoleAssignmentList)

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

func (*RoleAssignmentList) DeepCopyObject

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

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

func (*RoleAssignmentList) GetItems

func (l *RoleAssignmentList) GetItems() []resource.Managed

GetItems of this RoleAssignmentList.

type RoleAssignmentObservation

type RoleAssignmentObservation struct {

	// The condition that limits the resources that the role can be assigned to. Changing this forces a new resource to be created.
	Condition *string `json:"condition,omitempty" tf:"condition,omitempty"`

	// The version of the condition. Possible values are 1.0 or 2.0. Changing this forces a new resource to be created.
	ConditionVersion *string `json:"conditionVersion,omitempty" tf:"condition_version,omitempty"`

	// The delegated Azure Resource Id which contains a Managed Identity. Changing this forces a new resource to be created.
	DelegatedManagedIdentityResourceID *string `json:"delegatedManagedIdentityResourceId,omitempty" tf:"delegated_managed_identity_resource_id,omitempty"`

	// The description for this Role Assignment. Changing this forces a new resource to be created.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The Role Assignment ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A unique UUID/GUID for this Role Assignment - one will be generated if not specified. Changing this forces a new resource to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the Principal (User, Group or Service Principal) to assign the Role Definition to. Changing this forces a new resource to be created.
	PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`

	// The type of the principal_id, e.g. User, Group, Service Principal, Application, etc.
	PrincipalType *string `json:"principalType,omitempty" tf:"principal_type,omitempty"`

	// The Scoped-ID of the Role Definition. Changing this forces a new resource to be created. Conflicts with role_definition_name.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty" tf:"role_definition_id,omitempty"`

	// The name of a built-in Role. Changing this forces a new resource to be created. Conflicts with role_definition_id.
	RoleDefinitionName *string `json:"roleDefinitionName,omitempty" tf:"role_definition_name,omitempty"`

	// The scope at which the Role Assignment applies to, such as /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333, /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup, or /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup/providers/Microsoft.Compute/virtualMachines/myVM, or /providers/Microsoft.Management/managementGroups/myMG. Changing this forces a new resource to be created.
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	// If the principal_id is a newly provisioned Service Principal set this value to true to skip the Azure Active Directory check which may fail due to replication lag. This argument is only valid if the principal_id is a Service Principal identity. Defaults to false.
	SkipServicePrincipalAADCheck *bool `json:"skipServicePrincipalAadCheck,omitempty" tf:"skip_service_principal_aad_check,omitempty"`
}

func (*RoleAssignmentObservation) DeepCopy

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

func (*RoleAssignmentObservation) DeepCopyInto

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

type RoleAssignmentParameters

type RoleAssignmentParameters struct {

	// The condition that limits the resources that the role can be assigned to. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Condition *string `json:"condition,omitempty" tf:"condition,omitempty"`

	// The version of the condition. Possible values are 1.0 or 2.0. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	ConditionVersion *string `json:"conditionVersion,omitempty" tf:"condition_version,omitempty"`

	// The delegated Azure Resource Id which contains a Managed Identity. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	DelegatedManagedIdentityResourceID *string `json:"delegatedManagedIdentityResourceId,omitempty" tf:"delegated_managed_identity_resource_id,omitempty"`

	// The description for this Role Assignment. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A unique UUID/GUID for this Role Assignment - one will be generated if not specified. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the Principal (User, Group or Service Principal) to assign the Role Definition to. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`

	// The Scoped-ID of the Role Definition. Changing this forces a new resource to be created. Conflicts with role_definition_name.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.RoleDefinition
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("role_definition_resource_id",true)
	// +kubebuilder:validation:Optional
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty" tf:"role_definition_id,omitempty"`

	// Reference to a RoleDefinition in authorization to populate roleDefinitionId.
	// +kubebuilder:validation:Optional
	RoleDefinitionIDRef *v1.Reference `json:"roleDefinitionIdRef,omitempty" tf:"-"`

	// Selector for a RoleDefinition in authorization to populate roleDefinitionId.
	// +kubebuilder:validation:Optional
	RoleDefinitionIDSelector *v1.Selector `json:"roleDefinitionIdSelector,omitempty" tf:"-"`

	// The name of a built-in Role. Changing this forces a new resource to be created. Conflicts with role_definition_id.
	// +kubebuilder:validation:Optional
	RoleDefinitionName *string `json:"roleDefinitionName,omitempty" tf:"role_definition_name,omitempty"`

	// The scope at which the Role Assignment applies to, such as /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333, /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup, or /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup/providers/Microsoft.Compute/virtualMachines/myVM, or /providers/Microsoft.Management/managementGroups/myMG. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`

	// If the principal_id is a newly provisioned Service Principal set this value to true to skip the Azure Active Directory check which may fail due to replication lag. This argument is only valid if the principal_id is a Service Principal identity. Defaults to false.
	// +kubebuilder:validation:Optional
	SkipServicePrincipalAADCheck *bool `json:"skipServicePrincipalAadCheck,omitempty" tf:"skip_service_principal_aad_check,omitempty"`
}

func (*RoleAssignmentParameters) DeepCopy

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

func (*RoleAssignmentParameters) DeepCopyInto

func (in *RoleAssignmentParameters) DeepCopyInto(out *RoleAssignmentParameters)

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

type RoleAssignmentSpec

type RoleAssignmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RoleAssignmentParameters `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 RoleAssignmentInitParameters `json:"initProvider,omitempty"`
}

RoleAssignmentSpec defines the desired state of RoleAssignment

func (*RoleAssignmentSpec) DeepCopy

func (in *RoleAssignmentSpec) DeepCopy() *RoleAssignmentSpec

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

func (*RoleAssignmentSpec) DeepCopyInto

func (in *RoleAssignmentSpec) DeepCopyInto(out *RoleAssignmentSpec)

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

type RoleAssignmentStatus

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

RoleAssignmentStatus defines the observed state of RoleAssignment.

func (*RoleAssignmentStatus) DeepCopy

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

func (*RoleAssignmentStatus) DeepCopyInto

func (in *RoleAssignmentStatus) DeepCopyInto(out *RoleAssignmentStatus)

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

type RoleDefinition added in v0.26.0

type RoleDefinition 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.scope) || (has(self.initProvider) && has(self.initProvider.scope))",message="spec.forProvider.scope is a required parameter"
	Spec   RoleDefinitionSpec   `json:"spec"`
	Status RoleDefinitionStatus `json:"status,omitempty"`
}

RoleDefinition is the Schema for the RoleDefinitions API. Manages a custom Role Definition. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*RoleDefinition) DeepCopy added in v0.26.0

func (in *RoleDefinition) DeepCopy() *RoleDefinition

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

func (*RoleDefinition) DeepCopyInto added in v0.26.0

func (in *RoleDefinition) DeepCopyInto(out *RoleDefinition)

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

func (*RoleDefinition) DeepCopyObject added in v0.26.0

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

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

func (*RoleDefinition) GetCondition added in v0.26.0

func (mg *RoleDefinition) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this RoleDefinition.

func (*RoleDefinition) GetConnectionDetailsMapping added in v0.26.0

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

GetConnectionDetailsMapping for this RoleDefinition

func (*RoleDefinition) GetDeletionPolicy added in v0.26.0

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

GetDeletionPolicy of this RoleDefinition.

func (*RoleDefinition) GetID added in v0.26.0

func (tr *RoleDefinition) GetID() string

GetID returns ID of underlying Terraform resource of this RoleDefinition

func (*RoleDefinition) GetInitParameters added in v0.35.0

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

GetInitParameters of this RoleDefinition

func (*RoleDefinition) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this RoleDefinition.

func (*RoleDefinition) GetMergedParameters added in v0.40.0

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

GetInitParameters of this RoleDefinition

func (*RoleDefinition) GetObservation added in v0.26.0

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

GetObservation of this RoleDefinition

func (*RoleDefinition) GetParameters added in v0.26.0

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

GetParameters of this RoleDefinition

func (*RoleDefinition) GetProviderConfigReference added in v0.26.0

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

GetProviderConfigReference of this RoleDefinition.

func (*RoleDefinition) GetPublishConnectionDetailsTo added in v0.26.0

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

GetPublishConnectionDetailsTo of this RoleDefinition.

func (*RoleDefinition) GetTerraformResourceType added in v0.26.0

func (mg *RoleDefinition) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RoleDefinition

func (*RoleDefinition) GetTerraformSchemaVersion added in v0.26.0

func (tr *RoleDefinition) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RoleDefinition) GetWriteConnectionSecretToReference added in v0.26.0

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

GetWriteConnectionSecretToReference of this RoleDefinition.

func (*RoleDefinition) LateInitialize added in v0.26.0

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

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

func (*RoleDefinition) SetConditions added in v0.26.0

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

SetConditions of this RoleDefinition.

func (*RoleDefinition) SetDeletionPolicy added in v0.26.0

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

SetDeletionPolicy of this RoleDefinition.

func (*RoleDefinition) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this RoleDefinition.

func (*RoleDefinition) SetObservation added in v0.26.0

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

SetObservation for this RoleDefinition

func (*RoleDefinition) SetParameters added in v0.26.0

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

SetParameters for this RoleDefinition

func (*RoleDefinition) SetProviderConfigReference added in v0.26.0

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

SetProviderConfigReference of this RoleDefinition.

func (*RoleDefinition) SetPublishConnectionDetailsTo added in v0.26.0

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

SetPublishConnectionDetailsTo of this RoleDefinition.

func (*RoleDefinition) SetWriteConnectionSecretToReference added in v0.26.0

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

SetWriteConnectionSecretToReference of this RoleDefinition.

type RoleDefinitionInitParameters added in v0.35.0

type RoleDefinitionInitParameters struct {

	// One or more assignable scopes for this Role Definition, such as /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333, /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup, or /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup/providers/Microsoft.Compute/virtualMachines/myVM.
	AssignableScopes []*string `json:"assignableScopes,omitempty" tf:"assignable_scopes,omitempty"`

	// A description of the Role Definition.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The name of the Role Definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A permissions block as defined below.
	Permissions []PermissionsInitParameters `json:"permissions,omitempty" tf:"permissions,omitempty"`

	// A unique UUID/GUID which identifies this role - one will be generated if not specified. Changing this forces a new resource to be created.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty" tf:"role_definition_id,omitempty"`

	// The scope at which the Role Definition applies to, such as /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333, /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup, or /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup/providers/Microsoft.Compute/virtualMachines/myVM. It is recommended to use the first entry of the assignable_scopes. Changing this forces a new resource to be created.
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`
}

func (*RoleDefinitionInitParameters) DeepCopy added in v0.35.0

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

func (*RoleDefinitionInitParameters) DeepCopyInto added in v0.35.0

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

type RoleDefinitionList added in v0.26.0

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

RoleDefinitionList contains a list of RoleDefinitions

func (*RoleDefinitionList) DeepCopy added in v0.26.0

func (in *RoleDefinitionList) DeepCopy() *RoleDefinitionList

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

func (*RoleDefinitionList) DeepCopyInto added in v0.26.0

func (in *RoleDefinitionList) DeepCopyInto(out *RoleDefinitionList)

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

func (*RoleDefinitionList) DeepCopyObject added in v0.26.0

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

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

func (*RoleDefinitionList) GetItems added in v0.26.0

func (l *RoleDefinitionList) GetItems() []resource.Managed

GetItems of this RoleDefinitionList.

type RoleDefinitionObservation added in v0.26.0

type RoleDefinitionObservation struct {

	// One or more assignable scopes for this Role Definition, such as /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333, /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup, or /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup/providers/Microsoft.Compute/virtualMachines/myVM.
	AssignableScopes []*string `json:"assignableScopes,omitempty" tf:"assignable_scopes,omitempty"`

	// A description of the Role Definition.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the Role Definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A permissions block as defined below.
	Permissions []PermissionsObservation `json:"permissions,omitempty" tf:"permissions,omitempty"`

	// A unique UUID/GUID which identifies this role - one will be generated if not specified. Changing this forces a new resource to be created.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty" tf:"role_definition_id,omitempty"`

	// The Azure Resource Manager ID for the resource.
	RoleDefinitionResourceID *string `json:"roleDefinitionResourceId,omitempty" tf:"role_definition_resource_id,omitempty"`

	// The scope at which the Role Definition applies to, such as /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333, /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup, or /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup/providers/Microsoft.Compute/virtualMachines/myVM. It is recommended to use the first entry of the assignable_scopes. Changing this forces a new resource to be created.
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`
}

func (*RoleDefinitionObservation) DeepCopy added in v0.26.0

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

func (*RoleDefinitionObservation) DeepCopyInto added in v0.26.0

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

type RoleDefinitionParameters added in v0.26.0

type RoleDefinitionParameters struct {

	// One or more assignable scopes for this Role Definition, such as /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333, /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup, or /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup/providers/Microsoft.Compute/virtualMachines/myVM.
	// +kubebuilder:validation:Optional
	AssignableScopes []*string `json:"assignableScopes,omitempty" tf:"assignable_scopes,omitempty"`

	// A description of the Role Definition.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The name of the Role Definition.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A permissions block as defined below.
	// +kubebuilder:validation:Optional
	Permissions []PermissionsParameters `json:"permissions,omitempty" tf:"permissions,omitempty"`

	// A unique UUID/GUID which identifies this role - one will be generated if not specified. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty" tf:"role_definition_id,omitempty"`

	// The scope at which the Role Definition applies to, such as /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333, /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup, or /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup/providers/Microsoft.Compute/virtualMachines/myVM. It is recommended to use the first entry of the assignable_scopes. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Scope *string `json:"scope,omitempty" tf:"scope,omitempty"`
}

func (*RoleDefinitionParameters) DeepCopy added in v0.26.0

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

func (*RoleDefinitionParameters) DeepCopyInto added in v0.26.0

func (in *RoleDefinitionParameters) DeepCopyInto(out *RoleDefinitionParameters)

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

type RoleDefinitionSpec added in v0.26.0

type RoleDefinitionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RoleDefinitionParameters `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 RoleDefinitionInitParameters `json:"initProvider,omitempty"`
}

RoleDefinitionSpec defines the desired state of RoleDefinition

func (*RoleDefinitionSpec) DeepCopy added in v0.26.0

func (in *RoleDefinitionSpec) DeepCopy() *RoleDefinitionSpec

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

func (*RoleDefinitionSpec) DeepCopyInto added in v0.26.0

func (in *RoleDefinitionSpec) DeepCopyInto(out *RoleDefinitionSpec)

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

type RoleDefinitionStatus added in v0.26.0

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

RoleDefinitionStatus defines the observed state of RoleDefinition.

func (*RoleDefinitionStatus) DeepCopy added in v0.26.0

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

func (*RoleDefinitionStatus) DeepCopyInto added in v0.26.0

func (in *RoleDefinitionStatus) DeepCopyInto(out *RoleDefinitionStatus)

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

type SelectorsInitParameters added in v0.35.0

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 added in v0.35.0

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

func (*SelectorsInitParameters) DeepCopyInto added in v0.35.0

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 added in v0.32.0

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 added in v0.32.0

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

func (*SelectorsObservation) DeepCopyInto added in v0.32.0

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 added in v0.32.0

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 added in v0.32.0

func (in *SelectorsParameters) DeepCopy() *SelectorsParameters

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

func (*SelectorsParameters) DeepCopyInto added in v0.32.0

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 added in v0.26.0

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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*SubscriptionPolicyAssignment) DeepCopy added in v0.26.0

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

func (*SubscriptionPolicyAssignment) DeepCopyInto added in v0.26.0

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

func (*SubscriptionPolicyAssignment) DeepCopyObject added in v0.26.0

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

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

func (*SubscriptionPolicyAssignment) GetCondition added in v0.26.0

GetCondition of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) GetConnectionDetailsMapping added in v0.26.0

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

GetConnectionDetailsMapping for this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) GetDeletionPolicy added in v0.26.0

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

GetDeletionPolicy of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) GetID added in v0.26.0

GetID returns ID of underlying Terraform resource of this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) GetInitParameters added in v0.35.0

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

GetInitParameters of this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) GetMergedParameters added in v0.40.0

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

GetInitParameters of this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) GetObservation added in v0.26.0

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

GetObservation of this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) GetParameters added in v0.26.0

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

GetParameters of this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) GetProviderConfigReference added in v0.26.0

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

GetProviderConfigReference of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) GetPublishConnectionDetailsTo added in v0.26.0

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

GetPublishConnectionDetailsTo of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) GetTerraformResourceType added in v0.26.0

func (mg *SubscriptionPolicyAssignment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) GetTerraformSchemaVersion added in v0.26.0

func (tr *SubscriptionPolicyAssignment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SubscriptionPolicyAssignment) GetWriteConnectionSecretToReference added in v0.26.0

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

GetWriteConnectionSecretToReference of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) LateInitialize added in v0.26.0

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 added in v0.26.0

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

ResolveReferences of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) SetConditions added in v0.26.0

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

SetConditions of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) SetDeletionPolicy added in v0.26.0

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

SetDeletionPolicy of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) SetObservation added in v0.26.0

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

SetObservation for this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) SetParameters added in v0.26.0

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

SetParameters for this SubscriptionPolicyAssignment

func (*SubscriptionPolicyAssignment) SetProviderConfigReference added in v0.26.0

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

SetProviderConfigReference of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) SetPublishConnectionDetailsTo added in v0.26.0

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

SetPublishConnectionDetailsTo of this SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignment) SetWriteConnectionSecretToReference added in v0.26.0

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

SetWriteConnectionSecretToReference of this SubscriptionPolicyAssignment.

type SubscriptionPolicyAssignmentIdentityInitParameters added in v0.35.0

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 added in v0.35.0

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

func (*SubscriptionPolicyAssignmentIdentityInitParameters) DeepCopyInto added in v0.35.0

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

type SubscriptionPolicyAssignmentIdentityObservation added in v0.26.0

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 added in v0.26.0

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

func (*SubscriptionPolicyAssignmentIdentityObservation) DeepCopyInto added in v0.26.0

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

type SubscriptionPolicyAssignmentIdentityParameters added in v0.26.0

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 added in v0.26.0

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

func (*SubscriptionPolicyAssignmentIdentityParameters) DeepCopyInto added in v0.26.0

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

type SubscriptionPolicyAssignmentInitParameters added in v0.35.0

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 added in v0.35.0

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

func (*SubscriptionPolicyAssignmentInitParameters) DeepCopyInto added in v0.35.0

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

type SubscriptionPolicyAssignmentList added in v0.26.0

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 added in v0.26.0

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

func (*SubscriptionPolicyAssignmentList) DeepCopyInto added in v0.26.0

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

func (*SubscriptionPolicyAssignmentList) DeepCopyObject added in v0.26.0

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

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

func (*SubscriptionPolicyAssignmentList) GetItems added in v0.26.0

GetItems of this SubscriptionPolicyAssignmentList.

type SubscriptionPolicyAssignmentNonComplianceMessageInitParameters added in v0.35.0

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 added in v0.35.0

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

func (*SubscriptionPolicyAssignmentNonComplianceMessageInitParameters) DeepCopyInto added in v0.35.0

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

type SubscriptionPolicyAssignmentNonComplianceMessageObservation added in v0.26.0

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 added in v0.26.0

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

func (*SubscriptionPolicyAssignmentNonComplianceMessageObservation) DeepCopyInto added in v0.26.0

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

type SubscriptionPolicyAssignmentNonComplianceMessageParameters added in v0.26.0

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 added in v0.26.0

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

func (*SubscriptionPolicyAssignmentNonComplianceMessageParameters) DeepCopyInto added in v0.26.0

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

type SubscriptionPolicyAssignmentObservation added in v0.26.0

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 added in v0.26.0

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

func (*SubscriptionPolicyAssignmentObservation) DeepCopyInto added in v0.26.0

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

type SubscriptionPolicyAssignmentOverridesInitParameters added in v0.35.0

type SubscriptionPolicyAssignmentOverridesInitParameters struct {

	// One or more override_selector 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 added in v0.35.0

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

func (*SubscriptionPolicyAssignmentOverridesInitParameters) DeepCopyInto added in v0.35.0

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

type SubscriptionPolicyAssignmentOverridesObservation added in v0.32.0

type SubscriptionPolicyAssignmentOverridesObservation struct {

	// One or more override_selector 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 added in v0.32.0

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

func (*SubscriptionPolicyAssignmentOverridesObservation) DeepCopyInto added in v0.32.0

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

type SubscriptionPolicyAssignmentOverridesParameters added in v0.32.0

type SubscriptionPolicyAssignmentOverridesParameters struct {

	// One or more override_selector 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 added in v0.32.0

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

func (*SubscriptionPolicyAssignmentOverridesParameters) DeepCopyInto added in v0.32.0

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

type SubscriptionPolicyAssignmentOverridesSelectorsInitParameters added in v0.35.0

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 added in v0.35.0

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

func (*SubscriptionPolicyAssignmentOverridesSelectorsInitParameters) DeepCopyInto added in v0.35.0

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

type SubscriptionPolicyAssignmentOverridesSelectorsObservation added in v0.32.0

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 added in v0.32.0

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

func (*SubscriptionPolicyAssignmentOverridesSelectorsObservation) DeepCopyInto added in v0.32.0

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

type SubscriptionPolicyAssignmentOverridesSelectorsParameters added in v0.32.0

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 added in v0.32.0

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

func (*SubscriptionPolicyAssignmentOverridesSelectorsParameters) DeepCopyInto added in v0.32.0

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

type SubscriptionPolicyAssignmentParameters added in v0.26.0

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 added in v0.26.0

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

func (*SubscriptionPolicyAssignmentParameters) DeepCopyInto added in v0.26.0

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

type SubscriptionPolicyAssignmentResourceSelectorsInitParameters added in v0.35.0

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 added in v0.35.0

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

func (*SubscriptionPolicyAssignmentResourceSelectorsInitParameters) DeepCopyInto added in v0.35.0

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

type SubscriptionPolicyAssignmentResourceSelectorsObservation added in v0.32.0

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 added in v0.32.0

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

func (*SubscriptionPolicyAssignmentResourceSelectorsObservation) DeepCopyInto added in v0.32.0

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

type SubscriptionPolicyAssignmentResourceSelectorsParameters added in v0.32.0

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 added in v0.32.0

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

func (*SubscriptionPolicyAssignmentResourceSelectorsParameters) DeepCopyInto added in v0.32.0

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

type SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters added in v0.35.0

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 added in v0.35.0

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

func (*SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopyInto added in v0.35.0

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

type SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation added in v0.32.0

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 added in v0.32.0

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

func (*SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopyInto added in v0.32.0

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

type SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters added in v0.32.0

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 added in v0.32.0

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

func (*SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters) DeepCopyInto added in v0.32.0

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

type SubscriptionPolicyAssignmentSpec added in v0.26.0

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 added in v0.26.0

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

func (*SubscriptionPolicyAssignmentSpec) DeepCopyInto added in v0.26.0

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

type SubscriptionPolicyAssignmentStatus added in v0.26.0

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

SubscriptionPolicyAssignmentStatus defines the observed state of SubscriptionPolicyAssignment.

func (*SubscriptionPolicyAssignmentStatus) DeepCopy added in v0.26.0

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

func (*SubscriptionPolicyAssignmentStatus) DeepCopyInto added in v0.26.0

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

type SubscriptionPolicyExemption added in v0.26.0

type SubscriptionPolicyExemption 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.exemptionCategory) || (has(self.initProvider) && has(self.initProvider.exemptionCategory))",message="spec.forProvider.exemptionCategory is a required parameter"
	// +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   SubscriptionPolicyExemptionSpec   `json:"spec"`
	Status SubscriptionPolicyExemptionStatus `json:"status,omitempty"`
}

SubscriptionPolicyExemption is the Schema for the SubscriptionPolicyExemptions API. Manages a Subscription Policy Exemption. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}

func (*SubscriptionPolicyExemption) DeepCopy added in v0.26.0

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

func (*SubscriptionPolicyExemption) DeepCopyInto added in v0.26.0

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

func (*SubscriptionPolicyExemption) DeepCopyObject added in v0.26.0

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

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

func (*SubscriptionPolicyExemption) GetCondition added in v0.26.0

GetCondition of this SubscriptionPolicyExemption.

func (*SubscriptionPolicyExemption) GetConnectionDetailsMapping added in v0.26.0

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

GetConnectionDetailsMapping for this SubscriptionPolicyExemption

func (*SubscriptionPolicyExemption) GetDeletionPolicy added in v0.26.0

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

GetDeletionPolicy of this SubscriptionPolicyExemption.

func (*SubscriptionPolicyExemption) GetID added in v0.26.0

func (tr *SubscriptionPolicyExemption) GetID() string

GetID returns ID of underlying Terraform resource of this SubscriptionPolicyExemption

func (*SubscriptionPolicyExemption) GetInitParameters added in v0.35.0

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

GetInitParameters of this SubscriptionPolicyExemption

func (*SubscriptionPolicyExemption) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this SubscriptionPolicyExemption.

func (*SubscriptionPolicyExemption) GetMergedParameters added in v0.40.0

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

GetInitParameters of this SubscriptionPolicyExemption

func (*SubscriptionPolicyExemption) GetObservation added in v0.26.0

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

GetObservation of this SubscriptionPolicyExemption

func (*SubscriptionPolicyExemption) GetParameters added in v0.26.0

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

GetParameters of this SubscriptionPolicyExemption

func (*SubscriptionPolicyExemption) GetProviderConfigReference added in v0.26.0

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

GetProviderConfigReference of this SubscriptionPolicyExemption.

func (*SubscriptionPolicyExemption) GetPublishConnectionDetailsTo added in v0.26.0

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

GetPublishConnectionDetailsTo of this SubscriptionPolicyExemption.

func (*SubscriptionPolicyExemption) GetTerraformResourceType added in v0.26.0

func (mg *SubscriptionPolicyExemption) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SubscriptionPolicyExemption

func (*SubscriptionPolicyExemption) GetTerraformSchemaVersion added in v0.26.0

func (tr *SubscriptionPolicyExemption) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SubscriptionPolicyExemption) GetWriteConnectionSecretToReference added in v0.26.0

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

GetWriteConnectionSecretToReference of this SubscriptionPolicyExemption.

func (*SubscriptionPolicyExemption) LateInitialize added in v0.26.0

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

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

func (*SubscriptionPolicyExemption) ResolveReferences added in v0.26.0

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

ResolveReferences of this SubscriptionPolicyExemption.

func (*SubscriptionPolicyExemption) SetConditions added in v0.26.0

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

SetConditions of this SubscriptionPolicyExemption.

func (*SubscriptionPolicyExemption) SetDeletionPolicy added in v0.26.0

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

SetDeletionPolicy of this SubscriptionPolicyExemption.

func (*SubscriptionPolicyExemption) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this SubscriptionPolicyExemption.

func (*SubscriptionPolicyExemption) SetObservation added in v0.26.0

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

SetObservation for this SubscriptionPolicyExemption

func (*SubscriptionPolicyExemption) SetParameters added in v0.26.0

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

SetParameters for this SubscriptionPolicyExemption

func (*SubscriptionPolicyExemption) SetProviderConfigReference added in v0.26.0

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

SetProviderConfigReference of this SubscriptionPolicyExemption.

func (*SubscriptionPolicyExemption) SetPublishConnectionDetailsTo added in v0.26.0

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

SetPublishConnectionDetailsTo of this SubscriptionPolicyExemption.

func (*SubscriptionPolicyExemption) SetWriteConnectionSecretToReference added in v0.26.0

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

SetWriteConnectionSecretToReference of this SubscriptionPolicyExemption.

type SubscriptionPolicyExemptionInitParameters added in v0.35.0

type SubscriptionPolicyExemptionInitParameters struct {

	// A description to use for this Policy Exemption.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A friendly display name to use for this Policy Exemption.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The category of this policy exemption. Possible values are Waiver and Mitigated.
	ExemptionCategory *string `json:"exemptionCategory,omitempty" tf:"exemption_category,omitempty"`

	// The expiration date and time in UTC ISO 8601 format of this policy exemption.
	ExpiresOn *string `json:"expiresOn,omitempty" tf:"expires_on,omitempty"`

	// The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption.
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.SubscriptionPolicyAssignment
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	PolicyAssignmentID *string `json:"policyAssignmentId,omitempty" tf:"policy_assignment_id,omitempty"`

	// Reference to a SubscriptionPolicyAssignment in authorization to populate policyAssignmentId.
	// +kubebuilder:validation:Optional
	PolicyAssignmentIDRef *v1.Reference `json:"policyAssignmentIdRef,omitempty" tf:"-"`

	// Selector for a SubscriptionPolicyAssignment in authorization to populate policyAssignmentId.
	// +kubebuilder:validation:Optional
	PolicyAssignmentIDSelector *v1.Selector `json:"policyAssignmentIdSelector,omitempty" tf:"-"`

	// The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.
	PolicyDefinitionReferenceIds []*string `json:"policyDefinitionReferenceIds,omitempty" tf:"policy_definition_reference_ids,omitempty"`

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

func (*SubscriptionPolicyExemptionInitParameters) DeepCopy added in v0.35.0

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

func (*SubscriptionPolicyExemptionInitParameters) DeepCopyInto added in v0.35.0

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

type SubscriptionPolicyExemptionList added in v0.26.0

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

SubscriptionPolicyExemptionList contains a list of SubscriptionPolicyExemptions

func (*SubscriptionPolicyExemptionList) DeepCopy added in v0.26.0

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

func (*SubscriptionPolicyExemptionList) DeepCopyInto added in v0.26.0

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

func (*SubscriptionPolicyExemptionList) DeepCopyObject added in v0.26.0

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

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

func (*SubscriptionPolicyExemptionList) GetItems added in v0.26.0

GetItems of this SubscriptionPolicyExemptionList.

type SubscriptionPolicyExemptionObservation added in v0.26.0

type SubscriptionPolicyExemptionObservation struct {

	// A description to use for this Policy Exemption.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A friendly display name to use for this Policy Exemption.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The category of this policy exemption. Possible values are Waiver and Mitigated.
	ExemptionCategory *string `json:"exemptionCategory,omitempty" tf:"exemption_category,omitempty"`

	// The expiration date and time in UTC ISO 8601 format of this policy exemption.
	ExpiresOn *string `json:"expiresOn,omitempty" tf:"expires_on,omitempty"`

	// The Policy Exemption id.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption.
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created.
	PolicyAssignmentID *string `json:"policyAssignmentId,omitempty" tf:"policy_assignment_id,omitempty"`

	// The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.
	PolicyDefinitionReferenceIds []*string `json:"policyDefinitionReferenceIds,omitempty" tf:"policy_definition_reference_ids,omitempty"`

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

func (*SubscriptionPolicyExemptionObservation) DeepCopy added in v0.26.0

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

func (*SubscriptionPolicyExemptionObservation) DeepCopyInto added in v0.26.0

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

type SubscriptionPolicyExemptionParameters added in v0.26.0

type SubscriptionPolicyExemptionParameters struct {

	// A description to use for this Policy Exemption.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A friendly display name to use for this Policy Exemption.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The category of this policy exemption. Possible values are Waiver and Mitigated.
	// +kubebuilder:validation:Optional
	ExemptionCategory *string `json:"exemptionCategory,omitempty" tf:"exemption_category,omitempty"`

	// The expiration date and time in UTC ISO 8601 format of this policy exemption.
	// +kubebuilder:validation:Optional
	ExpiresOn *string `json:"expiresOn,omitempty" tf:"expires_on,omitempty"`

	// The metadata for this policy exemption. This is a JSON string representing additional metadata that should be stored with the policy exemption.
	// +kubebuilder:validation:Optional
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The ID of the Policy Assignment to be exempted at the specified Scope. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.SubscriptionPolicyAssignment
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	PolicyAssignmentID *string `json:"policyAssignmentId,omitempty" tf:"policy_assignment_id,omitempty"`

	// Reference to a SubscriptionPolicyAssignment in authorization to populate policyAssignmentId.
	// +kubebuilder:validation:Optional
	PolicyAssignmentIDRef *v1.Reference `json:"policyAssignmentIdRef,omitempty" tf:"-"`

	// Selector for a SubscriptionPolicyAssignment in authorization to populate policyAssignmentId.
	// +kubebuilder:validation:Optional
	PolicyAssignmentIDSelector *v1.Selector `json:"policyAssignmentIdSelector,omitempty" tf:"-"`

	// The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.
	// +kubebuilder:validation:Optional
	PolicyDefinitionReferenceIds []*string `json:"policyDefinitionReferenceIds,omitempty" tf:"policy_definition_reference_ids,omitempty"`

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

func (*SubscriptionPolicyExemptionParameters) DeepCopy added in v0.26.0

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

func (*SubscriptionPolicyExemptionParameters) DeepCopyInto added in v0.26.0

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

type SubscriptionPolicyExemptionSpec added in v0.26.0

type SubscriptionPolicyExemptionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SubscriptionPolicyExemptionParameters `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 SubscriptionPolicyExemptionInitParameters `json:"initProvider,omitempty"`
}

SubscriptionPolicyExemptionSpec defines the desired state of SubscriptionPolicyExemption

func (*SubscriptionPolicyExemptionSpec) DeepCopy added in v0.26.0

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

func (*SubscriptionPolicyExemptionSpec) DeepCopyInto added in v0.26.0

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

type SubscriptionPolicyExemptionStatus added in v0.26.0

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

SubscriptionPolicyExemptionStatus defines the observed state of SubscriptionPolicyExemption.

func (*SubscriptionPolicyExemptionStatus) DeepCopy added in v0.26.0

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

func (*SubscriptionPolicyExemptionStatus) DeepCopyInto added in v0.26.0

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