osconfig

package
v1.66.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Overview

Copyright 2024 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package osconfig defines operations in the declarative SDK.

Copyright 2024 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2024 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2024 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2024 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package osconfig defines types and functions for managing osconfig GCP resources.

Index

Constants

View Source
const OSPolicyAssignmentMaxPage = -1

Variables

View Source
var YAML_os_policy_assignment = []byte("info:\n  title: OSConfig/OSPolicyAssignment\n  description: Represents an OSPolicyAssignment resource.\n  x-dcl-struct-name: OSPolicyAssignment\n  x-dcl-has-iam: false\n  x-dcl-ref:\n    text: API documentation\n    url: https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments\npaths:\n  get:\n    description: The function used to get information about a OSPolicyAssignment\n    parameters:\n    - name: oSPolicyAssignment\n      required: true\n      description: A full instance of a OSPolicyAssignment\n  apply:\n    description: The function used to apply information about a OSPolicyAssignment\n    parameters:\n    - name: oSPolicyAssignment\n      required: true\n      description: A full instance of a OSPolicyAssignment\n  delete:\n    description: The function used to delete a OSPolicyAssignment\n    parameters:\n    - name: oSPolicyAssignment\n      required: true\n      description: A full instance of a OSPolicyAssignment\n  deleteAll:\n    description: The function used to delete all OSPolicyAssignment\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many OSPolicyAssignment\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    OSPolicyAssignment:\n      title: OSPolicyAssignment\n      x-dcl-id: projects/{{project}}/locations/{{location}}/osPolicyAssignments/{{name}}\n      x-dcl-uses-state-hint: true\n      x-dcl-parent-container: project\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 0\n      x-dcl-delete-timeout: 0\n      type: object\n      required:\n      - name\n      - osPolicies\n      - instanceFilter\n      - rollout\n      - project\n      - location\n      properties:\n        baseline:\n          type: boolean\n          x-dcl-go-name: Baseline\n          readOnly: true\n          description: Output only. Indicates that this revision has been successfully\n            rolled out in this zone and new VMs will be assigned OS policies from\n            this revision. For a given OS policy assignment, there is only one revision\n            with a value of `true` for this field.\n          x-kubernetes-immutable: true\n        deleted:\n          type: boolean\n          x-dcl-go-name: Deleted\n          readOnly: true\n          description: Output only. Indicates that this revision deletes the OS policy\n            assignment.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: OS policy assignment description. Length of the description\n            is limited to 1024 characters.\n        etag:\n          type: string\n          x-dcl-go-name: Etag\n          readOnly: true\n          description: The etag for this OS policy assignment. If this is provided\n            on update, it must match the server's etag.\n          x-kubernetes-immutable: true\n        instanceFilter:\n          type: object\n          x-dcl-go-name: InstanceFilter\n          x-dcl-go-type: OSPolicyAssignmentInstanceFilter\n          description: Required. Filter to select VMs.\n          properties:\n            all:\n              type: boolean\n              x-dcl-go-name: All\n              description: Target all VMs in the project. If true, no other criteria\n                is permitted.\n              x-dcl-send-empty: true\n            exclusionLabels:\n              type: array\n              x-dcl-go-name: ExclusionLabels\n              description: List of label sets used for VM exclusion. If the list has\n                more than one label set, the VM is excluded if any of the label sets\n                are applicable for the VM.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: object\n                x-dcl-go-type: OSPolicyAssignmentInstanceFilterExclusionLabels\n                properties:\n                  labels:\n                    type: object\n                    additionalProperties:\n                      type: string\n                    x-dcl-go-name: Labels\n                    description: Labels are identified by key/value pairs in this\n                      map. A VM should contain all the key/value pairs specified in\n                      this map to be selected.\n            inclusionLabels:\n              type: array\n              x-dcl-go-name: InclusionLabels\n              description: List of label sets used for VM inclusion. If the list has\n                more than one `LabelSet`, the VM is included if any of the label sets\n                are applicable for the VM.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: object\n                x-dcl-go-type: OSPolicyAssignmentInstanceFilterInclusionLabels\n                properties:\n                  labels:\n                    type: object\n                    additionalProperties:\n                      type: string\n                    x-dcl-go-name: Labels\n                    description: Labels are identified by key/value pairs in this\n                      map. A VM should contain all the key/value pairs specified in\n                      this map to be selected.\n            inventories:\n              type: array\n              x-dcl-go-name: Inventories\n              description: List of inventories to select VMs. A VM is selected if\n                its inventory data matches at least one of the following inventories.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: object\n                x-dcl-go-type: OSPolicyAssignmentInstanceFilterInventories\n                required:\n                - osShortName\n                properties:\n                  osShortName:\n                    type: string\n                    x-dcl-go-name: OSShortName\n                    description: Required. The OS short name\n                  osVersion:\n                    type: string\n                    x-dcl-go-name: OSVersion\n                    description: The OS version Prefix matches are supported if asterisk(*)\n                      is provided as the last character. For example, to match all\n                      versions with a major version of `7`, specify the following\n                      value for this field `7.*` An empty string matches all OS versions.\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n          x-dcl-parameter: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Resource name.\n          x-kubernetes-immutable: true\n          x-dcl-has-long-form: true\n        osPolicies:\n          type: array\n          x-dcl-go-name: OSPolicies\n          description: Required. List of OS policies to be applied to the VMs.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: OSPolicyAssignmentOSPolicies\n            required:\n            - id\n            - mode\n            - resourceGroups\n            properties:\n              allowNoResourceGroupMatch:\n                type: boolean\n                x-dcl-go-name: AllowNoResourceGroupMatch\n                description: This flag determines the OS policy compliance status\n                  when none of the resource groups within the policy are applicable\n                  for a VM. Set this value to `true` if the policy needs to be reported\n                  as compliant even if the policy has nothing to validate or enforce.\n              description:\n                type: string\n                x-dcl-go-name: Description\n                description: Policy description. Length of the description is limited\n                  to 1024 characters.\n              id:\n                type: string\n                x-dcl-go-name: Id\n                description: 'Required. The id of the OS policy with the following\n                  restrictions: * Must contain only lowercase letters, numbers, and\n                  hyphens. * Must start with a letter. * Must be between 1-63 characters.\n                  * Must end with a number or a letter. * Must be unique within the\n                  assignment.'\n              mode:\n                type: string\n                x-dcl-go-name: Mode\n                x-dcl-go-type: OSPolicyAssignmentOSPoliciesModeEnum\n                description: 'Required. Policy mode Possible values: MODE_UNSPECIFIED,\n                  VALIDATION, ENFORCEMENT'\n                enum:\n                - MODE_UNSPECIFIED\n                - VALIDATION\n                - ENFORCEMENT\n              resourceGroups:\n                type: array\n                x-dcl-go-name: ResourceGroups\n                description: Required. List of resource groups for the policy. For\n                  a particular VM, resource groups are evaluated in the order specified\n                  and the first resource group that is applicable is selected and\n                  the rest are ignored. If none of the resource groups are applicable\n                  for a VM, the VM is considered to be non-compliant w.r.t this policy.\n                  This behavior can be toggled by the flag `allow_no_resource_group_match`\n                x-dcl-send-empty: true\n                x-dcl-list-type: list\n                items:\n                  type: object\n                  x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroups\n                  required:\n                  - resources\n                  properties:\n                    inventoryFilters:\n                      type: array\n                      x-dcl-go-name: InventoryFilters\n                      description: 'List of inventory filters for the resource group.\n                        The resources in this resource group are applied to the target\n                        VM if it satisfies at least one of the following inventory\n                        filters. For example, to apply this resource group to VMs\n                        running either `RHEL` or `CentOS` operating systems, specify\n                        2 items for the list with following values: inventory_filters[0].os_short_name=''rhel''\n                        and inventory_filters[1].os_short_name=''centos'' If the list\n                        is empty, this resource group will be applied to the target\n                        VM unconditionally.'\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: object\n                        x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters\n                        required:\n                        - osShortName\n                        properties:\n                          osShortName:\n                            type: string\n                            x-dcl-go-name: OSShortName\n                            description: Required. The OS short name\n                          osVersion:\n                            type: string\n                            x-dcl-go-name: OSVersion\n                            description: The OS version Prefix matches are supported\n                              if asterisk(*) is provided as the last character. For\n                              example, to match all versions with a major version\n                              of `7`, specify the following value for this field `7.*`\n                              An empty string matches all OS versions.\n                    resources:\n                      type: array\n                      x-dcl-go-name: Resources\n                      description: Required. List of resources configured for this\n                        resource group. The resources are executed in the exact order\n                        specified here.\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: object\n                        x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResources\n                        required:\n                        - id\n                        properties:\n                          exec:\n                            type: object\n                            x-dcl-go-name: Exec\n                            x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec\n                            description: Exec resource\n                            x-dcl-conflicts:\n                            - pkg\n                            - repository\n                            - file\n                            required:\n                            - validate\n                            properties:\n                              enforce:\n                                type: object\n                                x-dcl-go-name: Enforce\n                                x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce\n                                description: What to run to bring this resource into\n                                  the desired state. An exit code of 100 indicates\n                                  \"success\", any other exit code indicates a failure\n                                  running enforce.\n                                required:\n                                - interpreter\n                                properties:\n                                  args:\n                                    type: array\n                                    x-dcl-go-name: Args\n                                    description: Optional arguments to pass to the\n                                      source during execution.\n                                    x-dcl-send-empty: true\n                                    x-dcl-list-type: list\n                                    items:\n                                      type: string\n                                      x-dcl-go-type: string\n                                  file:\n                                    type: object\n                                    x-dcl-go-name: File\n                                    x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile\n                                    description: A remote or local file.\n                                    x-dcl-conflicts:\n                                    - script\n                                    properties:\n                                      allowInsecure:\n                                        type: boolean\n                                        x-dcl-go-name: AllowInsecure\n                                        description: 'Defaults to false. When false,\n                                          files are subject to validations based on\n                                          the file type: Remote: A checksum must be\n                                          specified. Cloud Storage: An object generation\n                                          number must be specified.'\n                                      gcs:\n                                        type: object\n                                        x-dcl-go-name: Gcs\n                                        x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs\n                                        description: A Cloud Storage object.\n                                        x-dcl-conflicts:\n                                        - remote\n                                        - localPath\n                                        required:\n                                        - bucket\n                                        - object\n                                        properties:\n                                          bucket:\n                                            type: string\n                                            x-dcl-go-name: Bucket\n                                            description: Required. Bucket of the Cloud\n                                              Storage object.\n                                          generation:\n                                            type: integer\n                                            format: int64\n                                            x-dcl-go-name: Generation\n                                            description: Generation number of the\n                                              Cloud Storage object.\n                                          object:\n                                            type: string\n                                            x-dcl-go-name: Object\n                                            description: Required. Name of the Cloud\n                                              Storage object.\n                                      localPath:\n                                        type: string\n                                        x-dcl-go-name: LocalPath\n                                        description: A local path within the VM to\n                                          use.\n                                        x-dcl-conflicts:\n                                        - remote\n                                        - gcs\n                                      remote:\n                                        type: object\n                                        x-dcl-go-name: Remote\n                                        x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileRemote\n                                        description: A generic remote file.\n                                        x-dcl-conflicts:\n                                        - gcs\n                                        - localPath\n                                        required:\n                                        - uri\n                                        properties:\n                                          sha256Checksum:\n                                            type: string\n                                            x-dcl-go-name: Sha256Checksum\n                                            description: SHA256 checksum of the remote\n                                              file.\n                                          uri:\n                                            type: string\n                                            x-dcl-go-name: Uri\n                                            description: Required. URI from which\n                                              to fetch the object. It should contain\n                                              both the protocol and path following\n                                              the format `{protocol}://{location}`.\n                                  interpreter:\n                                    type: string\n                                    x-dcl-go-name: Interpreter\n                                    x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceInterpreterEnum\n                                    description: 'Required. The script interpreter\n                                      to use. Possible values: INTERPRETER_UNSPECIFIED,\n                                      NONE, SHELL, POWERSHELL'\n                                    enum:\n                                    - INTERPRETER_UNSPECIFIED\n                                    - NONE\n                                    - SHELL\n                                    - POWERSHELL\n                                  outputFilePath:\n                                    type: string\n                                    x-dcl-go-name: OutputFilePath\n                                    description: Only recorded for enforce Exec. Path\n                                      to an output file (that is created by this Exec)\n                                      whose content will be recorded in OSPolicyResourceCompliance\n                                      after a successful run. Absence or failure to\n                                      read this file will result in this ExecResource\n                                      being non-compliant. Output file size is limited\n                                      to 100K bytes.\n                                  script:\n                                    type: string\n                                    x-dcl-go-name: Script\n                                    description: An inline script. The size of the\n                                      script is limited to 1024 characters.\n                                    x-dcl-conflicts:\n                                    - file\n                              validate:\n                                type: object\n                                x-dcl-go-name: Validate\n                                x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate\n                                description: Required. What to run to validate this\n                                  resource is in the desired state. An exit code of\n                                  100 indicates \"in desired state\", and exit code\n                                  of 101 indicates \"not in desired state\". Any other\n                                  exit code indicates a failure running validate.\n                                required:\n                                - interpreter\n                                properties:\n                                  args:\n                                    type: array\n                                    x-dcl-go-name: Args\n                                    description: Optional arguments to pass to the\n                                      source during execution.\n                                    x-dcl-send-empty: true\n                                    x-dcl-list-type: list\n                                    items:\n                                      type: string\n                                      x-dcl-go-type: string\n                                  file:\n                                    type: object\n                                    x-dcl-go-name: File\n                                    x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile\n                                    description: A remote or local file.\n                                    x-dcl-conflicts:\n                                    - script\n                                    properties:\n                                      allowInsecure:\n                                        type: boolean\n                                        x-dcl-go-name: AllowInsecure\n                                        description: 'Defaults to false. When false,\n                                          files are subject to validations based on\n                                          the file type: Remote: A checksum must be\n                                          specified. Cloud Storage: An object generation\n                                          number must be specified.'\n                                      gcs:\n                                        type: object\n                                        x-dcl-go-name: Gcs\n                                        x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs\n                                        description: A Cloud Storage object.\n                                        x-dcl-conflicts:\n                                        - remote\n                                        - localPath\n                                        required:\n                                        - bucket\n                                        - object\n                                        properties:\n                                          bucket:\n                                            type: string\n                                            x-dcl-go-name: Bucket\n                                            description: Required. Bucket of the Cloud\n                                              Storage object.\n                                          generation:\n                                            type: integer\n                                            format: int64\n                                            x-dcl-go-name: Generation\n                                            description: Generation number of the\n                                              Cloud Storage object.\n                                          object:\n                                            type: string\n                                            x-dcl-go-name: Object\n                                            description: Required. Name of the Cloud\n                                              Storage object.\n                                      localPath:\n                                        type: string\n                                        x-dcl-go-name: LocalPath\n                                        description: A local path within the VM to\n                                          use.\n                                        x-dcl-conflicts:\n                                        - remote\n                                        - gcs\n                                      remote:\n                                        type: object\n                                        x-dcl-go-name: Remote\n                                        x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileRemote\n                                        description: A generic remote file.\n                                        x-dcl-conflicts:\n                                        - gcs\n                                        - localPath\n                                        required:\n                                        - uri\n                                        properties:\n                                          sha256Checksum:\n                                            type: string\n                                            x-dcl-go-name: Sha256Checksum\n                                            description: SHA256 checksum of the remote\n                                              file.\n                                          uri:\n                                            type: string\n                                            x-dcl-go-name: Uri\n                                            description: Required. URI from which\n                                              to fetch the object. It should contain\n                                              both the protocol and path following\n                                              the format `{protocol}://{location}`.\n                                  interpreter:\n                                    type: string\n                                    x-dcl-go-name: Interpreter\n                                    x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateInterpreterEnum\n                                    description: 'Required. The script interpreter\n                                      to use. Possible values: INTERPRETER_UNSPECIFIED,\n                                      NONE, SHELL, POWERSHELL'\n                                    enum:\n                                    - INTERPRETER_UNSPECIFIED\n                                    - NONE\n                                    - SHELL\n                                    - POWERSHELL\n                                  outputFilePath:\n                                    type: string\n                                    x-dcl-go-name: OutputFilePath\n                                    description: Only recorded for enforce Exec. Path\n                                      to an output file (that is created by this Exec)\n                                      whose content will be recorded in OSPolicyResourceCompliance\n                                      after a successful run. Absence or failure to\n                                      read this file will result in this ExecResource\n                                      being non-compliant. Output file size is limited\n                                      to 100K bytes.\n                                  script:\n                                    type: string\n                                    x-dcl-go-name: Script\n                                    description: An inline script. The size of the\n                                      script is limited to 1024 characters.\n                                    x-dcl-conflicts:\n                                    - file\n                          file:\n                            type: object\n                            x-dcl-go-name: File\n                            x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile\n                            description: File resource\n                            x-dcl-conflicts:\n                            - pkg\n                            - repository\n                            - exec\n                            required:\n                            - path\n                            - state\n                            properties:\n                              content:\n                                type: string\n                                x-dcl-go-name: Content\n                                description: A a file with this content. The size\n                                  of the content is limited to 1024 characters.\n                                x-dcl-conflicts:\n                                - file\n                              file:\n                                type: object\n                                x-dcl-go-name: File\n                                x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile\n                                description: A remote or local source.\n                                x-dcl-conflicts:\n                                - content\n                                properties:\n                                  allowInsecure:\n                                    type: boolean\n                                    x-dcl-go-name: AllowInsecure\n                                    description: 'Defaults to false. When false, files\n                                      are subject to validations based on the file\n                                      type: Remote: A checksum must be specified.\n                                      Cloud Storage: An object generation number must\n                                      be specified.'\n                                  gcs:\n                                    type: object\n                                    x-dcl-go-name: Gcs\n                                    x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs\n                                    description: A Cloud Storage object.\n                                    x-dcl-conflicts:\n                                    - remote\n                                    - localPath\n                                    required:\n                                    - bucket\n                                    - object\n                                    properties:\n                                      bucket:\n                                        type: string\n                                        x-dcl-go-name: Bucket\n                                        description: Required. Bucket of the Cloud\n                                          Storage object.\n                                      generation:\n                                        type: integer\n                                        format: int64\n                                        x-dcl-go-name: Generation\n                                        description: Generation number of the Cloud\n                                          Storage object.\n                                      object:\n                                        type: string\n                                        x-dcl-go-name: Object\n                                        description: Required. Name of the Cloud Storage\n                                          object.\n                                  localPath:\n                                    type: string\n                                    x-dcl-go-name: LocalPath\n                                    description: A local path within the VM to use.\n                                    x-dcl-conflicts:\n                                    - remote\n                                    - gcs\n                                  remote:\n                                    type: object\n                                    x-dcl-go-name: Remote\n                                    x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote\n                                    description: A generic remote file.\n                                    x-dcl-conflicts:\n                                    - gcs\n                                    - localPath\n                                    required:\n                                    - uri\n                                    properties:\n                                      sha256Checksum:\n                                        type: string\n                                        x-dcl-go-name: Sha256Checksum\n                                        description: SHA256 checksum of the remote\n                                          file.\n                                      uri:\n                                        type: string\n                                        x-dcl-go-name: Uri\n                                        description: Required. URI from which to fetch\n                                          the object. It should contain both the protocol\n                                          and path following the format `{protocol}://{location}`.\n                              path:\n                                type: string\n                                x-dcl-go-name: Path\n                                description: Required. The absolute path of the file\n                                  within the VM.\n                              permissions:\n                                type: string\n                                x-dcl-go-name: Permissions\n                                readOnly: true\n                                description: 'Consists of three octal digits which\n                                  represent, in order, the permissions of the owner,\n                                  group, and other users for the file (similarly to\n                                  the numeric mode used in the linux chmod utility).\n                                  Each digit represents a three bit number with the\n                                  4 bit corresponding to the read permissions, the\n                                  2 bit corresponds to the write bit, and the one\n                                  bit corresponds to the execute permission. Default\n                                  behavior is 755. Below are some examples of permissions\n                                  and their associated values: read, write, and execute:\n                                  7 read and execute: 5 read and write: 6 read only:\n                                  4'\n                              state:\n                                type: string\n                                x-dcl-go-name: State\n                                x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileStateEnum\n                                description: 'Required. Desired state of the file.\n                                  Possible values: OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED,\n                                  COMPLIANT, NON_COMPLIANT, UNKNOWN, NO_OS_POLICIES_APPLICABLE'\n                                enum:\n                                - OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED\n                                - COMPLIANT\n                                - NON_COMPLIANT\n                                - UNKNOWN\n                                - NO_OS_POLICIES_APPLICABLE\n                          id:\n                            type: string\n                            x-dcl-go-name: Id\n                            description: 'Required. The id of the resource with the\n                              following restrictions: * Must contain only lowercase\n                              letters, numbers, and hyphens. * Must start with a letter.\n                              * Must be between 1-63 characters. * Must end with a\n                              number or a letter. * Must be unique within the OS policy.'\n                          pkg:\n                            type: object\n                            x-dcl-go-name: Pkg\n                            x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkg\n                            description: Package resource\n                            x-dcl-conflicts:\n                            - repository\n                            - exec\n                            - file\n                            required:\n                            - desiredState\n                            properties:\n                              apt:\n                                type: object\n                                x-dcl-go-name: Apt\n                                x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgApt\n                                description: A package managed by Apt.\n                                x-dcl-conflicts:\n                                - deb\n                                - yum\n                                - zypper\n                                - rpm\n                                - googet\n                                - msi\n                                required:\n                                - name\n                                properties:\n                                  name:\n                                    type: string\n                                    x-dcl-go-name: Name\n                                    description: Required. Package name.\n                              deb:\n                                type: object\n                                x-dcl-go-name: Deb\n                                x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDeb\n                                description: A deb package file.\n                                x-dcl-conflicts:\n                                - apt\n                                - yum\n                                - zypper\n                                - rpm\n                                - googet\n                                - msi\n                                required:\n                                - source\n                                properties:\n                                  pullDeps:\n                                    type: boolean\n                                    x-dcl-go-name: PullDeps\n                                    description: 'Whether dependencies should also\n                                      be installed. - install when false: `dpkg -i\n                                      package` - install when true: `apt-get update\n                                      && apt-get -y install package.deb`'\n                                  source:\n                                    type: object\n                                    x-dcl-go-name: Source\n                                    x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource\n                                    description: Required. A deb package.\n                                    properties:\n                                      allowInsecure:\n                                        type: boolean\n                                        x-dcl-go-name: AllowInsecure\n                                        description: 'Defaults to false. When false,\n                                          files are subject to validations based on\n                                          the file type: Remote: A checksum must be\n                                          specified. Cloud Storage: An object generation\n                                          number must be specified.'\n                                      gcs:\n                                        type: object\n                                        x-dcl-go-name: Gcs\n                                        x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs\n                                        description: A Cloud Storage object.\n                                        x-dcl-conflicts:\n                                        - remote\n                                        - localPath\n                                        required:\n                                        - bucket\n                                        - object\n                                        properties:\n                                          bucket:\n                                            type: string\n                                            x-dcl-go-name: Bucket\n                                            description: Required. Bucket of the Cloud\n                                              Storage object.\n                                          generation:\n                                            type: integer\n                                            format: int64\n                                            x-dcl-go-name: Generation\n                                            description: Generation number of the\n                                              Cloud Storage object.\n                                          object:\n                                            type: string\n                                            x-dcl-go-name: Object\n                                            description: Required. Name of the Cloud\n                                              Storage object.\n                                      localPath:\n                                        type: string\n                                        x-dcl-go-name: LocalPath\n                                        description: A local path within the VM to\n                                          use.\n                                        x-dcl-conflicts:\n                                        - remote\n                                        - gcs\n                                      remote:\n                                        type: object\n                                        x-dcl-go-name: Remote\n                                        x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote\n                                        description: A generic remote file.\n                                        x-dcl-conflicts:\n                                        - gcs\n                                        - localPath\n                                        required:\n                                        - uri\n                                        properties:\n                                          sha256Checksum:\n                                            type: string\n                                            x-dcl-go-name: Sha256Checksum\n                                            description: SHA256 checksum of the remote\n                                              file.\n                                          uri:\n                                            type: string\n                                            x-dcl-go-name: Uri\n                                            description: Required. URI from which\n                                              to fetch the object. It should contain\n                                              both the protocol and path following\n                                              the format `{protocol}://{location}`.\n                              desiredState:\n                                type: string\n                                x-dcl-go-name: DesiredState\n                                x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDesiredStateEnum\n                                description: 'Required. The desired state the agent\n                                  should maintain for this package. Possible values:\n                                  DESIRED_STATE_UNSPECIFIED, INSTALLED, REMOVED'\n                                enum:\n                                - DESIRED_STATE_UNSPECIFIED\n                                - INSTALLED\n                                - REMOVED\n                              googet:\n                                type: object\n                                x-dcl-go-name: Googet\n                                x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgGooget\n                                description: A package managed by GooGet.\n                                x-dcl-conflicts:\n                                - apt\n                                - deb\n                                - yum\n                                - zypper\n                                - rpm\n                                - msi\n                                required:\n                                - name\n                                properties:\n                                  name:\n                                    type: string\n                                    x-dcl-go-name: Name\n                                    description: Required. Package name.\n                              msi:\n                                type: object\n                                x-dcl-go-name: Msi\n                                x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsi\n                                description: An MSI package.\n                                x-dcl-conflicts:\n                                - apt\n                                - deb\n                                - yum\n                                - zypper\n                                - rpm\n                                - googet\n                                required:\n                                - source\n                                properties:\n                                  properties:\n                                    type: array\n                                    x-dcl-go-name: Properties\n                                    description: Additional properties to use during\n                                      installation. This should be in the format of\n                                      Property=Setting. Appended to the defaults of\n                                      `ACTION=INSTALL REBOOT=ReallySuppress`.\n                                    x-dcl-send-empty: true\n                                    x-dcl-list-type: list\n                                    items:\n                                      type: string\n                                      x-dcl-go-type: string\n                                  source:\n                                    type: object\n                                    x-dcl-go-name: Source\n                                    x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource\n                                    description: Required. The MSI package.\n                                    properties:\n                                      allowInsecure:\n                                        type: boolean\n                                        x-dcl-go-name: AllowInsecure\n                                        description: 'Defaults to false. When false,\n                                          files are subject to validations based on\n                                          the file type: Remote: A checksum must be\n                                          specified. Cloud Storage: An object generation\n                                          number must be specified.'\n                                      gcs:\n                                        type: object\n                                        x-dcl-go-name: Gcs\n                                        x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs\n                                        description: A Cloud Storage object.\n                                        x-dcl-conflicts:\n                                        - remote\n                                        - localPath\n                                        required:\n                                        - bucket\n                                        - object\n                                        properties:\n                                          bucket:\n                                            type: string\n                                            x-dcl-go-name: Bucket\n                                            description: Required. Bucket of the Cloud\n                                              Storage object.\n                                          generation:\n                                            type: integer\n                                            format: int64\n                                            x-dcl-go-name: Generation\n                                            description: Generation number of the\n                                              Cloud Storage object.\n                                          object:\n                                            type: string\n                                            x-dcl-go-name: Object\n                                            description: Required. Name of the Cloud\n                                              Storage object.\n                                      localPath:\n                                        type: string\n                                        x-dcl-go-name: LocalPath\n                                        description: A local path within the VM to\n                                          use.\n                                        x-dcl-conflicts:\n                                        - remote\n                                        - gcs\n                                      remote:\n                                        type: object\n                                        x-dcl-go-name: Remote\n                                        x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote\n                                        description: A generic remote file.\n                                        x-dcl-conflicts:\n                                        - gcs\n                                        - localPath\n                                        required:\n                                        - uri\n                                        properties:\n                                          sha256Checksum:\n                                            type: string\n                                            x-dcl-go-name: Sha256Checksum\n                                            description: SHA256 checksum of the remote\n                                              file.\n                                          uri:\n                                            type: string\n                                            x-dcl-go-name: Uri\n                                            description: Required. URI from which\n                                              to fetch the object. It should contain\n                                              both the protocol and path following\n                                              the format `{protocol}://{location}`.\n                              rpm:\n                                type: object\n                                x-dcl-go-name: Rpm\n                                x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpm\n                                description: An rpm package file.\n                                x-dcl-conflicts:\n                                - apt\n                                - deb\n                                - yum\n                                - zypper\n                                - googet\n                                - msi\n                                required:\n                                - source\n                                properties:\n                                  pullDeps:\n                                    type: boolean\n                                    x-dcl-go-name: PullDeps\n                                    description: 'Whether dependencies should also\n                                      be installed. - install when false: `rpm --upgrade\n                                      --replacepkgs package.rpm` - install when true:\n                                      `yum -y install package.rpm` or `zypper -y install\n                                      package.rpm`'\n                                  source:\n                                    type: object\n                                    x-dcl-go-name: Source\n                                    x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource\n                                    description: Required. An rpm package.\n                                    properties:\n                                      allowInsecure:\n                                        type: boolean\n                                        x-dcl-go-name: AllowInsecure\n                                        description: 'Defaults to false. When false,\n                                          files are subject to validations based on\n                                          the file type: Remote: A checksum must be\n                                          specified. Cloud Storage: An object generation\n                                          number must be specified.'\n                                      gcs:\n                                        type: object\n                                        x-dcl-go-name: Gcs\n                                        x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs\n                                        description: A Cloud Storage object.\n                                        x-dcl-conflicts:\n                                        - remote\n                                        - localPath\n                                        required:\n                                        - bucket\n                                        - object\n                                        properties:\n                                          bucket:\n                                            type: string\n                                            x-dcl-go-name: Bucket\n                                            description: Required. Bucket of the Cloud\n                                              Storage object.\n                                          generation:\n                                            type: integer\n                                            format: int64\n                                            x-dcl-go-name: Generation\n                                            description: Generation number of the\n                                              Cloud Storage object.\n                                          object:\n                                            type: string\n                                            x-dcl-go-name: Object\n                                            description: Required. Name of the Cloud\n                                              Storage object.\n                                      localPath:\n                                        type: string\n                                        x-dcl-go-name: LocalPath\n                                        description: A local path within the VM to\n                                          use.\n                                        x-dcl-conflicts:\n                                        - remote\n                                        - gcs\n                                      remote:\n                                        type: object\n                                        x-dcl-go-name: Remote\n                                        x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote\n                                        description: A generic remote file.\n                                        x-dcl-conflicts:\n                                        - gcs\n                                        - localPath\n                                        required:\n                                        - uri\n                                        properties:\n                                          sha256Checksum:\n                                            type: string\n                                            x-dcl-go-name: Sha256Checksum\n                                            description: SHA256 checksum of the remote\n                                              file.\n                                          uri:\n                                            type: string\n                                            x-dcl-go-name: Uri\n                                            description: Required. URI from which\n                                              to fetch the object. It should contain\n                                              both the protocol and path following\n                                              the format `{protocol}://{location}`.\n                              yum:\n                                type: object\n                                x-dcl-go-name: Yum\n                                x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgYum\n                                description: A package managed by YUM.\n                                x-dcl-conflicts:\n                                - apt\n                                - deb\n                                - zypper\n                                - rpm\n                                - googet\n                                - msi\n                                required:\n                                - name\n                                properties:\n                                  name:\n                                    type: string\n                                    x-dcl-go-name: Name\n                                    description: Required. Package name.\n                              zypper:\n                                type: object\n                                x-dcl-go-name: Zypper\n                                x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgZypper\n                                description: A package managed by Zypper.\n                                x-dcl-conflicts:\n                                - apt\n                                - deb\n                                - yum\n                                - rpm\n                                - googet\n                                - msi\n                                required:\n                                - name\n                                properties:\n                                  name:\n                                    type: string\n                                    x-dcl-go-name: Name\n                                    description: Required. Package name.\n                          repository:\n                            type: object\n                            x-dcl-go-name: Repository\n                            x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository\n                            description: Package repository resource\n                            x-dcl-conflicts:\n                            - pkg\n                            - exec\n                            - file\n                            properties:\n                              apt:\n                                type: object\n                                x-dcl-go-name: Apt\n                                x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt\n                                description: An Apt Repository.\n                                x-dcl-conflicts:\n                                - yum\n                                - zypper\n                                - goo\n                                required:\n                                - archiveType\n                                - uri\n                                - distribution\n                                - components\n                                properties:\n                                  archiveType:\n                                    type: string\n                                    x-dcl-go-name: ArchiveType\n                                    x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryAptArchiveTypeEnum\n                                    description: 'Required. Type of archive files\n                                      in this repository. Possible values: ARCHIVE_TYPE_UNSPECIFIED,\n                                      DEB, DEB_SRC'\n                                    enum:\n                                    - ARCHIVE_TYPE_UNSPECIFIED\n                                    - DEB\n                                    - DEB_SRC\n                                  components:\n                                    type: array\n                                    x-dcl-go-name: Components\n                                    description: Required. List of components for\n                                      this repository. Must contain at least one item.\n                                    x-dcl-send-empty: true\n                                    x-dcl-list-type: list\n                                    items:\n                                      type: string\n                                      x-dcl-go-type: string\n                                  distribution:\n                                    type: string\n                                    x-dcl-go-name: Distribution\n                                    description: Required. Distribution of this repository.\n                                  gpgKey:\n                                    type: string\n                                    x-dcl-go-name: GpgKey\n                                    description: URI of the key file for this repository.\n                                      The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.\n                                  uri:\n                                    type: string\n                                    x-dcl-go-name: Uri\n                                    description: Required. URI for this repository.\n                              goo:\n                                type: object\n                                x-dcl-go-name: Goo\n                                x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo\n                                description: A Goo Repository.\n                                x-dcl-conflicts:\n                                - apt\n                                - yum\n                                - zypper\n                                required:\n                                - name\n                                - url\n                                properties:\n                                  name:\n                                    type: string\n                                    x-dcl-go-name: Name\n                                    description: Required. The name of the repository.\n                                  url:\n                                    type: string\n                                    x-dcl-go-name: Url\n                                    description: Required. The url of the repository.\n                              yum:\n                                type: object\n                                x-dcl-go-name: Yum\n                                x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum\n                                description: A Yum Repository.\n                                x-dcl-conflicts:\n                                - apt\n                                - zypper\n                                - goo\n                                required:\n                                - id\n                                - baseUrl\n                                properties:\n                                  baseUrl:\n                                    type: string\n                                    x-dcl-go-name: BaseUrl\n                                    description: Required. The location of the repository\n                                      directory.\n                                  displayName:\n                                    type: string\n                                    x-dcl-go-name: DisplayName\n                                    description: The display name of the repository.\n                                  gpgKeys:\n                                    type: array\n                                    x-dcl-go-name: GpgKeys\n                                    description: URIs of GPG keys.\n                                    x-dcl-send-empty: true\n                                    x-dcl-list-type: list\n                                    items:\n                                      type: string\n                                      x-dcl-go-type: string\n                                  id:\n                                    type: string\n                                    x-dcl-go-name: Id\n                                    description: Required. A one word, unique name\n                                      for this repository. This is the `repo id` in\n                                      the yum config file and also the `display_name`\n                                      if `display_name` is omitted. This id is also\n                                      used as the unique identifier when checking\n                                      for resource conflicts.\n                              zypper:\n                                type: object\n                                x-dcl-go-name: Zypper\n                                x-dcl-go-type: OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper\n                                description: A Zypper Repository.\n                                x-dcl-conflicts:\n                                - apt\n                                - yum\n                                - goo\n                                required:\n                                - id\n                                - baseUrl\n                                properties:\n                                  baseUrl:\n                                    type: string\n                                    x-dcl-go-name: BaseUrl\n                                    description: Required. The location of the repository\n                                      directory.\n                                  displayName:\n                                    type: string\n                                    x-dcl-go-name: DisplayName\n                                    description: The display name of the repository.\n                                  gpgKeys:\n                                    type: array\n                                    x-dcl-go-name: GpgKeys\n                                    description: URIs of GPG keys.\n                                    x-dcl-send-empty: true\n                                    x-dcl-list-type: list\n                                    items:\n                                      type: string\n                                      x-dcl-go-type: string\n                                  id:\n                                    type: string\n                                    x-dcl-go-name: Id\n                                    description: Required. A one word, unique name\n                                      for this repository. This is the `repo id` in\n                                      the zypper config file and also the `display_name`\n                                      if `display_name` is omitted. This id is also\n                                      used as the unique identifier when checking\n                                      for GuestPolicy conflicts.\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n          x-dcl-parameter: true\n        reconciling:\n          type: boolean\n          x-dcl-go-name: Reconciling\n          readOnly: true\n          description: 'Output only. Indicates that reconciliation is in progress\n            for the revision. This value is `true` when the `rollout_state` is one\n            of: * IN_PROGRESS * CANCELLING'\n          x-kubernetes-immutable: true\n        revisionCreateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: RevisionCreateTime\n          readOnly: true\n          description: Output only. The timestamp that the revision was created.\n          x-kubernetes-immutable: true\n        revisionId:\n          type: string\n          x-dcl-go-name: RevisionId\n          readOnly: true\n          description: Output only. The assignment revision ID A new revision is committed\n            whenever a rollout is triggered for a OS policy assignment\n          x-kubernetes-immutable: true\n        rollout:\n          type: object\n          x-dcl-go-name: Rollout\n          x-dcl-go-type: OSPolicyAssignmentRollout\n          description: 'Required. Rollout to deploy the OS policy assignment. A rollout\n            is triggered in the following situations: 1) OSPolicyAssignment is created.\n            2) OSPolicyAssignment is updated and the update contains changes to one\n            of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment\n            is deleted.'\n          required:\n          - disruptionBudget\n          - minWaitDuration\n          properties:\n            disruptionBudget:\n              type: object\n              x-dcl-go-name: DisruptionBudget\n              x-dcl-go-type: OSPolicyAssignmentRolloutDisruptionBudget\n              description: Required. The maximum number (or percentage) of VMs per\n                zone to disrupt at any given moment.\n              properties:\n                fixed:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: Fixed\n                  description: Specifies a fixed value.\n                  x-dcl-conflicts:\n                  - percent\n                percent:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: Percent\n                  description: Specifies the relative value defined as a percentage,\n                    which will be multiplied by a reference value.\n                  x-dcl-conflicts:\n                  - fixed\n            minWaitDuration:\n              type: string\n              x-dcl-go-name: MinWaitDuration\n              description: Required. This determines the minimum duration of time\n                to wait after the configuration changes are applied through the current\n                rollout. A VM continues to count towards the `disruption_budget` at\n                least until this duration of time has passed after configuration changes\n                are applied.\n        rolloutState:\n          type: string\n          x-dcl-go-name: RolloutState\n          x-dcl-go-type: OSPolicyAssignmentRolloutStateEnum\n          readOnly: true\n          description: 'Output only. OS policy assignment rollout state Possible values:\n            ROLLOUT_STATE_UNSPECIFIED, IN_PROGRESS, CANCELLING, CANCELLED, SUCCEEDED'\n          x-kubernetes-immutable: true\n          enum:\n          - ROLLOUT_STATE_UNSPECIFIED\n          - IN_PROGRESS\n          - CANCELLING\n          - CANCELLED\n          - SUCCEEDED\n        skipAwaitRollout:\n          type: boolean\n          x-dcl-go-name: SkipAwaitRollout\n          description: Set to true to skip awaiting rollout during resource creation\n            and update.\n          x-dcl-mutable-unreadable: true\n        uid:\n          type: string\n          x-dcl-go-name: Uid\n          readOnly: true\n          description: Output only. Server generated unique id for the OS policy assignment\n            resource.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/osconfig/os_policy_assignment.yaml

Functions

func DCLOSPolicyAssignmentSchema added in v1.10.3

func DCLOSPolicyAssignmentSchema() *dcl.Schema

Types

type Client

type Client struct {
	Config *dcl.Config
}

The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.

func NewClient

func NewClient(c *dcl.Config) *Client

NewClient creates a client that retries all operations a few times each.

func (*Client) ApplyOSPolicyAssignment

func (c *Client) ApplyOSPolicyAssignment(ctx context.Context, rawDesired *OSPolicyAssignment, opts ...dcl.ApplyOption) (*OSPolicyAssignment, error)

func (*Client) DeleteAllOSPolicyAssignment

func (c *Client) DeleteAllOSPolicyAssignment(ctx context.Context, project, location string, filter func(*OSPolicyAssignment) bool) error

DeleteAllOSPolicyAssignment deletes all resources that the filter functions returns true on.

func (*Client) DeleteOSPolicyAssignment

func (c *Client) DeleteOSPolicyAssignment(ctx context.Context, r *OSPolicyAssignment) error

func (*Client) GetOSPolicyAssignment

func (c *Client) GetOSPolicyAssignment(ctx context.Context, r *OSPolicyAssignment) (*OSPolicyAssignment, error)

func (*Client) ListOSPolicyAssignment

func (c *Client) ListOSPolicyAssignment(ctx context.Context, project, location string) (*OSPolicyAssignmentList, error)

func (*Client) ListOSPolicyAssignmentWithMaxResults

func (c *Client) ListOSPolicyAssignmentWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*OSPolicyAssignmentList, error)

