Skip to content

osconfig.v1beta1.osPolicyAssignment

"OsPolicyAssignment is the Schema for the OsPolicyAssignments API. Represents an OSPolicyAssignment resource."

Index

Fields

fn new

new(name)

new returns an instance of OsPolicyAssignment

obj metadata

"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."

fn metadata.withAnnotations

withAnnotations(annotations)

"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"

fn metadata.withAnnotationsMixin

withAnnotationsMixin(annotations)

"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"

Note: This function appends passed data to existing values

fn metadata.withClusterName

withClusterName(clusterName)

"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."

fn metadata.withCreationTimestamp

withCreationTimestamp(creationTimestamp)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn metadata.withDeletionGracePeriodSeconds

withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)

"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."

fn metadata.withDeletionTimestamp

withDeletionTimestamp(deletionTimestamp)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn metadata.withFinalizers

withFinalizers(finalizers)

"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."

fn metadata.withFinalizersMixin

withFinalizersMixin(finalizers)

"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."

Note: This function appends passed data to existing values

fn metadata.withGenerateName

withGenerateName(generateName)

"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"

fn metadata.withGeneration

withGeneration(generation)

"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."

fn metadata.withLabels

withLabels(labels)

"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"

fn metadata.withLabelsMixin

withLabelsMixin(labels)

"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"

Note: This function appends passed data to existing values

fn metadata.withName

withName(name)

"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"

fn metadata.withNamespace

withNamespace(namespace)

"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"

fn metadata.withOwnerReferences

withOwnerReferences(ownerReferences)

"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."

fn metadata.withOwnerReferencesMixin

withOwnerReferencesMixin(ownerReferences)

"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."

Note: This function appends passed data to existing values

fn metadata.withResourceVersion

withResourceVersion(resourceVersion)

"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"

withSelfLink(selfLink)

"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."

fn metadata.withUid

withUid(uid)

"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"

obj spec

"OsPolicyAssignmentSpec defines the desired state of OsPolicyAssignment"

fn spec.withDeletionPolicy

withDeletionPolicy(deletionPolicy)

"DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either \"Delete\" or \"Orphan\" the external resource. This field is planned to be deprecated in favor of the ManagementPolicies field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223"

fn spec.withManagementPolicies

withManagementPolicies(managementPolicies)

"THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md"

fn spec.withManagementPoliciesMixin

withManagementPoliciesMixin(managementPolicies)

"THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md"

Note: This function appends passed data to existing values

obj spec.forProvider

fn spec.forProvider.withDescription

withDescription(description)

"Policy description. Length of the description is limited to 1024 characters."

fn spec.forProvider.withInstanceFilter

withInstanceFilter(instanceFilter)

"Required. Filter to select VMs."

fn spec.forProvider.withInstanceFilterMixin

withInstanceFilterMixin(instanceFilter)

"Required. Filter to select VMs."

Note: This function appends passed data to existing values

fn spec.forProvider.withLocation

withLocation(location)

"The location for the resource"

fn spec.forProvider.withOsPolicies

withOsPolicies(osPolicies)

"Required. List of OS policies to be applied to the VMs."

fn spec.forProvider.withOsPoliciesMixin

withOsPoliciesMixin(osPolicies)

"Required. List of OS policies to be applied to the VMs."

Note: This function appends passed data to existing values

fn spec.forProvider.withProject

withProject(project)

"The project for the resource"

fn spec.forProvider.withRollout

withRollout(rollout)

"Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted."

fn spec.forProvider.withRolloutMixin

withRolloutMixin(rollout)

"Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted."

Note: This function appends passed data to existing values

fn spec.forProvider.withSkipAwaitRollout

withSkipAwaitRollout(skipAwaitRollout)

"Set to true to skip awaiting rollout during resource creation and update."

obj spec.forProvider.instanceFilter

"Required. Filter to select VMs."

fn spec.forProvider.instanceFilter.withAll

withAll(all)

"Target all VMs in the project. If true, no other criteria is permitted."

fn spec.forProvider.instanceFilter.withExclusionLabels

withExclusionLabels(exclusionLabels)

"List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM."

fn spec.forProvider.instanceFilter.withExclusionLabelsMixin

withExclusionLabelsMixin(exclusionLabels)

"List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM."

Note: This function appends passed data to existing values

fn spec.forProvider.instanceFilter.withInclusionLabels

withInclusionLabels(inclusionLabels)

"List of label sets used for VM inclusion. If the list has more than one LabelSet, the VM is included if any of the label sets are applicable for the VM."

fn spec.forProvider.instanceFilter.withInclusionLabelsMixin

withInclusionLabelsMixin(inclusionLabels)

"List of label sets used for VM inclusion. If the list has more than one LabelSet, the VM is included if any of the label sets are applicable for the VM."

Note: This function appends passed data to existing values

fn spec.forProvider.instanceFilter.withInventories

withInventories(inventories)

"List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories."

fn spec.forProvider.instanceFilter.withInventoriesMixin

withInventoriesMixin(inventories)

"List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories."

Note: This function appends passed data to existing values

obj spec.forProvider.instanceFilter.exclusionLabels

"List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM."

fn spec.forProvider.instanceFilter.exclusionLabels.withLabels

withLabels(labels)

"Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected."

fn spec.forProvider.instanceFilter.exclusionLabels.withLabelsMixin

withLabelsMixin(labels)

"Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected."

Note: This function appends passed data to existing values

obj spec.forProvider.instanceFilter.inclusionLabels

"List of label sets used for VM inclusion. If the list has more than one LabelSet, the VM is included if any of the label sets are applicable for the VM."

fn spec.forProvider.instanceFilter.inclusionLabels.withLabels

withLabels(labels)

"Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected."

fn spec.forProvider.instanceFilter.inclusionLabels.withLabelsMixin

withLabelsMixin(labels)

"Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected."

Note: This function appends passed data to existing values

obj spec.forProvider.instanceFilter.inventories

"List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories."

fn spec.forProvider.instanceFilter.inventories.withOsShortName

withOsShortName(osShortName)

"Required. The OS short name"

fn spec.forProvider.instanceFilter.inventories.withOsVersion

withOsVersion(osVersion)

"The OS version Prefix matches are supported if asterisk() is provided as the last character. For example, to match all versions with a major version of 7, specify the following value for this field 7. An empty string matches all OS versions."

obj spec.forProvider.osPolicies

"Required. List of OS policies to be applied to the VMs."

fn spec.forProvider.osPolicies.withAllowNoResourceGroupMatch

withAllowNoResourceGroupMatch(allowNoResourceGroupMatch)

"This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to true if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce."

fn spec.forProvider.osPolicies.withDescription

withDescription(description)

"Policy description. Length of the description is limited to 1024 characters."

fn spec.forProvider.osPolicies.withId

withId(id)

"Required. The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment."

fn spec.forProvider.osPolicies.withMode

