v1beta1

package
v0.20.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 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 (
	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 (
	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.

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

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 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 and NotSpecified. 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?
	// +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 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) 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.
	// +kubebuilder:validation:Optional
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty" tf:"role_definition_id,omitempty"`

	// The name of a built-in Role. Changing this forces a new resource to be created. Conflicts with role_definition_id.
	// +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. If it is not a Service Principal identity it will cause the role assignment to fail. 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.

Jump to

Keyboard shortcuts

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