type OSPolicyAssignment

type OSPolicyAssignment struct {
	Name               *string                             `json:"name"`
	Description        *string                             `json:"description"`
	OSPolicies         []OSPolicyAssignmentOSPolicies      `json:"osPolicies"`
	InstanceFilter     *OSPolicyAssignmentInstanceFilter   `json:"instanceFilter"`
	Rollout            *OSPolicyAssignmentRollout          `json:"rollout"`
	RevisionId         *string                             `json:"revisionId"`
	RevisionCreateTime *string                             `json:"revisionCreateTime"`
	Etag               *string                             `json:"etag"`
	RolloutState       *OSPolicyAssignmentRolloutStateEnum `json:"rolloutState"`
	Baseline           *bool                               `json:"baseline"`
	Deleted            *bool                               `json:"deleted"`
	Reconciling        *bool                               `json:"reconciling"`
	Uid                *string                             `json:"uid"`
	Project            *string                             `json:"project"`
	Location           *string                             `json:"location"`
	SkipAwaitRollout   *bool                               `json:"skipAwaitRollout"`
}

func (*OSPolicyAssignment) Describe

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*OSPolicyAssignment) ID

func (r *OSPolicyAssignment) ID() (string, error)

func (*OSPolicyAssignment) String

func (r *OSPolicyAssignment) String() string