withMode(mode)

"Required. Policy mode Possible values: MODE_UNSPECIFIED, VALIDATION, ENFORCEMENT"

fn spec.forProvider.osPolicies.withResourceGroups

withResourceGroups(resourceGroups)

"Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag allow_no_resource_group_match"

fn spec.forProvider.osPolicies.withResourceGroupsMixin

withResourceGroupsMixin(resourceGroups)

"Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag allow_no_resource_group_match"

Note: This function appends passed data to existing values

obj spec.forProvider.osPolicies.resourceGroups

"Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag allow_no_resource_group_match"

fn spec.forProvider.osPolicies.resourceGroups.withInventoryFilters

withInventoryFilters(inventoryFilters)

"List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either RHEL or CentOS operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally."

fn spec.forProvider.osPolicies.resourceGroups.withInventoryFiltersMixin

withInventoryFiltersMixin(inventoryFilters)

"List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either RHEL or CentOS operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.withResources

withResources(resources)

"Required. List of resources configured for this resource group. The resources are executed in the exact order specified here."

fn spec.forProvider.osPolicies.resourceGroups.withResourcesMixin

withResourcesMixin(resources)

"Required. List of resources configured for this resource group. The resources are executed in the exact order specified here."

Note: This function appends passed data to existing values

obj spec.forProvider.osPolicies.resourceGroups.inventoryFilters

"List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either RHEL or CentOS operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally."

fn spec.forProvider.osPolicies.resourceGroups.inventoryFilters.withOsShortName

withOsShortName(osShortName)

"Required. The OS short name"

fn spec.forProvider.osPolicies.resourceGroups.inventoryFilters.withOsVersion

withOsVersion(osVersion)

"The OS version Prefix matches are supported if asterisk() is provided as the last character. For example, to match all versions with a major version of 7, specify the following value for this field 7. An empty string matches all OS versions."

obj spec.forProvider.osPolicies.resourceGroups.resources

"Required. List of resources configured for this resource group. The resources are executed in the exact order specified here."

fn spec.forProvider.osPolicies.resourceGroups.resources.withExec

withExec(exec)

"Exec resource"

fn spec.forProvider.osPolicies.resourceGroups.resources.withExecMixin

withExecMixin(exec)

"Exec resource"

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.withFile

withFile(file)

"A remote or local file."

fn spec.forProvider.osPolicies.resourceGroups.resources.withFileMixin

withFileMixin(file)

"A remote or local file."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.withId

withId(id)

"Required. A one word, unique name for this repository. This is the repo id in the zypper config file and also the display_name if display_name is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts."

fn spec.forProvider.osPolicies.resourceGroups.resources.withPkg

withPkg(pkg)

"Package resource"

fn spec.forProvider.osPolicies.resourceGroups.resources.withPkgMixin

withPkgMixin(pkg)

"Package resource"

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.withRepository

withRepository(repository)

"Package repository resource"

fn spec.forProvider.osPolicies.resourceGroups.resources.withRepositoryMixin

withRepositoryMixin(repository)

"Package repository resource"

Note: This function appends passed data to existing values

obj spec.forProvider.osPolicies.resourceGroups.resources.exec

"Exec resource"

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.withEnforce

withEnforce(enforce)

"What to run to bring this resource into the desired state. An exit code of 100 indicates \"success\", any other exit code indicates a failure running enforce."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.withEnforceMixin

withEnforceMixin(enforce)

"What to run to bring this resource into the desired state. An exit code of 100 indicates \"success\", any other exit code indicates a failure running enforce."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.withValidate

withValidate(validate)

"Required. What to run to validate this resource is in the desired state. An exit code of 100 indicates \"in desired state\", and exit code of 101 indicates \"not in desired state\". Any other exit code indicates a failure running validate."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.withValidateMixin

withValidateMixin(validate)

"Required. What to run to validate this resource is in the desired state. An exit code of 100 indicates \"in desired state\", and exit code of 101 indicates \"not in desired state\". Any other exit code indicates a failure running validate."

Note: This function appends passed data to existing values

obj spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce

"What to run to bring this resource into the desired state. An exit code of 100 indicates \"success\", any other exit code indicates a failure running enforce."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.withArgs

withArgs(args)

"Optional arguments to pass to the source during execution."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.withArgsMixin

withArgsMixin(args)

"Optional arguments to pass to the source during execution."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.withFile

withFile(file)

"A remote or local file."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.withFileMixin

withFileMixin(file)

"A remote or local file."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.withInterpreter

withInterpreter(interpreter)

"Required. The script interpreter to use. Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL"

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.withOutputFilePath

withOutputFilePath(outputFilePath)

"Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.withScript

withScript(script)

"An inline script. The size of the script is limited to 1024 characters."

obj spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.file

"A remote or local file."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.file.withAllowInsecure

withAllowInsecure(allowInsecure)

"Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.file.withGcs

withGcs(gcs)

"A Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.file.withGcsMixin

withGcsMixin(gcs)

"A Cloud Storage object."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.file.withLocalPath

withLocalPath(localPath)

"A local path within the VM to use."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.file.withRemote

withRemote(remote)

"A generic remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.file.withRemoteMixin

withRemoteMixin(remote)

"A generic remote file."

Note: This function appends passed data to existing values

obj spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.file.gcs

"A Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.file.gcs.withBucket

withBucket(bucket)

"Required. Bucket of the Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.file.gcs.withGeneration

withGeneration(generation)

"Generation number of the Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.file.gcs.withObject

withObject(object)

"Required. Name of the Cloud Storage object."

obj spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.file.remote

"A generic remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.file.remote.withSha256Checksum

withSha256Checksum(sha256Checksum)

"SHA256 checksum of the remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.enforce.file.remote.withUri

withUri(uri)

"Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}."

obj spec.forProvider.osPolicies.resourceGroups.resources.exec.validate

"Required. What to run to validate this resource is in the desired state. An exit code of 100 indicates \"in desired state\", and exit code of 101 indicates \"not in desired state\". Any other exit code indicates a failure running validate."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.withArgs

withArgs(args)

"Optional arguments to pass to the source during execution."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.withArgsMixin

withArgsMixin(args)

"Optional arguments to pass to the source during execution."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.withFile

withFile(file)

"A remote or local file."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.withFileMixin

withFileMixin(file)

"A remote or local file."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.withInterpreter

withInterpreter(interpreter)

"Required. The script interpreter to use. Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL"

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.withOutputFilePath

withOutputFilePath(outputFilePath)

"Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.withScript

withScript(script)

"An inline script. The size of the script is limited to 1024 characters."

obj spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.file

"A remote or local file."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.file.withAllowInsecure

withAllowInsecure(allowInsecure)

"Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.file.withGcs

withGcs(gcs)

"A Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.file.withGcsMixin

withGcsMixin(gcs)

"A Cloud Storage object."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.file.withLocalPath

