From 9d67f2ffa90b932b4b578ed6d481bdb5f95d3afd Mon Sep 17 00:00:00 2001 From: Alper Rifat Ulucinar Date: Tue, 2 Jan 2024 19:15:03 +0300 Subject: [PATCH] Run make generate Signed-off-by: Alper Rifat Ulucinar --- .../apimanagement/v1beta1/zz_gateway_types.go | 13 --- .../v1beta1/zz_generated.deepcopy.go | 15 ---- .../v1beta1/zz_generated.resolvers.go | 16 ---- .../v1beta1/zz_generated.deepcopy.go | 15 ---- .../v1beta1/zz_generated.resolvers.go | 16 ---- .../zz_resourcegrouppolicyassignment_types.go | 13 --- .../zz_containerconnectedregistry_types.go | 13 --- .../v1beta1/zz_generated.deepcopy.go | 30 ------- .../v1beta1/zz_generated.resolvers.go | 32 -------- .../v1beta1/zz_webhook_types.go | 12 --- .../v1beta1/zz_encryptionscope_types.go | 13 --- apis/storage/v1beta1/zz_generated.deepcopy.go | 30 ------- .../storage/v1beta1/zz_generated.resolvers.go | 32 -------- .../v1beta1/zz_managementpolicy_types.go | 13 --- ...imanagement.azure.upbound.io_gateways.yaml | 80 ------------------- ...und.io_resourcegrouppolicyassignments.yaml | 80 ------------------- ...bound.io_containerconnectedregistries.yaml | 78 ------------------ ...nerregistry.azure.upbound.io_webhooks.yaml | 79 ------------------ ...age.azure.upbound.io_encryptionscopes.yaml | 78 ------------------ ...e.azure.upbound.io_managementpolicies.yaml | 78 ------------------ 20 files changed, 736 deletions(-) diff --git a/apis/apimanagement/v1beta1/zz_gateway_types.go b/apis/apimanagement/v1beta1/zz_gateway_types.go index a0214d4a2..c9c18311d 100755 --- a/apis/apimanagement/v1beta1/zz_gateway_types.go +++ b/apis/apimanagement/v1beta1/zz_gateway_types.go @@ -19,19 +19,6 @@ import ( type GatewayInitParameters struct { - // The ID of the API Management Resource in which the gateway will be created. Changing this forces a new API Management Gateway resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/apimanagement/v1beta1.Management - // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() - APIManagementID *string `json:"apiManagementId,omitempty" tf:"api_management_id,omitempty"` - - // Reference to a Management in apimanagement to populate apiManagementId. - // +kubebuilder:validation:Optional - APIManagementIDRef *v1.Reference `json:"apiManagementIdRef,omitempty" tf:"-"` - - // Selector for a Management in apimanagement to populate apiManagementId. - // +kubebuilder:validation:Optional - APIManagementIDSelector *v1.Selector `json:"apiManagementIdSelector,omitempty" tf:"-"` - // The description of the API Management Gateway. Description *string `json:"description,omitempty" tf:"description,omitempty"` diff --git a/apis/apimanagement/v1beta1/zz_generated.deepcopy.go b/apis/apimanagement/v1beta1/zz_generated.deepcopy.go index d1f633b7f..12fe2bf42 100644 --- a/apis/apimanagement/v1beta1/zz_generated.deepcopy.go +++ b/apis/apimanagement/v1beta1/zz_generated.deepcopy.go @@ -8905,21 +8905,6 @@ func (in *GatewayAPIStatus) DeepCopy() *GatewayAPIStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *GatewayInitParameters) DeepCopyInto(out *GatewayInitParameters) { *out = *in - if in.APIManagementID != nil { - in, out := &in.APIManagementID, &out.APIManagementID - *out = new(string) - **out = **in - } - if in.APIManagementIDRef != nil { - in, out := &in.APIManagementIDRef, &out.APIManagementIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.APIManagementIDSelector != nil { - in, out := &in.APIManagementIDSelector, &out.APIManagementIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) diff --git a/apis/apimanagement/v1beta1/zz_generated.resolvers.go b/apis/apimanagement/v1beta1/zz_generated.resolvers.go index e4bbef624..de60eccce 100644 --- a/apis/apimanagement/v1beta1/zz_generated.resolvers.go +++ b/apis/apimanagement/v1beta1/zz_generated.resolvers.go @@ -816,22 +816,6 @@ func (mg *Gateway) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.APIManagementID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.APIManagementIDRef = rsp.ResolvedReference - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.APIManagementID), - Extract: resource.ExtractResourceID(), - Reference: mg.Spec.InitProvider.APIManagementIDRef, - Selector: mg.Spec.InitProvider.APIManagementIDSelector, - To: reference.To{ - List: &ManagementList{}, - Managed: &Management{}, - }, - }) - if err != nil { - return errors.Wrap(err, "mg.Spec.InitProvider.APIManagementID") - } - mg.Spec.InitProvider.APIManagementID = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.InitProvider.APIManagementIDRef = rsp.ResolvedReference - return nil } diff --git a/apis/authorization/v1beta1/zz_generated.deepcopy.go b/apis/authorization/v1beta1/zz_generated.deepcopy.go index 93c935be5..d9290ba93 100644 --- a/apis/authorization/v1beta1/zz_generated.deepcopy.go +++ b/apis/authorization/v1beta1/zz_generated.deepcopy.go @@ -1171,21 +1171,6 @@ func (in *ResourceGroupPolicyAssignmentInitParameters) DeepCopyInto(out *Resourc *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.ResourceGroupID != nil { - in, out := &in.ResourceGroupID, &out.ResourceGroupID - *out = new(string) - **out = **in - } - if in.ResourceGroupIDRef != nil { - in, out := &in.ResourceGroupIDRef, &out.ResourceGroupIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.ResourceGroupIDSelector != nil { - in, out := &in.ResourceGroupIDSelector, &out.ResourceGroupIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } if in.ResourceSelectors != nil { in, out := &in.ResourceSelectors, &out.ResourceSelectors *out = make([]ResourceSelectorsInitParameters, len(*in)) diff --git a/apis/authorization/v1beta1/zz_generated.resolvers.go b/apis/authorization/v1beta1/zz_generated.resolvers.go index 084c230a9..7fe811e7c 100644 --- a/apis/authorization/v1beta1/zz_generated.resolvers.go +++ b/apis/authorization/v1beta1/zz_generated.resolvers.go @@ -111,22 +111,6 @@ func (mg *ResourceGroupPolicyAssignment) ResolveReferences(ctx context.Context, mg.Spec.InitProvider.PolicyDefinitionID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.InitProvider.PolicyDefinitionIDRef = rsp.ResolvedReference - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ResourceGroupID), - Extract: resource.ExtractResourceID(), - Reference: mg.Spec.InitProvider.ResourceGroupIDRef, - Selector: mg.Spec.InitProvider.ResourceGroupIDSelector, - To: reference.To{ - List: &v1beta1.ResourceGroupList{}, - Managed: &v1beta1.ResourceGroup{}, - }, - }) - if err != nil { - return errors.Wrap(err, "mg.Spec.InitProvider.ResourceGroupID") - } - mg.Spec.InitProvider.ResourceGroupID = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.InitProvider.ResourceGroupIDRef = rsp.ResolvedReference - return nil } diff --git a/apis/authorization/v1beta1/zz_resourcegrouppolicyassignment_types.go b/apis/authorization/v1beta1/zz_resourcegrouppolicyassignment_types.go index 86c17b5a6..49247fc1e 100755 --- a/apis/authorization/v1beta1/zz_resourcegrouppolicyassignment_types.go +++ b/apis/authorization/v1beta1/zz_resourcegrouppolicyassignment_types.go @@ -158,19 +158,6 @@ type ResourceGroupPolicyAssignmentInitParameters struct { // +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"` } diff --git a/apis/containerregistry/v1beta1/zz_containerconnectedregistry_types.go b/apis/containerregistry/v1beta1/zz_containerconnectedregistry_types.go index cb2a13241..e96ea35e5 100755 --- a/apis/containerregistry/v1beta1/zz_containerconnectedregistry_types.go +++ b/apis/containerregistry/v1beta1/zz_containerconnectedregistry_types.go @@ -25,19 +25,6 @@ type ContainerConnectedRegistryInitParameters struct { // Specifies a list of IDs of Container Registry Tokens, which are meant to be used by the clients to connect to the Connected Registry. ClientTokenIds []*string `json:"clientTokenIds,omitempty" tf:"client_token_ids,omitempty"` - // The ID of the Container Registry that this Connected Registry will reside in. Changing this forces a new Container Connected Registry to be created. - // +crossplane:generate:reference:type=Registry - // +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID() - ContainerRegistryID *string `json:"containerRegistryId,omitempty" tf:"container_registry_id,omitempty"` - - // Reference to a Registry to populate containerRegistryId. - // +kubebuilder:validation:Optional - ContainerRegistryIDRef *v1.Reference `json:"containerRegistryIdRef,omitempty" tf:"-"` - - // Selector for a Registry to populate containerRegistryId. - // +kubebuilder:validation:Optional - ContainerRegistryIDSelector *v1.Selector `json:"containerRegistryIdSelector,omitempty" tf:"-"` - // The verbosity of the logs. Possible values are None, Debug, Information, Warning and Error. LogLevel *string `json:"logLevel,omitempty" tf:"log_level,omitempty"` diff --git a/apis/containerregistry/v1beta1/zz_generated.deepcopy.go b/apis/containerregistry/v1beta1/zz_generated.deepcopy.go index cf9be8798..224218a66 100644 --- a/apis/containerregistry/v1beta1/zz_generated.deepcopy.go +++ b/apis/containerregistry/v1beta1/zz_generated.deepcopy.go @@ -371,21 +371,6 @@ func (in *ContainerConnectedRegistryInitParameters) DeepCopyInto(out *ContainerC } } } - if in.ContainerRegistryID != nil { - in, out := &in.ContainerRegistryID, &out.ContainerRegistryID - *out = new(string) - **out = **in - } - if in.ContainerRegistryIDRef != nil { - in, out := &in.ContainerRegistryIDRef, &out.ContainerRegistryIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.ContainerRegistryIDSelector != nil { - in, out := &in.ContainerRegistryIDSelector, &out.ContainerRegistryIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } if in.LogLevel != nil { in, out := &in.LogLevel, &out.LogLevel *out = new(string) @@ -2928,21 +2913,6 @@ func (in *WebhookInitParameters) DeepCopyInto(out *WebhookInitParameters) { *out = new(string) **out = **in } - if in.RegistryName != nil { - in, out := &in.RegistryName, &out.RegistryName - *out = new(string) - **out = **in - } - if in.RegistryNameRef != nil { - in, out := &in.RegistryNameRef, &out.RegistryNameRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.RegistryNameSelector != nil { - in, out := &in.RegistryNameSelector, &out.RegistryNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } if in.Scope != nil { in, out := &in.Scope, &out.Scope *out = new(string) diff --git a/apis/containerregistry/v1beta1/zz_generated.resolvers.go b/apis/containerregistry/v1beta1/zz_generated.resolvers.go index 11be429fb..3a83fe640 100644 --- a/apis/containerregistry/v1beta1/zz_generated.resolvers.go +++ b/apis/containerregistry/v1beta1/zz_generated.resolvers.go @@ -130,22 +130,6 @@ func (mg *ContainerConnectedRegistry) ResolveReferences(ctx context.Context, c c mg.Spec.ForProvider.SyncTokenID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.SyncTokenIDRef = rsp.ResolvedReference - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.ContainerRegistryID), - Extract: rconfig.ExtractResourceID(), - Reference: mg.Spec.InitProvider.ContainerRegistryIDRef, - Selector: mg.Spec.InitProvider.ContainerRegistryIDSelector, - To: reference.To{ - List: &RegistryList{}, - Managed: &Registry{}, - }, - }) - if err != nil { - return errors.Wrap(err, "mg.Spec.InitProvider.ContainerRegistryID") - } - mg.Spec.InitProvider.ContainerRegistryID = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.InitProvider.ContainerRegistryIDRef = rsp.ResolvedReference - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.SyncTokenID), Extract: rconfig.ExtractResourceID(), @@ -465,21 +449,5 @@ func (mg *Webhook) ResolveReferences(ctx context.Context, c client.Reader) error mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.RegistryName), - Extract: reference.ExternalName(), - Reference: mg.Spec.InitProvider.RegistryNameRef, - Selector: mg.Spec.InitProvider.RegistryNameSelector, - To: reference.To{ - List: &RegistryList{}, - Managed: &Registry{}, - }, - }) - if err != nil { - return errors.Wrap(err, "mg.Spec.InitProvider.RegistryName") - } - mg.Spec.InitProvider.RegistryName = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.InitProvider.RegistryNameRef = rsp.ResolvedReference - return nil } diff --git a/apis/containerregistry/v1beta1/zz_webhook_types.go b/apis/containerregistry/v1beta1/zz_webhook_types.go index 4f50a89f7..6b2508b38 100755 --- a/apis/containerregistry/v1beta1/zz_webhook_types.go +++ b/apis/containerregistry/v1beta1/zz_webhook_types.go @@ -30,18 +30,6 @@ type WebhookInitParameters struct { // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location *string `json:"location,omitempty" tf:"location,omitempty"` - // The Name of Container registry this Webhook belongs to. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/containerregistry/v1beta1.Registry - RegistryName *string `json:"registryName,omitempty" tf:"registry_name,omitempty"` - - // Reference to a Registry in containerregistry to populate registryName. - // +kubebuilder:validation:Optional - RegistryNameRef *v1.Reference `json:"registryNameRef,omitempty" tf:"-"` - - // Selector for a Registry in containerregistry to populate registryName. - // +kubebuilder:validation:Optional - RegistryNameSelector *v1.Selector `json:"registryNameSelector,omitempty" tf:"-"` - // Specifies the scope of repositories that can trigger an event. For example, foo:* means events for all tags under repository foo. foo:bar means events for 'foo:bar' only. foo is equivalent to foo:latest. Empty means all events. Defaults to "". Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` diff --git a/apis/storage/v1beta1/zz_encryptionscope_types.go b/apis/storage/v1beta1/zz_encryptionscope_types.go index 685a95d35..85150641c 100755 --- a/apis/storage/v1beta1/zz_encryptionscope_types.go +++ b/apis/storage/v1beta1/zz_encryptionscope_types.go @@ -27,19 +27,6 @@ type EncryptionScopeInitParameters struct { // The source of the Storage Encryption Scope. Possible values are Microsoft.KeyVault and Microsoft.Storage. Source *string `json:"source,omitempty" tf:"source,omitempty"` - - // The ID of the Storage Account where this Storage Encryption Scope is created. Changing this forces a new Storage Encryption Scope to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account - // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() - StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` - - // Reference to a Account in storage to populate storageAccountId. - // +kubebuilder:validation:Optional - StorageAccountIDRef *v1.Reference `json:"storageAccountIdRef,omitempty" tf:"-"` - - // Selector for a Account in storage to populate storageAccountId. - // +kubebuilder:validation:Optional - StorageAccountIDSelector *v1.Selector `json:"storageAccountIdSelector,omitempty" tf:"-"` } type EncryptionScopeObservation struct { diff --git a/apis/storage/v1beta1/zz_generated.deepcopy.go b/apis/storage/v1beta1/zz_generated.deepcopy.go index 3b788de4f..f1b9e6dd4 100644 --- a/apis/storage/v1beta1/zz_generated.deepcopy.go +++ b/apis/storage/v1beta1/zz_generated.deepcopy.go @@ -4680,21 +4680,6 @@ func (in *EncryptionScopeInitParameters) DeepCopyInto(out *EncryptionScopeInitPa *out = new(string) **out = **in } - if in.StorageAccountID != nil { - in, out := &in.StorageAccountID, &out.StorageAccountID - *out = new(string) - **out = **in - } - if in.StorageAccountIDRef != nil { - in, out := &in.StorageAccountIDRef, &out.StorageAccountIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.StorageAccountIDSelector != nil { - in, out := &in.StorageAccountIDSelector, &out.StorageAccountIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionScopeInitParameters. @@ -5635,21 +5620,6 @@ func (in *ManagementPolicyInitParameters) DeepCopyInto(out *ManagementPolicyInit (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.StorageAccountID != nil { - in, out := &in.StorageAccountID, &out.StorageAccountID - *out = new(string) - **out = **in - } - if in.StorageAccountIDRef != nil { - in, out := &in.StorageAccountIDRef, &out.StorageAccountIDRef - *out = new(v1.Reference) - (*in).DeepCopyInto(*out) - } - if in.StorageAccountIDSelector != nil { - in, out := &in.StorageAccountIDSelector, &out.StorageAccountIDSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPolicyInitParameters. diff --git a/apis/storage/v1beta1/zz_generated.resolvers.go b/apis/storage/v1beta1/zz_generated.resolvers.go index 28771ee35..846fe184f 100644 --- a/apis/storage/v1beta1/zz_generated.resolvers.go +++ b/apis/storage/v1beta1/zz_generated.resolvers.go @@ -431,22 +431,6 @@ func (mg *EncryptionScope) ResolveReferences(ctx context.Context, c client.Reade mg.Spec.ForProvider.StorageAccountID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StorageAccountIDRef = rsp.ResolvedReference - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StorageAccountID), - Extract: resource.ExtractResourceID(), - Reference: mg.Spec.InitProvider.StorageAccountIDRef, - Selector: mg.Spec.InitProvider.StorageAccountIDSelector, - To: reference.To{ - List: &AccountList{}, - Managed: &Account{}, - }, - }) - if err != nil { - return errors.Wrap(err, "mg.Spec.InitProvider.StorageAccountID") - } - mg.Spec.InitProvider.StorageAccountID = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.InitProvider.StorageAccountIDRef = rsp.ResolvedReference - return nil } @@ -473,22 +457,6 @@ func (mg *ManagementPolicy) ResolveReferences(ctx context.Context, c client.Read mg.Spec.ForProvider.StorageAccountID = reference.ToPtrValue(rsp.ResolvedValue) mg.Spec.ForProvider.StorageAccountIDRef = rsp.ResolvedReference - rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ - CurrentValue: reference.FromPtrValue(mg.Spec.InitProvider.StorageAccountID), - Extract: resource.ExtractResourceID(), - Reference: mg.Spec.InitProvider.StorageAccountIDRef, - Selector: mg.Spec.InitProvider.StorageAccountIDSelector, - To: reference.To{ - List: &AccountList{}, - Managed: &Account{}, - }, - }) - if err != nil { - return errors.Wrap(err, "mg.Spec.InitProvider.StorageAccountID") - } - mg.Spec.InitProvider.StorageAccountID = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.InitProvider.StorageAccountIDRef = rsp.ResolvedReference - return nil } diff --git a/apis/storage/v1beta1/zz_managementpolicy_types.go b/apis/storage/v1beta1/zz_managementpolicy_types.go index 695eb6f15..820e145cc 100755 --- a/apis/storage/v1beta1/zz_managementpolicy_types.go +++ b/apis/storage/v1beta1/zz_managementpolicy_types.go @@ -224,19 +224,6 @@ type ManagementPolicyInitParameters struct { // A rule block as documented below. Rule []RuleInitParameters `json:"rule,omitempty" tf:"rule,omitempty"` - - // Specifies the id of the storage account to apply the management policy to. Changing this forces a new resource to be created. - // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/storage/v1beta1.Account - // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() - StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` - - // Reference to a Account in storage to populate storageAccountId. - // +kubebuilder:validation:Optional - StorageAccountIDRef *v1.Reference `json:"storageAccountIdRef,omitempty" tf:"-"` - - // Selector for a Account in storage to populate storageAccountId. - // +kubebuilder:validation:Optional - StorageAccountIDSelector *v1.Selector `json:"storageAccountIdSelector,omitempty" tf:"-"` } type ManagementPolicyObservation struct { diff --git a/package/crds/apimanagement.azure.upbound.io_gateways.yaml b/package/crds/apimanagement.azure.upbound.io_gateways.yaml index c58bc208f..08862e04b 100644 --- a/package/crds/apimanagement.azure.upbound.io_gateways.yaml +++ b/package/crds/apimanagement.azure.upbound.io_gateways.yaml @@ -185,86 +185,6 @@ spec: for example because of an external controller is managing them, like an autoscaler. properties: - apiManagementId: - description: The ID of the API Management Resource in which the - gateway will be created. Changing this forces a new API Management - Gateway resource to be created. - type: string - apiManagementIdRef: - description: Reference to a Management in apimanagement to populate - apiManagementId. - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object - apiManagementIdSelector: - description: Selector for a Management in apimanagement to populate - apiManagementId. - properties: - matchControllerRef: - description: MatchControllerRef ensures an object with the - same controller reference as the selecting object is selected. - type: boolean - matchLabels: - additionalProperties: - type: string - description: MatchLabels ensures an object with matching labels - is selected. - type: object - policy: - description: Policies for selection. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - type: object description: description: The description of the API Management Gateway. type: string diff --git a/package/crds/authorization.azure.upbound.io_resourcegrouppolicyassignments.yaml b/package/crds/authorization.azure.upbound.io_resourcegrouppolicyassignments.yaml index 0fddb64e1..ef24ae7a1 100644 --- a/package/crds/authorization.azure.upbound.io_resourcegrouppolicyassignments.yaml +++ b/package/crds/authorization.azure.upbound.io_resourcegrouppolicyassignments.yaml @@ -549,86 +549,6 @@ spec: type: string type: object type: object - resourceGroupId: - description: The ID of the Resource Group where this Policy Assignment - should be created. Changing this forces a new Policy Assignment - to be created. - type: string - resourceGroupIdRef: - description: Reference to a ResourceGroup in azure to populate - resourceGroupId. - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object - resourceGroupIdSelector: - description: Selector for a ResourceGroup in azure to populate - resourceGroupId. - properties: - matchControllerRef: - description: MatchControllerRef ensures an object with the - same controller reference as the selecting object is selected. - type: boolean - matchLabels: - additionalProperties: - type: string - description: MatchLabels ensures an object with matching labels - is selected. - type: object - policy: - description: Policies for selection. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - type: object resourceSelectors: description: One or more resource_selectors blocks as defined below to filter polices by resource properties. diff --git a/package/crds/containerregistry.azure.upbound.io_containerconnectedregistries.yaml b/package/crds/containerregistry.azure.upbound.io_containerconnectedregistries.yaml index 8cb1eb831..9e22e2fdc 100644 --- a/package/crds/containerregistry.azure.upbound.io_containerconnectedregistries.yaml +++ b/package/crds/containerregistry.azure.upbound.io_containerconnectedregistries.yaml @@ -309,84 +309,6 @@ spec: items: type: string type: array - containerRegistryId: - description: The ID of the Container Registry that this Connected - Registry will reside in. Changing this forces a new Container - Connected Registry to be created. - type: string - containerRegistryIdRef: - description: Reference to a Registry to populate containerRegistryId. - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object - containerRegistryIdSelector: - description: Selector for a Registry to populate containerRegistryId. - properties: - matchControllerRef: - description: MatchControllerRef ensures an object with the - same controller reference as the selecting object is selected. - type: boolean - matchLabels: - additionalProperties: - type: string - description: MatchLabels ensures an object with matching labels - is selected. - type: object - policy: - description: Policies for selection. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - type: object logLevel: description: The verbosity of the logs. Possible values are None, Debug, Information, Warning and Error. diff --git a/package/crds/containerregistry.azure.upbound.io_webhooks.yaml b/package/crds/containerregistry.azure.upbound.io_webhooks.yaml index c26595fd9..eae05467d 100644 --- a/package/crds/containerregistry.azure.upbound.io_webhooks.yaml +++ b/package/crds/containerregistry.azure.upbound.io_webhooks.yaml @@ -298,85 +298,6 @@ spec: description: Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. type: string - registryName: - description: The Name of Container registry this Webhook belongs - to. Changing this forces a new resource to be created. - type: string - registryNameRef: - description: Reference to a Registry in containerregistry to populate - registryName. - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object - registryNameSelector: - description: Selector for a Registry in containerregistry to populate - registryName. - properties: - matchControllerRef: - description: MatchControllerRef ensures an object with the - same controller reference as the selecting object is selected. - type: boolean - matchLabels: - additionalProperties: - type: string - description: MatchLabels ensures an object with matching labels - is selected. - type: object - policy: - description: Policies for selection. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - type: object scope: description: Specifies the scope of repositories that can trigger an event. For example, foo:* means events for all tags under diff --git a/package/crds/storage.azure.upbound.io_encryptionscopes.yaml b/package/crds/storage.azure.upbound.io_encryptionscopes.yaml index 30b8bc1c5..f6f14b0eb 100644 --- a/package/crds/storage.azure.upbound.io_encryptionscopes.yaml +++ b/package/crds/storage.azure.upbound.io_encryptionscopes.yaml @@ -184,84 +184,6 @@ spec: description: The source of the Storage Encryption Scope. Possible values are Microsoft.KeyVault and Microsoft.Storage. type: string - storageAccountId: - description: The ID of the Storage Account where this Storage - Encryption Scope is created. Changing this forces a new Storage - Encryption Scope to be created. - type: string - storageAccountIdRef: - description: Reference to a Account in storage to populate storageAccountId. - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object - storageAccountIdSelector: - description: Selector for a Account in storage to populate storageAccountId. - properties: - matchControllerRef: - description: MatchControllerRef ensures an object with the - same controller reference as the selecting object is selected. - type: boolean - matchLabels: - additionalProperties: - type: string - description: MatchLabels ensures an object with matching labels - is selected. - type: object - policy: - description: Policies for selection. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - type: object type: object managementPolicies: default: diff --git a/package/crds/storage.azure.upbound.io_managementpolicies.yaml b/package/crds/storage.azure.upbound.io_managementpolicies.yaml index 3094558bd..070bb7c84 100644 --- a/package/crds/storage.azure.upbound.io_managementpolicies.yaml +++ b/package/crds/storage.azure.upbound.io_managementpolicies.yaml @@ -520,84 +520,6 @@ spec: type: string type: object type: array - storageAccountId: - description: Specifies the id of the storage account to apply - the management policy to. Changing this forces a new resource - to be created. - type: string - storageAccountIdRef: - description: Reference to a Account in storage to populate storageAccountId. - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object - storageAccountIdSelector: - description: Selector for a Account in storage to populate storageAccountId. - properties: - matchControllerRef: - description: MatchControllerRef ensures an object with the - same controller reference as the selecting object is selected. - type: boolean - matchLabels: - additionalProperties: - type: string - description: MatchLabels ensures an object with matching labels - is selected. - type: object - policy: - description: Policies for selection. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of - this reference is required. The default is 'Required', - which means the reconcile will fail if the reference - cannot be resolved. 'Optional' means this reference - will be a no-op if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will - attempt to resolve the reference only when the corresponding - field is not present. Use 'Always' to resolve the reference - on every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - type: object type: object managementPolicies: default: