v1alpha2

package
v0.12.0-preview Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=authorization.azure.jet.crossplane.io +versionName=v1alpha2

Index

Constants

View Source
const (
	CRDGroup   = "authorization.azure.jet.crossplane.io"
	CRDVersion = "v1alpha2"
)

Package type metadata.

Variables

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

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

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

Repository type metadata.

Functions

This section is empty.

Types

type IdentityObservation

type IdentityObservation struct {
	PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`

	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 {

	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" 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 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 +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,azurejet}

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]interface{}, error)

GetObservation of this ResourceGroupPolicyAssignment

func (*ResourceGroupPolicyAssignment) GetParameters

func (tr *ResourceGroupPolicyAssignment) GetParameters() (map[string]interface{}, 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 added in v0.10.0

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]interface{}) error

SetObservation for this ResourceGroupPolicyAssignment

func (*ResourceGroupPolicyAssignment) SetParameters

func (tr *ResourceGroupPolicyAssignment) SetParameters(params map[string]interface{}) 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 added in v0.10.0

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

	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 {

	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// +kubebuilder:validation:Optional
	Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"`

	// +kubebuilder:validation:Optional
	Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// +kubebuilder:validation:Optional
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// +kubebuilder:validation:Optional
	NotScopes []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"`

	// +kubebuilder:validation:Optional
	Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// +kubebuilder:validation:Required
	PolicyDefinitionID *string `json:"policyDefinitionId" tf:"policy_definition_id,omitempty"`

	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-jet-azure/apis/azure/v1alpha2.ResourceGroup
	// +crossplane:generate:reference:extractor=github.com/crossplane-contrib/provider-jet-azure/apis/rconfig.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ResourceGroupID *string `json:"resourceGroupId,omitempty" tf:"resource_group_id,omitempty"`

	// +kubebuilder:validation:Optional
	ResourceGroupIDRef *v1.Reference `json:"resourceGroupIdRef,omitempty" tf:"-"`

	// +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.

Jump to

Keyboard shortcuts

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