withLocalPath(localPath)

"A local path within the VM to use."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.file.withRemote

withRemote(remote)

"A generic remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.file.withRemoteMixin

withRemoteMixin(remote)

"A generic remote file."

Note: This function appends passed data to existing values

obj spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.file.gcs

"A Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.file.gcs.withBucket

withBucket(bucket)

"Required. Bucket of the Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.file.gcs.withGeneration

withGeneration(generation)

"Generation number of the Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.file.gcs.withObject

withObject(object)

"Required. Name of the Cloud Storage object."

obj spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.file.remote

"A generic remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.file.remote.withSha256Checksum

withSha256Checksum(sha256Checksum)

"SHA256 checksum of the remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.exec.validate.file.remote.withUri

withUri(uri)

"Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}."

obj spec.forProvider.osPolicies.resourceGroups.resources.file

"A remote or local file."

fn spec.forProvider.osPolicies.resourceGroups.resources.file.withContent

withContent(content)

"A a file with this content. The size of the content is limited to 1024 characters."

fn spec.forProvider.osPolicies.resourceGroups.resources.file.withFile

withFile(file)

"A remote or local file."

fn spec.forProvider.osPolicies.resourceGroups.resources.file.withFileMixin

withFileMixin(file)

"A remote or local file."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.file.withPath

withPath(path)

"Required. The absolute path of the file within the VM."

fn spec.forProvider.osPolicies.resourceGroups.resources.file.withState

withState(state)

"Required. Desired state of the file. Possible values: OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED, COMPLIANT, NON_COMPLIANT, UNKNOWN, NO_OS_POLICIES_APPLICABLE"

obj spec.forProvider.osPolicies.resourceGroups.resources.file.file

"A remote or local file."

fn spec.forProvider.osPolicies.resourceGroups.resources.file.file.withAllowInsecure

withAllowInsecure(allowInsecure)

"Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified."

fn spec.forProvider.osPolicies.resourceGroups.resources.file.file.withGcs

withGcs(gcs)

"A Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.file.file.withGcsMixin

withGcsMixin(gcs)

"A Cloud Storage object."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.file.file.withLocalPath

withLocalPath(localPath)

"A local path within the VM to use."

fn spec.forProvider.osPolicies.resourceGroups.resources.file.file.withRemote

withRemote(remote)

"A generic remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.file.file.withRemoteMixin

withRemoteMixin(remote)

"A generic remote file."

Note: This function appends passed data to existing values

obj spec.forProvider.osPolicies.resourceGroups.resources.file.file.gcs

"A Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.file.file.gcs.withBucket

withBucket(bucket)

"Required. Bucket of the Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.file.file.gcs.withGeneration

withGeneration(generation)

"Generation number of the Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.file.file.gcs.withObject

withObject(object)

"Required. Name of the Cloud Storage object."

obj spec.forProvider.osPolicies.resourceGroups.resources.file.file.remote

"A generic remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.file.file.remote.withSha256Checksum

withSha256Checksum(sha256Checksum)

"SHA256 checksum of the remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.file.file.remote.withUri

withUri(uri)

"Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}."

obj spec.forProvider.osPolicies.resourceGroups.resources.pkg

"Package resource"

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.withApt

withApt(apt)

"An Apt Repository."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.withAptMixin

withAptMixin(apt)

"An Apt Repository."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.withDeb

withDeb(deb)

"A deb package file."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.withDebMixin

withDebMixin(deb)

"A deb package file."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.withDesiredState

withDesiredState(desiredState)

"Required. The desired state the agent should maintain for this package. Possible values: DESIRED_STATE_UNSPECIFIED, INSTALLED, REMOVED"

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.withGooget

withGooget(googet)

"A package managed by GooGet."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.withGoogetMixin

withGoogetMixin(googet)

"A package managed by GooGet."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.withMsi

withMsi(msi)

"An MSI package."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.withMsiMixin

withMsiMixin(msi)

"An MSI package."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.withRpm

withRpm(rpm)

"An rpm package file."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.withRpmMixin

withRpmMixin(rpm)

"An rpm package file."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.withYum

withYum(yum)

"A Yum Repository."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.withYumMixin

withYumMixin(yum)

"A Yum Repository."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.withZypper

withZypper(zypper)

"A Zypper Repository."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.withZypperMixin

withZypperMixin(zypper)

"A Zypper Repository."

Note: This function appends passed data to existing values

obj spec.forProvider.osPolicies.resourceGroups.resources.pkg.apt

"An Apt Repository."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.apt.withName

withName(name)

"Required. Package name."

obj spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb

"A deb package file."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb.withPullDeps

withPullDeps(pullDeps)

"Whether dependencies should also be installed. - install when false: rpm --upgrade --replacepkgs package.rpm - install when true: yum -y install package.rpm or zypper -y install package.rpm"

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb.withSource

withSource(source)

"Required. An rpm package."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb.withSourceMixin

withSourceMixin(source)

"Required. An rpm package."

Note: This function appends passed data to existing values

obj spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb.source

"Required. An rpm package."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb.source.withAllowInsecure

withAllowInsecure(allowInsecure)

"Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb.source.withGcs

withGcs(gcs)

"A Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb.source.withGcsMixin

withGcsMixin(gcs)

"A Cloud Storage object."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb.source.withLocalPath

withLocalPath(localPath)

"A local path within the VM to use."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb.source.withRemote

withRemote(remote)

"A generic remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb.source.withRemoteMixin

withRemoteMixin(remote)

"A generic remote file."

Note: This function appends passed data to existing values

obj spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb.source.gcs

"A Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb.source.gcs.withBucket

withBucket(bucket)

"Required. Bucket of the Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb.source.gcs.withGeneration

withGeneration(generation)

"Generation number of the Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb.source.gcs.withObject

withObject(object)

"Required. Name of the Cloud Storage object."

obj spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb.source.remote

"A generic remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb.source.remote.withSha256Checksum

withSha256Checksum(sha256Checksum)

"SHA256 checksum of the remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.deb.source.remote.withUri

withUri(uri)

"Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}."

obj spec.forProvider.osPolicies.resourceGroups.resources.pkg.googet

"A package managed by GooGet."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.googet.withName

withName(name)

"Required. Package name."

obj spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi

"An MSI package."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.withProperties

withProperties(properties)

"Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of ACTION=INSTALL REBOOT=ReallySuppress."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.withPropertiesMixin

withPropertiesMixin(properties)

"Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of ACTION=INSTALL REBOOT=ReallySuppress."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.withSource

withSource(source)

"Required. An rpm package."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.withSourceMixin

withSourceMixin(source)

"Required. An rpm package."

Note: This function appends passed data to existing values

obj spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.source

"Required. An rpm package."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.source.withAllowInsecure

withAllowInsecure(allowInsecure)

"Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.source.withGcs

withGcs(gcs)

"A Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.source.withGcsMixin

