beta

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Overview

Copyright 2022 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 beta defines operations in the declarative SDK.

Copyright 2022 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 2022 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 2022 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 2022 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 2022 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 2022 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.

Copyright 2022 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 2022 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.

Index

Constants

View Source
const GuestPolicyMaxPage = -1
View Source
const OSPolicyAssignmentMaxPage = -1
View Source
const PatchDeploymentMaxPage = -1

Variables

View Source
var YAML_guest_policy = []byte("info:\n  title: OSConfig/GuestPolicy\n  description: The OSConfig GuestPolicy resource\n  x-dcl-struct-name: GuestPolicy\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a GuestPolicy\n    parameters:\n    - name: GuestPolicy\n      required: true\n      description: A full instance of a GuestPolicy\n  apply:\n    description: The function used to apply information about a GuestPolicy\n    parameters:\n    - name: GuestPolicy\n      required: true\n      description: A full instance of a GuestPolicy\n  delete:\n    description: The function used to delete a GuestPolicy\n    parameters:\n    - name: GuestPolicy\n      required: true\n      description: A full instance of a GuestPolicy\n  deleteAll:\n    description: The function used to delete all GuestPolicy\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many GuestPolicy\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    GuestPolicy:\n      title: GuestPolicy\n      x-dcl-id: projects/{{project}}/guestPolicies/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - name\n      - project\n      properties:\n        assignment:\n          type: object\n          x-dcl-go-name: Assignment\n          x-dcl-go-type: GuestPolicyAssignment\n          description: Specifies the VMs that are assigned this policy. This allows\n            you to target sets or groups of VMs by different parameters such as labels,\n            names, OS, or zones. Empty assignments will target ALL VMs underneath\n            this policy. Conflict Management Policies that exist higher up in the\n            resource hierarchy (closer to the Org) will override those lower down\n            if there is a conflict. At the same level in the resource hierarchy (ie.\n            within a project), the service will prevent the creation of multiple policies\n            that conflict with each other. If there are multiple policies that specify\n            the same config (eg. package, software recipe, repository, etc.), the\n            service will ensure that no VM could potentially receive instructions\n            from both policies. To create multiple policies that specify different\n            versions of a package or different configs for different Operating Systems,\n            each policy must be mutually exclusive in their targeting according to\n            labels, OS, or other criteria. Different configs are identified for conflicts\n            in different ways. Packages are identified by their name and the package\n            manager(s) they target. Package repositories are identified by their unique\n            id where applicable. Some package managers don't have a unique identifier\n            for repositories and where that's the case, no uniqueness is validated\n            by the service. Note that if OS Inventory is disabled, a VM will not be\n            assigned a policy that targets by OS because the service will see this\n            VM's OS as unknown.\n          properties:\n            groupLabels:\n              type: array\n              x-dcl-go-name: GroupLabels\n              description: Targets instances matching at least one of these label\n                sets. This allows an assignment to target disparate groups, for example\n                \"env=prod or env=staging\".\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: object\n                x-dcl-go-type: GuestPolicyAssignmentGroupLabels\n                properties:\n                  labels:\n                    type: object\n                    additionalProperties:\n                      type: string\n                    x-dcl-go-name: Labels\n                    description: Google Compute Engine instance labels that must be\n                      present for an instance to be included in this assignment group.\n            instanceNamePrefixes:\n              type: array\n              x-dcl-go-name: InstanceNamePrefixes\n              description: Targets VM instances whose name starts with one of these\n                prefixes. Like labels, this is another way to group VM instances when\n                targeting configs, for example prefix=\"prod-\". Only supported for\n                project-level policies.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n            instances:\n              type: array\n              x-dcl-go-name: Instances\n              description: Targets any of the instances specified. Instances are specified\n                by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`.\n                Instance targeting is uncommon and is supported to facilitate the\n                management of changes by the instance or to target specific VM instances\n                for development and testing. Only supported for project-level policies\n                and must reference instances within this project.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n                x-dcl-references:\n                - resource: Compute/Instance\n                  field: selfLink\n            osTypes:\n              type: array\n              x-dcl-go-name: OSTypes\n              description: Targets VM instances matching at least one of the following\n                OS types. VM instances must match all supplied criteria for a given\n                OsType to be included.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: object\n                x-dcl-go-type: GuestPolicyAssignmentOSTypes\n                properties:\n                  osArchitecture:\n                    type: string\n                    x-dcl-go-name: OSArchitecture\n                    description: Targets VM instances with OS Inventory enabled and\n                      having the following OS architecture.\n                  osShortName:\n                    type: string\n                    x-dcl-go-name: OSShortName\n                    description: Targets VM instances with OS Inventory enabled and\n                      having the following OS short name, for example \"debian\" or\n                      \"windows\".\n                  osVersion:\n                    type: string\n                    x-dcl-go-name: OSVersion\n                    description: Targets VM instances with OS Inventory enabled and\n                      having the following following OS version.\n            zones:\n              type: array\n              x-dcl-go-name: Zones\n              description: Targets instances in any of these zones. Leave empty to\n                target instances in any zone. Zonal targeting is uncommon and is supported\n                to facilitate the management of changes by zone.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. Time this GuestPolicy was created.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Description of the GuestPolicy. Length of the description is\n            limited to 1024 characters.\n        etag:\n          type: string\n          x-dcl-go-name: Etag\n          readOnly: true\n          description: The etag for this GuestPolicy. If this is provided on update,\n            it must match the server's etag.\n          x-kubernetes-immutable: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: 'Unique name of the resource in this project using the form:\n            `projects/{project_id}/guestPolicies/{guest_policy_id}`.'\n        packageRepositories:\n          type: array\n          x-dcl-go-name: PackageRepositories\n          description: List of package repository configurations assigned to the VM\n            instance.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: GuestPolicyPackageRepositories\n            properties:\n              apt:\n                type: object\n                x-dcl-go-name: Apt\n                x-dcl-go-type: GuestPolicyPackageRepositoriesApt\n                description: An Apt Repository.\n                x-dcl-conflicts:\n                - goo\n                - yum\n                - zypper\n                required:\n                - uri\n                - distribution\n                properties:\n                  archiveType:\n                    type: string\n                    x-dcl-go-name: ArchiveType\n                    x-dcl-go-type: GuestPolicyPackageRepositoriesAptArchiveTypeEnum\n                    description: 'Type of archive files in this repository. The default\n                      behavior is DEB. 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 this repository.\n                      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. The agent\n                      maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`\n                      containing all the keys in any applied guest policy.\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: GuestPolicyPackageRepositoriesGoo\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: GuestPolicyPackageRepositoriesYum\n                description: A Yum Repository.\n                x-dcl-conflicts:\n                - apt\n                - goo\n                - zypper\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 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 for this repository.\n                      This is the `repo id` in the Yum config file and also the `display_name`\n                      if `display_name` is omitted. This id is also used as the unique\n                      identifier when checking for guest policy conflicts.\n              zypper:\n                type: object\n                x-dcl-go-name: Zypper\n                x-dcl-go-type: GuestPolicyPackageRepositoriesZypper\n                description: A Zypper Repository.\n                x-dcl-conflicts:\n                - apt\n                - goo\n                - yum\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 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 for this repository.\n                      This is the `repo id` in the zypper config file and also the\n                      `display_name` if `display_name` is omitted. This id is also\n                      used as the unique identifier when checking for guest policy\n                      conflicts.\n        packages:\n          type: array\n          x-dcl-go-name: Packages\n          description: List of package configurations assigned to the VM instance.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: GuestPolicyPackages\n            properties:\n              desiredState:\n                type: string\n                x-dcl-go-name: DesiredState\n                x-dcl-go-type: GuestPolicyPackagesDesiredStateEnum\n                description: 'The desired_state the agent should maintain for this\n                  package. The default is to ensure the package is installed. Possible\n                  values: DESIRED_STATE_UNSPECIFIED, INSTALLED, REMOVED'\n                enum:\n                - DESIRED_STATE_UNSPECIFIED\n                - INSTALLED\n                - REMOVED\n              manager:\n                type: string\n                x-dcl-go-name: Manager\n                x-dcl-go-type: GuestPolicyPackagesManagerEnum\n                description: 'Type of package manager that can be used to install\n                  this package. If a system does not have the package manager, the\n                  package is not installed or removed no error message is returned.\n                  By default, or if you specify `ANY`, the agent attempts to install\n                  and remove this package using the default package manager. This\n                  is useful when creating a policy that applies to different types\n                  of systems. The default behavior is ANY. Possible values: MANAGER_UNSPECIFIED,\n                  ANY, APT, YUM, ZYPPER, GOO'\n                enum:\n                - MANAGER_UNSPECIFIED\n                - ANY\n                - APT\n                - YUM\n                - ZYPPER\n                - GOO\n              name:\n                type: string\n                x-dcl-go-name: Name\n                description: Required. The name of the package. A package is uniquely\n                  identified for conflict validation by checking the package name\n                  and the manager(s) that the package targets.\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        recipes:\n          type: array\n          x-dcl-go-name: Recipes\n          description: Optional. A list of Recipes to install on the VM.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: GuestPolicyRecipes\n            properties:\n              artifacts:\n                type: array\n                x-dcl-go-name: Artifacts\n                description: Resources available to be used in the steps in the recipe.\n                x-dcl-send-empty: true\n                x-dcl-list-type: list\n                items:\n                  type: object\n                  x-dcl-go-type: GuestPolicyRecipesArtifacts\n                  properties:\n                    allowInsecure:\n                      type: boolean\n                      x-dcl-go-name: AllowInsecure\n                      description: 'Defaults to false. When false, recipes are subject\n                        to validations based on the artifact type: Remote: A checksum\n                        must be specified, and only protocols with transport-layer\n                        security are permitted. GCS: An object generation number must\n                        be specified.'\n                    gcs:\n                      type: object\n                      x-dcl-go-name: Gcs\n                      x-dcl-go-type: GuestPolicyRecipesArtifactsGcs\n                      description: A Google Cloud Storage artifact.\n                      properties:\n                        bucket:\n                          type: string\n                          x-dcl-go-name: Bucket\n                          description: 'Bucket of the Google Cloud Storage object.\n                            Given an example URL: `https://storage.googleapis.com/my-bucket/foo/bar#1234567`\n                            this value would be `my-bucket`.'\n                          x-dcl-references:\n                          - resource: Storage/Bucket\n                            field: name\n                        generation:\n                          type: integer\n                          format: int64\n                          x-dcl-go-name: Generation\n                          description: Must be provided if allow_insecure is false.\n                            Generation number of the Google Cloud Storage object.\n                            `https://storage.googleapis.com/my-bucket/foo/bar#1234567`\n                            this value would be `1234567`.\n                        object:\n                          type: string\n                          x-dcl-go-name: Object\n                          description: 'Name of the Google Cloud Storage object. As\n                            specified [here] (https://cloud.google.com/storage/docs/naming#objectnames)\n                            Given an example URL: `https://storage.googleapis.com/my-bucket/foo/bar#1234567`\n                            this value would be `foo/bar`.'\n                    id:\n                      type: string\n                      x-dcl-go-name: Id\n                      description: Required. Id of the artifact, which the installation\n                        and update steps of this recipe can reference. Artifacts in\n                        a recipe cannot have the same id.\n                    remote:\n                      type: object\n                      x-dcl-go-name: Remote\n                      x-dcl-go-type: GuestPolicyRecipesArtifactsRemote\n                      description: A generic remote artifact.\n                      properties:\n                        checksum:\n                          type: string\n                          x-dcl-go-name: Checksum\n                          description: Must be provided if `allow_insecure` is `false`.\n                            SHA256 checksum in hex format, to compare to the checksum\n                            of the artifact. If the checksum is not empty and it doesn't\n                            match the artifact then the recipe installation fails\n                            before running any of the steps.\n                        uri:\n                          type: string\n                          x-dcl-go-name: Uri\n                          description: 'URI from which to fetch the object. It should\n                            contain both the protocol and path following the format:\n                            {protocol}://{location}.'\n              desiredState:\n                type: string\n                x-dcl-go-name: DesiredState\n                x-dcl-go-type: GuestPolicyRecipesDesiredStateEnum\n                description: 'Default is INSTALLED. The desired state the agent should\n                  maintain for this recipe. INSTALLED: The software recipe is installed\n                  on the instance but won''t be updated to new versions. UPDATED:\n                  The software recipe is installed on the instance. The recipe is\n                  updated to a higher version, if a higher version of the recipe is\n                  assigned to this instance. REMOVE: Remove is unsupported for software\n                  recipes and attempts to create or update a recipe to the REMOVE\n                  state is rejected. Possible values: DESIRED_STATE_UNSPECIFIED, INSTALLED,\n                  REMOVED'\n                enum:\n                - DESIRED_STATE_UNSPECIFIED\n                - INSTALLED\n                - REMOVED\n              installSteps:\n                type: array\n                x-dcl-go-name: InstallSteps\n                description: Actions to be taken for installing this recipe. On failure\n                  it stops executing steps and does not attempt another installation.\n                  Any steps taken (including partially completed steps) are not rolled\n                  back.\n                x-dcl-conflicts:\n                - updateSteps\n                x-dcl-send-empty: true\n                x-dcl-list-type: list\n                items:\n                  type: object\n                  x-dcl-go-type: GuestPolicyRecipesInstallSteps\n                  properties:\n                    archiveExtraction:\n                      type: object\n                      x-dcl-go-name: ArchiveExtraction\n                      x-dcl-go-type: GuestPolicyRecipesInstallStepsArchiveExtraction\n                      description: Extracts an archive into the specified directory.\n                      properties:\n                        artifactId:\n                          type: string\n                          x-dcl-go-name: ArtifactId\n                          description: Required. The id of the relevant artifact in\n                            the recipe.\n                        destination:\n                          type: string\n                          x-dcl-go-name: Destination\n                          description: Directory to extract archive to. Defaults to\n                            `/` on Linux or `C:` on Windows.\n                        type:\n                          type: string\n                          x-dcl-go-name: Type\n                          x-dcl-go-type: GuestPolicyRecipesInstallStepsArchiveExtractionTypeEnum\n                          description: 'Required. The type of the archive to extract.\n                            Possible values: TYPE_UNSPECIFIED, VALIDATION, DESIRED_STATE_CHECK,\n                            DESIRED_STATE_ENFORCEMENT, DESIRED_STATE_CHECK_POST_ENFORCEMENT'\n                          enum:\n                          - TYPE_UNSPECIFIED\n                          - VALIDATION\n                          - DESIRED_STATE_CHECK\n                          - DESIRED_STATE_ENFORCEMENT\n                          - DESIRED_STATE_CHECK_POST_ENFORCEMENT\n                    dpkgInstallation:\n                      type: object\n                      x-dcl-go-name: DpkgInstallation\n                      x-dcl-go-type: GuestPolicyRecipesInstallStepsDpkgInstallation\n                      description: Installs a deb file via dpkg.\n                      properties:\n                        artifactId:\n                          type: string\n                          x-dcl-go-name: ArtifactId\n                          description: Required. The id of the relevant artifact in\n                            the recipe.\n                    fileCopy:\n                      type: object\n                      x-dcl-go-name: FileCopy\n                      x-dcl-go-type: GuestPolicyRecipesInstallStepsFileCopy\n                      description: Copies a file onto the instance.\n                      properties:\n                        artifactId:\n                          type: string\n                          x-dcl-go-name: ArtifactId\n                          description: Required. The id of the relevant artifact in\n                            the recipe.\n                        destination:\n                          type: string\n                          x-dcl-go-name: Destination\n                          description: Required. The absolute path on the instance\n                            to put the file.\n                        overwrite:\n                          type: boolean\n                          x-dcl-go-name: Overwrite\n                          description: Whether to allow this step to overwrite existing\n                            files. If this is false and the file already exists the\n                            file is not overwritten and the step is considered a success.\n                            Defaults to false.\n                        permissions:\n                          type: string\n                          x-dcl-go-name: Permissions\n                          description: 'Consists of three octal digits which represent,\n                            in order, the permissions of the owner, group, and other\n                            users for the file (similarly to the numeric mode used\n                            in the linux chmod utility). Each digit represents a three\n                            bit number with the 4 bit corresponding to the read permissions,\n                            the 2 bit corresponds to the write bit, and the one bit\n                            corresponds to the execute permission. Default behavior\n                            is 755. Below are some examples of permissions and their\n                            associated values: read, write, and execute: 7 read and\n                            execute: 5 read and write: 6 read only: 4'\n                    fileExec:\n                      type: object\n                      x-dcl-go-name: FileExec\n                      x-dcl-go-type: GuestPolicyRecipesInstallStepsFileExec\n                      description: Executes an artifact or local file.\n                      properties:\n                        allowedExitCodes:\n                          type: array\n                          x-dcl-go-name: AllowedExitCodes\n                          description: Defaults to [0]. A list of possible return\n                            values that the program can return to indicate a success.\n                          x-dcl-send-empty: true\n                          x-dcl-list-type: list\n                          items:\n                            type: integer\n                            format: int64\n                            x-dcl-go-type: int64\n                        args:\n                          type: array\n                          x-dcl-go-name: Args\n                          description: Arguments to be passed to the provided executable.\n                          x-dcl-send-empty: true\n                          x-dcl-list-type: list\n                          items:\n                            type: string\n                            x-dcl-go-type: string\n                        artifactId:\n                          type: string\n                          x-dcl-go-name: ArtifactId\n                          description: The id of the relevant artifact in the recipe.\n                        localPath:\n                          type: string\n                          x-dcl-go-name: LocalPath\n                          description: The absolute path of the file on the local\n                            filesystem.\n                    msiInstallation:\n                      type: object\n                      x-dcl-go-name: MsiInstallation\n                      x-dcl-go-type: GuestPolicyRecipesInstallStepsMsiInstallation\n                      description: Installs an MSI file.\n                      properties:\n                        allowedExitCodes:\n                          type: array\n                          x-dcl-go-name: AllowedExitCodes\n                          description: Return codes that indicate that the software\n                            installed or updated successfully. Behaviour defaults\n                            to [0]\n                          x-dcl-send-empty: true\n                          x-dcl-list-type: list\n                          items:\n                            type: integer\n                            format: int64\n                            x-dcl-go-type: int64\n                        artifactId:\n                          type: string\n                          x-dcl-go-name: ArtifactId\n                          description: Required. The id of the relevant artifact in\n                            the recipe.\n                        flags:\n                          type: array\n                          x-dcl-go-name: Flags\n                          description: The flags to use when installing the MSI defaults\n                            to [\"/i\"] (i.e. the install flag).\n                          x-dcl-send-empty: true\n                          x-dcl-list-type: list\n                          items:\n                            type: string\n                            x-dcl-go-type: string\n                    rpmInstallation:\n                      type: object\n                      x-dcl-go-name: RpmInstallation\n                      x-dcl-go-type: GuestPolicyRecipesInstallStepsRpmInstallation\n                      description: Installs an rpm file via the rpm utility.\n                      properties:\n                        artifactId:\n                          type: string\n                          x-dcl-go-name: ArtifactId\n                          description: Required. The id of the relevant artifact in\n                            the recipe.\n                    scriptRun:\n                      type: object\n                      x-dcl-go-name: ScriptRun\n                      x-dcl-go-type: GuestPolicyRecipesInstallStepsScriptRun\n                      description: Runs commands in a shell.\n                      properties:\n                        allowedExitCodes:\n                          type: array\n                          x-dcl-go-name: AllowedExitCodes\n                          description: Return codes that indicate that the software\n                            installed or updated successfully. Behaviour defaults\n                            to [0]\n                          x-dcl-send-empty: true\n                          x-dcl-list-type: list\n                          items:\n                            type: integer\n                            format: int64\n                            x-dcl-go-type: int64\n                        interpreter:\n                          type: string\n                          x-dcl-go-name: Interpreter\n                          x-dcl-go-type: GuestPolicyRecipesInstallStepsScriptRunInterpreterEnum\n                          description: 'The script interpreter to use to run the script.\n                            If no interpreter is specified the script is executed\n                            directly, which likely only succeed for scripts with [shebang\n                            lines](https://en.wikipedia.org/wiki/Shebang_(Unix)).\n                            Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL,\n                            POWERSHELL'\n                          enum:\n                          - INTERPRETER_UNSPECIFIED\n                          - NONE\n                          - SHELL\n                          - POWERSHELL\n                        script:\n                          type: string\n                          x-dcl-go-name: Script\n                          description: Required. The shell script to be executed.\n              name:\n                type: string\n                x-dcl-go-name: Name\n                description: Required. Unique identifier for the recipe. Only one\n                  recipe with a given name is installed on an instance. Names are\n                  also used to identify resources which helps to determine whether\n                  guest policies have conflicts. This means that requests to create\n                  multiple recipes with the same name and version are rejected since\n                  they could potentially have conflicting assignments.\n              updateSteps:\n                type: array\n                x-dcl-go-name: UpdateSteps\n                description: Actions to be taken for updating this recipe. On failure\n                  it stops executing steps and does not attempt another update for\n                  this recipe. Any steps taken (including partially completed steps)\n                  are not rolled back.\n                x-dcl-conflicts:\n                - installSteps\n                x-dcl-send-empty: true\n                x-dcl-list-type: list\n                items:\n                  type: object\n                  x-dcl-go-type: GuestPolicyRecipesUpdateSteps\n                  properties:\n                    archiveExtraction:\n                      type: object\n                      x-dcl-go-name: ArchiveExtraction\n                      x-dcl-go-type: GuestPolicyRecipesUpdateStepsArchiveExtraction\n                      description: Extracts an archive into the specified directory.\n                      properties:\n                        artifactId:\n                          type: string\n                          x-dcl-go-name: ArtifactId\n                          description: Required. The id of the relevant artifact in\n                            the recipe.\n                        destination:\n                          type: string\n                          x-dcl-go-name: Destination\n                          description: Directory to extract archive to. Defaults to\n                            `/` on Linux or `C:` on Windows.\n                        type:\n                          type: string\n                          x-dcl-go-name: Type\n                          x-dcl-go-type: GuestPolicyRecipesUpdateStepsArchiveExtractionTypeEnum\n                          description: 'Required. The type of the archive to extract.\n                            Possible values: TYPE_UNSPECIFIED, VALIDATION, DESIRED_STATE_CHECK,\n                            DESIRED_STATE_ENFORCEMENT, DESIRED_STATE_CHECK_POST_ENFORCEMENT'\n                          enum:\n                          - TYPE_UNSPECIFIED\n                          - VALIDATION\n                          - DESIRED_STATE_CHECK\n                          - DESIRED_STATE_ENFORCEMENT\n                          - DESIRED_STATE_CHECK_POST_ENFORCEMENT\n                    dpkgInstallation:\n                      type: object\n                      x-dcl-go-name: DpkgInstallation\n                      x-dcl-go-type: GuestPolicyRecipesUpdateStepsDpkgInstallation\n                      description: Installs a deb file via dpkg.\n                      properties:\n                        artifactId:\n                          type: string\n                          x-dcl-go-name: ArtifactId\n                          description: Required. The id of the relevant artifact in\n                            the recipe.\n                    fileCopy:\n                      type: object\n                      x-dcl-go-name: FileCopy\n                      x-dcl-go-type: GuestPolicyRecipesUpdateStepsFileCopy\n                      description: Copies a file onto the instance.\n                      properties:\n                        artifactId:\n                          type: string\n                          x-dcl-go-name: ArtifactId\n                          description: Required. The id of the relevant artifact in\n                            the recipe.\n                        destination:\n                          type: string\n                          x-dcl-go-name: Destination\n                          description: Required. The absolute path on the instance\n                            to put the file.\n                        overwrite:\n                          type: boolean\n                          x-dcl-go-name: Overwrite\n                          description: Whether to allow this step to overwrite existing\n                            files. If this is false and the file already exists the\n                            file is not overwritten and the step is considered a success.\n                            Defaults to false.\n                        permissions:\n                          type: string\n                          x-dcl-go-name: Permissions\n                          description: 'Consists of three octal digits which represent,\n                            in order, the permissions of the owner, group, and other\n                            users for the file (similarly to the numeric mode used\n                            in the linux chmod utility). Each digit represents a three\n                            bit number with the 4 bit corresponding to the read permissions,\n                            the 2 bit corresponds to the write bit, and the one bit\n                            corresponds to the execute permission. Default behavior\n                            is 755. Below are some examples of permissions and their\n                            associated values: read, write, and execute: 7 read and\n                            execute: 5 read and write: 6 read only: 4'\n                    fileExec:\n                      type: object\n                      x-dcl-go-name: FileExec\n                      x-dcl-go-type: GuestPolicyRecipesUpdateStepsFileExec\n                      description: Executes an artifact or local file.\n                      properties:\n                        allowedExitCodes:\n                          type: array\n                          x-dcl-go-name: AllowedExitCodes\n                          description: Defaults to [0]. A list of possible return\n                            values that the program can return to indicate a success.\n                          x-dcl-send-empty: true\n                          x-dcl-list-type: list\n                          items:\n                            type: integer\n                            format: int64\n                            x-dcl-go-type: int64\n                        args:\n                          type: array\n                          x-dcl-go-name: Args\n                          description: Arguments to be passed to the provided executable.\n                          x-dcl-send-empty: true\n                          x-dcl-list-type: list\n                          items:\n                            type: string\n                            x-dcl-go-type: string\n                        artifactId:\n                          type: string\n                          x-dcl-go-name: ArtifactId\n                          description: The id of the relevant artifact in the recipe.\n                        localPath:\n                          type: string\n                          x-dcl-go-name: LocalPath\n                          description: The absolute path of the file on the local\n                            filesystem.\n                    msiInstallation:\n                      type: object\n                      x-dcl-go-name: MsiInstallation\n                      x-dcl-go-type: GuestPolicyRecipesUpdateStepsMsiInstallation\n                      description: Installs an MSI file.\n                      properties:\n                        allowedExitCodes:\n                          type: array\n                          x-dcl-go-name: AllowedExitCodes\n                          description: Return codes that indicate that the software\n                            installed or updated successfully. Behaviour defaults\n                            to [0]\n                          x-dcl-send-empty: true\n                          x-dcl-list-type: list\n                          items:\n                            type: integer\n                            format: int64\n                            x-dcl-go-type: int64\n                        artifactId:\n                          type: string\n                          x-dcl-go-name: ArtifactId\n                          description: Required. The id of the relevant artifact in\n                            the recipe.\n                        flags:\n                          type: array\n                          x-dcl-go-name: Flags\n                          description: The flags to use when installing the MSI defaults\n                            to [\"/i\"] (i.e. the install flag).\n                          x-dcl-send-empty: true\n                          x-dcl-list-type: list\n                          items:\n                            type: string\n                            x-dcl-go-type: string\n                    rpmInstallation:\n                      type: object\n                      x-dcl-go-name: RpmInstallation\n                      x-dcl-go-type: GuestPolicyRecipesUpdateStepsRpmInstallation\n                      description: Installs an rpm file via the rpm utility.\n                      properties:\n                        artifactId:\n                          type: string\n                          x-dcl-go-name: ArtifactId\n                          description: Required. The id of the relevant artifact in\n                            the recipe.\n                    scriptRun:\n                      type: object\n                      x-dcl-go-name: ScriptRun\n                      x-dcl-go-type: GuestPolicyRecipesUpdateStepsScriptRun\n                      description: Runs commands in a shell.\n                      properties:\n                        allowedExitCodes:\n                          type: array\n                          x-dcl-go-name: AllowedExitCodes\n                          description: Return codes that indicate that the software\n                            installed or updated successfully. Behaviour defaults\n                            to [0]\n                          x-dcl-send-empty: true\n                          x-dcl-list-type: list\n                          items:\n                            type: integer\n                            format: int64\n                            x-dcl-go-type: int64\n                        interpreter:\n                          type: string\n                          x-dcl-go-name: Interpreter\n                          x-dcl-go-type: GuestPolicyRecipesUpdateStepsScriptRunInterpreterEnum\n                          description: 'The script interpreter to use to run the script.\n                            If no interpreter is specified the script is executed\n                            directly, which likely only succeed for scripts with [shebang\n                            lines](https://en.wikipedia.org/wiki/Shebang_(Unix)).\n                            Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL,\n                            POWERSHELL'\n                          enum:\n                          - INTERPRETER_UNSPECIFIED\n                          - NONE\n                          - SHELL\n                          - POWERSHELL\n                        script:\n                          type: string\n                          x-dcl-go-name: Script\n                          description: Required. The shell script to be executed.\n              version:\n                type: string\n                x-dcl-go-name: Version\n                description: The version of this software recipe. Version can be up\n                  to 4 period separated numbers (e.g. 12.34.56.78).\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. Last time this GuestPolicy was updated.\n          x-kubernetes-immutable: true\n")

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

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-parent-container: project\n      x-dcl-has-iam: false\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        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Resource name.\n          x-kubernetes-immutable: 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        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        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/beta/os_policy_assignment.yaml

