v1beta1

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 13 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 IdentityObservation

type IdentityObservation struct {

	// 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"`
}

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
	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:Required
	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"`
	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) 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) GetProviderReference added in v0.26.0

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

GetProviderReference of this ManagementLock. Deprecated: Use GetProviderConfigReference.

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

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

SetProviderReference of this ManagementLock. Deprecated: Use SetProviderConfigReference.

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 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"`
}

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:Required
	LockLevel *string `json:"lockLevel" tf:"lock_level,omitempty"`

	// Specifies the name of the Management Lock. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Required
	Name *string `json:"name" 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/upbound/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"`
}

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 NonComplianceMessageObservation

type NonComplianceMessageObservation struct {
}

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

type PermissionsObservation struct {
}

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
	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
	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"`
	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) 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) GetProviderReference

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

GetProviderReference of this PolicyDefinition. Deprecated: Use GetProviderConfigReference.

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

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

SetProviderReference of this PolicyDefinition. Deprecated: Use SetProviderConfigReference.

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 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 ID of the Policy Definition.
	ID *string `json:"id,omitempty" tf:"id,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:Required
	DisplayName *string `json:"displayName" 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:Required
	Mode *string `json:"mode" 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:Required
	PolicyType *string `json:"policyType" 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"`
}

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

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

GetProviderReference of this ResourceGroupPolicyAssignment. Deprecated: Use GetProviderConfigReference.

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

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

SetProviderReference of this ResourceGroupPolicyAssignment. Deprecated: Use SetProviderConfigReference.

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

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

	// An identity block as defined below.
	// +kubebuilder:validation:Optional
	Identity []IdentityObservation `json:"identity,omitempty" tf:"identity,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"`

	// 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/upbound/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/upbound/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:"-"`
}

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"`
}

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"`
	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) 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) GetProviderReference added in v0.26.0

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

GetProviderReference of this ResourcePolicyAssignment. Deprecated: Use GetProviderConfigReference.

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

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

SetProviderReference of this ResourcePolicyAssignment. Deprecated: Use SetProviderConfigReference.

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

type ResourcePolicyAssignmentIdentityObservation struct {

	// 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"`
}

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

type ResourcePolicyAssignmentNonComplianceMessageObservation struct {
}

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:Required
	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 {

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

	// An identity block as defined below.
	// +kubebuilder:validation:Optional
	Identity []ResourcePolicyAssignmentIdentityObservation `json:"identity,omitempty" tf:"identity,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 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:Required
	Name *string `json:"name" 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"`

	// 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/upbound/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:Required
	ResourceID *string `json:"resourceId" tf:"resource_id,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 ResourcePolicyAssignmentSpec added in v0.26.0

type ResourcePolicyAssignmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ResourcePolicyAssignmentParameters `json:"forProvider"`
}

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"`
	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) 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) GetProviderReference added in v0.26.0

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

GetProviderReference of this ResourcePolicyExemption. Deprecated: Use GetProviderConfigReference.

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

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

SetProviderReference of this ResourcePolicyExemption. Deprecated: Use SetProviderConfigReference.

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

	// The Policy Exemption id.
	ID *string `json:"id,omitempty" tf:"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:Required
	ExemptionCategory *string `json:"exemptionCategory" 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:Required
	Name *string `json:"name" 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/upbound/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/upbound/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"`
}

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 RoleAssignment

type RoleAssignment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	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) 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) GetProviderReference

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

GetProviderReference of this RoleAssignment. Deprecated: Use GetProviderConfigReference.

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

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

SetProviderReference of this RoleAssignment. Deprecated: Use SetProviderConfigReference.

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 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 Role Assignment ID.
	ID *string `json:"id,omitempty" tf:"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"`
}

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:Required
	PrincipalID *string `json:"principalId" 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/upbound/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:Required
	Scope *string `json:"scope" 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"`
}

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"`
	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) 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) GetProviderReference added in v0.26.0

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

GetProviderReference of this RoleDefinition. Deprecated: Use GetProviderConfigReference.

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

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

SetProviderReference of this RoleDefinition. Deprecated: Use SetProviderConfigReference.

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 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 {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The Azure Resource Manager ID for the resource.
	RoleDefinitionResourceID *string `json:"roleDefinitionResourceId,omitempty" tf:"role_definition_resource_id,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:Required
	Name *string `json:"name" 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:Required
	Scope *string `json:"scope" 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"`
}

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

type SubscriptionPolicyAssignment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	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) 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) GetProviderReference added in v0.26.0

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

GetProviderReference of this SubscriptionPolicyAssignment. Deprecated: Use GetProviderConfigReference.

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

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

SetProviderReference of this SubscriptionPolicyAssignment. Deprecated: Use SetProviderConfigReference.

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

type SubscriptionPolicyAssignmentIdentityObservation struct {

	// 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"`
}

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

type SubscriptionPolicyAssignmentNonComplianceMessageObservation struct {
}

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:Required
	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 {

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

	// An identity block as defined below.
	// +kubebuilder:validation:Optional
	Identity []SubscriptionPolicyAssignmentIdentityObservation `json:"identity,omitempty" tf:"identity,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 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"`

	// 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/upbound/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 Subscription where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created.
	// +kubebuilder:validation:Required
	SubscriptionID *string `json:"subscriptionId" 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 SubscriptionPolicyAssignmentSpec added in v0.26.0

type SubscriptionPolicyAssignmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SubscriptionPolicyAssignmentParameters `json:"forProvider"`
}

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"`
	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) 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) GetProviderReference added in v0.26.0

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

GetProviderReference of this SubscriptionPolicyExemption. Deprecated: Use GetProviderConfigReference.

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

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

SetProviderReference of this SubscriptionPolicyExemption. Deprecated: Use SetProviderConfigReference.

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

	// The Policy Exemption id.
	ID *string `json:"id,omitempty" tf:"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:Required
	ExemptionCategory *string `json:"exemptionCategory" 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/upbound/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:Required
	SubscriptionID *string `json:"subscriptionId" 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"`
}

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