withGcsMixin(gcs)

"A Cloud Storage object."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.source.withLocalPath

withLocalPath(localPath)

"A local path within the VM to use."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.source.withRemote

withRemote(remote)

"A generic remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.source.withRemoteMixin

withRemoteMixin(remote)

"A generic remote file."

Note: This function appends passed data to existing values

obj spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.source.gcs

"A Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.source.gcs.withBucket

withBucket(bucket)

"Required. Bucket of the Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.source.gcs.withGeneration

withGeneration(generation)

"Generation number of the Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.source.gcs.withObject

withObject(object)

"Required. Name of the Cloud Storage object."

obj spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.source.remote

"A generic remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.source.remote.withSha256Checksum

withSha256Checksum(sha256Checksum)

"SHA256 checksum of the remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.msi.source.remote.withUri

withUri(uri)

"Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}."

obj spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm

"An rpm package file."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm.withPullDeps

withPullDeps(pullDeps)

"Whether dependencies should also be installed. - install when false: rpm --upgrade --replacepkgs package.rpm - install when true: yum -y install package.rpm or zypper -y install package.rpm"

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm.withSource

withSource(source)

"Required. An rpm package."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm.withSourceMixin

withSourceMixin(source)

"Required. An rpm package."

Note: This function appends passed data to existing values

obj spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm.source

"Required. An rpm package."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.withAllowInsecure

withAllowInsecure(allowInsecure)

"Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.withGcs

withGcs(gcs)

"A Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.withGcsMixin

withGcsMixin(gcs)

"A Cloud Storage object."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.withLocalPath

withLocalPath(localPath)

"A local path within the VM to use."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.withRemote

withRemote(remote)

"A generic remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.withRemoteMixin

withRemoteMixin(remote)

"A generic remote file."

Note: This function appends passed data to existing values

obj spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.gcs

"A Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.gcs.withBucket

withBucket(bucket)

"Required. Bucket of the Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.gcs.withGeneration

withGeneration(generation)

"Generation number of the Cloud Storage object."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.gcs.withObject

withObject(object)

"Required. Name of the Cloud Storage object."

obj spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.remote

"A generic remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.remote.withSha256Checksum

withSha256Checksum(sha256Checksum)

"SHA256 checksum of the remote file."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.remote.withUri

withUri(uri)

"Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}."

obj spec.forProvider.osPolicies.resourceGroups.resources.pkg.yum

"A Yum Repository."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.yum.withName

withName(name)

"Required. Package name."

obj spec.forProvider.osPolicies.resourceGroups.resources.pkg.zypper

"A Zypper Repository."

fn spec.forProvider.osPolicies.resourceGroups.resources.pkg.zypper.withName

withName(name)

"Required. Package name."

obj spec.forProvider.osPolicies.resourceGroups.resources.repository

"Package repository resource"

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.withApt

withApt(apt)

"An Apt Repository."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.withAptMixin

withAptMixin(apt)

"An Apt Repository."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.withGoo

withGoo(goo)

"A Goo Repository."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.withGooMixin

withGooMixin(goo)

"A Goo Repository."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.withYum

withYum(yum)

"A Yum Repository."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.withYumMixin

withYumMixin(yum)

"A Yum Repository."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.withZypper

withZypper(zypper)

"A Zypper Repository."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.withZypperMixin

withZypperMixin(zypper)

"A Zypper Repository."

Note: This function appends passed data to existing values

obj spec.forProvider.osPolicies.resourceGroups.resources.repository.apt

"An Apt Repository."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.apt.withArchiveType

withArchiveType(archiveType)

"Required. Type of archive files in this repository. Possible values: ARCHIVE_TYPE_UNSPECIFIED, DEB, DEB_SRC"

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.apt.withComponents

withComponents(components)

"Required. List of components for this repository. Must contain at least one item."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.apt.withComponentsMixin

withComponentsMixin(components)

"Required. List of components for this repository. Must contain at least one item."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.apt.withDistribution

withDistribution(distribution)

"Required. Distribution of this repository."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.apt.withGpgKey

withGpgKey(gpgKey)

"URI of the key file for this repository. The agent maintains a keyring at /etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.apt.withUri

withUri(uri)

"Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}."

obj spec.forProvider.osPolicies.resourceGroups.resources.repository.goo

"A Goo Repository."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.goo.withName

withName(name)

"Required. Package name."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.goo.withUrl

withUrl(url)

"Required. The url of the repository."

obj spec.forProvider.osPolicies.resourceGroups.resources.repository.yum

"A Yum Repository."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.yum.withBaseUrl

withBaseUrl(baseUrl)

"Required. The location of the repository directory."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.yum.withDisplayName

withDisplayName(displayName)

"The display name of the repository."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.yum.withGpgKeys

withGpgKeys(gpgKeys)

"URIs of GPG keys."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.yum.withGpgKeysMixin

withGpgKeysMixin(gpgKeys)

"URIs of GPG keys."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.yum.withId

withId(id)

"Required. A one word, unique name for this repository. This is the repo id in the zypper config file and also the display_name if display_name is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts."

obj spec.forProvider.osPolicies.resourceGroups.resources.repository.zypper

"A Zypper Repository."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.zypper.withBaseUrl

withBaseUrl(baseUrl)

"Required. The location of the repository directory."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.zypper.withDisplayName

withDisplayName(displayName)

"The display name of the repository."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.zypper.withGpgKeys

withGpgKeys(gpgKeys)

"URIs of GPG keys."

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.zypper.withGpgKeysMixin

withGpgKeysMixin(gpgKeys)

"URIs of GPG keys."

Note: This function appends passed data to existing values

fn spec.forProvider.osPolicies.resourceGroups.resources.repository.zypper.withId

withId(id)

"Required. A one word, unique name for this repository. This is the repo id in the zypper config file and also the display_name if display_name is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts."

obj spec.forProvider.rollout

"Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted."

fn spec.forProvider.rollout.withDisruptionBudget

withDisruptionBudget(disruptionBudget)

"Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment."

fn spec.forProvider.rollout.withDisruptionBudgetMixin

withDisruptionBudgetMixin(disruptionBudget)

"Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment."

Note: This function appends passed data to existing values

fn spec.forProvider.rollout.withMinWaitDuration

withMinWaitDuration(minWaitDuration)

"Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the disruption_budget at least until this duration of time has passed after configuration changes are applied."

obj spec.forProvider.rollout.disruptionBudget

"Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment."

fn spec.forProvider.rollout.disruptionBudget.withFixed

withFixed(fixed)

"Specifies a fixed value."

fn spec.forProvider.rollout.disruptionBudget.withPercent

withPercent(percent)

"Specifies the relative value defined as a percentage, which will be multiplied by a reference value."

obj spec.initProvider

"THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. 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."

fn spec.initProvider.withDescription

withDescription(description)

"Policy description. Length of the description is limited to 1024 characters."