View Source
var YAML_patch_deployment = []byte("info:\n  title: OSConfig/PatchDeployment\n  description: Patch deployments are configurations that individual patch jobs use\n    to complete a patch. These configurations include instance filter, package repository\n    settings, and a schedule.\n  x-dcl-struct-name: PatchDeployment\n  x-dcl-has-iam: false\n  x-dcl-ref:\n    text: API documentation\n    url: https://cloud.google.com/compute/docs/osconfig/rest\n  x-dcl-guides:\n  - text: Official Documentation\n    url: https://cloud.google.com/compute/docs/os-patch-management\npaths:\n  get:\n    description: The function used to get information about a PatchDeployment\n    parameters:\n    - name: PatchDeployment\n      required: true\n      description: A full instance of a PatchDeployment\n  apply:\n    description: The function used to apply information about a PatchDeployment\n    parameters:\n    - name: PatchDeployment\n      required: true\n      description: A full instance of a PatchDeployment\n  delete:\n    description: The function used to delete a PatchDeployment\n    parameters:\n    - name: PatchDeployment\n      required: true\n      description: A full instance of a PatchDeployment\n  deleteAll:\n    description: The function used to delete all PatchDeployment\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many PatchDeployment\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    PatchDeployment:\n      title: PatchDeployment\n      x-dcl-id: projects/{{project}}/patchDeployments/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - name\n      - instanceFilter\n      - project\n      properties:\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. Time the patch deployment was created. Timestamp\n            is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Optional. Description of the patch deployment. Length of the\n            description is limited to 1024 characters.\n        duration:\n          type: string\n          x-dcl-go-name: Duration\n          description: Optional. Duration of the patch. After the duration ends, the\n            patch times out.\n        instanceFilter:\n          type: object\n          x-dcl-go-name: InstanceFilter\n          x-dcl-go-type: PatchDeploymentInstanceFilter\n          description: Required. VM instances to patch.\n          properties:\n            all:\n              type: boolean\n              x-dcl-go-name: All\n              description: Target all VM instances in the project. If true, no other\n                criteria is permitted.\n              x-dcl-conflicts:\n              - instanceNamePrefixes\n            groupLabels:\n              type: array\n              x-dcl-go-name: GroupLabels\n              description: Targets VM instances matching ANY of these GroupLabels.\n                This allows targeting of disparate groups of VM instances.\n              x-dcl-conflicts:\n              - all\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: object\n                x-dcl-go-type: PatchDeploymentInstanceFilterGroupLabels\n                properties:\n                  labels:\n                    type: object\n                    additionalProperties:\n                      type: string\n                    x-dcl-go-name: Labels\n                    description: Compute Engine instance labels that must be present\n                      for a VM instance to be targeted by this filter.\n            instanceNamePrefixes:\n              type: array\n              x-dcl-go-name: InstanceNamePrefixes\n              description: Targets VMs whose name starts with one of these prefixes.\n                Similar to labels, this is another way to group VMs when targeting\n                configs, for example prefix=\"prod-\".\n              x-dcl-conflicts:\n              - all\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n            instances:\n              type: array\n              x-dcl-go-name: Instances\n              description: Targets any of the VM instances specified. Instances are\n                specified by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,\n                `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or\n                `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`\n              x-dcl-conflicts:\n              - all\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n                x-dcl-references:\n                - resource: Compute/Instance\n                  field: name\n            zones:\n              type: array\n              x-dcl-go-name: Zones\n              description: Targets VM instances in ANY of these zones. Leave empty\n                to target VM instances in any zone.\n              x-dcl-conflicts:\n              - all\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n        lastExecuteTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: LastExecuteTime\n          readOnly: true\n          description: Output only. The last time a patch job was started by this\n            deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n            text format.\n          x-kubernetes-immutable: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: 'Unique name for the patch deployment resource in a project.\n            The patch deployment name is in the form: `projects/{project_id}/patchDeployments/{patch_deployment_id}`.\n            This field is ignored when you create a new patch deployment.'\n          x-kubernetes-immutable: true\n        oneTimeSchedule:\n          type: object\n          x-dcl-go-name: OneTimeSchedule\n          x-dcl-go-type: PatchDeploymentOneTimeSchedule\n          description: Required. Schedule a one-time execution.\n          x-dcl-conflicts:\n          - recurringSchedule\n          required:\n          - executeTime\n          properties:\n            executeTime:\n              type: string\n              format: date-time\n              x-dcl-go-name: ExecuteTime\n              description: Required. The desired patch job execution time.\n        patchConfig:\n          type: object\n          x-dcl-go-name: PatchConfig\n          x-dcl-go-type: PatchDeploymentPatchConfig\n          description: Optional. Patch configuration that is applied.\n          properties:\n            apt:\n              type: object\n              x-dcl-go-name: Apt\n              x-dcl-go-type: PatchDeploymentPatchConfigApt\n              description: Apt update settings. Use this setting to override the default\n                `apt` patch rules.\n              properties:\n                excludes:\n                  type: array\n                  x-dcl-go-name: Excludes\n                  description: List of packages to exclude from update. These packages\n                    will be excluded\n                  x-dcl-conflicts:\n                  - exclusivePackages\n                  x-dcl-send-empty: true\n                  x-dcl-list-type: list\n                  items:\n                    type: string\n                    x-dcl-go-type: string\n                exclusivePackages:\n                  type: array\n                  x-dcl-go-name: ExclusivePackages\n                  description: An exclusive list of packages to be updated. These\n                    are the only packages that will be updated. If these packages\n                    are not installed, they will be ignored. This field cannot be\n                    specified with any other patch configuration fields.\n                  x-dcl-conflicts:\n                  - excludes\n                  x-dcl-send-empty: true\n                  x-dcl-list-type: list\n                  items:\n                    type: string\n                    x-dcl-go-type: string\n                type:\n                  type: string\n                  x-dcl-go-name: Type\n                  x-dcl-go-type: PatchDeploymentPatchConfigAptTypeEnum\n                  description: 'By changing the type to DIST, the patching is performed\n                    using `apt-get dist-upgrade` instead. Possible values: TYPE_UNSPECIFIED,\n                    DIST, UPGRADE'\n                  enum:\n                  - TYPE_UNSPECIFIED\n                  - DIST\n                  - UPGRADE\n            goo:\n              type: object\n              x-dcl-go-name: Goo\n              x-dcl-go-type: PatchDeploymentPatchConfigGoo\n              description: Goo update settings. Use this setting to override the default\n                `goo` patch rules.\n            postStep:\n              type: object\n              x-dcl-go-name: PostStep\n              x-dcl-go-type: PatchDeploymentPatchConfigPostStep\n              description: The `ExecStep` to run after the patch update.\n              properties:\n                linuxExecStepConfig:\n                  type: object\n                  x-dcl-go-name: LinuxExecStepConfig\n                  x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfig\n                  description: The ExecStepConfig for all Linux VMs targeted by the\n                    PatchJob.\n                  properties:\n                    allowedSuccessCodes:\n                      type: array\n                      x-dcl-go-name: AllowedSuccessCodes\n                      description: Defaults to [0]. A list of possible return values\n                        that the execution can return to indicate a success.\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: integer\n                        format: int64\n                        x-dcl-go-type: int64\n                    gcsObject:\n                      type: object\n                      x-dcl-go-name: GcsObject\n                      x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject\n                      description: A Cloud Storage object containing the executable.\n                      x-dcl-conflicts:\n                      - localPath\n                      required:\n                      - bucket\n                      - object\n                      - generationNumber\n                      properties:\n                        bucket:\n                          type: string\n                          x-dcl-go-name: Bucket\n                          description: Required. Bucket of the Cloud Storage object.\n                        generationNumber:\n                          type: integer\n                          format: int64\n                          x-dcl-go-name: GenerationNumber\n                          description: Required. Generation number of the Cloud Storage\n                            object. This is used to ensure that the ExecStep specified\n                            by this PatchJob does not change.\n                        object:\n                          type: string\n                          x-dcl-go-name: Object\n                          description: Required. Name of the Cloud Storage object.\n                    interpreter:\n                      type: string\n                      x-dcl-go-name: Interpreter\n                      x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfigInterpreterEnum\n                      description: 'The script interpreter to use to run the script.\n                        If no interpreter is specified the script will be executed\n                        directly, which will likely only succeed for scripts with\n                        [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n                        Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n                      enum:\n                      - INTERPRETER_UNSPECIFIED\n                      - NONE\n                      - SHELL\n                      - POWERSHELL\n                    localPath:\n                      type: string\n                      x-dcl-go-name: LocalPath\n                      description: An absolute path to the executable on the VM.\n                      x-dcl-conflicts:\n                      - gcsObject\n                windowsExecStepConfig:\n                  type: object\n                  x-dcl-go-name: WindowsExecStepConfig\n                  x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfig\n                  description: The ExecStepConfig for all Windows VMs targeted by\n                    the PatchJob.\n                  required:\n                  - interpreter\n                  properties:\n                    allowedSuccessCodes:\n                      type: array\n                      x-dcl-go-name: AllowedSuccessCodes\n                      description: Defaults to [0]. A list of possible return values\n                        that the execution can return to indicate a success.\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: integer\n                        format: int64\n                        x-dcl-go-type: int64\n                    gcsObject:\n                      type: object\n                      x-dcl-go-name: GcsObject\n                      x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject\n                      description: A Cloud Storage object containing the executable.\n                      x-dcl-conflicts:\n                      - localPath\n                      required:\n                      - bucket\n                      - object\n                      - generationNumber\n                      properties:\n                        bucket:\n                          type: string\n                          x-dcl-go-name: Bucket\n                          description: Required. Bucket of the Cloud Storage object.\n                        generationNumber:\n                          type: integer\n                          format: int64\n                          x-dcl-go-name: GenerationNumber\n                          description: Required. Generation number of the Cloud Storage\n                            object. This is used to ensure that the ExecStep specified\n                            by this PatchJob does not change.\n                        object:\n                          type: string\n                          x-dcl-go-name: Object\n                          description: Required. Name of the Cloud Storage object.\n                    interpreter:\n                      type: string\n                      x-dcl-go-name: Interpreter\n                      x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfigInterpreterEnum\n                      description: 'The script interpreter to use to run the script.\n                        If no interpreter is specified the script will be executed\n                        directly, which will likely only succeed for scripts with\n                        [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n                        Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n                      enum:\n                      - INTERPRETER_UNSPECIFIED\n                      - NONE\n                      - SHELL\n                      - POWERSHELL\n                    localPath:\n                      type: string\n                      x-dcl-go-name: LocalPath\n                      description: An absolute path to the executable on the VM.\n                      x-dcl-conflicts:\n                      - gcsObject\n            preStep:\n              type: object\n              x-dcl-go-name: PreStep\n              x-dcl-go-type: PatchDeploymentPatchConfigPreStep\n              description: The `ExecStep` to run before the patch update.\n              properties:\n                linuxExecStepConfig:\n                  type: object\n                  x-dcl-go-name: LinuxExecStepConfig\n                  x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfig\n                  description: The ExecStepConfig for all Linux VMs targeted by the\n                    PatchJob.\n                  properties:\n                    allowedSuccessCodes:\n                      type: array\n                      x-dcl-go-name: AllowedSuccessCodes\n                      description: Defaults to [0]. A list of possible return values\n                        that the execution can return to indicate a success.\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: integer\n                        format: int64\n                        x-dcl-go-type: int64\n                    gcsObject:\n                      type: object\n                      x-dcl-go-name: GcsObject\n                      x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject\n                      description: A Cloud Storage object containing the executable.\n                      x-dcl-conflicts:\n                      - localPath\n                      required:\n                      - bucket\n                      - object\n                      - generationNumber\n                      properties:\n                        bucket:\n                          type: string\n                          x-dcl-go-name: Bucket\n                          description: Required. Bucket of the Cloud Storage object.\n                        generationNumber:\n                          type: integer\n                          format: int64\n                          x-dcl-go-name: GenerationNumber\n                          description: Required. Generation number of the Cloud Storage\n                            object. This is used to ensure that the ExecStep specified\n                            by this PatchJob does not change.\n                        object:\n                          type: string\n                          x-dcl-go-name: Object\n                          description: Required. Name of the Cloud Storage object.\n                    interpreter:\n                      type: string\n                      x-dcl-go-name: Interpreter\n                      x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfigInterpreterEnum\n                      description: 'The script interpreter to use to run the script.\n                        If no interpreter is specified the script will be executed\n                        directly, which will likely only succeed for scripts with\n                        [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n                        Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n                      enum:\n                      - INTERPRETER_UNSPECIFIED\n                      - NONE\n                      - SHELL\n                      - POWERSHELL\n                    localPath:\n                      type: string\n                      x-dcl-go-name: LocalPath\n                      description: An absolute path to the executable on the VM.\n                      x-dcl-conflicts:\n                      - gcsObject\n                windowsExecStepConfig:\n                  type: object\n                  x-dcl-go-name: WindowsExecStepConfig\n                  x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfig\n                  description: The ExecStepConfig for all Windows VMs targeted by\n                    the PatchJob.\n                  required:\n                  - interpreter\n                  properties:\n                    allowedSuccessCodes:\n                      type: array\n                      x-dcl-go-name: AllowedSuccessCodes\n                      description: Defaults to [0]. A list of possible return values\n                        that the execution can return to indicate a success.\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: integer\n                        format: int64\n                        x-dcl-go-type: int64\n                    gcsObject:\n                      type: object\n                      x-dcl-go-name: GcsObject\n                      x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject\n                      description: A Cloud Storage object containing the executable.\n                      x-dcl-conflicts:\n                      - localPath\n                      required:\n                      - bucket\n                      - object\n                      - generationNumber\n                      properties:\n                        bucket:\n                          type: string\n                          x-dcl-go-name: Bucket\n                          description: Required. Bucket of the Cloud Storage object.\n                        generationNumber:\n                          type: integer\n                          format: int64\n                          x-dcl-go-name: GenerationNumber\n                          description: Required. Generation number of the Cloud Storage\n                            object. This is used to ensure that the ExecStep specified\n                            by this PatchJob does not change.\n                        object:\n                          type: string\n                          x-dcl-go-name: Object\n                          description: Required. Name of the Cloud Storage object.\n                    interpreter:\n                      type: string\n                      x-dcl-go-name: Interpreter\n                      x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfigInterpreterEnum\n                      description: 'The script interpreter to use to run the script.\n                        If no interpreter is specified the script will be executed\n                        directly, which will likely only succeed for scripts with\n                        [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n                        Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n                      enum:\n                      - INTERPRETER_UNSPECIFIED\n                      - NONE\n                      - SHELL\n                      - POWERSHELL\n                    localPath:\n                      type: string\n                      x-dcl-go-name: LocalPath\n                      description: An absolute path to the executable on the VM.\n                      x-dcl-conflicts:\n                      - gcsObject\n            rebootConfig:\n              type: string\n              x-dcl-go-name: RebootConfig\n              x-dcl-go-type: PatchDeploymentPatchConfigRebootConfigEnum\n              description: 'Post-patch reboot settings. Possible values: REBOOT_CONFIG_UNSPECIFIED,\n                DEFAULT, ALWAYS, NEVER'\n              enum:\n              - REBOOT_CONFIG_UNSPECIFIED\n              - DEFAULT\n              - ALWAYS\n              - NEVER\n            windowsUpdate:\n              type: object\n              x-dcl-go-name: WindowsUpdate\n              x-dcl-go-type: PatchDeploymentPatchConfigWindowsUpdate\n              description: Windows update settings. Use this override the default\n                windows patch rules.\n              properties:\n                classifications:\n                  type: array\n                  x-dcl-go-name: Classifications\n                  description: Only apply updates of these windows update classifications.\n                    If empty, all updates are applied.\n                  x-dcl-conflicts:\n                  - exclusivePatches\n                  x-dcl-send-empty: true\n                  x-dcl-list-type: list\n                  items:\n                    type: string\n                    x-dcl-go-type: PatchDeploymentPatchConfigWindowsUpdateClassificationsEnum\n                    enum:\n                    - CLASSIFICATION_UNSPECIFIED\n                    - CRITICAL\n                    - SECURITY\n                    - DEFINITION\n                    - DRIVER\n                    - FEATURE_PACK\n                    - SERVICE_PACK\n                    - TOOL\n                    - UPDATE_ROLLUP\n                    - UPDATE\n                excludes:\n                  type: array\n                  x-dcl-go-name: Excludes\n                  description: List of KBs to exclude from update.\n                  x-dcl-conflicts:\n                  - exclusivePatches\n                  x-dcl-send-empty: true\n                  x-dcl-list-type: list\n                  items:\n                    type: string\n                    x-dcl-go-type: string\n                exclusivePatches:\n                  type: array\n                  x-dcl-go-name: ExclusivePatches\n                  description: An exclusive list of kbs to be updated. These are the\n                    only patches that will be updated. This field must not be used\n                    with other patch configurations.\n                  x-dcl-conflicts:\n                  - excludes\n                  x-dcl-send-empty: true\n                  x-dcl-list-type: list\n                  items:\n                    type: string\n                    x-dcl-go-type: string\n            yum:\n              type: object\n              x-dcl-go-name: Yum\n              x-dcl-go-type: PatchDeploymentPatchConfigYum\n              description: Yum update settings. Use this setting to override the default\n                `yum` patch rules.\n              properties:\n                excludes:\n                  type: array\n                  x-dcl-go-name: Excludes\n                  description: List of packages to exclude from update. These packages\n                    are excluded by using the yum `--exclude` flag.\n                  x-dcl-conflicts:\n                  - exclusivePackages\n                  x-dcl-send-empty: true\n                  x-dcl-list-type: list\n                  items:\n                    type: string\n                    x-dcl-go-type: string\n                exclusivePackages:\n                  type: array\n                  x-dcl-go-name: ExclusivePackages\n                  description: An exclusive list of packages to be updated. These\n                    are the only packages that will be updated. If these packages\n                    are not installed, they will be ignored. This field must not be\n                    specified with any other patch configuration fields.\n                  x-dcl-conflicts:\n                  - excludes\n                  x-dcl-send-empty: true\n                  x-dcl-list-type: list\n                  items:\n                    type: string\n                    x-dcl-go-type: string\n                minimal:\n                  type: boolean\n                  x-dcl-go-name: Minimal\n                  description: Will cause patch to run `yum update-minimal` instead.\n                security:\n                  type: boolean\n                  x-dcl-go-name: Security\n                  description: Adds the `--security` flag to `yum update`. Not supported\n                    on all platforms.\n            zypper:\n              type: object\n              x-dcl-go-name: Zypper\n              x-dcl-go-type: PatchDeploymentPatchConfigZypper\n              description: Zypper update settings. Use this setting to override the\n                default `zypper` patch rules.\n              properties:\n                categories:\n                  type: array\n                  x-dcl-go-name: Categories\n                  description: Install only patches with these categories. Common\n                    categories include security, recommended, and feature.\n                  x-dcl-conflicts:\n                  - exclusivePatches\n                  x-dcl-send-empty: true\n                  x-dcl-list-type: list\n                  items:\n                    type: string\n                    x-dcl-go-type: string\n                excludes:\n                  type: array\n                  x-dcl-go-name: Excludes\n                  description: List of patches to exclude from update.\n                  x-dcl-conflicts:\n                  - exclusivePatches\n                  x-dcl-send-empty: true\n                  x-dcl-list-type: list\n                  items:\n                    type: string\n                    x-dcl-go-type: string\n                exclusivePatches:\n                  type: array\n                  x-dcl-go-name: ExclusivePatches\n                  description: An exclusive list of patches to be updated. These are\n                    the only patches that will be installed using 'zypper patch patch:'\n                    command. This field must not be used with any other patch configuration\n                    fields.\n                  x-dcl-conflicts:\n                  - excludes\n                  x-dcl-send-empty: true\n                  x-dcl-list-type: list\n                  items:\n                    type: string\n                    x-dcl-go-type: string\n                severities:\n                  type: array\n                  x-dcl-go-name: Severities\n                  description: Install only patches with these severities. Common\n                    severities include critical, important, moderate, and low.\n                  x-dcl-conflicts:\n                  - exclusivePatches\n                  x-dcl-send-empty: true\n                  x-dcl-list-type: list\n                  items:\n                    type: string\n                    x-dcl-go-type: string\n                withOptional:\n                  type: boolean\n                  x-dcl-go-name: WithOptional\n                  description: Adds the `--with-optional` flag to `zypper patch`.\n                  x-dcl-conflicts:\n                  - exclusivePatches\n                withUpdate:\n                  type: boolean\n                  x-dcl-go-name: WithUpdate\n                  description: Adds the `--with-update` flag, to `zypper patch`.\n                  x-dcl-conflicts:\n                  - exclusivePatches\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        recurringSchedule:\n          type: object\n          x-dcl-go-name: RecurringSchedule\n          x-dcl-go-type: PatchDeploymentRecurringSchedule\n          description: Required. Schedule recurring executions.\n          x-dcl-conflicts:\n          - oneTimeSchedule\n          required:\n          - timeZone\n          - timeOfDay\n          - frequency\n          properties:\n            endTime:\n              type: string\n              format: date-time\n              x-dcl-go-name: EndTime\n              description: Optional. The end time at which a recurring patch deployment\n                schedule is no longer active.\n            frequency:\n              type: string\n              x-dcl-go-name: Frequency\n              x-dcl-go-type: PatchDeploymentRecurringScheduleFrequencyEnum\n              description: 'Required. The frequency unit of this recurring schedule.\n                Possible values: FREQUENCY_UNSPECIFIED, WEEKLY, MONTHLY, DAILY'\n              enum:\n              - FREQUENCY_UNSPECIFIED\n              - WEEKLY\n              - MONTHLY\n              - DAILY\n            lastExecuteTime:\n              type: string\n              format: date-time\n              x-dcl-go-name: LastExecuteTime\n              readOnly: true\n              description: Output only. The time the last patch job ran successfully.\n            monthly:\n              type: object\n              x-dcl-go-name: Monthly\n              x-dcl-go-type: PatchDeploymentRecurringScheduleMonthly\n              description: Required. Schedule with monthly executions.\n              x-dcl-conflicts:\n              - weekly\n              properties:\n                monthDay:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: MonthDay\n                  description: Required. One day of the month. 1-31 indicates the\n                    1st to the 31st day. -1 indicates the last day of the month. Months\n                    without the target day will be skipped. For example, a schedule\n                    to run \"every month on the 31st\" will not run in February, April,\n                    June, etc.\n                  x-dcl-conflicts:\n                  - weekDayOfMonth\n                weekDayOfMonth:\n                  type: object\n                  x-dcl-go-name: WeekDayOfMonth\n                  x-dcl-go-type: PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth\n                  description: Required. Week day in a month.\n                  x-dcl-conflicts:\n                  - monthDay\n                  required:\n                  - weekOrdinal\n                  - dayOfWeek\n                  properties:\n                    dayOfWeek:\n                      type: string\n                      x-dcl-go-name: DayOfWeek\n                      x-dcl-go-type: PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonthDayOfWeekEnum\n                      description: 'Required. A day of the week. Possible values:\n                        DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY,\n                        FRIDAY, SATURDAY, SUNDAY'\n                      enum:\n                      - DAY_OF_WEEK_UNSPECIFIED\n                      - MONDAY\n                      - TUESDAY\n                      - WEDNESDAY\n                      - THURSDAY\n                      - FRIDAY\n                      - SATURDAY\n                      - SUNDAY\n                    weekOrdinal:\n                      type: integer\n                      format: int64\n                      x-dcl-go-name: WeekOrdinal\n                      description: Required. Week number in a month. 1-4 indicates\n                        the 1st to 4th week of the month. -1 indicates the last week\n                        of the month.\n            nextExecuteTime:\n              type: string\n              format: date-time\n              x-dcl-go-name: NextExecuteTime\n              readOnly: true\n              description: Output only. The time the next patch job is scheduled to\n                run.\n            startTime:\n              type: string\n              format: date-time\n              x-dcl-go-name: StartTime\n              description: Optional. The time that the recurring schedule becomes\n                effective. Defaults to `create_time` of the patch deployment.\n            timeOfDay:\n              type: object\n              x-dcl-go-name: TimeOfDay\n              x-dcl-go-type: PatchDeploymentRecurringScheduleTimeOfDay\n              description: Required. Time of the day to run a recurring deployment.\n              x-dcl-send-empty: true\n              properties:\n                hours:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: Hours\n                  description: Hours of day in 24 hour format. Should be from 0 to\n                    23. An API may choose to allow the value \"24:00:00\" for scenarios\n                    like business closing time.\n                minutes:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: Minutes\n                  description: Minutes of hour of day. Must be from 0 to 59.\n                nanos:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: Nanos\n                  description: Fractions of seconds in nanoseconds. Must be from 0\n                    to 999,999,999.\n                seconds:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: Seconds\n                  description: Seconds of minutes of the time. Must normally be from\n                    0 to 59. An API may allow the value 60 if it allows leap-seconds.\n            timeZone:\n              type: object\n              x-dcl-go-name: TimeZone\n              x-dcl-go-type: PatchDeploymentRecurringScheduleTimeZone\n              description: Required. Defines the time zone that `time_of_day` is relative\n                to. The rules for daylight saving time are determined by the chosen\n                time zone.\n              properties:\n                id:\n                  type: string\n                  x-dcl-go-name: Id\n                  description: IANA Time Zone Database time zone, e.g. \"America/New_York\".\n                version:\n                  type: string\n                  x-dcl-go-name: Version\n                  description: Optional. IANA Time Zone Database version number, e.g.\n                    \"2019a\".\n            weekly:\n              type: object\n              x-dcl-go-name: Weekly\n              x-dcl-go-type: PatchDeploymentRecurringScheduleWeekly\n              description: Required. Schedule with weekly executions.\n              x-dcl-conflicts:\n              - monthly\n              required:\n              - dayOfWeek\n              properties:\n                dayOfWeek:\n                  type: string\n                  x-dcl-go-name: DayOfWeek\n                  x-dcl-go-type: PatchDeploymentRecurringScheduleWeeklyDayOfWeekEnum\n                  description: 'Required. Day of the week. Possible values: DAY_OF_WEEK_UNSPECIFIED,\n                    MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY'\n                  enum:\n                  - DAY_OF_WEEK_UNSPECIFIED\n                  - MONDAY\n                  - TUESDAY\n                  - WEDNESDAY\n                  - THURSDAY\n                  - FRIDAY\n                  - SATURDAY\n                  - SUNDAY\n        rollout:\n          type: object\n          x-dcl-go-name: Rollout\n          x-dcl-go-type: PatchDeploymentRollout\n          description: Optional. Rollout strategy of the patch job.\n          required:\n          - mode\n          - disruptionBudget\n          properties:\n            disruptionBudget:\n              type: object\n              x-dcl-go-name: DisruptionBudget\n              x-dcl-go-type: PatchDeploymentRolloutDisruptionBudget\n              description: The maximum number (or percentage) of VMs per zone to disrupt\n                at any given moment. The number of VMs calculated from multiplying\n                the percentage by the total number of VMs in a zone is rounded up.\n                During patching, a VM is considered disrupted from the time the agent\n                is notified to begin until patching has completed. This disruption\n                time includes the time to complete reboot and any post-patch steps.\n                A VM contributes to the disruption budget if its patching operation\n                fails either when applying the patches, running pre or post patch\n                steps, or if it fails to respond with a success notification before\n                timing out. VMs that are not running or do not have an active agent\n                do not count toward this disruption budget. For zone-by-zone rollouts,\n                if the disruption budget in a zone is exceeded, the patch job stops,\n                because continuing to the next zone requires completion of the patch\n                process in the previous zone. For example, if the disruption budget\n                has a fixed value of `10`, and 8 VMs fail to patch in the current\n                zone, the patch job continues to patch 2 VMs at a time until the zone\n                is completed. When that zone is completed successfully, patching begins\n                with 10 VMs at a time in the next zone. If 10 VMs in the next zone\n                fail to patch, the patch job stops.\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            mode:\n              type: string\n              x-dcl-go-name: Mode\n              x-dcl-go-type: PatchDeploymentRolloutModeEnum\n              description: 'Mode of the patch rollout. Possible values: MODE_UNSPECIFIED,\n                VALIDATION, ENFORCEMENT'\n              enum:\n              - MODE_UNSPECIFIED\n              - VALIDATION\n              - ENFORCEMENT\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. Time the patch deployment was last updated. Timestamp\n            is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.\n          x-kubernetes-immutable: true\n")

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

