Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=authorization.azure.upbound.io +versionName=v1beta2
Index ¶
- Constants
- Variables
- type IdentityInitParameters
- type IdentityObservation
- type IdentityParameters
- type NonComplianceMessageInitParameters
- type NonComplianceMessageObservation
- type NonComplianceMessageParameters
- type OverridesInitParameters
- type OverridesObservation
- type OverridesParameters
- type OverridesSelectorsInitParameters
- type OverridesSelectorsObservation
- type OverridesSelectorsParameters
- type ResourceGroupPolicyAssignment
- func (in *ResourceGroupPolicyAssignment) DeepCopy() *ResourceGroupPolicyAssignment
- func (in *ResourceGroupPolicyAssignment) DeepCopyInto(out *ResourceGroupPolicyAssignment)
- func (in *ResourceGroupPolicyAssignment) DeepCopyObject() runtime.Object
- func (mg *ResourceGroupPolicyAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ResourceGroupPolicyAssignment) GetConnectionDetailsMapping() map[string]string
- func (mg *ResourceGroupPolicyAssignment) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ResourceGroupPolicyAssignment) GetID() string
- func (tr *ResourceGroupPolicyAssignment) GetInitParameters() (map[string]any, error)
- func (mg *ResourceGroupPolicyAssignment) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *ResourceGroupPolicyAssignment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *ResourceGroupPolicyAssignment) GetObservation() (map[string]any, error)
- func (tr *ResourceGroupPolicyAssignment) GetParameters() (map[string]any, error)
- func (mg *ResourceGroupPolicyAssignment) GetProviderConfigReference() *xpv1.Reference
- func (mg *ResourceGroupPolicyAssignment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ResourceGroupPolicyAssignment) GetTerraformResourceType() string
- func (tr *ResourceGroupPolicyAssignment) GetTerraformSchemaVersion() int
- func (mg *ResourceGroupPolicyAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ResourceGroupPolicyAssignment) Hub()
- func (tr *ResourceGroupPolicyAssignment) LateInitialize(attrs []byte) (bool, error)
- func (mg *ResourceGroupPolicyAssignment) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ResourceGroupPolicyAssignment) SetConditions(c ...xpv1.Condition)
- func (mg *ResourceGroupPolicyAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ResourceGroupPolicyAssignment) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *ResourceGroupPolicyAssignment) SetObservation(obs map[string]any) error
- func (tr *ResourceGroupPolicyAssignment) SetParameters(params map[string]any) error
- func (mg *ResourceGroupPolicyAssignment) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ResourceGroupPolicyAssignment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ResourceGroupPolicyAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ResourceGroupPolicyAssignmentInitParameters
- type ResourceGroupPolicyAssignmentList
- func (in *ResourceGroupPolicyAssignmentList) DeepCopy() *ResourceGroupPolicyAssignmentList
- func (in *ResourceGroupPolicyAssignmentList) DeepCopyInto(out *ResourceGroupPolicyAssignmentList)
- func (in *ResourceGroupPolicyAssignmentList) DeepCopyObject() runtime.Object
- func (l *ResourceGroupPolicyAssignmentList) GetItems() []resource.Managed
- type ResourceGroupPolicyAssignmentObservation
- type ResourceGroupPolicyAssignmentParameters
- type ResourceGroupPolicyAssignmentSpec
- type ResourceGroupPolicyAssignmentStatus
- type ResourcePolicyAssignment
- func (in *ResourcePolicyAssignment) DeepCopy() *ResourcePolicyAssignment
- func (in *ResourcePolicyAssignment) DeepCopyInto(out *ResourcePolicyAssignment)
- func (in *ResourcePolicyAssignment) DeepCopyObject() runtime.Object
- func (mg *ResourcePolicyAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ResourcePolicyAssignment) GetConnectionDetailsMapping() map[string]string
- func (mg *ResourcePolicyAssignment) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ResourcePolicyAssignment) GetID() string
- func (tr *ResourcePolicyAssignment) GetInitParameters() (map[string]any, error)
- func (mg *ResourcePolicyAssignment) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *ResourcePolicyAssignment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *ResourcePolicyAssignment) GetObservation() (map[string]any, error)
- func (tr *ResourcePolicyAssignment) GetParameters() (map[string]any, error)
- func (mg *ResourcePolicyAssignment) GetProviderConfigReference() *xpv1.Reference
- func (mg *ResourcePolicyAssignment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ResourcePolicyAssignment) GetTerraformResourceType() string
- func (tr *ResourcePolicyAssignment) GetTerraformSchemaVersion() int
- func (mg *ResourcePolicyAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ResourcePolicyAssignment) Hub()
- func (tr *ResourcePolicyAssignment) LateInitialize(attrs []byte) (bool, error)
- func (mg *ResourcePolicyAssignment) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ResourcePolicyAssignment) SetConditions(c ...xpv1.Condition)
- func (mg *ResourcePolicyAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ResourcePolicyAssignment) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *ResourcePolicyAssignment) SetObservation(obs map[string]any) error
- func (tr *ResourcePolicyAssignment) SetParameters(params map[string]any) error
- func (mg *ResourcePolicyAssignment) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ResourcePolicyAssignment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ResourcePolicyAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ResourcePolicyAssignmentIdentityInitParameters
- type ResourcePolicyAssignmentIdentityObservation
- type ResourcePolicyAssignmentIdentityParameters
- type ResourcePolicyAssignmentInitParameters
- type ResourcePolicyAssignmentList
- func (in *ResourcePolicyAssignmentList) DeepCopy() *ResourcePolicyAssignmentList
- func (in *ResourcePolicyAssignmentList) DeepCopyInto(out *ResourcePolicyAssignmentList)
- func (in *ResourcePolicyAssignmentList) DeepCopyObject() runtime.Object
- func (l *ResourcePolicyAssignmentList) GetItems() []resource.Managed
- type ResourcePolicyAssignmentNonComplianceMessageInitParameters
- type ResourcePolicyAssignmentNonComplianceMessageObservation
- type ResourcePolicyAssignmentNonComplianceMessageParameters
- type ResourcePolicyAssignmentObservation
- type ResourcePolicyAssignmentOverridesInitParameters
- type ResourcePolicyAssignmentOverridesObservation
- type ResourcePolicyAssignmentOverridesParameters
- type ResourcePolicyAssignmentParameters
- type ResourcePolicyAssignmentResourceSelectorsInitParameters
- type ResourcePolicyAssignmentResourceSelectorsObservation
- type ResourcePolicyAssignmentResourceSelectorsParameters
- type ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters
- func (in *ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopy() *ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters
- func (in *ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopyInto(out *ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters)
- type ResourcePolicyAssignmentResourceSelectorsSelectorsObservation
- func (in *ResourcePolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopy() *ResourcePolicyAssignmentResourceSelectorsSelectorsObservation
- func (in *ResourcePolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopyInto(out *ResourcePolicyAssignmentResourceSelectorsSelectorsObservation)
- type ResourcePolicyAssignmentResourceSelectorsSelectorsParameters
- type ResourcePolicyAssignmentSpec
- type ResourcePolicyAssignmentStatus
- type ResourceSelectorsInitParameters
- type ResourceSelectorsObservation
- type ResourceSelectorsParameters
- type ResourceSelectorsSelectorsInitParameters
- type ResourceSelectorsSelectorsObservation
- type ResourceSelectorsSelectorsParameters
- type SelectorsInitParameters
- type SelectorsObservation
- type SelectorsParameters
- type SubscriptionPolicyAssignment
- func (in *SubscriptionPolicyAssignment) DeepCopy() *SubscriptionPolicyAssignment
- func (in *SubscriptionPolicyAssignment) DeepCopyInto(out *SubscriptionPolicyAssignment)
- func (in *SubscriptionPolicyAssignment) DeepCopyObject() runtime.Object
- func (mg *SubscriptionPolicyAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SubscriptionPolicyAssignment) GetConnectionDetailsMapping() map[string]string
- func (mg *SubscriptionPolicyAssignment) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SubscriptionPolicyAssignment) GetID() string
- func (tr *SubscriptionPolicyAssignment) GetInitParameters() (map[string]any, error)
- func (mg *SubscriptionPolicyAssignment) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SubscriptionPolicyAssignment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *SubscriptionPolicyAssignment) GetObservation() (map[string]any, error)
- func (tr *SubscriptionPolicyAssignment) GetParameters() (map[string]any, error)
- func (mg *SubscriptionPolicyAssignment) GetProviderConfigReference() *xpv1.Reference
- func (mg *SubscriptionPolicyAssignment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SubscriptionPolicyAssignment) GetTerraformResourceType() string
- func (tr *SubscriptionPolicyAssignment) GetTerraformSchemaVersion() int
- func (mg *SubscriptionPolicyAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SubscriptionPolicyAssignment) Hub()
- func (tr *SubscriptionPolicyAssignment) LateInitialize(attrs []byte) (bool, error)
- func (mg *SubscriptionPolicyAssignment) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *SubscriptionPolicyAssignment) SetConditions(c ...xpv1.Condition)
- func (mg *SubscriptionPolicyAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SubscriptionPolicyAssignment) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SubscriptionPolicyAssignment) SetObservation(obs map[string]any) error
- func (tr *SubscriptionPolicyAssignment) SetParameters(params map[string]any) error
- func (mg *SubscriptionPolicyAssignment) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SubscriptionPolicyAssignment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SubscriptionPolicyAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SubscriptionPolicyAssignmentIdentityInitParameters
- type SubscriptionPolicyAssignmentIdentityObservation
- type SubscriptionPolicyAssignmentIdentityParameters
- type SubscriptionPolicyAssignmentInitParameters
- type SubscriptionPolicyAssignmentList
- func (in *SubscriptionPolicyAssignmentList) DeepCopy() *SubscriptionPolicyAssignmentList
- func (in *SubscriptionPolicyAssignmentList) DeepCopyInto(out *SubscriptionPolicyAssignmentList)
- func (in *SubscriptionPolicyAssignmentList) DeepCopyObject() runtime.Object
- func (l *SubscriptionPolicyAssignmentList) GetItems() []resource.Managed
- type SubscriptionPolicyAssignmentNonComplianceMessageInitParameters
- func (in *SubscriptionPolicyAssignmentNonComplianceMessageInitParameters) DeepCopy() *SubscriptionPolicyAssignmentNonComplianceMessageInitParameters
- func (in *SubscriptionPolicyAssignmentNonComplianceMessageInitParameters) DeepCopyInto(out *SubscriptionPolicyAssignmentNonComplianceMessageInitParameters)
- type SubscriptionPolicyAssignmentNonComplianceMessageObservation
- type SubscriptionPolicyAssignmentNonComplianceMessageParameters
- type SubscriptionPolicyAssignmentObservation
- type SubscriptionPolicyAssignmentOverridesInitParameters
- type SubscriptionPolicyAssignmentOverridesObservation
- type SubscriptionPolicyAssignmentOverridesParameters
- type SubscriptionPolicyAssignmentOverridesSelectorsInitParameters
- type SubscriptionPolicyAssignmentOverridesSelectorsObservation
- type SubscriptionPolicyAssignmentOverridesSelectorsParameters
- type SubscriptionPolicyAssignmentParameters
- type SubscriptionPolicyAssignmentResourceSelectorsInitParameters
- type SubscriptionPolicyAssignmentResourceSelectorsObservation
- type SubscriptionPolicyAssignmentResourceSelectorsParameters
- type SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters
- func (in *SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopy() *SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters
- func (in *SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopyInto(out *SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters)
- type SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation
- func (in *SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopy() *SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation
- func (in *SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopyInto(out *SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation)
- type SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters
- func (in *SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters) DeepCopy() *SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters
- func (in *SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters) DeepCopyInto(out *SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters)
- type SubscriptionPolicyAssignmentSpec
- type SubscriptionPolicyAssignmentStatus
Constants ¶
const ( CRDGroup = "authorization.azure.upbound.io" CRDVersion = "v1beta2" )
Package type metadata.
Variables ¶
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 )
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.
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.
var ( SubscriptionPolicyAssignment_Kind = "SubscriptionPolicyAssignment" SubscriptionPolicyAssignment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SubscriptionPolicyAssignment_Kind}.String() SubscriptionPolicyAssignment_KindAPIVersion = SubscriptionPolicyAssignment_Kind + "." + CRDGroupVersion.String() SubscriptionPolicyAssignment_GroupVersionKind = CRDGroupVersion.WithKind(SubscriptionPolicyAssignment_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type IdentityInitParameters ¶
type IdentityInitParameters struct { // A list of User Managed Identity IDs which should be assigned to the Policy Definition. // +listType=set IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` // The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned and UserAssigned. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*IdentityInitParameters) DeepCopy ¶
func (in *IdentityInitParameters) DeepCopy() *IdentityInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityInitParameters.
func (*IdentityInitParameters) DeepCopyInto ¶
func (in *IdentityInitParameters) DeepCopyInto(out *IdentityInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IdentityObservation ¶
type IdentityObservation struct { // A list of User Managed Identity IDs which should be assigned to the Policy Definition. // +listType=set IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` // The Principal ID of the Policy Assignment for this Resource Group. PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` // The Tenant ID of the Policy Assignment for this Resource Group. TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` // The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned and UserAssigned. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*IdentityObservation) DeepCopy ¶
func (in *IdentityObservation) DeepCopy() *IdentityObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation.
func (*IdentityObservation) DeepCopyInto ¶
func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IdentityParameters ¶
type IdentityParameters struct { // A list of User Managed Identity IDs which should be assigned to the Policy Definition. // +kubebuilder:validation:Optional // +listType=set IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` // The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned and UserAssigned. // +kubebuilder:validation:Optional Type *string `json:"type" tf:"type,omitempty"` }
func (*IdentityParameters) DeepCopy ¶
func (in *IdentityParameters) DeepCopy() *IdentityParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters.
func (*IdentityParameters) DeepCopyInto ¶
func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NonComplianceMessageInitParameters ¶
type NonComplianceMessageInitParameters struct { // The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies. Content *string `json:"content,omitempty" tf:"content,omitempty"` // When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to. PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"` }
func (*NonComplianceMessageInitParameters) DeepCopy ¶
func (in *NonComplianceMessageInitParameters) DeepCopy() *NonComplianceMessageInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonComplianceMessageInitParameters.
func (*NonComplianceMessageInitParameters) DeepCopyInto ¶
func (in *NonComplianceMessageInitParameters) DeepCopyInto(out *NonComplianceMessageInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NonComplianceMessageObservation ¶
type NonComplianceMessageObservation struct { // The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies. Content *string `json:"content,omitempty" tf:"content,omitempty"` // When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to. PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"` }
func (*NonComplianceMessageObservation) DeepCopy ¶
func (in *NonComplianceMessageObservation) DeepCopy() *NonComplianceMessageObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonComplianceMessageObservation.
func (*NonComplianceMessageObservation) DeepCopyInto ¶
func (in *NonComplianceMessageObservation) DeepCopyInto(out *NonComplianceMessageObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NonComplianceMessageParameters ¶
type NonComplianceMessageParameters struct { // The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies. // +kubebuilder:validation:Optional Content *string `json:"content" tf:"content,omitempty"` // When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to. // +kubebuilder:validation:Optional PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"` }
func (*NonComplianceMessageParameters) DeepCopy ¶
func (in *NonComplianceMessageParameters) DeepCopy() *NonComplianceMessageParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonComplianceMessageParameters.
func (*NonComplianceMessageParameters) DeepCopyInto ¶
func (in *NonComplianceMessageParameters) DeepCopyInto(out *NonComplianceMessageParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesInitParameters ¶
type OverridesInitParameters struct { // One or more override_selector block as defined below. Selectors []SelectorsInitParameters `json:"selectors,omitempty" tf:"selectors,omitempty"` // Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*OverridesInitParameters) DeepCopy ¶
func (in *OverridesInitParameters) DeepCopy() *OverridesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesInitParameters.
func (*OverridesInitParameters) DeepCopyInto ¶
func (in *OverridesInitParameters) DeepCopyInto(out *OverridesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesObservation ¶
type OverridesObservation struct { // One or more override_selector block as defined below. Selectors []SelectorsObservation `json:"selectors,omitempty" tf:"selectors,omitempty"` // Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*OverridesObservation) DeepCopy ¶
func (in *OverridesObservation) DeepCopy() *OverridesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesObservation.
func (*OverridesObservation) DeepCopyInto ¶
func (in *OverridesObservation) DeepCopyInto(out *OverridesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesParameters ¶
type OverridesParameters struct { // One or more override_selector block as defined below. // +kubebuilder:validation:Optional Selectors []SelectorsParameters `json:"selectors,omitempty" tf:"selectors,omitempty"` // Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects. // +kubebuilder:validation:Optional Value *string `json:"value" tf:"value,omitempty"` }
func (*OverridesParameters) DeepCopy ¶
func (in *OverridesParameters) DeepCopy() *OverridesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesParameters.
func (*OverridesParameters) DeepCopyInto ¶
func (in *OverridesParameters) DeepCopyInto(out *OverridesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesSelectorsInitParameters ¶
type OverridesSelectorsInitParameters struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. In []*string `json:"in,omitempty" tf:"in,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*OverridesSelectorsInitParameters) DeepCopy ¶
func (in *OverridesSelectorsInitParameters) DeepCopy() *OverridesSelectorsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesSelectorsInitParameters.
func (*OverridesSelectorsInitParameters) DeepCopyInto ¶
func (in *OverridesSelectorsInitParameters) DeepCopyInto(out *OverridesSelectorsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesSelectorsObservation ¶
type OverridesSelectorsObservation struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. In []*string `json:"in,omitempty" tf:"in,omitempty"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation. Kind *string `json:"kind,omitempty" tf:"kind,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*OverridesSelectorsObservation) DeepCopy ¶
func (in *OverridesSelectorsObservation) DeepCopy() *OverridesSelectorsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesSelectorsObservation.
func (*OverridesSelectorsObservation) DeepCopyInto ¶
func (in *OverridesSelectorsObservation) DeepCopyInto(out *OverridesSelectorsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesSelectorsParameters ¶
type OverridesSelectorsParameters struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. // +kubebuilder:validation:Optional In []*string `json:"in,omitempty" tf:"in,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. // +kubebuilder:validation:Optional NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*OverridesSelectorsParameters) DeepCopy ¶
func (in *OverridesSelectorsParameters) DeepCopy() *OverridesSelectorsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesSelectorsParameters.
func (*OverridesSelectorsParameters) DeepCopyInto ¶
func (in *OverridesSelectorsParameters) DeepCopyInto(out *OverridesSelectorsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceGroupPolicyAssignment ¶
type ResourceGroupPolicyAssignment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceGroupPolicyAssignmentSpec `json:"spec"` Status ResourceGroupPolicyAssignmentStatus `json:"status,omitempty"` }
ResourceGroupPolicyAssignment is the Schema for the ResourceGroupPolicyAssignments API. Manages a Resource Group Policy Assignment. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}
func (*ResourceGroupPolicyAssignment) DeepCopy ¶
func (in *ResourceGroupPolicyAssignment) DeepCopy() *ResourceGroupPolicyAssignment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupPolicyAssignment.
func (*ResourceGroupPolicyAssignment) DeepCopyInto ¶
func (in *ResourceGroupPolicyAssignment) DeepCopyInto(out *ResourceGroupPolicyAssignment)
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 ¶
func (mg *ResourceGroupPolicyAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition
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 ¶
func (tr *ResourceGroupPolicyAssignment) GetID() string
GetID returns ID of underlying Terraform resource of this ResourceGroupPolicyAssignment
func (*ResourceGroupPolicyAssignment) GetInitParameters ¶
func (tr *ResourceGroupPolicyAssignment) GetInitParameters() (map[string]any, error)
GetInitParameters of this ResourceGroupPolicyAssignment
func (*ResourceGroupPolicyAssignment) GetManagementPolicies ¶
func (mg *ResourceGroupPolicyAssignment) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ResourceGroupPolicyAssignment.
func (*ResourceGroupPolicyAssignment) GetMergedParameters ¶
func (tr *ResourceGroupPolicyAssignment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this ResourceGroupPolicyAssignment
func (*ResourceGroupPolicyAssignment) GetObservation ¶
func (tr *ResourceGroupPolicyAssignment) GetObservation() (map[string]any, error)
GetObservation of this ResourceGroupPolicyAssignment
func (*ResourceGroupPolicyAssignment) GetParameters ¶
func (tr *ResourceGroupPolicyAssignment) GetParameters() (map[string]any, error)
GetParameters of this ResourceGroupPolicyAssignment
func (*ResourceGroupPolicyAssignment) GetProviderConfigReference ¶
func (mg *ResourceGroupPolicyAssignment) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ResourceGroupPolicyAssignment.
func (*ResourceGroupPolicyAssignment) GetPublishConnectionDetailsTo ¶
func (mg *ResourceGroupPolicyAssignment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ResourceGroupPolicyAssignment.
func (*ResourceGroupPolicyAssignment) GetTerraformResourceType ¶
func (mg *ResourceGroupPolicyAssignment) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ResourceGroupPolicyAssignment
func (*ResourceGroupPolicyAssignment) GetTerraformSchemaVersion ¶
func (tr *ResourceGroupPolicyAssignment) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ResourceGroupPolicyAssignment) GetWriteConnectionSecretToReference ¶
func (mg *ResourceGroupPolicyAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ResourceGroupPolicyAssignment.
func (*ResourceGroupPolicyAssignment) Hub ¶
func (tr *ResourceGroupPolicyAssignment) Hub()
Hub marks this type as a conversion hub.
func (*ResourceGroupPolicyAssignment) LateInitialize ¶
func (tr *ResourceGroupPolicyAssignment) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ResourceGroupPolicyAssignment using its observed tfState. returns True if there are any spec changes for the resource.
func (*ResourceGroupPolicyAssignment) ResolveReferences ¶
func (*ResourceGroupPolicyAssignment) SetConditions ¶
func (mg *ResourceGroupPolicyAssignment) SetConditions(c ...xpv1.Condition)
SetConditions of this ResourceGroupPolicyAssignment.
func (*ResourceGroupPolicyAssignment) SetDeletionPolicy ¶
func (mg *ResourceGroupPolicyAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ResourceGroupPolicyAssignment.
func (*ResourceGroupPolicyAssignment) SetManagementPolicies ¶
func (mg *ResourceGroupPolicyAssignment) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ResourceGroupPolicyAssignment.
func (*ResourceGroupPolicyAssignment) SetObservation ¶
func (tr *ResourceGroupPolicyAssignment) SetObservation(obs map[string]any) error
SetObservation for this ResourceGroupPolicyAssignment
func (*ResourceGroupPolicyAssignment) SetParameters ¶
func (tr *ResourceGroupPolicyAssignment) SetParameters(params map[string]any) error
SetParameters for this ResourceGroupPolicyAssignment
func (*ResourceGroupPolicyAssignment) SetProviderConfigReference ¶
func (mg *ResourceGroupPolicyAssignment) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ResourceGroupPolicyAssignment.
func (*ResourceGroupPolicyAssignment) SetPublishConnectionDetailsTo ¶
func (mg *ResourceGroupPolicyAssignment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ResourceGroupPolicyAssignment.
func (*ResourceGroupPolicyAssignment) SetWriteConnectionSecretToReference ¶
func (mg *ResourceGroupPolicyAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ResourceGroupPolicyAssignment.
type ResourceGroupPolicyAssignmentInitParameters ¶
type ResourceGroupPolicyAssignmentInitParameters struct { // A description which should be used for this Policy Assignment. Description *string `json:"description,omitempty" tf:"description,omitempty"` // The Display Name for this Policy Assignment. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Specifies if this Policy should be enforced or not? Defaults to true. Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"` // An identity block as defined below. Identity *IdentityInitParameters `json:"identity,omitempty" tf:"identity,omitempty"` // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location *string `json:"location,omitempty" tf:"location,omitempty"` // A JSON mapping of any Metadata for this Policy. Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` // One or more non_compliance_message blocks as defined below. NonComplianceMessage []NonComplianceMessageInitParameters `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"` // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"` // One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure Overrides []OverridesInitParameters `json:"overrides,omitempty" tf:"overrides,omitempty"` // A JSON mapping of any Parameters for this Policy. Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.PolicyDefinition // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"` // Reference to a PolicyDefinition in authorization to populate policyDefinitionId. // +kubebuilder:validation:Optional PolicyDefinitionIDRef *v1.Reference `json:"policyDefinitionIdRef,omitempty" tf:"-"` // Selector for a PolicyDefinition in authorization to populate policyDefinitionId. // +kubebuilder:validation:Optional PolicyDefinitionIDSelector *v1.Selector `json:"policyDefinitionIdSelector,omitempty" tf:"-"` // The ID of the Resource Group where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created. // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() ResourceGroupID *string `json:"resourceGroupId,omitempty" tf:"resource_group_id,omitempty"` // Reference to a ResourceGroup in azure to populate resourceGroupId. // +kubebuilder:validation:Optional ResourceGroupIDRef *v1.Reference `json:"resourceGroupIdRef,omitempty" tf:"-"` // Selector for a ResourceGroup in azure to populate resourceGroupId. // +kubebuilder:validation:Optional ResourceGroupIDSelector *v1.Selector `json:"resourceGroupIdSelector,omitempty" tf:"-"` // One or more resource_selectors blocks as defined below to filter polices by resource properties. ResourceSelectors []ResourceSelectorsInitParameters `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"` }
func (*ResourceGroupPolicyAssignmentInitParameters) DeepCopy ¶
func (in *ResourceGroupPolicyAssignmentInitParameters) DeepCopy() *ResourceGroupPolicyAssignmentInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupPolicyAssignmentInitParameters.
func (*ResourceGroupPolicyAssignmentInitParameters) DeepCopyInto ¶
func (in *ResourceGroupPolicyAssignmentInitParameters) DeepCopyInto(out *ResourceGroupPolicyAssignmentInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceGroupPolicyAssignmentList ¶
type ResourceGroupPolicyAssignmentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ResourceGroupPolicyAssignment `json:"items"` }
ResourceGroupPolicyAssignmentList contains a list of ResourceGroupPolicyAssignments
func (*ResourceGroupPolicyAssignmentList) DeepCopy ¶
func (in *ResourceGroupPolicyAssignmentList) DeepCopy() *ResourceGroupPolicyAssignmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupPolicyAssignmentList.
func (*ResourceGroupPolicyAssignmentList) DeepCopyInto ¶
func (in *ResourceGroupPolicyAssignmentList) DeepCopyInto(out *ResourceGroupPolicyAssignmentList)
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 ¶
func (l *ResourceGroupPolicyAssignmentList) GetItems() []resource.Managed
GetItems of this ResourceGroupPolicyAssignmentList.
type ResourceGroupPolicyAssignmentObservation ¶
type ResourceGroupPolicyAssignmentObservation struct { // A description which should be used for this Policy Assignment. Description *string `json:"description,omitempty" tf:"description,omitempty"` // The Display Name for this Policy Assignment. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Specifies if this Policy should be enforced or not? Defaults to true. Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"` // The ID of the Resource Group Policy Assignment. ID *string `json:"id,omitempty" tf:"id,omitempty"` // An identity block as defined below. Identity *IdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"` // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location *string `json:"location,omitempty" tf:"location,omitempty"` // A JSON mapping of any Metadata for this Policy. Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` // One or more non_compliance_message blocks as defined below. NonComplianceMessage []NonComplianceMessageObservation `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"` // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"` // One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure Overrides []OverridesObservation `json:"overrides,omitempty" tf:"overrides,omitempty"` // A JSON mapping of any Parameters for this Policy. Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"` // The ID of the Resource Group where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created. ResourceGroupID *string `json:"resourceGroupId,omitempty" tf:"resource_group_id,omitempty"` // One or more resource_selectors blocks as defined below to filter polices by resource properties. ResourceSelectors []ResourceSelectorsObservation `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"` }
func (*ResourceGroupPolicyAssignmentObservation) DeepCopy ¶
func (in *ResourceGroupPolicyAssignmentObservation) DeepCopy() *ResourceGroupPolicyAssignmentObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupPolicyAssignmentObservation.
func (*ResourceGroupPolicyAssignmentObservation) DeepCopyInto ¶
func (in *ResourceGroupPolicyAssignmentObservation) DeepCopyInto(out *ResourceGroupPolicyAssignmentObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceGroupPolicyAssignmentParameters ¶
type ResourceGroupPolicyAssignmentParameters struct { // A description which should be used for this Policy Assignment. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // The Display Name for this Policy Assignment. // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Specifies if this Policy should be enforced or not? Defaults to true. // +kubebuilder:validation:Optional Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"` // An identity block as defined below. // +kubebuilder:validation:Optional Identity *IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. // +kubebuilder:validation:Optional Location *string `json:"location,omitempty" tf:"location,omitempty"` // A JSON mapping of any Metadata for this Policy. // +kubebuilder:validation:Optional Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` // One or more non_compliance_message blocks as defined below. // +kubebuilder:validation:Optional NonComplianceMessage []NonComplianceMessageParameters `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"` // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. // +kubebuilder:validation:Optional NotScopes []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"` // One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure // +kubebuilder:validation:Optional Overrides []OverridesParameters `json:"overrides,omitempty" tf:"overrides,omitempty"` // A JSON mapping of any Parameters for this Policy. // +kubebuilder:validation:Optional Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.PolicyDefinition // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"` // Reference to a PolicyDefinition in authorization to populate policyDefinitionId. // +kubebuilder:validation:Optional PolicyDefinitionIDRef *v1.Reference `json:"policyDefinitionIdRef,omitempty" tf:"-"` // Selector for a PolicyDefinition in authorization to populate policyDefinitionId. // +kubebuilder:validation:Optional PolicyDefinitionIDSelector *v1.Selector `json:"policyDefinitionIdSelector,omitempty" tf:"-"` // The ID of the Resource Group where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created. // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional ResourceGroupID *string `json:"resourceGroupId,omitempty" tf:"resource_group_id,omitempty"` // Reference to a ResourceGroup in azure to populate resourceGroupId. // +kubebuilder:validation:Optional ResourceGroupIDRef *v1.Reference `json:"resourceGroupIdRef,omitempty" tf:"-"` // Selector for a ResourceGroup in azure to populate resourceGroupId. // +kubebuilder:validation:Optional ResourceGroupIDSelector *v1.Selector `json:"resourceGroupIdSelector,omitempty" tf:"-"` // One or more resource_selectors blocks as defined below to filter polices by resource properties. // +kubebuilder:validation:Optional ResourceSelectors []ResourceSelectorsParameters `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"` }
func (*ResourceGroupPolicyAssignmentParameters) DeepCopy ¶
func (in *ResourceGroupPolicyAssignmentParameters) DeepCopy() *ResourceGroupPolicyAssignmentParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupPolicyAssignmentParameters.
func (*ResourceGroupPolicyAssignmentParameters) DeepCopyInto ¶
func (in *ResourceGroupPolicyAssignmentParameters) DeepCopyInto(out *ResourceGroupPolicyAssignmentParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceGroupPolicyAssignmentSpec ¶
type ResourceGroupPolicyAssignmentSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ResourceGroupPolicyAssignmentParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider ResourceGroupPolicyAssignmentInitParameters `json:"initProvider,omitempty"` }
ResourceGroupPolicyAssignmentSpec defines the desired state of ResourceGroupPolicyAssignment
func (*ResourceGroupPolicyAssignmentSpec) DeepCopy ¶
func (in *ResourceGroupPolicyAssignmentSpec) DeepCopy() *ResourceGroupPolicyAssignmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupPolicyAssignmentSpec.
func (*ResourceGroupPolicyAssignmentSpec) DeepCopyInto ¶
func (in *ResourceGroupPolicyAssignmentSpec) DeepCopyInto(out *ResourceGroupPolicyAssignmentSpec)
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 ¶
func (in *ResourceGroupPolicyAssignmentStatus) DeepCopy() *ResourceGroupPolicyAssignmentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceGroupPolicyAssignmentStatus.
func (*ResourceGroupPolicyAssignmentStatus) DeepCopyInto ¶
func (in *ResourceGroupPolicyAssignmentStatus) DeepCopyInto(out *ResourceGroupPolicyAssignmentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignment ¶
type ResourcePolicyAssignment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceId) || (has(self.initProvider) && has(self.initProvider.resourceId))",message="spec.forProvider.resourceId is a required parameter" Spec ResourcePolicyAssignmentSpec `json:"spec"` Status ResourcePolicyAssignmentStatus `json:"status,omitempty"` }
ResourcePolicyAssignment is the Schema for the ResourcePolicyAssignments API. Manages a Policy Assignment to a Resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}
func (*ResourcePolicyAssignment) DeepCopy ¶
func (in *ResourcePolicyAssignment) DeepCopy() *ResourcePolicyAssignment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignment.
func (*ResourcePolicyAssignment) DeepCopyInto ¶
func (in *ResourcePolicyAssignment) DeepCopyInto(out *ResourcePolicyAssignment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourcePolicyAssignment) DeepCopyObject ¶
func (in *ResourcePolicyAssignment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ResourcePolicyAssignment) GetCondition ¶
func (mg *ResourcePolicyAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ResourcePolicyAssignment.
func (*ResourcePolicyAssignment) GetConnectionDetailsMapping ¶
func (tr *ResourcePolicyAssignment) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ResourcePolicyAssignment
func (*ResourcePolicyAssignment) GetDeletionPolicy ¶
func (mg *ResourcePolicyAssignment) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ResourcePolicyAssignment.
func (*ResourcePolicyAssignment) GetID ¶
func (tr *ResourcePolicyAssignment) GetID() string
GetID returns ID of underlying Terraform resource of this ResourcePolicyAssignment
func (*ResourcePolicyAssignment) GetInitParameters ¶
func (tr *ResourcePolicyAssignment) GetInitParameters() (map[string]any, error)
GetInitParameters of this ResourcePolicyAssignment
func (*ResourcePolicyAssignment) GetManagementPolicies ¶
func (mg *ResourcePolicyAssignment) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ResourcePolicyAssignment.
func (*ResourcePolicyAssignment) GetMergedParameters ¶
func (tr *ResourcePolicyAssignment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this ResourcePolicyAssignment
func (*ResourcePolicyAssignment) GetObservation ¶
func (tr *ResourcePolicyAssignment) GetObservation() (map[string]any, error)
GetObservation of this ResourcePolicyAssignment
func (*ResourcePolicyAssignment) GetParameters ¶
func (tr *ResourcePolicyAssignment) GetParameters() (map[string]any, error)
GetParameters of this ResourcePolicyAssignment
func (*ResourcePolicyAssignment) GetProviderConfigReference ¶
func (mg *ResourcePolicyAssignment) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ResourcePolicyAssignment.
func (*ResourcePolicyAssignment) GetPublishConnectionDetailsTo ¶
func (mg *ResourcePolicyAssignment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ResourcePolicyAssignment.
func (*ResourcePolicyAssignment) GetTerraformResourceType ¶
func (mg *ResourcePolicyAssignment) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ResourcePolicyAssignment
func (*ResourcePolicyAssignment) GetTerraformSchemaVersion ¶
func (tr *ResourcePolicyAssignment) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ResourcePolicyAssignment) GetWriteConnectionSecretToReference ¶
func (mg *ResourcePolicyAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ResourcePolicyAssignment.
func (*ResourcePolicyAssignment) Hub ¶
func (tr *ResourcePolicyAssignment) Hub()
Hub marks this type as a conversion hub.
func (*ResourcePolicyAssignment) LateInitialize ¶
func (tr *ResourcePolicyAssignment) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ResourcePolicyAssignment using its observed tfState. returns True if there are any spec changes for the resource.
func (*ResourcePolicyAssignment) ResolveReferences ¶
ResolveReferences of this ResourcePolicyAssignment.
func (*ResourcePolicyAssignment) SetConditions ¶
func (mg *ResourcePolicyAssignment) SetConditions(c ...xpv1.Condition)
SetConditions of this ResourcePolicyAssignment.
func (*ResourcePolicyAssignment) SetDeletionPolicy ¶
func (mg *ResourcePolicyAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ResourcePolicyAssignment.
func (*ResourcePolicyAssignment) SetManagementPolicies ¶
func (mg *ResourcePolicyAssignment) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ResourcePolicyAssignment.
func (*ResourcePolicyAssignment) SetObservation ¶
func (tr *ResourcePolicyAssignment) SetObservation(obs map[string]any) error
SetObservation for this ResourcePolicyAssignment
func (*ResourcePolicyAssignment) SetParameters ¶
func (tr *ResourcePolicyAssignment) SetParameters(params map[string]any) error
SetParameters for this ResourcePolicyAssignment
func (*ResourcePolicyAssignment) SetProviderConfigReference ¶
func (mg *ResourcePolicyAssignment) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ResourcePolicyAssignment.
func (*ResourcePolicyAssignment) SetPublishConnectionDetailsTo ¶
func (mg *ResourcePolicyAssignment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ResourcePolicyAssignment.
func (*ResourcePolicyAssignment) SetWriteConnectionSecretToReference ¶
func (mg *ResourcePolicyAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ResourcePolicyAssignment.
type ResourcePolicyAssignmentIdentityInitParameters ¶
type ResourcePolicyAssignmentIdentityInitParameters struct { // A list of User Managed Identity IDs which should be assigned to the Policy Definition. // +listType=set IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` // The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned and UserAssigned. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ResourcePolicyAssignmentIdentityInitParameters) DeepCopy ¶
func (in *ResourcePolicyAssignmentIdentityInitParameters) DeepCopy() *ResourcePolicyAssignmentIdentityInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentIdentityInitParameters.
func (*ResourcePolicyAssignmentIdentityInitParameters) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentIdentityInitParameters) DeepCopyInto(out *ResourcePolicyAssignmentIdentityInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentIdentityObservation ¶
type ResourcePolicyAssignmentIdentityObservation struct { // A list of User Managed Identity IDs which should be assigned to the Policy Definition. // +listType=set IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` // The Principal ID of the Policy Assignment for this Resource. PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` // The Tenant ID of the Policy Assignment for this Resource. TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` // The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned and UserAssigned. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ResourcePolicyAssignmentIdentityObservation) DeepCopy ¶
func (in *ResourcePolicyAssignmentIdentityObservation) DeepCopy() *ResourcePolicyAssignmentIdentityObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentIdentityObservation.
func (*ResourcePolicyAssignmentIdentityObservation) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentIdentityObservation) DeepCopyInto(out *ResourcePolicyAssignmentIdentityObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentIdentityParameters ¶
type ResourcePolicyAssignmentIdentityParameters struct { // A list of User Managed Identity IDs which should be assigned to the Policy Definition. // +kubebuilder:validation:Optional // +listType=set IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` // The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned and UserAssigned. // +kubebuilder:validation:Optional Type *string `json:"type" tf:"type,omitempty"` }
func (*ResourcePolicyAssignmentIdentityParameters) DeepCopy ¶
func (in *ResourcePolicyAssignmentIdentityParameters) DeepCopy() *ResourcePolicyAssignmentIdentityParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentIdentityParameters.
func (*ResourcePolicyAssignmentIdentityParameters) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentIdentityParameters) DeepCopyInto(out *ResourcePolicyAssignmentIdentityParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentInitParameters ¶
type ResourcePolicyAssignmentInitParameters struct { // A description which should be used for this Policy Assignment. Description *string `json:"description,omitempty" tf:"description,omitempty"` // The Display Name for this Policy Assignment. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Specifies if this Policy should be enforced or not? Defaults to true. Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"` // An identity block as defined below. Identity *ResourcePolicyAssignmentIdentityInitParameters `json:"identity,omitempty" tf:"identity,omitempty"` // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location *string `json:"location,omitempty" tf:"location,omitempty"` // A JSON mapping of any Metadata for this Policy. Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` // The name which should be used for this Policy Assignment. Changing this forces a new Resource Policy Assignment to be created. Cannot exceed 64 characters in length. Name *string `json:"name,omitempty" tf:"name,omitempty"` // One or more non_compliance_message blocks as defined below. NonComplianceMessage []ResourcePolicyAssignmentNonComplianceMessageInitParameters `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"` // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"` // One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure Overrides []ResourcePolicyAssignmentOverridesInitParameters `json:"overrides,omitempty" tf:"overrides,omitempty"` // A JSON mapping of any Parameters for this Policy. Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.PolicyDefinition // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"` // Reference to a PolicyDefinition in authorization to populate policyDefinitionId. // +kubebuilder:validation:Optional PolicyDefinitionIDRef *v1.Reference `json:"policyDefinitionIdRef,omitempty" tf:"-"` // Selector for a PolicyDefinition in authorization to populate policyDefinitionId. // +kubebuilder:validation:Optional PolicyDefinitionIDSelector *v1.Selector `json:"policyDefinitionIdSelector,omitempty" tf:"-"` // The ID of the Resource (or Resource Scope) where this should be applied. Changing this forces a new Resource Policy Assignment to be created. ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` // One or more resource_selectors blocks as defined below to filter polices by resource properties. ResourceSelectors []ResourcePolicyAssignmentResourceSelectorsInitParameters `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"` }
func (*ResourcePolicyAssignmentInitParameters) DeepCopy ¶
func (in *ResourcePolicyAssignmentInitParameters) DeepCopy() *ResourcePolicyAssignmentInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentInitParameters.
func (*ResourcePolicyAssignmentInitParameters) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentInitParameters) DeepCopyInto(out *ResourcePolicyAssignmentInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentList ¶
type ResourcePolicyAssignmentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ResourcePolicyAssignment `json:"items"` }
ResourcePolicyAssignmentList contains a list of ResourcePolicyAssignments
func (*ResourcePolicyAssignmentList) DeepCopy ¶
func (in *ResourcePolicyAssignmentList) DeepCopy() *ResourcePolicyAssignmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentList.
func (*ResourcePolicyAssignmentList) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentList) DeepCopyInto(out *ResourcePolicyAssignmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourcePolicyAssignmentList) DeepCopyObject ¶
func (in *ResourcePolicyAssignmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ResourcePolicyAssignmentList) GetItems ¶
func (l *ResourcePolicyAssignmentList) GetItems() []resource.Managed
GetItems of this ResourcePolicyAssignmentList.
type ResourcePolicyAssignmentNonComplianceMessageInitParameters ¶
type ResourcePolicyAssignmentNonComplianceMessageInitParameters struct { // The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies. Content *string `json:"content,omitempty" tf:"content,omitempty"` // When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to. PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"` }
func (*ResourcePolicyAssignmentNonComplianceMessageInitParameters) DeepCopy ¶
func (in *ResourcePolicyAssignmentNonComplianceMessageInitParameters) DeepCopy() *ResourcePolicyAssignmentNonComplianceMessageInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentNonComplianceMessageInitParameters.
func (*ResourcePolicyAssignmentNonComplianceMessageInitParameters) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentNonComplianceMessageInitParameters) DeepCopyInto(out *ResourcePolicyAssignmentNonComplianceMessageInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentNonComplianceMessageObservation ¶
type ResourcePolicyAssignmentNonComplianceMessageObservation struct { // The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies. Content *string `json:"content,omitempty" tf:"content,omitempty"` // When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to. PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"` }
func (*ResourcePolicyAssignmentNonComplianceMessageObservation) DeepCopy ¶
func (in *ResourcePolicyAssignmentNonComplianceMessageObservation) DeepCopy() *ResourcePolicyAssignmentNonComplianceMessageObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentNonComplianceMessageObservation.
func (*ResourcePolicyAssignmentNonComplianceMessageObservation) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentNonComplianceMessageObservation) DeepCopyInto(out *ResourcePolicyAssignmentNonComplianceMessageObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentNonComplianceMessageParameters ¶
type ResourcePolicyAssignmentNonComplianceMessageParameters struct { // The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies. // +kubebuilder:validation:Optional Content *string `json:"content" tf:"content,omitempty"` // When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to. // +kubebuilder:validation:Optional PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"` }
func (*ResourcePolicyAssignmentNonComplianceMessageParameters) DeepCopy ¶
func (in *ResourcePolicyAssignmentNonComplianceMessageParameters) DeepCopy() *ResourcePolicyAssignmentNonComplianceMessageParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentNonComplianceMessageParameters.
func (*ResourcePolicyAssignmentNonComplianceMessageParameters) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentNonComplianceMessageParameters) DeepCopyInto(out *ResourcePolicyAssignmentNonComplianceMessageParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentObservation ¶
type ResourcePolicyAssignmentObservation struct { // A description which should be used for this Policy Assignment. Description *string `json:"description,omitempty" tf:"description,omitempty"` // The Display Name for this Policy Assignment. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Specifies if this Policy should be enforced or not? Defaults to true. Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"` // The ID of the Resource Policy Assignment. ID *string `json:"id,omitempty" tf:"id,omitempty"` // An identity block as defined below. Identity *ResourcePolicyAssignmentIdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"` // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location *string `json:"location,omitempty" tf:"location,omitempty"` // A JSON mapping of any Metadata for this Policy. Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` // The name which should be used for this Policy Assignment. Changing this forces a new Resource Policy Assignment to be created. Cannot exceed 64 characters in length. Name *string `json:"name,omitempty" tf:"name,omitempty"` // One or more non_compliance_message blocks as defined below. NonComplianceMessage []ResourcePolicyAssignmentNonComplianceMessageObservation `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"` // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"` // One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure Overrides []ResourcePolicyAssignmentOverridesObservation `json:"overrides,omitempty" tf:"overrides,omitempty"` // A JSON mapping of any Parameters for this Policy. Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"` // The ID of the Resource (or Resource Scope) where this should be applied. Changing this forces a new Resource Policy Assignment to be created. ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` // One or more resource_selectors blocks as defined below to filter polices by resource properties. ResourceSelectors []ResourcePolicyAssignmentResourceSelectorsObservation `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"` }
func (*ResourcePolicyAssignmentObservation) DeepCopy ¶
func (in *ResourcePolicyAssignmentObservation) DeepCopy() *ResourcePolicyAssignmentObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentObservation.
func (*ResourcePolicyAssignmentObservation) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentObservation) DeepCopyInto(out *ResourcePolicyAssignmentObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentOverridesInitParameters ¶
type ResourcePolicyAssignmentOverridesInitParameters struct { // One or more override_selector block as defined below. Selectors []OverridesSelectorsInitParameters `json:"selectors,omitempty" tf:"selectors,omitempty"` // Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*ResourcePolicyAssignmentOverridesInitParameters) DeepCopy ¶
func (in *ResourcePolicyAssignmentOverridesInitParameters) DeepCopy() *ResourcePolicyAssignmentOverridesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentOverridesInitParameters.
func (*ResourcePolicyAssignmentOverridesInitParameters) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentOverridesInitParameters) DeepCopyInto(out *ResourcePolicyAssignmentOverridesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentOverridesObservation ¶
type ResourcePolicyAssignmentOverridesObservation struct { // One or more override_selector block as defined below. Selectors []OverridesSelectorsObservation `json:"selectors,omitempty" tf:"selectors,omitempty"` // Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*ResourcePolicyAssignmentOverridesObservation) DeepCopy ¶
func (in *ResourcePolicyAssignmentOverridesObservation) DeepCopy() *ResourcePolicyAssignmentOverridesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentOverridesObservation.
func (*ResourcePolicyAssignmentOverridesObservation) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentOverridesObservation) DeepCopyInto(out *ResourcePolicyAssignmentOverridesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentOverridesParameters ¶
type ResourcePolicyAssignmentOverridesParameters struct { // One or more override_selector block as defined below. // +kubebuilder:validation:Optional Selectors []OverridesSelectorsParameters `json:"selectors,omitempty" tf:"selectors,omitempty"` // Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects. // +kubebuilder:validation:Optional Value *string `json:"value" tf:"value,omitempty"` }
func (*ResourcePolicyAssignmentOverridesParameters) DeepCopy ¶
func (in *ResourcePolicyAssignmentOverridesParameters) DeepCopy() *ResourcePolicyAssignmentOverridesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentOverridesParameters.
func (*ResourcePolicyAssignmentOverridesParameters) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentOverridesParameters) DeepCopyInto(out *ResourcePolicyAssignmentOverridesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentParameters ¶
type ResourcePolicyAssignmentParameters struct { // A description which should be used for this Policy Assignment. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // The Display Name for this Policy Assignment. // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Specifies if this Policy should be enforced or not? Defaults to true. // +kubebuilder:validation:Optional Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"` // An identity block as defined below. // +kubebuilder:validation:Optional Identity *ResourcePolicyAssignmentIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. // +kubebuilder:validation:Optional Location *string `json:"location,omitempty" tf:"location,omitempty"` // A JSON mapping of any Metadata for this Policy. // +kubebuilder:validation:Optional Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` // The name which should be used for this Policy Assignment. Changing this forces a new Resource Policy Assignment to be created. Cannot exceed 64 characters in length. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // One or more non_compliance_message blocks as defined below. // +kubebuilder:validation:Optional NonComplianceMessage []ResourcePolicyAssignmentNonComplianceMessageParameters `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"` // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. // +kubebuilder:validation:Optional NotScopes []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"` // One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure // +kubebuilder:validation:Optional Overrides []ResourcePolicyAssignmentOverridesParameters `json:"overrides,omitempty" tf:"overrides,omitempty"` // A JSON mapping of any Parameters for this Policy. // +kubebuilder:validation:Optional Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.PolicyDefinition // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"` // Reference to a PolicyDefinition in authorization to populate policyDefinitionId. // +kubebuilder:validation:Optional PolicyDefinitionIDRef *v1.Reference `json:"policyDefinitionIdRef,omitempty" tf:"-"` // Selector for a PolicyDefinition in authorization to populate policyDefinitionId. // +kubebuilder:validation:Optional PolicyDefinitionIDSelector *v1.Selector `json:"policyDefinitionIdSelector,omitempty" tf:"-"` // The ID of the Resource (or Resource Scope) where this should be applied. Changing this forces a new Resource Policy Assignment to be created. // +kubebuilder:validation:Optional ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` // One or more resource_selectors blocks as defined below to filter polices by resource properties. // +kubebuilder:validation:Optional ResourceSelectors []ResourcePolicyAssignmentResourceSelectorsParameters `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"` }
func (*ResourcePolicyAssignmentParameters) DeepCopy ¶
func (in *ResourcePolicyAssignmentParameters) DeepCopy() *ResourcePolicyAssignmentParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentParameters.
func (*ResourcePolicyAssignmentParameters) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentParameters) DeepCopyInto(out *ResourcePolicyAssignmentParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentResourceSelectorsInitParameters ¶
type ResourcePolicyAssignmentResourceSelectorsInitParameters struct { // Specifies a name for the resource selector. Name *string `json:"name,omitempty" tf:"name,omitempty"` // One or more resource_selector block as defined below. Selectors []ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters `json:"selectors,omitempty" tf:"selectors,omitempty"` }
func (*ResourcePolicyAssignmentResourceSelectorsInitParameters) DeepCopy ¶
func (in *ResourcePolicyAssignmentResourceSelectorsInitParameters) DeepCopy() *ResourcePolicyAssignmentResourceSelectorsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentResourceSelectorsInitParameters.
func (*ResourcePolicyAssignmentResourceSelectorsInitParameters) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentResourceSelectorsInitParameters) DeepCopyInto(out *ResourcePolicyAssignmentResourceSelectorsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentResourceSelectorsObservation ¶
type ResourcePolicyAssignmentResourceSelectorsObservation struct { // Specifies a name for the resource selector. Name *string `json:"name,omitempty" tf:"name,omitempty"` // One or more resource_selector block as defined below. Selectors []ResourcePolicyAssignmentResourceSelectorsSelectorsObservation `json:"selectors,omitempty" tf:"selectors,omitempty"` }
func (*ResourcePolicyAssignmentResourceSelectorsObservation) DeepCopy ¶
func (in *ResourcePolicyAssignmentResourceSelectorsObservation) DeepCopy() *ResourcePolicyAssignmentResourceSelectorsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentResourceSelectorsObservation.
func (*ResourcePolicyAssignmentResourceSelectorsObservation) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentResourceSelectorsObservation) DeepCopyInto(out *ResourcePolicyAssignmentResourceSelectorsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentResourceSelectorsParameters ¶
type ResourcePolicyAssignmentResourceSelectorsParameters struct { // Specifies a name for the resource selector. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // One or more resource_selector block as defined below. // +kubebuilder:validation:Optional Selectors []ResourcePolicyAssignmentResourceSelectorsSelectorsParameters `json:"selectors" tf:"selectors,omitempty"` }
func (*ResourcePolicyAssignmentResourceSelectorsParameters) DeepCopy ¶
func (in *ResourcePolicyAssignmentResourceSelectorsParameters) DeepCopy() *ResourcePolicyAssignmentResourceSelectorsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentResourceSelectorsParameters.
func (*ResourcePolicyAssignmentResourceSelectorsParameters) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentResourceSelectorsParameters) DeepCopyInto(out *ResourcePolicyAssignmentResourceSelectorsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters ¶
type ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. In []*string `json:"in,omitempty" tf:"in,omitempty"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation. Kind *string `json:"kind,omitempty" tf:"kind,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopy ¶
func (in *ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopy() *ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters.
func (*ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopyInto(out *ResourcePolicyAssignmentResourceSelectorsSelectorsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentResourceSelectorsSelectorsObservation ¶
type ResourcePolicyAssignmentResourceSelectorsSelectorsObservation struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. In []*string `json:"in,omitempty" tf:"in,omitempty"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation. Kind *string `json:"kind,omitempty" tf:"kind,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*ResourcePolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopy ¶
func (in *ResourcePolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopy() *ResourcePolicyAssignmentResourceSelectorsSelectorsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentResourceSelectorsSelectorsObservation.
func (*ResourcePolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopyInto(out *ResourcePolicyAssignmentResourceSelectorsSelectorsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentResourceSelectorsSelectorsParameters ¶
type ResourcePolicyAssignmentResourceSelectorsSelectorsParameters struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. // +kubebuilder:validation:Optional In []*string `json:"in,omitempty" tf:"in,omitempty"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation. // +kubebuilder:validation:Optional Kind *string `json:"kind" tf:"kind,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. // +kubebuilder:validation:Optional NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*ResourcePolicyAssignmentResourceSelectorsSelectorsParameters) DeepCopy ¶
func (in *ResourcePolicyAssignmentResourceSelectorsSelectorsParameters) DeepCopy() *ResourcePolicyAssignmentResourceSelectorsSelectorsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentResourceSelectorsSelectorsParameters.
func (*ResourcePolicyAssignmentResourceSelectorsSelectorsParameters) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentResourceSelectorsSelectorsParameters) DeepCopyInto(out *ResourcePolicyAssignmentResourceSelectorsSelectorsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentSpec ¶
type ResourcePolicyAssignmentSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ResourcePolicyAssignmentParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider ResourcePolicyAssignmentInitParameters `json:"initProvider,omitempty"` }
ResourcePolicyAssignmentSpec defines the desired state of ResourcePolicyAssignment
func (*ResourcePolicyAssignmentSpec) DeepCopy ¶
func (in *ResourcePolicyAssignmentSpec) DeepCopy() *ResourcePolicyAssignmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentSpec.
func (*ResourcePolicyAssignmentSpec) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentSpec) DeepCopyInto(out *ResourcePolicyAssignmentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcePolicyAssignmentStatus ¶
type ResourcePolicyAssignmentStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ResourcePolicyAssignmentObservation `json:"atProvider,omitempty"` }
ResourcePolicyAssignmentStatus defines the observed state of ResourcePolicyAssignment.
func (*ResourcePolicyAssignmentStatus) DeepCopy ¶
func (in *ResourcePolicyAssignmentStatus) DeepCopy() *ResourcePolicyAssignmentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyAssignmentStatus.
func (*ResourcePolicyAssignmentStatus) DeepCopyInto ¶
func (in *ResourcePolicyAssignmentStatus) DeepCopyInto(out *ResourcePolicyAssignmentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSelectorsInitParameters ¶
type ResourceSelectorsInitParameters struct { // Specifies a name for the resource selector. Name *string `json:"name,omitempty" tf:"name,omitempty"` // One or more resource_selector block as defined below. Selectors []ResourceSelectorsSelectorsInitParameters `json:"selectors,omitempty" tf:"selectors,omitempty"` }
func (*ResourceSelectorsInitParameters) DeepCopy ¶
func (in *ResourceSelectorsInitParameters) DeepCopy() *ResourceSelectorsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSelectorsInitParameters.
func (*ResourceSelectorsInitParameters) DeepCopyInto ¶
func (in *ResourceSelectorsInitParameters) DeepCopyInto(out *ResourceSelectorsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSelectorsObservation ¶
type ResourceSelectorsObservation struct { // Specifies a name for the resource selector. Name *string `json:"name,omitempty" tf:"name,omitempty"` // One or more resource_selector block as defined below. Selectors []ResourceSelectorsSelectorsObservation `json:"selectors,omitempty" tf:"selectors,omitempty"` }
func (*ResourceSelectorsObservation) DeepCopy ¶
func (in *ResourceSelectorsObservation) DeepCopy() *ResourceSelectorsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSelectorsObservation.
func (*ResourceSelectorsObservation) DeepCopyInto ¶
func (in *ResourceSelectorsObservation) DeepCopyInto(out *ResourceSelectorsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSelectorsParameters ¶
type ResourceSelectorsParameters struct { // Specifies a name for the resource selector. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // One or more resource_selector block as defined below. // +kubebuilder:validation:Optional Selectors []ResourceSelectorsSelectorsParameters `json:"selectors" tf:"selectors,omitempty"` }
func (*ResourceSelectorsParameters) DeepCopy ¶
func (in *ResourceSelectorsParameters) DeepCopy() *ResourceSelectorsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSelectorsParameters.
func (*ResourceSelectorsParameters) DeepCopyInto ¶
func (in *ResourceSelectorsParameters) DeepCopyInto(out *ResourceSelectorsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSelectorsSelectorsInitParameters ¶
type ResourceSelectorsSelectorsInitParameters struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. In []*string `json:"in,omitempty" tf:"in,omitempty"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation. Kind *string `json:"kind,omitempty" tf:"kind,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*ResourceSelectorsSelectorsInitParameters) DeepCopy ¶
func (in *ResourceSelectorsSelectorsInitParameters) DeepCopy() *ResourceSelectorsSelectorsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSelectorsSelectorsInitParameters.
func (*ResourceSelectorsSelectorsInitParameters) DeepCopyInto ¶
func (in *ResourceSelectorsSelectorsInitParameters) DeepCopyInto(out *ResourceSelectorsSelectorsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSelectorsSelectorsObservation ¶
type ResourceSelectorsSelectorsObservation struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. In []*string `json:"in,omitempty" tf:"in,omitempty"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation. Kind *string `json:"kind,omitempty" tf:"kind,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*ResourceSelectorsSelectorsObservation) DeepCopy ¶
func (in *ResourceSelectorsSelectorsObservation) DeepCopy() *ResourceSelectorsSelectorsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSelectorsSelectorsObservation.
func (*ResourceSelectorsSelectorsObservation) DeepCopyInto ¶
func (in *ResourceSelectorsSelectorsObservation) DeepCopyInto(out *ResourceSelectorsSelectorsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSelectorsSelectorsParameters ¶
type ResourceSelectorsSelectorsParameters struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. // +kubebuilder:validation:Optional In []*string `json:"in,omitempty" tf:"in,omitempty"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation. // +kubebuilder:validation:Optional Kind *string `json:"kind" tf:"kind,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. // +kubebuilder:validation:Optional NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*ResourceSelectorsSelectorsParameters) DeepCopy ¶
func (in *ResourceSelectorsSelectorsParameters) DeepCopy() *ResourceSelectorsSelectorsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSelectorsSelectorsParameters.
func (*ResourceSelectorsSelectorsParameters) DeepCopyInto ¶
func (in *ResourceSelectorsSelectorsParameters) DeepCopyInto(out *ResourceSelectorsSelectorsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelectorsInitParameters ¶
type SelectorsInitParameters struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. In []*string `json:"in,omitempty" tf:"in,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*SelectorsInitParameters) DeepCopy ¶
func (in *SelectorsInitParameters) DeepCopy() *SelectorsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectorsInitParameters.
func (*SelectorsInitParameters) DeepCopyInto ¶
func (in *SelectorsInitParameters) DeepCopyInto(out *SelectorsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelectorsObservation ¶
type SelectorsObservation struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. In []*string `json:"in,omitempty" tf:"in,omitempty"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation. Kind *string `json:"kind,omitempty" tf:"kind,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*SelectorsObservation) DeepCopy ¶
func (in *SelectorsObservation) DeepCopy() *SelectorsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectorsObservation.
func (*SelectorsObservation) DeepCopyInto ¶
func (in *SelectorsObservation) DeepCopyInto(out *SelectorsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelectorsParameters ¶
type SelectorsParameters struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. // +kubebuilder:validation:Optional In []*string `json:"in,omitempty" tf:"in,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. // +kubebuilder:validation:Optional NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*SelectorsParameters) DeepCopy ¶
func (in *SelectorsParameters) DeepCopy() *SelectorsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectorsParameters.
func (*SelectorsParameters) DeepCopyInto ¶
func (in *SelectorsParameters) DeepCopyInto(out *SelectorsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignment ¶
type SubscriptionPolicyAssignment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.subscriptionId) || (has(self.initProvider) && has(self.initProvider.subscriptionId))",message="spec.forProvider.subscriptionId is a required parameter" Spec SubscriptionPolicyAssignmentSpec `json:"spec"` Status SubscriptionPolicyAssignmentStatus `json:"status,omitempty"` }
SubscriptionPolicyAssignment is the Schema for the SubscriptionPolicyAssignments API. Manages a Subscription Policy Assignment. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azure}
func (*SubscriptionPolicyAssignment) DeepCopy ¶
func (in *SubscriptionPolicyAssignment) DeepCopy() *SubscriptionPolicyAssignment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignment.
func (*SubscriptionPolicyAssignment) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignment) DeepCopyInto(out *SubscriptionPolicyAssignment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionPolicyAssignment) DeepCopyObject ¶
func (in *SubscriptionPolicyAssignment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SubscriptionPolicyAssignment) GetCondition ¶
func (mg *SubscriptionPolicyAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this SubscriptionPolicyAssignment.
func (*SubscriptionPolicyAssignment) GetConnectionDetailsMapping ¶
func (tr *SubscriptionPolicyAssignment) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this SubscriptionPolicyAssignment
func (*SubscriptionPolicyAssignment) GetDeletionPolicy ¶
func (mg *SubscriptionPolicyAssignment) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this SubscriptionPolicyAssignment.
func (*SubscriptionPolicyAssignment) GetID ¶
func (tr *SubscriptionPolicyAssignment) GetID() string
GetID returns ID of underlying Terraform resource of this SubscriptionPolicyAssignment
func (*SubscriptionPolicyAssignment) GetInitParameters ¶
func (tr *SubscriptionPolicyAssignment) GetInitParameters() (map[string]any, error)
GetInitParameters of this SubscriptionPolicyAssignment
func (*SubscriptionPolicyAssignment) GetManagementPolicies ¶
func (mg *SubscriptionPolicyAssignment) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this SubscriptionPolicyAssignment.
func (*SubscriptionPolicyAssignment) GetMergedParameters ¶
func (tr *SubscriptionPolicyAssignment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this SubscriptionPolicyAssignment
func (*SubscriptionPolicyAssignment) GetObservation ¶
func (tr *SubscriptionPolicyAssignment) GetObservation() (map[string]any, error)
GetObservation of this SubscriptionPolicyAssignment
func (*SubscriptionPolicyAssignment) GetParameters ¶
func (tr *SubscriptionPolicyAssignment) GetParameters() (map[string]any, error)
GetParameters of this SubscriptionPolicyAssignment
func (*SubscriptionPolicyAssignment) GetProviderConfigReference ¶
func (mg *SubscriptionPolicyAssignment) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this SubscriptionPolicyAssignment.
func (*SubscriptionPolicyAssignment) GetPublishConnectionDetailsTo ¶
func (mg *SubscriptionPolicyAssignment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this SubscriptionPolicyAssignment.
func (*SubscriptionPolicyAssignment) GetTerraformResourceType ¶
func (mg *SubscriptionPolicyAssignment) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this SubscriptionPolicyAssignment
func (*SubscriptionPolicyAssignment) GetTerraformSchemaVersion ¶
func (tr *SubscriptionPolicyAssignment) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*SubscriptionPolicyAssignment) GetWriteConnectionSecretToReference ¶
func (mg *SubscriptionPolicyAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this SubscriptionPolicyAssignment.
func (*SubscriptionPolicyAssignment) Hub ¶
func (tr *SubscriptionPolicyAssignment) Hub()
Hub marks this type as a conversion hub.
func (*SubscriptionPolicyAssignment) LateInitialize ¶
func (tr *SubscriptionPolicyAssignment) LateInitialize(attrs []byte) (bool, error)
LateInitialize this SubscriptionPolicyAssignment using its observed tfState. returns True if there are any spec changes for the resource.
func (*SubscriptionPolicyAssignment) ResolveReferences ¶
func (mg *SubscriptionPolicyAssignment) ResolveReferences(ctx context.Context, c client.Reader) error
ResolveReferences of this SubscriptionPolicyAssignment.
func (*SubscriptionPolicyAssignment) SetConditions ¶
func (mg *SubscriptionPolicyAssignment) SetConditions(c ...xpv1.Condition)
SetConditions of this SubscriptionPolicyAssignment.
func (*SubscriptionPolicyAssignment) SetDeletionPolicy ¶
func (mg *SubscriptionPolicyAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this SubscriptionPolicyAssignment.
func (*SubscriptionPolicyAssignment) SetManagementPolicies ¶
func (mg *SubscriptionPolicyAssignment) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this SubscriptionPolicyAssignment.
func (*SubscriptionPolicyAssignment) SetObservation ¶
func (tr *SubscriptionPolicyAssignment) SetObservation(obs map[string]any) error
SetObservation for this SubscriptionPolicyAssignment
func (*SubscriptionPolicyAssignment) SetParameters ¶
func (tr *SubscriptionPolicyAssignment) SetParameters(params map[string]any) error
SetParameters for this SubscriptionPolicyAssignment
func (*SubscriptionPolicyAssignment) SetProviderConfigReference ¶
func (mg *SubscriptionPolicyAssignment) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this SubscriptionPolicyAssignment.
func (*SubscriptionPolicyAssignment) SetPublishConnectionDetailsTo ¶
func (mg *SubscriptionPolicyAssignment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this SubscriptionPolicyAssignment.
func (*SubscriptionPolicyAssignment) SetWriteConnectionSecretToReference ¶
func (mg *SubscriptionPolicyAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this SubscriptionPolicyAssignment.
type SubscriptionPolicyAssignmentIdentityInitParameters ¶
type SubscriptionPolicyAssignmentIdentityInitParameters struct { // A list of User Managed Identity IDs which should be assigned to the Policy Definition. // +listType=set IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` // The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned or UserAssigned. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*SubscriptionPolicyAssignmentIdentityInitParameters) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentIdentityInitParameters) DeepCopy() *SubscriptionPolicyAssignmentIdentityInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentIdentityInitParameters.
func (*SubscriptionPolicyAssignmentIdentityInitParameters) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentIdentityInitParameters) DeepCopyInto(out *SubscriptionPolicyAssignmentIdentityInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentIdentityObservation ¶
type SubscriptionPolicyAssignmentIdentityObservation struct { // A list of User Managed Identity IDs which should be assigned to the Policy Definition. // +listType=set IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` // The Principal ID of the Policy Assignment for this Subscription. PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` // The Tenant ID of the Policy Assignment for this Subscription. TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` // The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned or UserAssigned. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*SubscriptionPolicyAssignmentIdentityObservation) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentIdentityObservation) DeepCopy() *SubscriptionPolicyAssignmentIdentityObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentIdentityObservation.
func (*SubscriptionPolicyAssignmentIdentityObservation) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentIdentityObservation) DeepCopyInto(out *SubscriptionPolicyAssignmentIdentityObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentIdentityParameters ¶
type SubscriptionPolicyAssignmentIdentityParameters struct { // A list of User Managed Identity IDs which should be assigned to the Policy Definition. // +kubebuilder:validation:Optional // +listType=set IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` // The Type of Managed Identity which should be added to this Policy Definition. Possible values are SystemAssigned or UserAssigned. // +kubebuilder:validation:Optional Type *string `json:"type" tf:"type,omitempty"` }
func (*SubscriptionPolicyAssignmentIdentityParameters) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentIdentityParameters) DeepCopy() *SubscriptionPolicyAssignmentIdentityParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentIdentityParameters.
func (*SubscriptionPolicyAssignmentIdentityParameters) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentIdentityParameters) DeepCopyInto(out *SubscriptionPolicyAssignmentIdentityParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentInitParameters ¶
type SubscriptionPolicyAssignmentInitParameters struct { // A description which should be used for this Policy Assignment. Description *string `json:"description,omitempty" tf:"description,omitempty"` // The Display Name for this Policy Assignment. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Specifies if this Policy should be enforced or not? Defaults to true. Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"` // An identity block as defined below. Identity *SubscriptionPolicyAssignmentIdentityInitParameters `json:"identity,omitempty" tf:"identity,omitempty"` // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location *string `json:"location,omitempty" tf:"location,omitempty"` // A JSON mapping of any Metadata for this Policy. Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` // One or more non_compliance_message blocks as defined below. NonComplianceMessage []SubscriptionPolicyAssignmentNonComplianceMessageInitParameters `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"` // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"` // One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure Overrides []SubscriptionPolicyAssignmentOverridesInitParameters `json:"overrides,omitempty" tf:"overrides,omitempty"` // A JSON mapping of any Parameters for this Policy. Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.PolicyDefinition // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"` // Reference to a PolicyDefinition in authorization to populate policyDefinitionId. // +kubebuilder:validation:Optional PolicyDefinitionIDRef *v1.Reference `json:"policyDefinitionIdRef,omitempty" tf:"-"` // Selector for a PolicyDefinition in authorization to populate policyDefinitionId. // +kubebuilder:validation:Optional PolicyDefinitionIDSelector *v1.Selector `json:"policyDefinitionIdSelector,omitempty" tf:"-"` // One or more resource_selectors blocks as defined below to filter polices by resource properties. ResourceSelectors []SubscriptionPolicyAssignmentResourceSelectorsInitParameters `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"` // The ID of the Subscription where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created. SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"` }
func (*SubscriptionPolicyAssignmentInitParameters) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentInitParameters) DeepCopy() *SubscriptionPolicyAssignmentInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentInitParameters.
func (*SubscriptionPolicyAssignmentInitParameters) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentInitParameters) DeepCopyInto(out *SubscriptionPolicyAssignmentInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentList ¶
type SubscriptionPolicyAssignmentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SubscriptionPolicyAssignment `json:"items"` }
SubscriptionPolicyAssignmentList contains a list of SubscriptionPolicyAssignments
func (*SubscriptionPolicyAssignmentList) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentList) DeepCopy() *SubscriptionPolicyAssignmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentList.
func (*SubscriptionPolicyAssignmentList) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentList) DeepCopyInto(out *SubscriptionPolicyAssignmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionPolicyAssignmentList) DeepCopyObject ¶
func (in *SubscriptionPolicyAssignmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SubscriptionPolicyAssignmentList) GetItems ¶
func (l *SubscriptionPolicyAssignmentList) GetItems() []resource.Managed
GetItems of this SubscriptionPolicyAssignmentList.
type SubscriptionPolicyAssignmentNonComplianceMessageInitParameters ¶
type SubscriptionPolicyAssignmentNonComplianceMessageInitParameters struct { // The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies. Content *string `json:"content,omitempty" tf:"content,omitempty"` // When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to. PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"` }
func (*SubscriptionPolicyAssignmentNonComplianceMessageInitParameters) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentNonComplianceMessageInitParameters) DeepCopy() *SubscriptionPolicyAssignmentNonComplianceMessageInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentNonComplianceMessageInitParameters.
func (*SubscriptionPolicyAssignmentNonComplianceMessageInitParameters) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentNonComplianceMessageInitParameters) DeepCopyInto(out *SubscriptionPolicyAssignmentNonComplianceMessageInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentNonComplianceMessageObservation ¶
type SubscriptionPolicyAssignmentNonComplianceMessageObservation struct { // The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies. Content *string `json:"content,omitempty" tf:"content,omitempty"` // When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to. PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"` }
func (*SubscriptionPolicyAssignmentNonComplianceMessageObservation) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentNonComplianceMessageObservation) DeepCopy() *SubscriptionPolicyAssignmentNonComplianceMessageObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentNonComplianceMessageObservation.
func (*SubscriptionPolicyAssignmentNonComplianceMessageObservation) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentNonComplianceMessageObservation) DeepCopyInto(out *SubscriptionPolicyAssignmentNonComplianceMessageObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentNonComplianceMessageParameters ¶
type SubscriptionPolicyAssignmentNonComplianceMessageParameters struct { // The non-compliance message text. When assigning policy sets (initiatives), unless policy_definition_reference_id is specified then this message will be the default for all policies. // +kubebuilder:validation:Optional Content *string `json:"content" tf:"content,omitempty"` // When assigning policy sets (initiatives), this is the ID of the policy definition that the non-compliance message applies to. // +kubebuilder:validation:Optional PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"` }
func (*SubscriptionPolicyAssignmentNonComplianceMessageParameters) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentNonComplianceMessageParameters) DeepCopy() *SubscriptionPolicyAssignmentNonComplianceMessageParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentNonComplianceMessageParameters.
func (*SubscriptionPolicyAssignmentNonComplianceMessageParameters) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentNonComplianceMessageParameters) DeepCopyInto(out *SubscriptionPolicyAssignmentNonComplianceMessageParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentObservation ¶
type SubscriptionPolicyAssignmentObservation struct { // A description which should be used for this Policy Assignment. Description *string `json:"description,omitempty" tf:"description,omitempty"` // The Display Name for this Policy Assignment. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Specifies if this Policy should be enforced or not? Defaults to true. Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"` // The ID of the Subscription Policy Assignment. ID *string `json:"id,omitempty" tf:"id,omitempty"` // An identity block as defined below. Identity *SubscriptionPolicyAssignmentIdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"` // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. Location *string `json:"location,omitempty" tf:"location,omitempty"` // A JSON mapping of any Metadata for this Policy. Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` // One or more non_compliance_message blocks as defined below. NonComplianceMessage []SubscriptionPolicyAssignmentNonComplianceMessageObservation `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"` // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. NotScopes []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"` // One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure Overrides []SubscriptionPolicyAssignmentOverridesObservation `json:"overrides,omitempty" tf:"overrides,omitempty"` // A JSON mapping of any Parameters for this Policy. Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"` // One or more resource_selectors blocks as defined below to filter polices by resource properties. ResourceSelectors []SubscriptionPolicyAssignmentResourceSelectorsObservation `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"` // The ID of the Subscription where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created. SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"` }
func (*SubscriptionPolicyAssignmentObservation) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentObservation) DeepCopy() *SubscriptionPolicyAssignmentObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentObservation.
func (*SubscriptionPolicyAssignmentObservation) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentObservation) DeepCopyInto(out *SubscriptionPolicyAssignmentObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentOverridesInitParameters ¶
type SubscriptionPolicyAssignmentOverridesInitParameters struct { // One or more override_selector block as defined below. Selectors []SubscriptionPolicyAssignmentOverridesSelectorsInitParameters `json:"selectors,omitempty" tf:"selectors,omitempty"` // Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*SubscriptionPolicyAssignmentOverridesInitParameters) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentOverridesInitParameters) DeepCopy() *SubscriptionPolicyAssignmentOverridesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentOverridesInitParameters.
func (*SubscriptionPolicyAssignmentOverridesInitParameters) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentOverridesInitParameters) DeepCopyInto(out *SubscriptionPolicyAssignmentOverridesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentOverridesObservation ¶
type SubscriptionPolicyAssignmentOverridesObservation struct { // One or more override_selector block as defined below. Selectors []SubscriptionPolicyAssignmentOverridesSelectorsObservation `json:"selectors,omitempty" tf:"selectors,omitempty"` // Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*SubscriptionPolicyAssignmentOverridesObservation) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentOverridesObservation) DeepCopy() *SubscriptionPolicyAssignmentOverridesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentOverridesObservation.
func (*SubscriptionPolicyAssignmentOverridesObservation) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentOverridesObservation) DeepCopyInto(out *SubscriptionPolicyAssignmentOverridesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentOverridesParameters ¶
type SubscriptionPolicyAssignmentOverridesParameters struct { // One or more override_selector block as defined below. // +kubebuilder:validation:Optional Selectors []SubscriptionPolicyAssignmentOverridesSelectorsParameters `json:"selectors,omitempty" tf:"selectors,omitempty"` // Specifies the value to override the policy property. Possible values for policyEffect override listed policy effects. // +kubebuilder:validation:Optional Value *string `json:"value" tf:"value,omitempty"` }
func (*SubscriptionPolicyAssignmentOverridesParameters) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentOverridesParameters) DeepCopy() *SubscriptionPolicyAssignmentOverridesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentOverridesParameters.
func (*SubscriptionPolicyAssignmentOverridesParameters) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentOverridesParameters) DeepCopyInto(out *SubscriptionPolicyAssignmentOverridesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentOverridesSelectorsInitParameters ¶
type SubscriptionPolicyAssignmentOverridesSelectorsInitParameters struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. In []*string `json:"in,omitempty" tf:"in,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*SubscriptionPolicyAssignmentOverridesSelectorsInitParameters) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentOverridesSelectorsInitParameters) DeepCopy() *SubscriptionPolicyAssignmentOverridesSelectorsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentOverridesSelectorsInitParameters.
func (*SubscriptionPolicyAssignmentOverridesSelectorsInitParameters) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentOverridesSelectorsInitParameters) DeepCopyInto(out *SubscriptionPolicyAssignmentOverridesSelectorsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentOverridesSelectorsObservation ¶
type SubscriptionPolicyAssignmentOverridesSelectorsObservation struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. In []*string `json:"in,omitempty" tf:"in,omitempty"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation. Kind *string `json:"kind,omitempty" tf:"kind,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*SubscriptionPolicyAssignmentOverridesSelectorsObservation) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentOverridesSelectorsObservation) DeepCopy() *SubscriptionPolicyAssignmentOverridesSelectorsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentOverridesSelectorsObservation.
func (*SubscriptionPolicyAssignmentOverridesSelectorsObservation) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentOverridesSelectorsObservation) DeepCopyInto(out *SubscriptionPolicyAssignmentOverridesSelectorsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentOverridesSelectorsParameters ¶
type SubscriptionPolicyAssignmentOverridesSelectorsParameters struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. // +kubebuilder:validation:Optional In []*string `json:"in,omitempty" tf:"in,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. // +kubebuilder:validation:Optional NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*SubscriptionPolicyAssignmentOverridesSelectorsParameters) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentOverridesSelectorsParameters) DeepCopy() *SubscriptionPolicyAssignmentOverridesSelectorsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentOverridesSelectorsParameters.
func (*SubscriptionPolicyAssignmentOverridesSelectorsParameters) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentOverridesSelectorsParameters) DeepCopyInto(out *SubscriptionPolicyAssignmentOverridesSelectorsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentParameters ¶
type SubscriptionPolicyAssignmentParameters struct { // A description which should be used for this Policy Assignment. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // The Display Name for this Policy Assignment. // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Specifies if this Policy should be enforced or not? Defaults to true. // +kubebuilder:validation:Optional Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"` // An identity block as defined below. // +kubebuilder:validation:Optional Identity *SubscriptionPolicyAssignmentIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` // The Azure Region where the Policy Assignment should exist. Changing this forces a new Policy Assignment to be created. // +kubebuilder:validation:Optional Location *string `json:"location,omitempty" tf:"location,omitempty"` // A JSON mapping of any Metadata for this Policy. // +kubebuilder:validation:Optional Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` // One or more non_compliance_message blocks as defined below. // +kubebuilder:validation:Optional NonComplianceMessage []SubscriptionPolicyAssignmentNonComplianceMessageParameters `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message,omitempty"` // Specifies a list of Resource Scopes (for example a Subscription, or a Resource Group) within this Management Group which are excluded from this Policy. // +kubebuilder:validation:Optional NotScopes []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"` // One or more overrides blocks as defined below. More detail about overrides and resource_selectors see policy assignment structure // +kubebuilder:validation:Optional Overrides []SubscriptionPolicyAssignmentOverridesParameters `json:"overrides,omitempty" tf:"overrides,omitempty"` // A JSON mapping of any Parameters for this Policy. // +kubebuilder:validation:Optional Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` // The ID of the Policy Definition or Policy Definition Set. Changing this forces a new Policy Assignment to be created. // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/authorization/v1beta1.PolicyDefinition // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional PolicyDefinitionID *string `json:"policyDefinitionId,omitempty" tf:"policy_definition_id,omitempty"` // Reference to a PolicyDefinition in authorization to populate policyDefinitionId. // +kubebuilder:validation:Optional PolicyDefinitionIDRef *v1.Reference `json:"policyDefinitionIdRef,omitempty" tf:"-"` // Selector for a PolicyDefinition in authorization to populate policyDefinitionId. // +kubebuilder:validation:Optional PolicyDefinitionIDSelector *v1.Selector `json:"policyDefinitionIdSelector,omitempty" tf:"-"` // One or more resource_selectors blocks as defined below to filter polices by resource properties. // +kubebuilder:validation:Optional ResourceSelectors []SubscriptionPolicyAssignmentResourceSelectorsParameters `json:"resourceSelectors,omitempty" tf:"resource_selectors,omitempty"` // The ID of the Subscription where this Policy Assignment should be created. Changing this forces a new Policy Assignment to be created. // +kubebuilder:validation:Optional SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"` }
func (*SubscriptionPolicyAssignmentParameters) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentParameters) DeepCopy() *SubscriptionPolicyAssignmentParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentParameters.
func (*SubscriptionPolicyAssignmentParameters) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentParameters) DeepCopyInto(out *SubscriptionPolicyAssignmentParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentResourceSelectorsInitParameters ¶
type SubscriptionPolicyAssignmentResourceSelectorsInitParameters struct { // Specifies a name for the resource selector. Name *string `json:"name,omitempty" tf:"name,omitempty"` // One or more resource_selector block as defined below. Selectors []SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters `json:"selectors,omitempty" tf:"selectors,omitempty"` }
func (*SubscriptionPolicyAssignmentResourceSelectorsInitParameters) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentResourceSelectorsInitParameters) DeepCopy() *SubscriptionPolicyAssignmentResourceSelectorsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentResourceSelectorsInitParameters.
func (*SubscriptionPolicyAssignmentResourceSelectorsInitParameters) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentResourceSelectorsInitParameters) DeepCopyInto(out *SubscriptionPolicyAssignmentResourceSelectorsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentResourceSelectorsObservation ¶
type SubscriptionPolicyAssignmentResourceSelectorsObservation struct { // Specifies a name for the resource selector. Name *string `json:"name,omitempty" tf:"name,omitempty"` // One or more resource_selector block as defined below. Selectors []SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation `json:"selectors,omitempty" tf:"selectors,omitempty"` }
func (*SubscriptionPolicyAssignmentResourceSelectorsObservation) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentResourceSelectorsObservation) DeepCopy() *SubscriptionPolicyAssignmentResourceSelectorsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentResourceSelectorsObservation.
func (*SubscriptionPolicyAssignmentResourceSelectorsObservation) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentResourceSelectorsObservation) DeepCopyInto(out *SubscriptionPolicyAssignmentResourceSelectorsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentResourceSelectorsParameters ¶
type SubscriptionPolicyAssignmentResourceSelectorsParameters struct { // Specifies a name for the resource selector. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // One or more resource_selector block as defined below. // +kubebuilder:validation:Optional Selectors []SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters `json:"selectors" tf:"selectors,omitempty"` }
func (*SubscriptionPolicyAssignmentResourceSelectorsParameters) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentResourceSelectorsParameters) DeepCopy() *SubscriptionPolicyAssignmentResourceSelectorsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentResourceSelectorsParameters.
func (*SubscriptionPolicyAssignmentResourceSelectorsParameters) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentResourceSelectorsParameters) DeepCopyInto(out *SubscriptionPolicyAssignmentResourceSelectorsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters ¶
type SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. In []*string `json:"in,omitempty" tf:"in,omitempty"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation. Kind *string `json:"kind,omitempty" tf:"kind,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopy() *SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters.
func (*SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters) DeepCopyInto(out *SubscriptionPolicyAssignmentResourceSelectorsSelectorsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation ¶
type SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. In []*string `json:"in,omitempty" tf:"in,omitempty"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation. Kind *string `json:"kind,omitempty" tf:"kind,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopy() *SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation.
func (*SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation) DeepCopyInto(out *SubscriptionPolicyAssignmentResourceSelectorsSelectorsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters ¶
type SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters struct { // The list of allowed values for the specified kind. Cannot be used with not_in. Can contain up to 50 values. // +kubebuilder:validation:Optional In []*string `json:"in,omitempty" tf:"in,omitempty"` // Specifies which characteristic will narrow down the set of evaluated resources. Possible values are resourceLocation, resourceType and resourceWithoutLocation. // +kubebuilder:validation:Optional Kind *string `json:"kind" tf:"kind,omitempty"` // The list of not-allowed values for the specified kind. Cannot be used with in. Can contain up to 50 values. // +kubebuilder:validation:Optional NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"` }
func (*SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters) DeepCopy() *SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters.
func (*SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters) DeepCopyInto(out *SubscriptionPolicyAssignmentResourceSelectorsSelectorsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentSpec ¶
type SubscriptionPolicyAssignmentSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SubscriptionPolicyAssignmentParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider SubscriptionPolicyAssignmentInitParameters `json:"initProvider,omitempty"` }
SubscriptionPolicyAssignmentSpec defines the desired state of SubscriptionPolicyAssignment
func (*SubscriptionPolicyAssignmentSpec) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentSpec) DeepCopy() *SubscriptionPolicyAssignmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentSpec.
func (*SubscriptionPolicyAssignmentSpec) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentSpec) DeepCopyInto(out *SubscriptionPolicyAssignmentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionPolicyAssignmentStatus ¶
type SubscriptionPolicyAssignmentStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SubscriptionPolicyAssignmentObservation `json:"atProvider,omitempty"` }
SubscriptionPolicyAssignmentStatus defines the observed state of SubscriptionPolicyAssignment.
func (*SubscriptionPolicyAssignmentStatus) DeepCopy ¶
func (in *SubscriptionPolicyAssignmentStatus) DeepCopy() *SubscriptionPolicyAssignmentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionPolicyAssignmentStatus.
func (*SubscriptionPolicyAssignmentStatus) DeepCopyInto ¶
func (in *SubscriptionPolicyAssignmentStatus) DeepCopyInto(out *SubscriptionPolicyAssignmentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- zz_generated.conversion_hubs.go
- zz_generated.deepcopy.go
- zz_generated.managed.go
- zz_generated.managedlist.go
- zz_generated.resolvers.go
- zz_groupversion_info.go
- zz_resourcegrouppolicyassignment_terraformed.go
- zz_resourcegrouppolicyassignment_types.go
- zz_resourcepolicyassignment_terraformed.go
- zz_resourcepolicyassignment_types.go
- zz_subscriptionpolicyassignment_terraformed.go
- zz_subscriptionpolicyassignment_types.go