fn spec.initProvider.withInstanceFilter

withInstanceFilter(instanceFilter)

"Required. Filter to select VMs."

fn spec.initProvider.withInstanceFilterMixin

withInstanceFilterMixin(instanceFilter)

"Required. Filter to select VMs."

Note: This function appends passed data to existing values

fn spec.initProvider.withOsPolicies

withOsPolicies(osPolicies)

"Required. List of OS policies to be applied to the VMs."

fn spec.initProvider.withOsPoliciesMixin

withOsPoliciesMixin(osPolicies)

"Required. List of OS policies to be applied to the VMs."

Note: This function appends passed data to existing values

fn spec.initProvider.withProject

withProject(project)

"The project for the resource"

fn spec.initProvider.withRollout

withRollout(rollout)

"Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted."

fn spec.initProvider.withRolloutMixin

withRolloutMixin(rollout)

"Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted."

Note: This function appends passed data to existing values

fn spec.initProvider.withSkipAwaitRollout

withSkipAwaitRollout(skipAwaitRollout)

"Set to true to skip awaiting rollout during resource creation and update."

obj spec.initProvider.instanceFilter

"Required. Filter to select VMs."

fn spec.initProvider.instanceFilter.withAll

withAll(all)

"Target all VMs in the project. If true, no other criteria is permitted."

fn spec.initProvider.instanceFilter.withExclusionLabels

withExclusionLabels(exclusionLabels)

"List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM."

fn spec.initProvider.instanceFilter.withExclusionLabelsMixin

withExclusionLabelsMixin(exclusionLabels)

"List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM."

Note: This function appends passed data to existing values

fn spec.initProvider.instanceFilter.withInclusionLabels

withInclusionLabels(inclusionLabels)

"List of label sets used for VM inclusion. If the list has more than one LabelSet, the VM is included if any of the label sets are applicable for the VM."

fn spec.initProvider.instanceFilter.withInclusionLabelsMixin

withInclusionLabelsMixin(inclusionLabels)

"List of label sets used for VM inclusion. If the list has more than one LabelSet, the VM is included if any of the label sets are applicable for the VM."

Note: This function appends passed data to existing values

fn spec.initProvider.instanceFilter.withInventories

withInventories(inventories)

"List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories."

fn spec.initProvider.instanceFilter.withInventoriesMixin

withInventoriesMixin(inventories)

"List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories."

Note: This function appends passed data to existing values

obj spec.initProvider.instanceFilter.exclusionLabels

"List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM."

fn spec.initProvider.instanceFilter.exclusionLabels.withLabels

withLabels(labels)

"Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected."

fn spec.initProvider.instanceFilter.exclusionLabels.withLabelsMixin

withLabelsMixin(labels)

"Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected."

Note: This function appends passed data to existing values

obj spec.initProvider.instanceFilter.inclusionLabels

"List of label sets used for VM inclusion. If the list has more than one LabelSet, the VM is included if any of the label sets are applicable for the VM."

fn spec.initProvider.instanceFilter.inclusionLabels.withLabels

withLabels(labels)

"Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected."

fn spec.initProvider.instanceFilter.inclusionLabels.withLabelsMixin

withLabelsMixin(labels)

"Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected."

Note: This function appends passed data to existing values

obj spec.initProvider.instanceFilter.inventories

"List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories."

fn spec.initProvider.instanceFilter.inventories.withOsShortName

withOsShortName(osShortName)

"Required. The OS short name"

fn spec.initProvider.instanceFilter.inventories.withOsVersion

withOsVersion(osVersion)

"The OS version Prefix matches are supported if asterisk() is provided as the last character. For example, to match all versions with a major version of 7, specify the following value for this field 7. An empty string matches all OS versions."

obj spec.initProvider.osPolicies

"Required. List of OS policies to be applied to the VMs."

fn spec.initProvider.osPolicies.withAllowNoResourceGroupMatch

withAllowNoResourceGroupMatch(allowNoResourceGroupMatch)

"This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to true if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce."

fn spec.initProvider.osPolicies.withDescription

withDescription(description)

"Policy description. Length of the description is limited to 1024 characters."

fn spec.initProvider.osPolicies.withId

withId(id)

"Required. The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment."

fn spec.initProvider.osPolicies.withMode

withMode(mode)

"Required. Policy mode Possible values: MODE_UNSPECIFIED, VALIDATION, ENFORCEMENT"

fn spec.initProvider.osPolicies.withResourceGroups

withResourceGroups(resourceGroups)

"Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag allow_no_resource_group_match"

fn spec.initProvider.osPolicies.withResourceGroupsMixin

withResourceGroupsMixin(resourceGroups)

"Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag allow_no_resource_group_match"

Note: This function appends passed data to existing values

obj spec.initProvider.osPolicies.resourceGroups

"Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag allow_no_resource_group_match"

fn spec.initProvider.osPolicies.resourceGroups.withInventoryFilters

withInventoryFilters(inventoryFilters)

"List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either RHEL or CentOS operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally."

fn spec.initProvider.osPolicies.resourceGroups.withInventoryFiltersMixin

withInventoryFiltersMixin(inventoryFilters)

"List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either RHEL or CentOS operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.withResources

withResources(resources)

"Required. List of resources configured for this resource group. The resources are executed in the exact order specified here."

fn spec.initProvider.osPolicies.resourceGroups.withResourcesMixin

withResourcesMixin(resources)

"Required. List of resources configured for this resource group. The resources are executed in the exact order specified here."

Note: This function appends passed data to existing values

obj spec.initProvider.osPolicies.resourceGroups.inventoryFilters

"List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either RHEL or CentOS operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally."

fn spec.initProvider.osPolicies.resourceGroups.inventoryFilters.withOsShortName

withOsShortName(osShortName)

"Required. The OS short name"

fn spec.initProvider.osPolicies.resourceGroups.inventoryFilters.withOsVersion

withOsVersion(osVersion)

"The OS version Prefix matches are supported if asterisk() is provided as the last character. For example, to match all versions with a major version of 7, specify the following value for this field 7. An empty string matches all OS versions."

obj spec.initProvider.osPolicies.resourceGroups.resources

"Required. List of resources configured for this resource group. The resources are executed in the exact order specified here."

fn spec.initProvider.osPolicies.resourceGroups.resources.withExec

withExec(exec)

"Exec resource"

fn spec.initProvider.osPolicies.resourceGroups.resources.withExecMixin

withExecMixin(exec)

"Exec resource"

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.withFile

withFile(file)

"A remote or local file."

fn spec.initProvider.osPolicies.resourceGroups.resources.withFileMixin

withFileMixin(file)

"A remote or local file."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.withId

withId(id)

"Required. A one word, unique name for this repository. This is the repo id in the zypper config file and also the display_name if display_name is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts."

fn spec.initProvider.osPolicies.resourceGroups.resources.withPkg