Functions

This section is empty.

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) ApplyGuestPolicy

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

func (*Client) ApplyOSPolicyAssignment

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

func (*Client) ApplyPatchDeployment

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

func (*Client) DeleteAllGuestPolicy

func (c *Client) DeleteAllGuestPolicy(ctx context.Context, project string, filter func(*GuestPolicy) bool) error

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

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) DeleteAllPatchDeployment

func (c *Client) DeleteAllPatchDeployment(ctx context.Context, project string, filter func(*PatchDeployment) bool) error

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

func (*Client) DeleteGuestPolicy

func (c *Client) DeleteGuestPolicy(ctx context.Context, r *GuestPolicy) error

func (*Client) DeleteOSPolicyAssignment

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

func (*Client) DeletePatchDeployment

func (c *Client) DeletePatchDeployment(ctx context.Context, r *PatchDeployment) error

func (*Client) GetGuestPolicy

func (c *Client) GetGuestPolicy(ctx context.Context, r *GuestPolicy) (*GuestPolicy, error)

func (*Client) GetOSPolicyAssignment

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

func (*Client) GetPatchDeployment

func (c *Client) GetPatchDeployment(ctx context.Context, r *PatchDeployment) (*PatchDeployment, error)

func (*Client) ListGuestPolicy

func (c *Client) ListGuestPolicy(ctx context.Context, project string) (*GuestPolicyList, error)