type OSPolicyAssignmentInstanceFilter

type OSPolicyAssignmentInstanceFilter struct {
	All             *bool                                             `json:"all"`
	InclusionLabels []OSPolicyAssignmentInstanceFilterInclusionLabels `json:"inclusionLabels"`
	ExclusionLabels []OSPolicyAssignmentInstanceFilterExclusionLabels `json:"exclusionLabels"`
	Inventories     []OSPolicyAssignmentInstanceFilterInventories     `json:"inventories"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentInstanceFilter *OSPolicyAssignmentInstanceFilter = &OSPolicyAssignmentInstanceFilter{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentInstanceFilter is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentInstanceFilter) Empty

func (*OSPolicyAssignmentInstanceFilter) HashCode

func (*OSPolicyAssignmentInstanceFilter) String

func (*OSPolicyAssignmentInstanceFilter) UnmarshalJSON

func (r *OSPolicyAssignmentInstanceFilter) UnmarshalJSON(data []byte) error

type OSPolicyAssignmentInstanceFilterExclusionLabels

type OSPolicyAssignmentInstanceFilterExclusionLabels struct {
	Labels map[string]string `json:"labels"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentInstanceFilterExclusionLabels *OSPolicyAssignmentInstanceFilterExclusionLabels = &OSPolicyAssignmentInstanceFilterExclusionLabels{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentInstanceFilterExclusionLabels is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentInstanceFilterExclusionLabels) Empty

func (*OSPolicyAssignmentInstanceFilterExclusionLabels) HashCode

func (*OSPolicyAssignmentInstanceFilterExclusionLabels) String

func (*OSPolicyAssignmentInstanceFilterExclusionLabels) UnmarshalJSON

type OSPolicyAssignmentInstanceFilterInclusionLabels

type OSPolicyAssignmentInstanceFilterInclusionLabels struct {
	Labels map[string]string `json:"labels"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentInstanceFilterInclusionLabels *OSPolicyAssignmentInstanceFilterInclusionLabels = &OSPolicyAssignmentInstanceFilterInclusionLabels{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentInstanceFilterInclusionLabels is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentInstanceFilterInclusionLabels) Empty

func (*OSPolicyAssignmentInstanceFilterInclusionLabels) HashCode

func (*OSPolicyAssignmentInstanceFilterInclusionLabels) String

func (*OSPolicyAssignmentInstanceFilterInclusionLabels) UnmarshalJSON

type OSPolicyAssignmentInstanceFilterInventories

type OSPolicyAssignmentInstanceFilterInventories struct {
	OSShortName *string `json:"osShortName"`
	OSVersion   *string `json:"osVersion"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentInstanceFilterInventories *OSPolicyAssignmentInstanceFilterInventories = &OSPolicyAssignmentInstanceFilterInventories{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentInstanceFilterInventories is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentInstanceFilterInventories) Empty

func (*OSPolicyAssignmentInstanceFilterInventories) HashCode

func (*OSPolicyAssignmentInstanceFilterInventories) String

func (*OSPolicyAssignmentInstanceFilterInventories) UnmarshalJSON

func (r *OSPolicyAssignmentInstanceFilterInventories) UnmarshalJSON(data []byte) error

type OSPolicyAssignmentList

type OSPolicyAssignmentList struct {
	Items []*OSPolicyAssignment
	// contains filtered or unexported fields
}

func (*OSPolicyAssignmentList) HasNext

func (l *OSPolicyAssignmentList) HasNext() bool

func (*OSPolicyAssignmentList) Next

type OSPolicyAssignmentOSPolicies

type OSPolicyAssignmentOSPolicies struct {
	Id                        *string                                      `json:"id"`
	Description               *string                                      `json:"description"`
	Mode                      *OSPolicyAssignmentOSPoliciesModeEnum        `json:"mode"`
	ResourceGroups            []OSPolicyAssignmentOSPoliciesResourceGroups `json:"resourceGroups"`
	AllowNoResourceGroupMatch *bool                                        `json:"allowNoResourceGroupMatch"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPolicies *OSPolicyAssignmentOSPolicies = &OSPolicyAssignmentOSPolicies{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPolicies is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPolicies) Empty

func (*OSPolicyAssignmentOSPolicies) HashCode

func (r *OSPolicyAssignmentOSPolicies) HashCode() string

func (*OSPolicyAssignmentOSPolicies) String

func (*OSPolicyAssignmentOSPolicies) UnmarshalJSON

func (r *OSPolicyAssignmentOSPolicies) UnmarshalJSON(data []byte) error

type OSPolicyAssignmentOSPoliciesModeEnum

type OSPolicyAssignmentOSPoliciesModeEnum string

The enum OSPolicyAssignmentOSPoliciesModeEnum.

func OSPolicyAssignmentOSPoliciesModeEnumRef

func OSPolicyAssignmentOSPoliciesModeEnumRef(s string) *OSPolicyAssignmentOSPoliciesModeEnum

OSPolicyAssignmentOSPoliciesModeEnumRef returns a *OSPolicyAssignmentOSPoliciesModeEnum with the value of string s If the empty string is provided, nil is returned.

func (OSPolicyAssignmentOSPoliciesModeEnum) Validate

type OSPolicyAssignmentOSPoliciesResourceGroups

type OSPolicyAssignmentOSPoliciesResourceGroups struct {
	InventoryFilters []OSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters `json:"inventoryFilters"`
	Resources        []OSPolicyAssignmentOSPoliciesResourceGroupsResources        `json:"resources"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroups *OSPolicyAssignmentOSPoliciesResourceGroups = &OSPolicyAssignmentOSPoliciesResourceGroups{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroups is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroups) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroups) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroups) String

func (*OSPolicyAssignmentOSPoliciesResourceGroups) UnmarshalJSON

func (r *OSPolicyAssignmentOSPoliciesResourceGroups) UnmarshalJSON(data []byte) error

type OSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters

type OSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters struct {
	OSShortName *string `json:"osShortName"`
	OSVersion   *string `json:"osVersion"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters *OSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters = &OSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsInventoryFilters) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResources

type OSPolicyAssignmentOSPoliciesResourceGroupsResources struct {
	Id         *string                                                        `json:"id"`
	Pkg        *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkg        `json:"pkg"`
	Repository *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository `json:"repository"`
	Exec       *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec       `json:"exec"`
	File       *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile       `json:"file"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResources *OSPolicyAssignmentOSPoliciesResourceGroupsResources = &OSPolicyAssignmentOSPoliciesResourceGroupsResources{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResources is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResources) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResources) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResources) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResources) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec struct {
	Validate *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate `json:"validate"`
	Enforce  *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce  `json:"enforce"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExec) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce struct {
	File           *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile            `json:"file"`
	Script         *string                                                                        `json:"script"`
	Args           []string                                                                       `json:"args"`
	Interpreter    *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceInterpreterEnum `json:"interpreter"`
	OutputFilePath *string                                                                        `json:"outputFilePath"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforce) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile struct {
	Remote        *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileRemote `json:"remote"`
	Gcs           *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs    `json:"gcs"`
	LocalPath     *string                                                                   `json:"localPath"`
	AllowInsecure *bool                                                                     `json:"allowInsecure"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFile) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs struct {
	Bucket     *string `json:"bucket"`
	Object     *string `json:"object"`
	Generation *int64  `json:"generation"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileGcs) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileRemote

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileRemote struct {
	Uri            *string `json:"uri"`
	Sha256Checksum *string `json:"sha256Checksum"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileRemote is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileRemote) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileRemote) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileRemote) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceFileRemote) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceInterpreterEnum

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceInterpreterEnum string

The enum OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceInterpreterEnum.

func OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceInterpreterEnumRef

func OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceInterpreterEnumRef(s string) *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceInterpreterEnum

OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceInterpreterEnumRef returns a *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceInterpreterEnum with the value of string s If the empty string is provided, nil is returned.

func (OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecEnforceInterpreterEnum) Validate

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate struct {
	File           *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile            `json:"file"`
	Script         *string                                                                         `json:"script"`
	Args           []string                                                                        `json:"args"`
	Interpreter    *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateInterpreterEnum `json:"interpreter"`
	OutputFilePath *string                                                                         `json:"outputFilePath"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidate) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile struct {
	Remote        *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileRemote `json:"remote"`
	Gcs           *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs    `json:"gcs"`
	LocalPath     *string                                                                    `json:"localPath"`
	AllowInsecure *bool                                                                      `json:"allowInsecure"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFile) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs struct {
	Bucket     *string `json:"bucket"`
	Object     *string `json:"object"`
	Generation *int64  `json:"generation"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileGcs) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileRemote

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileRemote struct {
	Uri            *string `json:"uri"`
	Sha256Checksum *string `json:"sha256Checksum"`
	// contains filtered or unexported fields
}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileRemote is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileRemote) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileRemote) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileRemote) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateFileRemote) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateInterpreterEnum

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateInterpreterEnum string