withPkg(pkg)

"Package resource"

fn spec.initProvider.osPolicies.resourceGroups.resources.withPkgMixin

withPkgMixin(pkg)

"Package resource"

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.withRepository

withRepository(repository)

"Package repository resource"

fn spec.initProvider.osPolicies.resourceGroups.resources.withRepositoryMixin

withRepositoryMixin(repository)

"Package repository resource"

Note: This function appends passed data to existing values

obj spec.initProvider.osPolicies.resourceGroups.resources.exec

"Exec resource"

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.withEnforce

withEnforce(enforce)

"What to run to bring this resource into the desired state. An exit code of 100 indicates \"success\", any other exit code indicates a failure running enforce."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.withEnforceMixin

withEnforceMixin(enforce)

"What to run to bring this resource into the desired state. An exit code of 100 indicates \"success\", any other exit code indicates a failure running enforce."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.withValidate

withValidate(validate)

"Required. What to run to validate this resource is in the desired state. An exit code of 100 indicates \"in desired state\", and exit code of 101 indicates \"not in desired state\". Any other exit code indicates a failure running validate."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.withValidateMixin

withValidateMixin(validate)

"Required. What to run to validate this resource is in the desired state. An exit code of 100 indicates \"in desired state\", and exit code of 101 indicates \"not in desired state\". Any other exit code indicates a failure running validate."

Note: This function appends passed data to existing values

obj spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce

"What to run to bring this resource into the desired state. An exit code of 100 indicates \"success\", any other exit code indicates a failure running enforce."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.withArgs

withArgs(args)

"Optional arguments to pass to the source during execution."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.withArgsMixin

withArgsMixin(args)

"Optional arguments to pass to the source during execution."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.withFile

withFile(file)

"A remote or local file."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.withFileMixin

withFileMixin(file)

"A remote or local file."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.withInterpreter

withInterpreter(interpreter)

"Required. The script interpreter to use. Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL"

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.withOutputFilePath

withOutputFilePath(outputFilePath)

"Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.withScript

withScript(script)

"An inline script. The size of the script is limited to 1024 characters."

obj spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.file

"A remote or local file."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.file.withAllowInsecure

withAllowInsecure(allowInsecure)

"Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.file.withGcs

withGcs(gcs)

"A Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.file.withGcsMixin

withGcsMixin(gcs)

"A Cloud Storage object."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.file.withLocalPath

withLocalPath(localPath)

"A local path within the VM to use."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.file.withRemote

withRemote(remote)

"A generic remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.file.withRemoteMixin

withRemoteMixin(remote)

"A generic remote file."

Note: This function appends passed data to existing values

obj spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.file.gcs

"A Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.file.gcs.withBucket

withBucket(bucket)

"Required. Bucket of the Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.file.gcs.withGeneration

withGeneration(generation)

"Generation number of the Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.file.gcs.withObject

withObject(object)

"Required. Name of the Cloud Storage object."

obj spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.file.remote

"A generic remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.file.remote.withSha256Checksum

withSha256Checksum(sha256Checksum)

"SHA256 checksum of the remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.enforce.file.remote.withUri

withUri(uri)

"Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}."

obj spec.initProvider.osPolicies.resourceGroups.resources.exec.validate

"Required. What to run to validate this resource is in the desired state. An exit code of 100 indicates \"in desired state\", and exit code of 101 indicates \"not in desired state\". Any other exit code indicates a failure running validate."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.withArgs

withArgs(args)

"Optional arguments to pass to the source during execution."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.withArgsMixin

withArgsMixin(args)

"Optional arguments to pass to the source during execution."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.withFile

withFile(file)

"A remote or local file."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.withFileMixin

withFileMixin(file)

"A remote or local file."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.withInterpreter

withInterpreter(interpreter)

"Required. The script interpreter to use. Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL"

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.withOutputFilePath

withOutputFilePath(outputFilePath)

"Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.withScript

withScript(script)

"An inline script. The size of the script is limited to 1024 characters."

obj spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.file

"A remote or local file."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.file.withAllowInsecure

withAllowInsecure(allowInsecure)

"Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.file.withGcs

withGcs(gcs)

"A Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.file.withGcsMixin

withGcsMixin(gcs)

"A Cloud Storage object."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.file.withLocalPath

withLocalPath(localPath)

"A local path within the VM to use."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.file.withRemote

withRemote(remote)

"A generic remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.file.withRemoteMixin

withRemoteMixin(remote)

"A generic remote file."

Note: This function appends passed data to existing values

obj spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.file.gcs

"A Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.file.gcs.withBucket

withBucket(bucket)

"Required. Bucket of the Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.file.gcs.withGeneration

withGeneration(generation)

"Generation number of the Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.file.gcs.withObject

withObject(object)

"Required. Name of the Cloud Storage object."

obj spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.file.remote

"A generic remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.file.remote.withSha256Checksum

withSha256Checksum(sha256Checksum)

"SHA256 checksum of the remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.exec.validate.file.remote.withUri

withUri(uri)

"Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}."

obj spec.initProvider.osPolicies.resourceGroups.resources.file

"A remote or local file."

fn spec.initProvider.osPolicies.resourceGroups.resources.file.withContent

withContent(content)

"A a file with this content. The size of the content is limited to 1024 characters."

fn spec.initProvider.osPolicies.resourceGroups.resources.file.withFile

withFile(file)

"A remote or local file."

fn spec.initProvider.osPolicies.resourceGroups.resources.file.withFileMixin

withFileMixin(file)

"A remote or local file."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.file.withPath

withPath(path)

"Required. The absolute path of the file within the VM."

fn spec.initProvider.osPolicies.resourceGroups.resources.file.withState

withState(state)

"Required. Desired state of the file. Possible values: OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED, COMPLIANT, NON_COMPLIANT, UNKNOWN, NO_OS_POLICIES_APPLICABLE"

obj spec.initProvider.osPolicies.resourceGroups.resources.file.file

"A remote or local file."

fn spec.initProvider.osPolicies.resourceGroups.resources.file.file.withAllowInsecure

withAllowInsecure(allowInsecure)

"Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified."

fn spec.initProvider.osPolicies.resourceGroups.resources.file.file.withGcs

withGcs(gcs)

"A Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.file.file.withGcsMixin

withGcsMixin(gcs)

"A Cloud Storage object."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.file.file.withLocalPath

withLocalPath(localPath)

"A local path within the VM to use."

fn spec.initProvider.osPolicies.resourceGroups.resources.file.file.withRemote

withRemote(remote)

"A generic remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.file.file.withRemoteMixin

withRemoteMixin(remote)

"A generic remote file."

Note: This function appends passed data to existing values

obj spec.initProvider.osPolicies.resourceGroups.resources.file.file.gcs

"A Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.file.file.gcs.withBucket

withBucket(bucket)

"Required. Bucket of the Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.file.file.gcs.withGeneration