func (*Client) ListGuestPolicyWithMaxResults

func (c *Client) ListGuestPolicyWithMaxResults(ctx context.Context, project string, pageSize int32) (*GuestPolicyList, 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)

func (*Client) ListPatchDeployment

func (c *Client) ListPatchDeployment(ctx context.Context, project string) (*PatchDeploymentList, error)

func (*Client) ListPatchDeploymentWithMaxResults

func (c *Client) ListPatchDeploymentWithMaxResults(ctx context.Context, project string, pageSize int32) (*PatchDeploymentList, error)

type GuestPolicy

type GuestPolicy struct {
	Name                *string                          `json:"name"`
	Description         *string                          `json:"description"`
	CreateTime          *string                          `json:"createTime"`
	UpdateTime          *string                          `json:"updateTime"`
	Assignment          *GuestPolicyAssignment           `json:"assignment"`
	Packages            []GuestPolicyPackages            `json:"packages"`
	PackageRepositories []GuestPolicyPackageRepositories `json:"packageRepositories"`
	Recipes             []GuestPolicyRecipes             `json:"recipes"`
	Etag                *string                          `json:"etag"`
	Project             *string                          `json:"project"`
}

func (*GuestPolicy) Describe

func (r *GuestPolicy) Describe() dcl.ServiceTypeVersion

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