The enum OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateInterpreterEnum.

func OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateInterpreterEnumRef

func OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateInterpreterEnumRef(s string) *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateInterpreterEnum

OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateInterpreterEnumRef returns a *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateInterpreterEnum with the value of string s If the empty string is provided, nil is returned.

func (OSPolicyAssignmentOSPoliciesResourceGroupsResourcesExecValidateInterpreterEnum) Validate

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile struct {
	File        *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile      `json:"file"`
	Content     *string                                                           `json:"content"`
	Path        *string                                                           `json:"path"`
	State       *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileStateEnum `json:"state"`
	Permissions *string                                                           `json:"permissions"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFile) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile struct {
	Remote        *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote `json:"remote"`
	Gcs           *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs    `json:"gcs"`
	LocalPath     *string                                                            `json:"localPath"`
	AllowInsecure *bool                                                              `json:"allowInsecure"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFile) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs struct {
	Bucket     *string `json:"bucket"`
	Object     *string `json:"object"`
	Generation *int64  `json:"generation"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileGcs) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote struct {
	Uri            *string `json:"uri"`
	Sha256Checksum *string `json:"sha256Checksum"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileFileRemote) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileStateEnum

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileStateEnum string

The enum OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileStateEnum.

func OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileStateEnumRef

func OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileStateEnumRef(s string) *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileStateEnum

OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileStateEnumRef returns a *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileStateEnum with the value of string s If the empty string is provided, nil is returned.

func (OSPolicyAssignmentOSPoliciesResourceGroupsResourcesFileStateEnum) Validate

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkg

var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkg *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkg = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkg{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkg is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkg) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkg) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkg) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkg) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgApt

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgApt struct {
	Name *string `json:"name"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgApt *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgApt = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgApt{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgApt is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgApt) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgApt) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgApt) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgApt) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDeb

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDeb struct {
	Source   *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource `json:"source"`
	PullDeps *bool                                                            `json:"pullDeps"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDeb *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDeb = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDeb{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDeb is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDeb) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDeb) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDeb) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDeb) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource struct {
	Remote        *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote `json:"remote"`
	Gcs           *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs    `json:"gcs"`
	LocalPath     *string                                                                `json:"localPath"`
	AllowInsecure *bool                                                                  `json:"allowInsecure"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSource) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs struct {
	Bucket     *string `json:"bucket"`
	Object     *string `json:"object"`
	Generation *int64  `json:"generation"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceGcs) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote struct {
	Uri            *string `json:"uri"`
	Sha256Checksum *string `json:"sha256Checksum"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDebSourceRemote) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDesiredStateEnum

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDesiredStateEnum string

The enum OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDesiredStateEnum.

func OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDesiredStateEnumRef

func OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDesiredStateEnumRef(s string) *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDesiredStateEnum

OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDesiredStateEnumRef returns a *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDesiredStateEnum with the value of string s If the empty string is provided, nil is returned.

func (OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgDesiredStateEnum) Validate

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgGooget

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgGooget struct {
	Name *string `json:"name"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgGooget *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgGooget = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgGooget{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgGooget is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgGooget) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgGooget) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgGooget) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgGooget) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsi

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsi struct {
	Source     *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource `json:"source"`
	Properties []string                                                         `json:"properties"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsi *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsi = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsi{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsi is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsi) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsi) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsi) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsi) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource struct {
	Remote        *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote `json:"remote"`
	Gcs           *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs    `json:"gcs"`
	LocalPath     *string                                                                `json:"localPath"`
	AllowInsecure *bool                                                                  `json:"allowInsecure"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSource) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs struct {
	Bucket     *string `json:"bucket"`
	Object     *string `json:"object"`
	Generation *int64  `json:"generation"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceGcs) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote struct {
	Uri            *string `json:"uri"`
	Sha256Checksum *string `json:"sha256Checksum"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgMsiSourceRemote) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpm

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpm struct {
	Source   *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource `json:"source"`
	PullDeps *bool                                                            `json:"pullDeps"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpm *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpm = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpm{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpm is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpm) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpm) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpm) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpm) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource struct {
	Remote        *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote `json:"remote"`
	Gcs           *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs    `json:"gcs"`
	LocalPath     *string                                                                `json:"localPath"`
	AllowInsecure *bool                                                                  `json:"allowInsecure"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSource) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs struct {
	Bucket     *string `json:"bucket"`
	Object     *string `json:"object"`
	Generation *int64  `json:"generation"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceGcs) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote struct {
	Uri            *string `json:"uri"`
	Sha256Checksum *string `json:"sha256Checksum"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgRpmSourceRemote) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgYum

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgYum struct {
	Name *string `json:"name"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgYum *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgYum = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgYum{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgYum is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgYum) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgYum) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgYum) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgYum) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgZypper

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgZypper struct {
	Name *string `json:"name"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgZypper *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgZypper = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgZypper{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgZypper is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgZypper) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgZypper) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgZypper) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesPkgZypper) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository struct {
	Apt    *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt    `json:"apt"`
	Yum    *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum    `json:"yum"`
	Zypper *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper `json:"zypper"`
	Goo    *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo    `json:"goo"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepository) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt struct {
	ArchiveType  *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryAptArchiveTypeEnum `json:"archiveType"`
	Uri          *string                                                                          `json:"uri"`
	Distribution *string                                                                          `json:"distribution"`
	Components   []string                                                                         `json:"components"`
	GpgKey       *string                                                                          `json:"gpgKey"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryApt) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryAptArchiveTypeEnum

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryAptArchiveTypeEnum string

The enum OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryAptArchiveTypeEnum.

func OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryAptArchiveTypeEnumRef

func OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryAptArchiveTypeEnumRef(s string) *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryAptArchiveTypeEnum

OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryAptArchiveTypeEnumRef returns a *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryAptArchiveTypeEnum with the value of string s If the empty string is provided, nil is returned.

func (OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryAptArchiveTypeEnum) Validate

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo struct {
	Name *string `json:"name"`
	Url  *string `json:"url"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryGoo) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum struct {
	Id          *string  `json:"id"`
	DisplayName *string  `json:"displayName"`
	BaseUrl     *string  `json:"baseUrl"`
	GpgKeys     []string `json:"gpgKeys"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryYum) UnmarshalJSON

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper

type OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper struct {
	Id          *string  `json:"id"`
	DisplayName *string  `json:"displayName"`
	BaseUrl     *string  `json:"baseUrl"`
	GpgKeys     []string `json:"gpgKeys"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper *OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper = &OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper) Empty

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper) HashCode

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper) String

func (*OSPolicyAssignmentOSPoliciesResourceGroupsResourcesRepositoryZypper) UnmarshalJSON

type OSPolicyAssignmentRollout

type OSPolicyAssignmentRollout struct {
	DisruptionBudget *OSPolicyAssignmentRolloutDisruptionBudget `json:"disruptionBudget"`
	MinWaitDuration  *string                                    `json:"minWaitDuration"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentRollout *OSPolicyAssignmentRollout = &OSPolicyAssignmentRollout{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentRollout is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentRollout) Empty

func (r *OSPolicyAssignmentRollout) Empty() bool

func (*OSPolicyAssignmentRollout) HashCode

func (r *OSPolicyAssignmentRollout) HashCode() string

func (*OSPolicyAssignmentRollout) String

func (r *OSPolicyAssignmentRollout) String() string

func (*OSPolicyAssignmentRollout) UnmarshalJSON

func (r *OSPolicyAssignmentRollout) UnmarshalJSON(data []byte) error

type OSPolicyAssignmentRolloutDisruptionBudget

type OSPolicyAssignmentRolloutDisruptionBudget struct {
	Fixed   *int64 `json:"fixed"`
	Percent *int64 `json:"percent"`
	// contains filtered or unexported fields
}
var EmptyOSPolicyAssignmentRolloutDisruptionBudget *OSPolicyAssignmentRolloutDisruptionBudget = &OSPolicyAssignmentRolloutDisruptionBudget{empty: true}

This object is used to assert a desired state where this OSPolicyAssignmentRolloutDisruptionBudget is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OSPolicyAssignmentRolloutDisruptionBudget) Empty

func (*OSPolicyAssignmentRolloutDisruptionBudget) HashCode

func (*OSPolicyAssignmentRolloutDisruptionBudget) String

func (*OSPolicyAssignmentRolloutDisruptionBudget) UnmarshalJSON

func (r *OSPolicyAssignmentRolloutDisruptionBudget) UnmarshalJSON(data []byte) error

type OSPolicyAssignmentRolloutStateEnum

type OSPolicyAssignmentRolloutStateEnum string

The enum OSPolicyAssignmentRolloutStateEnum.

func OSPolicyAssignmentRolloutStateEnumRef

func OSPolicyAssignmentRolloutStateEnumRef(s string) *OSPolicyAssignmentRolloutStateEnum

OSPolicyAssignmentRolloutStateEnumRef returns a *OSPolicyAssignmentRolloutStateEnum with the value of string s If the empty string is provided, nil is returned.

func (OSPolicyAssignmentRolloutStateEnum) Validate

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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