withGeneration(generation)

"Generation number of the Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.file.file.gcs.withObject

withObject(object)

"Required. Name of the Cloud Storage object."

obj spec.initProvider.osPolicies.resourceGroups.resources.file.file.remote

"A generic remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.file.file.remote.withSha256Checksum

withSha256Checksum(sha256Checksum)

"SHA256 checksum of the remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.file.file.remote.withUri

withUri(uri)

"Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}."

obj spec.initProvider.osPolicies.resourceGroups.resources.pkg

"Package resource"

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.withApt

withApt(apt)

"An Apt Repository."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.withAptMixin

withAptMixin(apt)

"An Apt Repository."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.withDeb

withDeb(deb)

"A deb package file."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.withDebMixin

withDebMixin(deb)

"A deb package file."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.withDesiredState

withDesiredState(desiredState)

"Required. The desired state the agent should maintain for this package. Possible values: DESIRED_STATE_UNSPECIFIED, INSTALLED, REMOVED"

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.withGooget

withGooget(googet)

"A package managed by GooGet."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.withGoogetMixin

withGoogetMixin(googet)

"A package managed by GooGet."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.withMsi

withMsi(msi)

"An MSI package."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.withMsiMixin

withMsiMixin(msi)

"An MSI package."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.withRpm

withRpm(rpm)

"An rpm package file."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.withRpmMixin

withRpmMixin(rpm)

"An rpm package file."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.withYum

withYum(yum)

"A Yum Repository."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.withYumMixin

withYumMixin(yum)

"A Yum Repository."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.withZypper

withZypper(zypper)

"A Zypper Repository."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.withZypperMixin

withZypperMixin(zypper)

"A Zypper Repository."

Note: This function appends passed data to existing values

obj spec.initProvider.osPolicies.resourceGroups.resources.pkg.apt

"An Apt Repository."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.apt.withName

withName(name)

"Required. Package name."

obj spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb

"A deb package file."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb.withPullDeps

withPullDeps(pullDeps)

"Whether dependencies should also be installed. - install when false: rpm --upgrade --replacepkgs package.rpm - install when true: yum -y install package.rpm or zypper -y install package.rpm"

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb.withSource

withSource(source)

"Required. An rpm package."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb.withSourceMixin

withSourceMixin(source)

"Required. An rpm package."

Note: This function appends passed data to existing values

obj spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb.source

"Required. An rpm package."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb.source.withAllowInsecure

withAllowInsecure(allowInsecure)

"Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb.source.withGcs

withGcs(gcs)

"A Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb.source.withGcsMixin

withGcsMixin(gcs)

"A Cloud Storage object."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb.source.withLocalPath

withLocalPath(localPath)

"A local path within the VM to use."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb.source.withRemote

withRemote(remote)

"A generic remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb.source.withRemoteMixin

withRemoteMixin(remote)

"A generic remote file."

Note: This function appends passed data to existing values

obj spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb.source.gcs

"A Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb.source.gcs.withBucket

withBucket(bucket)

"Required. Bucket of the Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb.source.gcs.withGeneration

withGeneration(generation)

"Generation number of the Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb.source.gcs.withObject

withObject(object)

"Required. Name of the Cloud Storage object."

obj spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb.source.remote

"A generic remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb.source.remote.withSha256Checksum

withSha256Checksum(sha256Checksum)

"SHA256 checksum of the remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.deb.source.remote.withUri

withUri(uri)

"Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}."

obj spec.initProvider.osPolicies.resourceGroups.resources.pkg.googet

"A package managed by GooGet."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.googet.withName

withName(name)

"Required. Package name."

obj spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi

"An MSI package."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.withProperties

withProperties(properties)

"Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of ACTION=INSTALL REBOOT=ReallySuppress."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.withPropertiesMixin

withPropertiesMixin(properties)

"Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of ACTION=INSTALL REBOOT=ReallySuppress."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.withSource

withSource(source)

"Required. An rpm package."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.withSourceMixin

withSourceMixin(source)

"Required. An rpm package."

Note: This function appends passed data to existing values

obj spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.source

"Required. An rpm package."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.source.withAllowInsecure

withAllowInsecure(allowInsecure)

"Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.source.withGcs

withGcs(gcs)

"A Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.source.withGcsMixin

withGcsMixin(gcs)

"A Cloud Storage object."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.source.withLocalPath

withLocalPath(localPath)

"A local path within the VM to use."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.source.withRemote

withRemote(remote)

"A generic remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.source.withRemoteMixin

withRemoteMixin(remote)

"A generic remote file."

Note: This function appends passed data to existing values

obj spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.source.gcs

"A Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.source.gcs.withBucket

withBucket(bucket)

"Required. Bucket of the Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.source.gcs.withGeneration

withGeneration(generation)

"Generation number of the Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.source.gcs.withObject

withObject(object)

"Required. Name of the Cloud Storage object."

obj spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.source.remote

"A generic remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.source.remote.withSha256Checksum

withSha256Checksum(sha256Checksum)

"SHA256 checksum of the remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.msi.source.remote.withUri

withUri(uri)

"Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}."

obj spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm

"An rpm package file."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm.withPullDeps

withPullDeps(pullDeps)

"Whether dependencies should also be installed. - install when false: rpm --upgrade --replacepkgs package.rpm - install when true: yum -y install package.rpm or zypper -y install package.rpm"

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm.withSource

withSource(source)

"Required. An rpm package."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm.withSourceMixin

withSourceMixin(source)

"Required. An rpm package."

Note: This function appends passed data to existing values

obj spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm.source

"Required. An rpm package."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.withAllowInsecure

withAllowInsecure(allowInsecure)

"Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.withGcs

withGcs(gcs)

"A Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.withGcsMixin

withGcsMixin(gcs)

"A Cloud Storage object."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.withLocalPath

withLocalPath(localPath)

"A local path within the VM to use."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.withRemote

withRemote(remote)

"A generic remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.withRemoteMixin

withRemoteMixin(remote)

"A generic remote file."

Note: This function appends passed data to existing values

obj spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.gcs

"A Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.gcs.withBucket

withBucket(bucket)

"Required. Bucket of the Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.gcs.withGeneration

withGeneration(generation)

"Generation number of the Cloud Storage object."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.gcs.withObject

withObject(object)

"Required. Name of the Cloud Storage object."

obj spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.remote

"A generic remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.remote.withSha256Checksum

withSha256Checksum(sha256Checksum)

"SHA256 checksum of the remote file."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.rpm.source.remote.withUri

withUri(uri)

"Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}."

obj spec.initProvider.osPolicies.resourceGroups.resources.pkg.yum

"A Yum Repository."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.yum.withName

withName(name)

"Required. Package name."

obj spec.initProvider.osPolicies.resourceGroups.resources.pkg.zypper

"A Zypper Repository."