func (*GuestPolicy) ID

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

func (*GuestPolicy) String

func (r *GuestPolicy) String() string

type GuestPolicyAssignment

type GuestPolicyAssignment struct {
	GroupLabels          []GuestPolicyAssignmentGroupLabels `json:"groupLabels"`
	Zones                []string                           `json:"zones"`
	Instances            []string                           `json:"instances"`
	InstanceNamePrefixes []string                           `json:"instanceNamePrefixes"`
	OSTypes              []GuestPolicyAssignmentOSTypes     `json:"osTypes"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyAssignment *GuestPolicyAssignment = &GuestPolicyAssignment{empty: true}

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

func (*GuestPolicyAssignment) Empty

func (r *GuestPolicyAssignment) Empty() bool

func (*GuestPolicyAssignment) HashCode

func (r *GuestPolicyAssignment) HashCode() string

func (*GuestPolicyAssignment) String

func (r *GuestPolicyAssignment) String() string

func (*GuestPolicyAssignment) UnmarshalJSON

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

type GuestPolicyAssignmentGroupLabels

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

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

func (*GuestPolicyAssignmentGroupLabels) Empty

func (*GuestPolicyAssignmentGroupLabels) HashCode

func (*GuestPolicyAssignmentGroupLabels) String

func (*GuestPolicyAssignmentGroupLabels) UnmarshalJSON

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

type GuestPolicyAssignmentOSTypes

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

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

func (*GuestPolicyAssignmentOSTypes) Empty

func (*GuestPolicyAssignmentOSTypes) HashCode

func (r *GuestPolicyAssignmentOSTypes) HashCode() string

func (*GuestPolicyAssignmentOSTypes) String

func (*GuestPolicyAssignmentOSTypes) UnmarshalJSON

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

type GuestPolicyList

type GuestPolicyList struct {
	Items []*GuestPolicy
	// contains filtered or unexported fields
}

func (*GuestPolicyList) HasNext

func (l *GuestPolicyList) HasNext() bool

func (*GuestPolicyList) Next

func (l *GuestPolicyList) Next(ctx context.Context, c *Client) error

type GuestPolicyPackageRepositories

type GuestPolicyPackageRepositories struct {
	Apt    *GuestPolicyPackageRepositoriesApt    `json:"apt"`
	Yum    *GuestPolicyPackageRepositoriesYum    `json:"yum"`
	Zypper *GuestPolicyPackageRepositoriesZypper `json:"zypper"`
	Goo    *GuestPolicyPackageRepositoriesGoo    `json:"goo"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyPackageRepositories *GuestPolicyPackageRepositories = &GuestPolicyPackageRepositories{empty: true}

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

func (*GuestPolicyPackageRepositories) Empty

func (*GuestPolicyPackageRepositories) HashCode

func (r *GuestPolicyPackageRepositories) HashCode() string

func (*GuestPolicyPackageRepositories) String

func (*GuestPolicyPackageRepositories) UnmarshalJSON

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

type GuestPolicyPackageRepositoriesApt

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

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

func (*GuestPolicyPackageRepositoriesApt) Empty

func (*GuestPolicyPackageRepositoriesApt) HashCode

func (*GuestPolicyPackageRepositoriesApt) String

func (*GuestPolicyPackageRepositoriesApt) UnmarshalJSON

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

type GuestPolicyPackageRepositoriesAptArchiveTypeEnum

type GuestPolicyPackageRepositoriesAptArchiveTypeEnum string

The enum GuestPolicyPackageRepositoriesAptArchiveTypeEnum.

func GuestPolicyPackageRepositoriesAptArchiveTypeEnumRef

func GuestPolicyPackageRepositoriesAptArchiveTypeEnumRef(s string) *GuestPolicyPackageRepositoriesAptArchiveTypeEnum

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

func (GuestPolicyPackageRepositoriesAptArchiveTypeEnum) Validate

type GuestPolicyPackageRepositoriesGoo

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

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

func (*GuestPolicyPackageRepositoriesGoo) Empty

func (*GuestPolicyPackageRepositoriesGoo) HashCode

func (*GuestPolicyPackageRepositoriesGoo) String

func (*GuestPolicyPackageRepositoriesGoo) UnmarshalJSON

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

type GuestPolicyPackageRepositoriesYum

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

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

func (*GuestPolicyPackageRepositoriesYum) Empty

func (*GuestPolicyPackageRepositoriesYum) HashCode

func (*GuestPolicyPackageRepositoriesYum) String

func (*GuestPolicyPackageRepositoriesYum) UnmarshalJSON

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

type GuestPolicyPackageRepositoriesZypper

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

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

func (*GuestPolicyPackageRepositoriesZypper) Empty

func (*GuestPolicyPackageRepositoriesZypper) HashCode

func (*GuestPolicyPackageRepositoriesZypper) String

func (*GuestPolicyPackageRepositoriesZypper) UnmarshalJSON

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

type GuestPolicyPackages

type GuestPolicyPackages struct {
	Name         *string                              `json:"name"`
	DesiredState *GuestPolicyPackagesDesiredStateEnum `json:"desiredState"`
	Manager      *GuestPolicyPackagesManagerEnum      `json:"manager"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyPackages *GuestPolicyPackages = &GuestPolicyPackages{empty: true}

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

func (*GuestPolicyPackages) Empty

func (r *GuestPolicyPackages) Empty() bool

func (*GuestPolicyPackages) HashCode

func (r *GuestPolicyPackages) HashCode() string

func (*GuestPolicyPackages) String

func (r *GuestPolicyPackages) String() string

func (*GuestPolicyPackages) UnmarshalJSON

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

type GuestPolicyPackagesDesiredStateEnum

type GuestPolicyPackagesDesiredStateEnum string

The enum GuestPolicyPackagesDesiredStateEnum.

func GuestPolicyPackagesDesiredStateEnumRef

func GuestPolicyPackagesDesiredStateEnumRef(s string) *GuestPolicyPackagesDesiredStateEnum

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

func (GuestPolicyPackagesDesiredStateEnum) Validate

type GuestPolicyPackagesManagerEnum

type GuestPolicyPackagesManagerEnum string

The enum GuestPolicyPackagesManagerEnum.

func GuestPolicyPackagesManagerEnumRef

func GuestPolicyPackagesManagerEnumRef(s string) *GuestPolicyPackagesManagerEnum

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

func (GuestPolicyPackagesManagerEnum) Validate

type GuestPolicyRecipes

type GuestPolicyRecipes struct {
	Name         *string                             `json:"name"`
	Version      *string                             `json:"version"`
	Artifacts    []GuestPolicyRecipesArtifacts       `json:"artifacts"`
	InstallSteps []GuestPolicyRecipesInstallSteps    `json:"installSteps"`
	UpdateSteps  []GuestPolicyRecipesUpdateSteps     `json:"updateSteps"`
	DesiredState *GuestPolicyRecipesDesiredStateEnum `json:"desiredState"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipes *GuestPolicyRecipes = &GuestPolicyRecipes{empty: true}

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

func (*GuestPolicyRecipes) Empty

func (r *GuestPolicyRecipes) Empty() bool

func (*GuestPolicyRecipes) HashCode

func (r *GuestPolicyRecipes) HashCode() string

func (*GuestPolicyRecipes) String

func (r *GuestPolicyRecipes) String() string

func (*GuestPolicyRecipes) UnmarshalJSON

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

type GuestPolicyRecipesArtifacts

type GuestPolicyRecipesArtifacts struct {
	Id            *string                            `json:"id"`
	Remote        *GuestPolicyRecipesArtifactsRemote `json:"remote"`
	Gcs           *GuestPolicyRecipesArtifactsGcs    `json:"gcs"`
	AllowInsecure *bool                              `json:"allowInsecure"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesArtifacts *GuestPolicyRecipesArtifacts = &GuestPolicyRecipesArtifacts{empty: true}

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

func (*GuestPolicyRecipesArtifacts) Empty

func (r *GuestPolicyRecipesArtifacts) Empty() bool

func (*GuestPolicyRecipesArtifacts) HashCode

func (r *GuestPolicyRecipesArtifacts) HashCode() string

func (*GuestPolicyRecipesArtifacts) String

func (r *GuestPolicyRecipesArtifacts) String() string

func (*GuestPolicyRecipesArtifacts) UnmarshalJSON

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

type GuestPolicyRecipesArtifactsGcs

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

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

func (*GuestPolicyRecipesArtifactsGcs) Empty

func (*GuestPolicyRecipesArtifactsGcs) HashCode

func (r *GuestPolicyRecipesArtifactsGcs) HashCode() string

func (*GuestPolicyRecipesArtifactsGcs) String

func (*GuestPolicyRecipesArtifactsGcs) UnmarshalJSON

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

type GuestPolicyRecipesArtifactsRemote

type GuestPolicyRecipesArtifactsRemote struct {
	Uri      *string `json:"uri"`
	Checksum *string `json:"checksum"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesArtifactsRemote *GuestPolicyRecipesArtifactsRemote = &GuestPolicyRecipesArtifactsRemote{empty: true}

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

func (*GuestPolicyRecipesArtifactsRemote) Empty

func (*GuestPolicyRecipesArtifactsRemote) HashCode

func (*GuestPolicyRecipesArtifactsRemote) String

func (*GuestPolicyRecipesArtifactsRemote) UnmarshalJSON

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

type GuestPolicyRecipesDesiredStateEnum

type GuestPolicyRecipesDesiredStateEnum string

The enum GuestPolicyRecipesDesiredStateEnum.

func GuestPolicyRecipesDesiredStateEnumRef

func GuestPolicyRecipesDesiredStateEnumRef(s string) *GuestPolicyRecipesDesiredStateEnum

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

func (GuestPolicyRecipesDesiredStateEnum) Validate

type GuestPolicyRecipesInstallSteps

type GuestPolicyRecipesInstallSteps struct {
	FileCopy          *GuestPolicyRecipesInstallStepsFileCopy          `json:"fileCopy"`
	ArchiveExtraction *GuestPolicyRecipesInstallStepsArchiveExtraction `json:"archiveExtraction"`
	MsiInstallation   *GuestPolicyRecipesInstallStepsMsiInstallation   `json:"msiInstallation"`
	DpkgInstallation  *GuestPolicyRecipesInstallStepsDpkgInstallation  `json:"dpkgInstallation"`
	RpmInstallation   *GuestPolicyRecipesInstallStepsRpmInstallation   `json:"rpmInstallation"`
	FileExec          *GuestPolicyRecipesInstallStepsFileExec          `json:"fileExec"`
	ScriptRun         *GuestPolicyRecipesInstallStepsScriptRun         `json:"scriptRun"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesInstallSteps *GuestPolicyRecipesInstallSteps = &GuestPolicyRecipesInstallSteps{empty: true}

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

func (*GuestPolicyRecipesInstallSteps) Empty

func (*GuestPolicyRecipesInstallSteps) HashCode

func (r *GuestPolicyRecipesInstallSteps) HashCode() string

func (*GuestPolicyRecipesInstallSteps) String

func (*GuestPolicyRecipesInstallSteps) UnmarshalJSON

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

type GuestPolicyRecipesInstallStepsArchiveExtraction

type GuestPolicyRecipesInstallStepsArchiveExtraction struct {
	ArtifactId  *string                                                  `json:"artifactId"`
	Destination *string                                                  `json:"destination"`
	Type        *GuestPolicyRecipesInstallStepsArchiveExtractionTypeEnum `json:"type"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesInstallStepsArchiveExtraction *GuestPolicyRecipesInstallStepsArchiveExtraction = &GuestPolicyRecipesInstallStepsArchiveExtraction{empty: true}

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

func (*GuestPolicyRecipesInstallStepsArchiveExtraction) Empty

func (*GuestPolicyRecipesInstallStepsArchiveExtraction) HashCode

func (*GuestPolicyRecipesInstallStepsArchiveExtraction) String

func (*GuestPolicyRecipesInstallStepsArchiveExtraction) UnmarshalJSON

type GuestPolicyRecipesInstallStepsArchiveExtractionTypeEnum

type GuestPolicyRecipesInstallStepsArchiveExtractionTypeEnum string

The enum GuestPolicyRecipesInstallStepsArchiveExtractionTypeEnum.

func GuestPolicyRecipesInstallStepsArchiveExtractionTypeEnumRef

func GuestPolicyRecipesInstallStepsArchiveExtractionTypeEnumRef(s string) *GuestPolicyRecipesInstallStepsArchiveExtractionTypeEnum

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

func (GuestPolicyRecipesInstallStepsArchiveExtractionTypeEnum) Validate

type GuestPolicyRecipesInstallStepsDpkgInstallation

type GuestPolicyRecipesInstallStepsDpkgInstallation struct {
	ArtifactId *string `json:"artifactId"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesInstallStepsDpkgInstallation *GuestPolicyRecipesInstallStepsDpkgInstallation = &GuestPolicyRecipesInstallStepsDpkgInstallation{empty: true}

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

func (*GuestPolicyRecipesInstallStepsDpkgInstallation) Empty

func (*GuestPolicyRecipesInstallStepsDpkgInstallation) HashCode

func (*GuestPolicyRecipesInstallStepsDpkgInstallation) String

func (*GuestPolicyRecipesInstallStepsDpkgInstallation) UnmarshalJSON

type GuestPolicyRecipesInstallStepsFileCopy

type GuestPolicyRecipesInstallStepsFileCopy struct {
	ArtifactId  *string `json:"artifactId"`
	Destination *string `json:"destination"`
	Overwrite   *bool   `json:"overwrite"`
	Permissions *string `json:"permissions"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesInstallStepsFileCopy *GuestPolicyRecipesInstallStepsFileCopy = &GuestPolicyRecipesInstallStepsFileCopy{empty: true}

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

func (*GuestPolicyRecipesInstallStepsFileCopy) Empty

func (*GuestPolicyRecipesInstallStepsFileCopy) HashCode

func (*GuestPolicyRecipesInstallStepsFileCopy) String

func (*GuestPolicyRecipesInstallStepsFileCopy) UnmarshalJSON

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

type GuestPolicyRecipesInstallStepsFileExec

type GuestPolicyRecipesInstallStepsFileExec struct {
	ArtifactId       *string  `json:"artifactId"`
	LocalPath        *string  `json:"localPath"`
	Args             []string `json:"args"`
	AllowedExitCodes []int64  `json:"allowedExitCodes"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesInstallStepsFileExec *GuestPolicyRecipesInstallStepsFileExec = &GuestPolicyRecipesInstallStepsFileExec{empty: true}

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

func (*GuestPolicyRecipesInstallStepsFileExec) Empty

func (*GuestPolicyRecipesInstallStepsFileExec) HashCode

func (*GuestPolicyRecipesInstallStepsFileExec) String

func (*GuestPolicyRecipesInstallStepsFileExec) UnmarshalJSON

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

type GuestPolicyRecipesInstallStepsMsiInstallation

type GuestPolicyRecipesInstallStepsMsiInstallation struct {
	ArtifactId       *string  `json:"artifactId"`
	Flags            []string `json:"flags"`
	AllowedExitCodes []int64  `json:"allowedExitCodes"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesInstallStepsMsiInstallation *GuestPolicyRecipesInstallStepsMsiInstallation = &GuestPolicyRecipesInstallStepsMsiInstallation{empty: true}

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

func (*GuestPolicyRecipesInstallStepsMsiInstallation) Empty

func (*GuestPolicyRecipesInstallStepsMsiInstallation) HashCode

func (*GuestPolicyRecipesInstallStepsMsiInstallation) String

func (*GuestPolicyRecipesInstallStepsMsiInstallation) UnmarshalJSON

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

type GuestPolicyRecipesInstallStepsRpmInstallation

type GuestPolicyRecipesInstallStepsRpmInstallation struct {
	ArtifactId *string `json:"artifactId"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesInstallStepsRpmInstallation *GuestPolicyRecipesInstallStepsRpmInstallation = &GuestPolicyRecipesInstallStepsRpmInstallation{empty: true}

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

func (*GuestPolicyRecipesInstallStepsRpmInstallation) Empty

func (*GuestPolicyRecipesInstallStepsRpmInstallation) HashCode

func (*GuestPolicyRecipesInstallStepsRpmInstallation) String

func (*GuestPolicyRecipesInstallStepsRpmInstallation) UnmarshalJSON

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

type GuestPolicyRecipesInstallStepsScriptRun

type GuestPolicyRecipesInstallStepsScriptRun struct {
	Script           *string                                                 `json:"script"`
	AllowedExitCodes []int64                                                 `json:"allowedExitCodes"`
	Interpreter      *GuestPolicyRecipesInstallStepsScriptRunInterpreterEnum `json:"interpreter"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesInstallStepsScriptRun *GuestPolicyRecipesInstallStepsScriptRun = &GuestPolicyRecipesInstallStepsScriptRun{empty: true}

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

func (*GuestPolicyRecipesInstallStepsScriptRun) Empty

func (*GuestPolicyRecipesInstallStepsScriptRun) HashCode

func (*GuestPolicyRecipesInstallStepsScriptRun) String

func (*GuestPolicyRecipesInstallStepsScriptRun) UnmarshalJSON

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

type GuestPolicyRecipesInstallStepsScriptRunInterpreterEnum

type GuestPolicyRecipesInstallStepsScriptRunInterpreterEnum string

The enum GuestPolicyRecipesInstallStepsScriptRunInterpreterEnum.

func GuestPolicyRecipesInstallStepsScriptRunInterpreterEnumRef

func GuestPolicyRecipesInstallStepsScriptRunInterpreterEnumRef(s string) *GuestPolicyRecipesInstallStepsScriptRunInterpreterEnum

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

func (GuestPolicyRecipesInstallStepsScriptRunInterpreterEnum) Validate

type GuestPolicyRecipesUpdateSteps

type GuestPolicyRecipesUpdateSteps struct {
	FileCopy          *GuestPolicyRecipesUpdateStepsFileCopy          `json:"fileCopy"`
	ArchiveExtraction *GuestPolicyRecipesUpdateStepsArchiveExtraction `json:"archiveExtraction"`
	MsiInstallation   *GuestPolicyRecipesUpdateStepsMsiInstallation   `json:"msiInstallation"`
	DpkgInstallation  *GuestPolicyRecipesUpdateStepsDpkgInstallation  `json:"dpkgInstallation"`
	RpmInstallation   *GuestPolicyRecipesUpdateStepsRpmInstallation   `json:"rpmInstallation"`
	FileExec          *GuestPolicyRecipesUpdateStepsFileExec          `json:"fileExec"`
	ScriptRun         *GuestPolicyRecipesUpdateStepsScriptRun         `json:"scriptRun"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesUpdateSteps *GuestPolicyRecipesUpdateSteps = &GuestPolicyRecipesUpdateSteps{empty: true}

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

func (*GuestPolicyRecipesUpdateSteps) Empty

func (*GuestPolicyRecipesUpdateSteps) HashCode

func (r *GuestPolicyRecipesUpdateSteps) HashCode() string

func (*GuestPolicyRecipesUpdateSteps) String

func (*GuestPolicyRecipesUpdateSteps) UnmarshalJSON

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

type GuestPolicyRecipesUpdateStepsArchiveExtraction

type GuestPolicyRecipesUpdateStepsArchiveExtraction struct {
	ArtifactId  *string                                                 `json:"artifactId"`
	Destination *string                                                 `json:"destination"`
	Type        *GuestPolicyRecipesUpdateStepsArchiveExtractionTypeEnum `json:"type"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesUpdateStepsArchiveExtraction *GuestPolicyRecipesUpdateStepsArchiveExtraction = &GuestPolicyRecipesUpdateStepsArchiveExtraction{empty: true}

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

func (*GuestPolicyRecipesUpdateStepsArchiveExtraction) Empty

func (*GuestPolicyRecipesUpdateStepsArchiveExtraction) HashCode

func (*GuestPolicyRecipesUpdateStepsArchiveExtraction) String

func (*GuestPolicyRecipesUpdateStepsArchiveExtraction) UnmarshalJSON

type GuestPolicyRecipesUpdateStepsArchiveExtractionTypeEnum

type GuestPolicyRecipesUpdateStepsArchiveExtractionTypeEnum string

The enum GuestPolicyRecipesUpdateStepsArchiveExtractionTypeEnum.

func GuestPolicyRecipesUpdateStepsArchiveExtractionTypeEnumRef

func GuestPolicyRecipesUpdateStepsArchiveExtractionTypeEnumRef(s string) *GuestPolicyRecipesUpdateStepsArchiveExtractionTypeEnum

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

func (GuestPolicyRecipesUpdateStepsArchiveExtractionTypeEnum) Validate

type GuestPolicyRecipesUpdateStepsDpkgInstallation

type GuestPolicyRecipesUpdateStepsDpkgInstallation struct {
	ArtifactId *string `json:"artifactId"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesUpdateStepsDpkgInstallation *GuestPolicyRecipesUpdateStepsDpkgInstallation = &GuestPolicyRecipesUpdateStepsDpkgInstallation{empty: true}

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

func (*GuestPolicyRecipesUpdateStepsDpkgInstallation) Empty

func (*GuestPolicyRecipesUpdateStepsDpkgInstallation) HashCode

func (*GuestPolicyRecipesUpdateStepsDpkgInstallation) String

func (*GuestPolicyRecipesUpdateStepsDpkgInstallation) UnmarshalJSON

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

type GuestPolicyRecipesUpdateStepsFileCopy

type GuestPolicyRecipesUpdateStepsFileCopy struct {
	ArtifactId  *string `json:"artifactId"`
	Destination *string `json:"destination"`
	Overwrite   *bool   `json:"overwrite"`
	Permissions *string `json:"permissions"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesUpdateStepsFileCopy *GuestPolicyRecipesUpdateStepsFileCopy = &GuestPolicyRecipesUpdateStepsFileCopy{empty: true}

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

func (*GuestPolicyRecipesUpdateStepsFileCopy) Empty

func (*GuestPolicyRecipesUpdateStepsFileCopy) HashCode

func (*GuestPolicyRecipesUpdateStepsFileCopy) String

func (*GuestPolicyRecipesUpdateStepsFileCopy) UnmarshalJSON

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

type GuestPolicyRecipesUpdateStepsFileExec

type GuestPolicyRecipesUpdateStepsFileExec struct {
	ArtifactId       *string  `json:"artifactId"`
	LocalPath        *string  `json:"localPath"`
	Args             []string `json:"args"`
	AllowedExitCodes []int64  `json:"allowedExitCodes"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesUpdateStepsFileExec *GuestPolicyRecipesUpdateStepsFileExec = &GuestPolicyRecipesUpdateStepsFileExec{empty: true}

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

func (*GuestPolicyRecipesUpdateStepsFileExec) Empty

func (*GuestPolicyRecipesUpdateStepsFileExec) HashCode

func (*GuestPolicyRecipesUpdateStepsFileExec) String

func (*GuestPolicyRecipesUpdateStepsFileExec) UnmarshalJSON

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

type GuestPolicyRecipesUpdateStepsMsiInstallation

type GuestPolicyRecipesUpdateStepsMsiInstallation struct {
	ArtifactId       *string  `json:"artifactId"`
	Flags            []string `json:"flags"`
	AllowedExitCodes []int64  `json:"allowedExitCodes"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesUpdateStepsMsiInstallation *GuestPolicyRecipesUpdateStepsMsiInstallation = &GuestPolicyRecipesUpdateStepsMsiInstallation{empty: true}

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

func (*GuestPolicyRecipesUpdateStepsMsiInstallation) Empty

func (*GuestPolicyRecipesUpdateStepsMsiInstallation) HashCode

func (*GuestPolicyRecipesUpdateStepsMsiInstallation) String

func (*GuestPolicyRecipesUpdateStepsMsiInstallation) UnmarshalJSON

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

type GuestPolicyRecipesUpdateStepsRpmInstallation

type GuestPolicyRecipesUpdateStepsRpmInstallation struct {
	ArtifactId *string `json:"artifactId"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesUpdateStepsRpmInstallation *GuestPolicyRecipesUpdateStepsRpmInstallation = &GuestPolicyRecipesUpdateStepsRpmInstallation{empty: true}

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

func (*GuestPolicyRecipesUpdateStepsRpmInstallation) Empty

func (*GuestPolicyRecipesUpdateStepsRpmInstallation) HashCode

func (*GuestPolicyRecipesUpdateStepsRpmInstallation) String

func (*GuestPolicyRecipesUpdateStepsRpmInstallation) UnmarshalJSON

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

type GuestPolicyRecipesUpdateStepsScriptRun

type GuestPolicyRecipesUpdateStepsScriptRun struct {
	Script           *string                                                `json:"script"`
	AllowedExitCodes []int64                                                `json:"allowedExitCodes"`
	Interpreter      *GuestPolicyRecipesUpdateStepsScriptRunInterpreterEnum `json:"interpreter"`
	// contains filtered or unexported fields
}
var EmptyGuestPolicyRecipesUpdateStepsScriptRun *GuestPolicyRecipesUpdateStepsScriptRun = &GuestPolicyRecipesUpdateStepsScriptRun{empty: true}

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

func (*GuestPolicyRecipesUpdateStepsScriptRun) Empty

func (*GuestPolicyRecipesUpdateStepsScriptRun) HashCode

func (*GuestPolicyRecipesUpdateStepsScriptRun) String

func (*GuestPolicyRecipesUpdateStepsScriptRun) UnmarshalJSON

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

type GuestPolicyRecipesUpdateStepsScriptRunInterpreterEnum

type GuestPolicyRecipesUpdateStepsScriptRunInterpreterEnum string

The enum GuestPolicyRecipesUpdateStepsScriptRunInterpreterEnum.

func GuestPolicyRecipesUpdateStepsScriptRunInterpreterEnumRef

func GuestPolicyRecipesUpdateStepsScriptRunInterpreterEnumRef(s string) *GuestPolicyRecipesUpdateStepsScriptRunInterpreterEnum

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

func (GuestPolicyRecipesUpdateStepsScriptRunInterpreterEnum) Validate

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"`
}

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

type PatchDeployment

type PatchDeployment struct {
	Name              *string                           `json:"name"`
	Description       *string                           `json:"description"`
	InstanceFilter    *PatchDeploymentInstanceFilter    `json:"instanceFilter"`
	PatchConfig       *PatchDeploymentPatchConfig       `json:"patchConfig"`
	Duration          *string                           `json:"duration"`
	OneTimeSchedule   *PatchDeploymentOneTimeSchedule   `json:"oneTimeSchedule"`
	RecurringSchedule *PatchDeploymentRecurringSchedule `json:"recurringSchedule"`
	CreateTime        *string                           `json:"createTime"`
	UpdateTime        *string                           `json:"updateTime"`
	LastExecuteTime   *string                           `json:"lastExecuteTime"`
	Rollout           *PatchDeploymentRollout           `json:"rollout"`
	Project           *string                           `json:"project"`
}

func (*PatchDeployment) Describe

func (r *PatchDeployment) Describe() dcl.ServiceTypeVersion

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

func (*PatchDeployment) ID

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

func (*PatchDeployment) String

func (r *PatchDeployment) String() string

type PatchDeploymentInstanceFilter

type PatchDeploymentInstanceFilter struct {
	All                  *bool                                      `json:"all"`
	GroupLabels          []PatchDeploymentInstanceFilterGroupLabels `json:"groupLabels"`
	Zones                []string                                   `json:"zones"`
	Instances            []string                                   `json:"instances"`
	InstanceNamePrefixes []string                                   `json:"instanceNamePrefixes"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentInstanceFilter *PatchDeploymentInstanceFilter = &PatchDeploymentInstanceFilter{empty: true}

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

func (*PatchDeploymentInstanceFilter) Empty

func (*PatchDeploymentInstanceFilter) HashCode

func (r *PatchDeploymentInstanceFilter) HashCode() string

func (*PatchDeploymentInstanceFilter) String

func (*PatchDeploymentInstanceFilter) UnmarshalJSON

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

type PatchDeploymentInstanceFilterGroupLabels

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

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

func (*PatchDeploymentInstanceFilterGroupLabels) Empty

func (*PatchDeploymentInstanceFilterGroupLabels) HashCode

func (*PatchDeploymentInstanceFilterGroupLabels) String

func (*PatchDeploymentInstanceFilterGroupLabels) UnmarshalJSON

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

type PatchDeploymentList

type PatchDeploymentList struct {
	Items []*PatchDeployment
	// contains filtered or unexported fields
}

func (*PatchDeploymentList) HasNext

func (l *PatchDeploymentList) HasNext() bool

func (*PatchDeploymentList) Next

func (l *PatchDeploymentList) Next(ctx context.Context, c *Client) error

type PatchDeploymentOneTimeSchedule

type PatchDeploymentOneTimeSchedule struct {
	ExecuteTime *string `json:"executeTime"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentOneTimeSchedule *PatchDeploymentOneTimeSchedule = &PatchDeploymentOneTimeSchedule{empty: true}

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

func (*PatchDeploymentOneTimeSchedule) Empty

func (*PatchDeploymentOneTimeSchedule) HashCode

func (r *PatchDeploymentOneTimeSchedule) HashCode() string

func (*PatchDeploymentOneTimeSchedule) String

func (*PatchDeploymentOneTimeSchedule) UnmarshalJSON

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

type PatchDeploymentPatchConfig

type PatchDeploymentPatchConfig struct {
	RebootConfig  *PatchDeploymentPatchConfigRebootConfigEnum `json:"rebootConfig"`
	Apt           *PatchDeploymentPatchConfigApt              `json:"apt"`
	Yum           *PatchDeploymentPatchConfigYum              `json:"yum"`
	Goo           *PatchDeploymentPatchConfigGoo              `json:"goo"`
	Zypper        *PatchDeploymentPatchConfigZypper           `json:"zypper"`
	WindowsUpdate *PatchDeploymentPatchConfigWindowsUpdate    `json:"windowsUpdate"`
	PreStep       *PatchDeploymentPatchConfigPreStep          `json:"preStep"`
	PostStep      *PatchDeploymentPatchConfigPostStep         `json:"postStep"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentPatchConfig *PatchDeploymentPatchConfig = &PatchDeploymentPatchConfig{empty: true}

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

func (*PatchDeploymentPatchConfig) Empty

func (r *PatchDeploymentPatchConfig) Empty() bool

func (*PatchDeploymentPatchConfig) HashCode

func (r *PatchDeploymentPatchConfig) HashCode() string

func (*PatchDeploymentPatchConfig) String

func (r *PatchDeploymentPatchConfig) String() string

func (*PatchDeploymentPatchConfig) UnmarshalJSON

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

type PatchDeploymentPatchConfigApt

type PatchDeploymentPatchConfigApt struct {
	Type              *PatchDeploymentPatchConfigAptTypeEnum `json:"type"`
	Excludes          []string                               `json:"excludes"`
	ExclusivePackages []string                               `json:"exclusivePackages"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentPatchConfigApt *PatchDeploymentPatchConfigApt = &PatchDeploymentPatchConfigApt{empty: true}

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

func (*PatchDeploymentPatchConfigApt) Empty

func (*PatchDeploymentPatchConfigApt) HashCode

func (r *PatchDeploymentPatchConfigApt) HashCode() string

func (*PatchDeploymentPatchConfigApt) String

func (*PatchDeploymentPatchConfigApt) UnmarshalJSON

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

type PatchDeploymentPatchConfigAptTypeEnum

type PatchDeploymentPatchConfigAptTypeEnum string

The enum PatchDeploymentPatchConfigAptTypeEnum.

func PatchDeploymentPatchConfigAptTypeEnumRef

func PatchDeploymentPatchConfigAptTypeEnumRef(s string) *PatchDeploymentPatchConfigAptTypeEnum

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

func (PatchDeploymentPatchConfigAptTypeEnum) Validate

type PatchDeploymentPatchConfigGoo

type PatchDeploymentPatchConfigGoo struct {
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentPatchConfigGoo *PatchDeploymentPatchConfigGoo = &PatchDeploymentPatchConfigGoo{empty: true}

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

func (*PatchDeploymentPatchConfigGoo) Empty

func (*PatchDeploymentPatchConfigGoo) HashCode

func (r *PatchDeploymentPatchConfigGoo) HashCode() string

func (*PatchDeploymentPatchConfigGoo) String

func (*PatchDeploymentPatchConfigGoo) UnmarshalJSON

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

type PatchDeploymentPatchConfigPostStep

type PatchDeploymentPatchConfigPostStep struct {
	LinuxExecStepConfig   *PatchDeploymentPatchConfigPostStepLinuxExecStepConfig   `json:"linuxExecStepConfig"`
	WindowsExecStepConfig *PatchDeploymentPatchConfigPostStepWindowsExecStepConfig `json:"windowsExecStepConfig"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentPatchConfigPostStep *PatchDeploymentPatchConfigPostStep = &PatchDeploymentPatchConfigPostStep{empty: true}

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

func (*PatchDeploymentPatchConfigPostStep) Empty

func (*PatchDeploymentPatchConfigPostStep) HashCode

func (*PatchDeploymentPatchConfigPostStep) String

func (*PatchDeploymentPatchConfigPostStep) UnmarshalJSON

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

type PatchDeploymentPatchConfigPostStepLinuxExecStepConfig

type PatchDeploymentPatchConfigPostStepLinuxExecStepConfig struct {
	LocalPath           *string                                                               `json:"localPath"`
	GcsObject           *PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject       `json:"gcsObject"`
	AllowedSuccessCodes []int64                                                               `json:"allowedSuccessCodes"`
	Interpreter         *PatchDeploymentPatchConfigPostStepLinuxExecStepConfigInterpreterEnum `json:"interpreter"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentPatchConfigPostStepLinuxExecStepConfig *PatchDeploymentPatchConfigPostStepLinuxExecStepConfig = &PatchDeploymentPatchConfigPostStepLinuxExecStepConfig{empty: true}

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

func (*PatchDeploymentPatchConfigPostStepLinuxExecStepConfig) Empty

func (*PatchDeploymentPatchConfigPostStepLinuxExecStepConfig) HashCode

func (*PatchDeploymentPatchConfigPostStepLinuxExecStepConfig) String

func (*PatchDeploymentPatchConfigPostStepLinuxExecStepConfig) UnmarshalJSON

type PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject

type PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject struct {
	Bucket           *string `json:"bucket"`
	Object           *string `json:"object"`
	GenerationNumber *int64  `json:"generationNumber"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject *PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject = &PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject{empty: true}

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

func (*PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject) Empty

func (*PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject) HashCode

func (*PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject) String

func (*PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject) UnmarshalJSON

type PatchDeploymentPatchConfigPostStepLinuxExecStepConfigInterpreterEnum

type PatchDeploymentPatchConfigPostStepLinuxExecStepConfigInterpreterEnum string

The enum PatchDeploymentPatchConfigPostStepLinuxExecStepConfigInterpreterEnum.

func PatchDeploymentPatchConfigPostStepLinuxExecStepConfigInterpreterEnumRef

func PatchDeploymentPatchConfigPostStepLinuxExecStepConfigInterpreterEnumRef(s string) *PatchDeploymentPatchConfigPostStepLinuxExecStepConfigInterpreterEnum

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

func (PatchDeploymentPatchConfigPostStepLinuxExecStepConfigInterpreterEnum) Validate

type PatchDeploymentPatchConfigPostStepWindowsExecStepConfig

type PatchDeploymentPatchConfigPostStepWindowsExecStepConfig struct {
	LocalPath           *string                                                                 `json:"localPath"`
	GcsObject           *PatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject       `json:"gcsObject"`
	AllowedSuccessCodes []int64                                                                 `json:"allowedSuccessCodes"`
	Interpreter         *PatchDeploymentPatchConfigPostStepWindowsExecStepConfigInterpreterEnum `json:"interpreter"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentPatchConfigPostStepWindowsExecStepConfig *PatchDeploymentPatchConfigPostStepWindowsExecStepConfig = &PatchDeploymentPatchConfigPostStepWindowsExecStepConfig{empty: true}

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

func (*PatchDeploymentPatchConfigPostStepWindowsExecStepConfig) Empty

func (*PatchDeploymentPatchConfigPostStepWindowsExecStepConfig) HashCode

func (*PatchDeploymentPatchConfigPostStepWindowsExecStepConfig) String

func (*PatchDeploymentPatchConfigPostStepWindowsExecStepConfig) UnmarshalJSON

type PatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject

type PatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject struct {
	Bucket           *string `json:"bucket"`
	Object           *string `json:"object"`
	GenerationNumber *int64  `json:"generationNumber"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject *PatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject = &PatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject{empty: true}

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

func (*PatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject) Empty

func (*PatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject) HashCode

func (*PatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject) String

func (*PatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject) UnmarshalJSON

type PatchDeploymentPatchConfigPostStepWindowsExecStepConfigInterpreterEnum

type PatchDeploymentPatchConfigPostStepWindowsExecStepConfigInterpreterEnum string

The enum PatchDeploymentPatchConfigPostStepWindowsExecStepConfigInterpreterEnum.

func PatchDeploymentPatchConfigPostStepWindowsExecStepConfigInterpreterEnumRef

func PatchDeploymentPatchConfigPostStepWindowsExecStepConfigInterpreterEnumRef(s string) *PatchDeploymentPatchConfigPostStepWindowsExecStepConfigInterpreterEnum

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

func (PatchDeploymentPatchConfigPostStepWindowsExecStepConfigInterpreterEnum) Validate

type PatchDeploymentPatchConfigPreStep

type PatchDeploymentPatchConfigPreStep struct {
	LinuxExecStepConfig   *PatchDeploymentPatchConfigPreStepLinuxExecStepConfig   `json:"linuxExecStepConfig"`
	WindowsExecStepConfig *PatchDeploymentPatchConfigPreStepWindowsExecStepConfig `json:"windowsExecStepConfig"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentPatchConfigPreStep *PatchDeploymentPatchConfigPreStep = &PatchDeploymentPatchConfigPreStep{empty: true}

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

func (*PatchDeploymentPatchConfigPreStep) Empty

func (*PatchDeploymentPatchConfigPreStep) HashCode

func (*PatchDeploymentPatchConfigPreStep) String

func (*PatchDeploymentPatchConfigPreStep) UnmarshalJSON

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

type PatchDeploymentPatchConfigPreStepLinuxExecStepConfig

type PatchDeploymentPatchConfigPreStepLinuxExecStepConfig struct {
	LocalPath           *string                                                              `json:"localPath"`
	GcsObject           *PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject       `json:"gcsObject"`
	AllowedSuccessCodes []int64                                                              `json:"allowedSuccessCodes"`
	Interpreter         *PatchDeploymentPatchConfigPreStepLinuxExecStepConfigInterpreterEnum `json:"interpreter"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentPatchConfigPreStepLinuxExecStepConfig *PatchDeploymentPatchConfigPreStepLinuxExecStepConfig = &PatchDeploymentPatchConfigPreStepLinuxExecStepConfig{empty: true}

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

func (*PatchDeploymentPatchConfigPreStepLinuxExecStepConfig) Empty

func (*PatchDeploymentPatchConfigPreStepLinuxExecStepConfig) HashCode

func (*PatchDeploymentPatchConfigPreStepLinuxExecStepConfig) String

func (*PatchDeploymentPatchConfigPreStepLinuxExecStepConfig) UnmarshalJSON

type PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject

type PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject struct {
	Bucket           *string `json:"bucket"`
	Object           *string `json:"object"`
	GenerationNumber *int64  `json:"generationNumber"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject *PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject = &PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject{empty: true}

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

func (*PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject) Empty

func (*PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject) HashCode

func (*PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject) String

func (*PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject) UnmarshalJSON

type PatchDeploymentPatchConfigPreStepLinuxExecStepConfigInterpreterEnum

type PatchDeploymentPatchConfigPreStepLinuxExecStepConfigInterpreterEnum string

The enum PatchDeploymentPatchConfigPreStepLinuxExecStepConfigInterpreterEnum.

func PatchDeploymentPatchConfigPreStepLinuxExecStepConfigInterpreterEnumRef

func PatchDeploymentPatchConfigPreStepLinuxExecStepConfigInterpreterEnumRef(s string) *PatchDeploymentPatchConfigPreStepLinuxExecStepConfigInterpreterEnum

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

func (PatchDeploymentPatchConfigPreStepLinuxExecStepConfigInterpreterEnum) Validate

type PatchDeploymentPatchConfigPreStepWindowsExecStepConfig

type PatchDeploymentPatchConfigPreStepWindowsExecStepConfig struct {
	LocalPath           *string                                                                `json:"localPath"`
	GcsObject           *PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject       `json:"gcsObject"`
	AllowedSuccessCodes []int64                                                                `json:"allowedSuccessCodes"`
	Interpreter         *PatchDeploymentPatchConfigPreStepWindowsExecStepConfigInterpreterEnum `json:"interpreter"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentPatchConfigPreStepWindowsExecStepConfig *PatchDeploymentPatchConfigPreStepWindowsExecStepConfig = &PatchDeploymentPatchConfigPreStepWindowsExecStepConfig{empty: true}

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

func (*PatchDeploymentPatchConfigPreStepWindowsExecStepConfig) Empty

func (*PatchDeploymentPatchConfigPreStepWindowsExecStepConfig) HashCode

func (*PatchDeploymentPatchConfigPreStepWindowsExecStepConfig) String

func (*PatchDeploymentPatchConfigPreStepWindowsExecStepConfig) UnmarshalJSON

type PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject

type PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject struct {
	Bucket           *string `json:"bucket"`
	Object           *string `json:"object"`
	GenerationNumber *int64  `json:"generationNumber"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject *PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject = &PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject{empty: true}

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

func (*PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject) Empty

func (*PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject) HashCode

func (*PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject) String

func (*PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject) UnmarshalJSON

type PatchDeploymentPatchConfigPreStepWindowsExecStepConfigInterpreterEnum

type PatchDeploymentPatchConfigPreStepWindowsExecStepConfigInterpreterEnum string

The enum PatchDeploymentPatchConfigPreStepWindowsExecStepConfigInterpreterEnum.

func PatchDeploymentPatchConfigPreStepWindowsExecStepConfigInterpreterEnumRef

func PatchDeploymentPatchConfigPreStepWindowsExecStepConfigInterpreterEnumRef(s string) *PatchDeploymentPatchConfigPreStepWindowsExecStepConfigInterpreterEnum

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

func (PatchDeploymentPatchConfigPreStepWindowsExecStepConfigInterpreterEnum) Validate

type PatchDeploymentPatchConfigRebootConfigEnum

type PatchDeploymentPatchConfigRebootConfigEnum string

The enum PatchDeploymentPatchConfigRebootConfigEnum.

func PatchDeploymentPatchConfigRebootConfigEnumRef

func PatchDeploymentPatchConfigRebootConfigEnumRef(s string) *PatchDeploymentPatchConfigRebootConfigEnum

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

func (PatchDeploymentPatchConfigRebootConfigEnum) Validate

type PatchDeploymentPatchConfigWindowsUpdate

type PatchDeploymentPatchConfigWindowsUpdate struct {
	Classifications  []PatchDeploymentPatchConfigWindowsUpdateClassificationsEnum `json:"classifications"`
	Excludes         []string                                                     `json:"excludes"`
	ExclusivePatches []string                                                     `json:"exclusivePatches"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentPatchConfigWindowsUpdate *PatchDeploymentPatchConfigWindowsUpdate = &PatchDeploymentPatchConfigWindowsUpdate{empty: true}

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

func (*PatchDeploymentPatchConfigWindowsUpdate) Empty

func (*PatchDeploymentPatchConfigWindowsUpdate) HashCode

func (*PatchDeploymentPatchConfigWindowsUpdate) String

func (*PatchDeploymentPatchConfigWindowsUpdate) UnmarshalJSON

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

type PatchDeploymentPatchConfigWindowsUpdateClassificationsEnum

type PatchDeploymentPatchConfigWindowsUpdateClassificationsEnum string

The enum PatchDeploymentPatchConfigWindowsUpdateClassificationsEnum.

func PatchDeploymentPatchConfigWindowsUpdateClassificationsEnumRef

func PatchDeploymentPatchConfigWindowsUpdateClassificationsEnumRef(s string) *PatchDeploymentPatchConfigWindowsUpdateClassificationsEnum

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

func (PatchDeploymentPatchConfigWindowsUpdateClassificationsEnum) Validate

type PatchDeploymentPatchConfigYum

type PatchDeploymentPatchConfigYum struct {
	Security          *bool    `json:"security"`
	Minimal           *bool    `json:"minimal"`
	Excludes          []string `json:"excludes"`
	ExclusivePackages []string `json:"exclusivePackages"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentPatchConfigYum *PatchDeploymentPatchConfigYum = &PatchDeploymentPatchConfigYum{empty: true}

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

func (*PatchDeploymentPatchConfigYum) Empty

func (*PatchDeploymentPatchConfigYum) HashCode

func (r *PatchDeploymentPatchConfigYum) HashCode() string

func (*PatchDeploymentPatchConfigYum) String

func (*PatchDeploymentPatchConfigYum) UnmarshalJSON

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

type PatchDeploymentPatchConfigZypper

type PatchDeploymentPatchConfigZypper struct {
	WithOptional     *bool    `json:"withOptional"`
	WithUpdate       *bool    `json:"withUpdate"`
	Categories       []string `json:"categories"`
	Severities       []string `json:"severities"`
	Excludes         []string `json:"excludes"`
	ExclusivePatches []string `json:"exclusivePatches"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentPatchConfigZypper *PatchDeploymentPatchConfigZypper = &PatchDeploymentPatchConfigZypper{empty: true}

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

func (*PatchDeploymentPatchConfigZypper) Empty

func (*PatchDeploymentPatchConfigZypper) HashCode

func (*PatchDeploymentPatchConfigZypper) String

func (*PatchDeploymentPatchConfigZypper) UnmarshalJSON

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

type PatchDeploymentRecurringSchedule

type PatchDeploymentRecurringSchedule struct {
	TimeZone        *PatchDeploymentRecurringScheduleTimeZone      `json:"timeZone"`
	StartTime       *string                                        `json:"startTime"`
	EndTime         *string                                        `json:"endTime"`
	TimeOfDay       *PatchDeploymentRecurringScheduleTimeOfDay     `json:"timeOfDay"`
	Frequency       *PatchDeploymentRecurringScheduleFrequencyEnum `json:"frequency"`
	Weekly          *PatchDeploymentRecurringScheduleWeekly        `json:"weekly"`
	Monthly         *PatchDeploymentRecurringScheduleMonthly       `json:"monthly"`
	LastExecuteTime *string                                        `json:"lastExecuteTime"`
	NextExecuteTime *string                                        `json:"nextExecuteTime"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentRecurringSchedule *PatchDeploymentRecurringSchedule = &PatchDeploymentRecurringSchedule{empty: true}

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

func (*PatchDeploymentRecurringSchedule) Empty

func (*PatchDeploymentRecurringSchedule) HashCode

func (*PatchDeploymentRecurringSchedule) String

func (*PatchDeploymentRecurringSchedule) UnmarshalJSON

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

type PatchDeploymentRecurringScheduleFrequencyEnum

type PatchDeploymentRecurringScheduleFrequencyEnum string

The enum PatchDeploymentRecurringScheduleFrequencyEnum.

func PatchDeploymentRecurringScheduleFrequencyEnumRef

func PatchDeploymentRecurringScheduleFrequencyEnumRef(s string) *PatchDeploymentRecurringScheduleFrequencyEnum

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

func (PatchDeploymentRecurringScheduleFrequencyEnum) Validate

type PatchDeploymentRecurringScheduleMonthly

type PatchDeploymentRecurringScheduleMonthly struct {
	WeekDayOfMonth *PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth `json:"weekDayOfMonth"`
	MonthDay       *int64                                                 `json:"monthDay"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentRecurringScheduleMonthly *PatchDeploymentRecurringScheduleMonthly = &PatchDeploymentRecurringScheduleMonthly{empty: true}

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

func (*PatchDeploymentRecurringScheduleMonthly) Empty

func (*PatchDeploymentRecurringScheduleMonthly) HashCode

func (*PatchDeploymentRecurringScheduleMonthly) String

func (*PatchDeploymentRecurringScheduleMonthly) UnmarshalJSON

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

type PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth

type PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth struct {
	WeekOrdinal *int64                                                              `json:"weekOrdinal"`
	DayOfWeek   *PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonthDayOfWeekEnum `json:"dayOfWeek"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth *PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth = &PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth{empty: true}

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

func (*PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth) Empty

func (*PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth) HashCode

func (*PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth) String

func (*PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth) UnmarshalJSON

type PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonthDayOfWeekEnum

type PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonthDayOfWeekEnum string

The enum PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonthDayOfWeekEnum.

func PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonthDayOfWeekEnumRef

func PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonthDayOfWeekEnumRef(s string) *PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonthDayOfWeekEnum

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

func (PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonthDayOfWeekEnum) Validate

type PatchDeploymentRecurringScheduleTimeOfDay

type PatchDeploymentRecurringScheduleTimeOfDay struct {
	Hours   *int64 `json:"hours"`
	Minutes *int64 `json:"minutes"`
	Seconds *int64 `json:"seconds"`
	Nanos   *int64 `json:"nanos"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentRecurringScheduleTimeOfDay *PatchDeploymentRecurringScheduleTimeOfDay = &PatchDeploymentRecurringScheduleTimeOfDay{empty: true}

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

func (*PatchDeploymentRecurringScheduleTimeOfDay) Empty

func (*PatchDeploymentRecurringScheduleTimeOfDay) HashCode

func (*PatchDeploymentRecurringScheduleTimeOfDay) String

func (*PatchDeploymentRecurringScheduleTimeOfDay) UnmarshalJSON

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

type PatchDeploymentRecurringScheduleTimeZone

type PatchDeploymentRecurringScheduleTimeZone struct {
	Id      *string `json:"id"`
	Version *string `json:"version"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentRecurringScheduleTimeZone *PatchDeploymentRecurringScheduleTimeZone = &PatchDeploymentRecurringScheduleTimeZone{empty: true}

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

func (*PatchDeploymentRecurringScheduleTimeZone) Empty

func (*PatchDeploymentRecurringScheduleTimeZone) HashCode

func (*PatchDeploymentRecurringScheduleTimeZone) String

func (*PatchDeploymentRecurringScheduleTimeZone) UnmarshalJSON

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

type PatchDeploymentRecurringScheduleWeekly

type PatchDeploymentRecurringScheduleWeekly struct {
	DayOfWeek *PatchDeploymentRecurringScheduleWeeklyDayOfWeekEnum `json:"dayOfWeek"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentRecurringScheduleWeekly *PatchDeploymentRecurringScheduleWeekly = &PatchDeploymentRecurringScheduleWeekly{empty: true}

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

func (*PatchDeploymentRecurringScheduleWeekly) Empty

func (*PatchDeploymentRecurringScheduleWeekly) HashCode

func (*PatchDeploymentRecurringScheduleWeekly) String

func (*PatchDeploymentRecurringScheduleWeekly) UnmarshalJSON

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

type PatchDeploymentRecurringScheduleWeeklyDayOfWeekEnum

type PatchDeploymentRecurringScheduleWeeklyDayOfWeekEnum string

The enum PatchDeploymentRecurringScheduleWeeklyDayOfWeekEnum.

func PatchDeploymentRecurringScheduleWeeklyDayOfWeekEnumRef

func PatchDeploymentRecurringScheduleWeeklyDayOfWeekEnumRef(s string) *PatchDeploymentRecurringScheduleWeeklyDayOfWeekEnum

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

func (PatchDeploymentRecurringScheduleWeeklyDayOfWeekEnum) Validate

type PatchDeploymentRollout

type PatchDeploymentRollout struct {
	Mode             *PatchDeploymentRolloutModeEnum         `json:"mode"`
	DisruptionBudget *PatchDeploymentRolloutDisruptionBudget `json:"disruptionBudget"`
	// contains filtered or unexported fields
}
var EmptyPatchDeploymentRollout *PatchDeploymentRollout = &PatchDeploymentRollout{empty: true}

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

func (*PatchDeploymentRollout) Empty

func (r *PatchDeploymentRollout) Empty() bool

func (*PatchDeploymentRollout) HashCode

func (r *PatchDeploymentRollout) HashCode() string

func (*PatchDeploymentRollout) String

func (r *PatchDeploymentRollout) String() string

func (*PatchDeploymentRollout) UnmarshalJSON

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

type PatchDeploymentRolloutDisruptionBudget

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

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

func (*PatchDeploymentRolloutDisruptionBudget) Empty

func (*PatchDeploymentRolloutDisruptionBudget) HashCode

func (*PatchDeploymentRolloutDisruptionBudget) String

func (*PatchDeploymentRolloutDisruptionBudget) UnmarshalJSON

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

type PatchDeploymentRolloutModeEnum

type PatchDeploymentRolloutModeEnum string

The enum PatchDeploymentRolloutModeEnum.

func PatchDeploymentRolloutModeEnumRef

func PatchDeploymentRolloutModeEnumRef(s string) *PatchDeploymentRolloutModeEnum

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

func (PatchDeploymentRolloutModeEnum) Validate

Jump to

Keyboard shortcuts

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