fn spec.initProvider.osPolicies.resourceGroups.resources.pkg.zypper.withName

withName(name)

"Required. Package name."

obj spec.initProvider.osPolicies.resourceGroups.resources.repository

"Package repository resource"

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.withApt

withApt(apt)

"An Apt Repository."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.withAptMixin

withAptMixin(apt)

"An Apt Repository."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.withGoo

withGoo(goo)

"A Goo Repository."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.withGooMixin

withGooMixin(goo)

"A Goo Repository."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.withYum

withYum(yum)

"A Yum Repository."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.withYumMixin

withYumMixin(yum)

"A Yum Repository."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.withZypper

withZypper(zypper)

"A Zypper Repository."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.withZypperMixin

withZypperMixin(zypper)

"A Zypper Repository."

Note: This function appends passed data to existing values

obj spec.initProvider.osPolicies.resourceGroups.resources.repository.apt

"An Apt Repository."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.apt.withArchiveType

withArchiveType(archiveType)

"Required. Type of archive files in this repository. Possible values: ARCHIVE_TYPE_UNSPECIFIED, DEB, DEB_SRC"

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.apt.withComponents

withComponents(components)

"Required. List of components for this repository. Must contain at least one item."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.apt.withComponentsMixin

withComponentsMixin(components)

"Required. List of components for this repository. Must contain at least one item."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.apt.withDistribution

withDistribution(distribution)

"Required. Distribution of this repository."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.apt.withGpgKey

withGpgKey(gpgKey)

"URI of the key file for this repository. The agent maintains a keyring at /etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.apt.withUri

withUri(uri)

"Required. URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}."

obj spec.initProvider.osPolicies.resourceGroups.resources.repository.goo

"A Goo Repository."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.goo.withName

withName(name)

"Required. Package name."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.goo.withUrl

withUrl(url)

"Required. The url of the repository."

obj spec.initProvider.osPolicies.resourceGroups.resources.repository.yum

"A Yum Repository."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.yum.withBaseUrl

withBaseUrl(baseUrl)

"Required. The location of the repository directory."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.yum.withDisplayName

withDisplayName(displayName)

"The display name of the repository."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.yum.withGpgKeys

withGpgKeys(gpgKeys)

"URIs of GPG keys."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.yum.withGpgKeysMixin

withGpgKeysMixin(gpgKeys)

"URIs of GPG keys."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.yum.withId

withId(id)

"Required. A one word, unique name for this repository. This is the repo id in the zypper config file and also the display_name if display_name is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts."

obj spec.initProvider.osPolicies.resourceGroups.resources.repository.zypper

"A Zypper Repository."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.zypper.withBaseUrl

withBaseUrl(baseUrl)

"Required. The location of the repository directory."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.zypper.withDisplayName

withDisplayName(displayName)

"The display name of the repository."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.zypper.withGpgKeys

withGpgKeys(gpgKeys)

"URIs of GPG keys."

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.zypper.withGpgKeysMixin

withGpgKeysMixin(gpgKeys)

"URIs of GPG keys."

Note: This function appends passed data to existing values

fn spec.initProvider.osPolicies.resourceGroups.resources.repository.zypper.withId

withId(id)

"Required. A one word, unique name for this repository. This is the repo id in the zypper config file and also the display_name if display_name is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts."

obj spec.initProvider.rollout

"Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted."

fn spec.initProvider.rollout.withDisruptionBudget

withDisruptionBudget(disruptionBudget)

"Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment."

fn spec.initProvider.rollout.withDisruptionBudgetMixin

withDisruptionBudgetMixin(disruptionBudget)

"Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment."

Note: This function appends passed data to existing values

fn spec.initProvider.rollout.withMinWaitDuration

withMinWaitDuration(minWaitDuration)

"Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the disruption_budget at least until this duration of time has passed after configuration changes are applied."

obj spec.initProvider.rollout.disruptionBudget

"Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment."

fn spec.initProvider.rollout.disruptionBudget.withFixed

withFixed(fixed)

"Specifies a fixed value."

fn spec.initProvider.rollout.disruptionBudget.withPercent

withPercent(percent)

"Specifies the relative value defined as a percentage, which will be multiplied by a reference value."

obj spec.providerConfigRef

"ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured."

fn spec.providerConfigRef.withName

withName(name)

"Name of the referenced object."

obj spec.providerConfigRef.policy

"Policies for referencing."

fn spec.providerConfigRef.policy.withResolution

withResolution(resolution)

"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."

fn spec.providerConfigRef.policy.withResolve

withResolve(resolve)

"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."

obj spec.providerRef

"ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef"

fn spec.providerRef.withName

withName(name)

"Name of the referenced object."

obj spec.providerRef.policy

"Policies for referencing."

fn spec.providerRef.policy.withResolution

withResolution(resolution)

"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."

fn spec.providerRef.policy.withResolve

withResolve(resolve)

"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."

obj spec.publishConnectionDetailsTo

"PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource."

fn spec.publishConnectionDetailsTo.withName

withName(name)

"Name is the name of the connection secret."

obj spec.publishConnectionDetailsTo.configRef

"SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret."

fn spec.publishConnectionDetailsTo.configRef.withName

withName(name)

"Name of the referenced object."

obj spec.publishConnectionDetailsTo.configRef.policy

"Policies for referencing."

fn spec.publishConnectionDetailsTo.configRef.policy.withResolution

withResolution(resolution)

"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."

fn spec.publishConnectionDetailsTo.configRef.policy.withResolve

withResolve(resolve)

"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."

obj spec.publishConnectionDetailsTo.metadata

"Metadata is the metadata for connection secret."

fn spec.publishConnectionDetailsTo.metadata.withAnnotations

withAnnotations(annotations)

"Annotations are the annotations to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.annotations\". - It is up to Secret Store implementation for others store types."

fn spec.publishConnectionDetailsTo.metadata.withAnnotationsMixin

withAnnotationsMixin(annotations)

"Annotations are the annotations to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.annotations\". - It is up to Secret Store implementation for others store types."

Note: This function appends passed data to existing values

fn spec.publishConnectionDetailsTo.metadata.withLabels

withLabels(labels)

"Labels are the labels/tags to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.labels\". - It is up to Secret Store implementation for others store types."

fn spec.publishConnectionDetailsTo.metadata.withLabelsMixin

withLabelsMixin(labels)

"Labels are the labels/tags to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.labels\". - It is up to Secret Store implementation for others store types."

Note: This function appends passed data to existing values

fn spec.publishConnectionDetailsTo.metadata.withType

withType(type)

"Type is the SecretType for the connection secret. - Only valid for Kubernetes Secret Stores."

obj spec.writeConnectionSecretToRef

"WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other."

fn spec.writeConnectionSecretToRef.withName

withName(name)

"Name of the secret."

fn spec.writeConnectionSecretToRef.withNamespace

withNamespace(namespace)

"Namespace of the secret."