pulumi-gcp 8.25.1__py3-none-any.whl → 8.26.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. pulumi_gcp/__init__.py +48 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +117 -0
  3. pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +81 -26
  4. pulumi_gcp/accesscontextmanager/outputs.py +95 -0
  5. pulumi_gcp/apigee/__init__.py +1 -0
  6. pulumi_gcp/apigee/control_plane_access.py +419 -0
  7. pulumi_gcp/clouddeploy/__init__.py +1 -0
  8. pulumi_gcp/clouddeploy/_inputs.py +2876 -1314
  9. pulumi_gcp/clouddeploy/automation.py +64 -2
  10. pulumi_gcp/clouddeploy/deploy_policy.py +1179 -0
  11. pulumi_gcp/clouddeploy/outputs.py +1130 -5
  12. pulumi_gcp/cloudrunv2/service.py +2 -2
  13. pulumi_gcp/compute/_inputs.py +20 -0
  14. pulumi_gcp/compute/outputs.py +25 -0
  15. pulumi_gcp/compute/resource_policy.py +30 -0
  16. pulumi_gcp/datastream/_inputs.py +506 -0
  17. pulumi_gcp/datastream/outputs.py +376 -0
  18. pulumi_gcp/datastream/stream.py +0 -2
  19. pulumi_gcp/firebase/hosting_version.py +34 -14
  20. pulumi_gcp/folder/__init__.py +1 -0
  21. pulumi_gcp/folder/service_identity.py +340 -0
  22. pulumi_gcp/gemini/__init__.py +2 -0
  23. pulumi_gcp/gemini/_inputs.py +176 -0
  24. pulumi_gcp/gemini/code_tools_setting.py +601 -0
  25. pulumi_gcp/gemini/code_tools_setting_binding.py +753 -0
  26. pulumi_gcp/gemini/outputs.py +124 -0
  27. pulumi_gcp/gkeonprem/v_mware_cluster.py +49 -0
  28. pulumi_gcp/gkeonprem/vmware_admin_cluster.py +28 -0
  29. pulumi_gcp/memorystore/_inputs.py +136 -0
  30. pulumi_gcp/memorystore/get_instance.py +12 -1
  31. pulumi_gcp/memorystore/instance.py +54 -0
  32. pulumi_gcp/memorystore/outputs.py +190 -0
  33. pulumi_gcp/netapp/_inputs.py +89 -3
  34. pulumi_gcp/netapp/outputs.py +75 -2
  35. pulumi_gcp/netapp/volume_replication.py +12 -2
  36. pulumi_gcp/networkconnectivity/service_connection_policy.py +4 -2
  37. pulumi_gcp/osconfig/__init__.py +1 -0
  38. pulumi_gcp/osconfig/_inputs.py +5439 -0
  39. pulumi_gcp/osconfig/outputs.py +3978 -0
  40. pulumi_gcp/osconfig/v2_policy_orchestrator_for_organization.py +1047 -0
  41. pulumi_gcp/parametermanager/get_regional_parameter.py +12 -1
  42. pulumi_gcp/parametermanager/get_regional_parameter_version.py +15 -1
  43. pulumi_gcp/parametermanager/outputs.py +11 -0
  44. pulumi_gcp/parametermanager/regional_parameter.py +78 -0
  45. pulumi_gcp/parametermanager/regional_parameter_version.py +66 -0
  46. pulumi_gcp/pulumi-plugin.json +1 -1
  47. pulumi_gcp/spanner/database.py +0 -34
  48. pulumi_gcp/storage/bucket_object.py +28 -0
  49. pulumi_gcp/storage/get_bucket_object.py +12 -1
  50. pulumi_gcp/storage/get_bucket_object_content.py +12 -1
  51. pulumi_gcp/workbench/_inputs.py +60 -0
  52. pulumi_gcp/workbench/instance.py +48 -0
  53. pulumi_gcp/workbench/outputs.py +55 -0
  54. {pulumi_gcp-8.25.1.dist-info → pulumi_gcp-8.26.0.dist-info}/METADATA +1 -1
  55. {pulumi_gcp-8.25.1.dist-info → pulumi_gcp-8.26.0.dist-info}/RECORD +57 -51
  56. {pulumi_gcp-8.25.1.dist-info → pulumi_gcp-8.26.0.dist-info}/WHEEL +0 -0
  57. {pulumi_gcp-8.25.1.dist-info → pulumi_gcp-8.26.0.dist-info}/top_level.txt +0 -0
@@ -118,6 +118,64 @@ __all__ = [
118
118
  'PatchDeploymentRecurringScheduleWeekly',
119
119
  'PatchDeploymentRollout',
120
120
  'PatchDeploymentRolloutDisruptionBudget',
121
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResource',
122
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1Payload',
123
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilter',
124
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterExclusionLabel',
125
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterInclusionLabel',
126
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterInventory',
127
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicy',
128
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroup',
129
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupInventoryFilter',
130
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResource',
131
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExec',
132
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforce',
133
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFile',
134
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFileGcs',
135
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFileRemote',
136
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidate',
137
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFile',
138
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFileGcs',
139
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFileRemote',
140
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFile',
141
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFile',
142
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFileGcs',
143
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFileRemote',
144
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkg',
145
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgApt',
146
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDeb',
147
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSource',
148
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSourceGcs',
149
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSourceRemote',
150
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgGooget',
151
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsi',
152
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSource',
153
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSourceGcs',
154
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSourceRemote',
155
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpm',
156
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSource',
157
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSourceGcs',
158
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSourceRemote',
159
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgYum',
160
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgZypper',
161
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepository',
162
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryApt',
163
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryGoo',
164
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryYum',
165
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryZypper',
166
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadRollout',
167
+ 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadRolloutDisruptionBudget',
168
+ 'V2PolicyOrchestratorForOrganizationOrchestrationScope',
169
+ 'V2PolicyOrchestratorForOrganizationOrchestrationScopeSelector',
170
+ 'V2PolicyOrchestratorForOrganizationOrchestrationScopeSelectorLocationSelector',
171
+ 'V2PolicyOrchestratorForOrganizationOrchestrationScopeSelectorResourceHierarchySelector',
172
+ 'V2PolicyOrchestratorForOrganizationOrchestrationState',
173
+ 'V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationState',
174
+ 'V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationStateError',
175
+ 'V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationStateErrorDetail',
176
+ 'V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationState',
177
+ 'V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationStateError',
178
+ 'V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationStateErrorDetail',
121
179
  'V2PolicyOrchestratorOrchestratedResource',
122
180
  'V2PolicyOrchestratorOrchestratedResourceOsPolicyAssignmentV1Payload',
123
181
  'V2PolicyOrchestratorOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilter',
@@ -6649,6 +6707,3926 @@ class PatchDeploymentRolloutDisruptionBudget(dict):
6649
6707
  return pulumi.get(self, "percentage")
6650
6708
 
6651
6709
 
6710
+ @pulumi.output_type
6711
+ class V2PolicyOrchestratorForOrganizationOrchestratedResource(dict):
6712
+ @staticmethod
6713
+ def __key_warning(key: str):
6714
+ suggest = None
6715
+ if key == "osPolicyAssignmentV1Payload":
6716
+ suggest = "os_policy_assignment_v1_payload"
6717
+
6718
+ if suggest:
6719
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResource. Access the value via the '{suggest}' property getter instead.")
6720
+
6721
+ def __getitem__(self, key: str) -> Any:
6722
+ V2PolicyOrchestratorForOrganizationOrchestratedResource.__key_warning(key)
6723
+ return super().__getitem__(key)
6724
+
6725
+ def get(self, key: str, default = None) -> Any:
6726
+ V2PolicyOrchestratorForOrganizationOrchestratedResource.__key_warning(key)
6727
+ return super().get(key, default)
6728
+
6729
+ def __init__(__self__, *,
6730
+ id: Optional[builtins.str] = None,
6731
+ os_policy_assignment_v1_payload: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1Payload'] = None):
6732
+ """
6733
+ :param builtins.str id: Optional. ID of the resource to be used while generating set of affected resources.
6734
+ For UPSERT action the value is auto-generated during PolicyOrchestrator
6735
+ creation when not set. When the value is set it should following next
6736
+ restrictions:
6737
+ * Must contain only lowercase letters, numbers, and hyphens.
6738
+ * Must start with a letter.
6739
+ * Must be between 1-63 characters.
6740
+ * Must end with a number or a letter.
6741
+ * Must be unique within the project.
6742
+ For DELETE action, ID must be specified explicitly during
6743
+ PolicyOrchestrator creation.
6744
+
6745
+
6746
+ <a name="nested_orchestrated_resource_os_policy_assignment_v1_payload"></a>The `os_policy_assignment_v1_payload` block supports:
6747
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadArgs' os_policy_assignment_v1_payload: OS policy assignment is an API resource that is used to
6748
+ apply a set of OS policies to a dynamically targeted group of Compute Engine
6749
+ VM instances.
6750
+ An OS policy is used to define the desired state configuration for a
6751
+ Compute Engine VM instance through a set of configuration resources that
6752
+ provide capabilities such as installing or removing software packages, or
6753
+ executing a script.
6754
+ For more information about the OS policy resource definitions and examples,
6755
+ see
6756
+ [OS policy and OS policy
6757
+ assignment](https://cloud.google.com/compute/docs/os-configuration-management/working-with-os-policies).
6758
+ Structure is documented below.
6759
+ """
6760
+ if id is not None:
6761
+ pulumi.set(__self__, "id", id)
6762
+ if os_policy_assignment_v1_payload is not None:
6763
+ pulumi.set(__self__, "os_policy_assignment_v1_payload", os_policy_assignment_v1_payload)
6764
+
6765
+ @property
6766
+ @pulumi.getter
6767
+ def id(self) -> Optional[builtins.str]:
6768
+ """
6769
+ Optional. ID of the resource to be used while generating set of affected resources.
6770
+ For UPSERT action the value is auto-generated during PolicyOrchestrator
6771
+ creation when not set. When the value is set it should following next
6772
+ restrictions:
6773
+ * Must contain only lowercase letters, numbers, and hyphens.
6774
+ * Must start with a letter.
6775
+ * Must be between 1-63 characters.
6776
+ * Must end with a number or a letter.
6777
+ * Must be unique within the project.
6778
+ For DELETE action, ID must be specified explicitly during
6779
+ PolicyOrchestrator creation.
6780
+
6781
+
6782
+ <a name="nested_orchestrated_resource_os_policy_assignment_v1_payload"></a>The `os_policy_assignment_v1_payload` block supports:
6783
+ """
6784
+ return pulumi.get(self, "id")
6785
+
6786
+ @property
6787
+ @pulumi.getter(name="osPolicyAssignmentV1Payload")
6788
+ def os_policy_assignment_v1_payload(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1Payload']:
6789
+ """
6790
+ OS policy assignment is an API resource that is used to
6791
+ apply a set of OS policies to a dynamically targeted group of Compute Engine
6792
+ VM instances.
6793
+ An OS policy is used to define the desired state configuration for a
6794
+ Compute Engine VM instance through a set of configuration resources that
6795
+ provide capabilities such as installing or removing software packages, or
6796
+ executing a script.
6797
+ For more information about the OS policy resource definitions and examples,
6798
+ see
6799
+ [OS policy and OS policy
6800
+ assignment](https://cloud.google.com/compute/docs/os-configuration-management/working-with-os-policies).
6801
+ Structure is documented below.
6802
+ """
6803
+ return pulumi.get(self, "os_policy_assignment_v1_payload")
6804
+
6805
+
6806
+ @pulumi.output_type
6807
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1Payload(dict):
6808
+ @staticmethod
6809
+ def __key_warning(key: str):
6810
+ suggest = None
6811
+ if key == "instanceFilter":
6812
+ suggest = "instance_filter"
6813
+ elif key == "osPolicies":
6814
+ suggest = "os_policies"
6815
+ elif key == "revisionCreateTime":
6816
+ suggest = "revision_create_time"
6817
+ elif key == "revisionId":
6818
+ suggest = "revision_id"
6819
+ elif key == "rolloutState":
6820
+ suggest = "rollout_state"
6821
+
6822
+ if suggest:
6823
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1Payload. Access the value via the '{suggest}' property getter instead.")
6824
+
6825
+ def __getitem__(self, key: str) -> Any:
6826
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1Payload.__key_warning(key)
6827
+ return super().__getitem__(key)
6828
+
6829
+ def get(self, key: str, default = None) -> Any:
6830
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1Payload.__key_warning(key)
6831
+ return super().get(key, default)
6832
+
6833
+ def __init__(__self__, *,
6834
+ instance_filter: 'outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilter',
6835
+ os_policies: Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicy'],
6836
+ rollout: 'outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadRollout',
6837
+ baseline: Optional[builtins.bool] = None,
6838
+ deleted: Optional[builtins.bool] = None,
6839
+ description: Optional[builtins.str] = None,
6840
+ etag: Optional[builtins.str] = None,
6841
+ name: Optional[builtins.str] = None,
6842
+ reconciling: Optional[builtins.bool] = None,
6843
+ revision_create_time: Optional[builtins.str] = None,
6844
+ revision_id: Optional[builtins.str] = None,
6845
+ rollout_state: Optional[builtins.str] = None,
6846
+ uid: Optional[builtins.str] = None):
6847
+ """
6848
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterArgs' instance_filter: Filters to select target VMs for an assignment.
6849
+
6850
+ If more than one filter criteria is specified below, a VM will be selected
6851
+ if and only if it satisfies all of them.
6852
+ :param Sequence['V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyArgs'] os_policies: Required. List of OS policies to be applied to the VMs.
6853
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadRolloutArgs' rollout: Message to configure the rollout at the zonal level for the OS policy
6854
+ assignment.
6855
+ :param builtins.bool baseline: Output only. Indicates that this revision has been successfully rolled out in this zone
6856
+ and new VMs will be assigned OS policies from this revision.
6857
+
6858
+ For a given OS policy assignment, there is only one revision with a value
6859
+ of 'true' for this field.
6860
+ :param builtins.bool deleted: Output only. Indicates that this revision deletes the OS policy assignment.
6861
+ :param builtins.str description: OS policy assignment description.
6862
+ Length of the description is limited to 1024 characters.
6863
+ :param builtins.str etag: Output only. This checksum is computed by the server based on the value of other
6864
+ fields, and may be sent on update and delete requests to ensure the
6865
+ client has an up-to-date value before proceeding.
6866
+ :param builtins.str name: Immutable. Identifier. In form of
6867
+ * `organizations/{organization_id}/locations/global/policyOrchestrators/{orchestrator_id}`
6868
+ * `folders/{folder_id}/locations/global/policyOrchestrators/{orchestrator_id}`
6869
+ * `projects/{project_id_or_number}/locations/global/policyOrchestrators/{orchestrator_id}`
6870
+ :param builtins.bool reconciling: Output only. Set to true, if the there are ongoing changes being applied by the
6871
+ orchestrator.
6872
+ :param builtins.str revision_create_time: Output only. The timestamp that the revision was created.
6873
+ :param builtins.str revision_id: Output only. The assignment revision ID
6874
+ A new revision is committed whenever a rollout is triggered for a OS policy
6875
+ assignment
6876
+ :param builtins.str rollout_state: Output only. OS policy assignment rollout state
6877
+ Possible values:
6878
+ ROLLOUT_STATE_UNSPECIFIED
6879
+ IN_PROGRESS
6880
+ CANCELLING
6881
+ CANCELLED
6882
+ SUCCEEDED
6883
+ :param builtins.str uid: Output only. Server generated unique id for the OS policy assignment resource.
6884
+ """
6885
+ pulumi.set(__self__, "instance_filter", instance_filter)
6886
+ pulumi.set(__self__, "os_policies", os_policies)
6887
+ pulumi.set(__self__, "rollout", rollout)
6888
+ if baseline is not None:
6889
+ pulumi.set(__self__, "baseline", baseline)
6890
+ if deleted is not None:
6891
+ pulumi.set(__self__, "deleted", deleted)
6892
+ if description is not None:
6893
+ pulumi.set(__self__, "description", description)
6894
+ if etag is not None:
6895
+ pulumi.set(__self__, "etag", etag)
6896
+ if name is not None:
6897
+ pulumi.set(__self__, "name", name)
6898
+ if reconciling is not None:
6899
+ pulumi.set(__self__, "reconciling", reconciling)
6900
+ if revision_create_time is not None:
6901
+ pulumi.set(__self__, "revision_create_time", revision_create_time)
6902
+ if revision_id is not None:
6903
+ pulumi.set(__self__, "revision_id", revision_id)
6904
+ if rollout_state is not None:
6905
+ pulumi.set(__self__, "rollout_state", rollout_state)
6906
+ if uid is not None:
6907
+ pulumi.set(__self__, "uid", uid)
6908
+
6909
+ @property
6910
+ @pulumi.getter(name="instanceFilter")
6911
+ def instance_filter(self) -> 'outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilter':
6912
+ """
6913
+ Filters to select target VMs for an assignment.
6914
+
6915
+ If more than one filter criteria is specified below, a VM will be selected
6916
+ if and only if it satisfies all of them.
6917
+ """
6918
+ return pulumi.get(self, "instance_filter")
6919
+
6920
+ @property
6921
+ @pulumi.getter(name="osPolicies")
6922
+ def os_policies(self) -> Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicy']:
6923
+ """
6924
+ Required. List of OS policies to be applied to the VMs.
6925
+ """
6926
+ return pulumi.get(self, "os_policies")
6927
+
6928
+ @property
6929
+ @pulumi.getter
6930
+ def rollout(self) -> 'outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadRollout':
6931
+ """
6932
+ Message to configure the rollout at the zonal level for the OS policy
6933
+ assignment.
6934
+ """
6935
+ return pulumi.get(self, "rollout")
6936
+
6937
+ @property
6938
+ @pulumi.getter
6939
+ def baseline(self) -> Optional[builtins.bool]:
6940
+ """
6941
+ Output only. Indicates that this revision has been successfully rolled out in this zone
6942
+ and new VMs will be assigned OS policies from this revision.
6943
+
6944
+ For a given OS policy assignment, there is only one revision with a value
6945
+ of 'true' for this field.
6946
+ """
6947
+ return pulumi.get(self, "baseline")
6948
+
6949
+ @property
6950
+ @pulumi.getter
6951
+ def deleted(self) -> Optional[builtins.bool]:
6952
+ """
6953
+ Output only. Indicates that this revision deletes the OS policy assignment.
6954
+ """
6955
+ return pulumi.get(self, "deleted")
6956
+
6957
+ @property
6958
+ @pulumi.getter
6959
+ def description(self) -> Optional[builtins.str]:
6960
+ """
6961
+ OS policy assignment description.
6962
+ Length of the description is limited to 1024 characters.
6963
+ """
6964
+ return pulumi.get(self, "description")
6965
+
6966
+ @property
6967
+ @pulumi.getter
6968
+ def etag(self) -> Optional[builtins.str]:
6969
+ """
6970
+ Output only. This checksum is computed by the server based on the value of other
6971
+ fields, and may be sent on update and delete requests to ensure the
6972
+ client has an up-to-date value before proceeding.
6973
+ """
6974
+ return pulumi.get(self, "etag")
6975
+
6976
+ @property
6977
+ @pulumi.getter
6978
+ def name(self) -> Optional[builtins.str]:
6979
+ """
6980
+ Immutable. Identifier. In form of
6981
+ * `organizations/{organization_id}/locations/global/policyOrchestrators/{orchestrator_id}`
6982
+ * `folders/{folder_id}/locations/global/policyOrchestrators/{orchestrator_id}`
6983
+ * `projects/{project_id_or_number}/locations/global/policyOrchestrators/{orchestrator_id}`
6984
+ """
6985
+ return pulumi.get(self, "name")
6986
+
6987
+ @property
6988
+ @pulumi.getter
6989
+ def reconciling(self) -> Optional[builtins.bool]:
6990
+ """
6991
+ Output only. Set to true, if the there are ongoing changes being applied by the
6992
+ orchestrator.
6993
+ """
6994
+ return pulumi.get(self, "reconciling")
6995
+
6996
+ @property
6997
+ @pulumi.getter(name="revisionCreateTime")
6998
+ def revision_create_time(self) -> Optional[builtins.str]:
6999
+ """
7000
+ Output only. The timestamp that the revision was created.
7001
+ """
7002
+ return pulumi.get(self, "revision_create_time")
7003
+
7004
+ @property
7005
+ @pulumi.getter(name="revisionId")
7006
+ def revision_id(self) -> Optional[builtins.str]:
7007
+ """
7008
+ Output only. The assignment revision ID
7009
+ A new revision is committed whenever a rollout is triggered for a OS policy
7010
+ assignment
7011
+ """
7012
+ return pulumi.get(self, "revision_id")
7013
+
7014
+ @property
7015
+ @pulumi.getter(name="rolloutState")
7016
+ def rollout_state(self) -> Optional[builtins.str]:
7017
+ """
7018
+ Output only. OS policy assignment rollout state
7019
+ Possible values:
7020
+ ROLLOUT_STATE_UNSPECIFIED
7021
+ IN_PROGRESS
7022
+ CANCELLING
7023
+ CANCELLED
7024
+ SUCCEEDED
7025
+ """
7026
+ return pulumi.get(self, "rollout_state")
7027
+
7028
+ @property
7029
+ @pulumi.getter
7030
+ def uid(self) -> Optional[builtins.str]:
7031
+ """
7032
+ Output only. Server generated unique id for the OS policy assignment resource.
7033
+ """
7034
+ return pulumi.get(self, "uid")
7035
+
7036
+
7037
+ @pulumi.output_type
7038
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilter(dict):
7039
+ @staticmethod
7040
+ def __key_warning(key: str):
7041
+ suggest = None
7042
+ if key == "exclusionLabels":
7043
+ suggest = "exclusion_labels"
7044
+ elif key == "inclusionLabels":
7045
+ suggest = "inclusion_labels"
7046
+
7047
+ if suggest:
7048
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilter. Access the value via the '{suggest}' property getter instead.")
7049
+
7050
+ def __getitem__(self, key: str) -> Any:
7051
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilter.__key_warning(key)
7052
+ return super().__getitem__(key)
7053
+
7054
+ def get(self, key: str, default = None) -> Any:
7055
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilter.__key_warning(key)
7056
+ return super().get(key, default)
7057
+
7058
+ def __init__(__self__, *,
7059
+ all: Optional[builtins.bool] = None,
7060
+ exclusion_labels: Optional[Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterExclusionLabel']] = None,
7061
+ inclusion_labels: Optional[Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterInclusionLabel']] = None,
7062
+ inventories: Optional[Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterInventory']] = None):
7063
+ """
7064
+ :param builtins.bool all: Target all VMs in the project. If true, no other criteria is
7065
+ permitted.
7066
+ :param Sequence['V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterExclusionLabelArgs'] exclusion_labels: List of label sets used for VM exclusion.
7067
+ If the list has more than one label set, the VM is excluded if any
7068
+ of the label sets are applicable for the VM.
7069
+ Structure is documented below.
7070
+ :param Sequence['V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterInclusionLabelArgs'] inclusion_labels: List of label sets used for VM inclusion.
7071
+ If the list has more than one `LabelSet`, the VM is included if any
7072
+ of the label sets are applicable for the VM.
7073
+ Structure is documented below.
7074
+ :param Sequence['V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterInventoryArgs'] inventories: List of inventories to select VMs.
7075
+ A VM is selected if its inventory data matches at least one of the
7076
+ following inventories.
7077
+ Structure is documented below.
7078
+ """
7079
+ if all is not None:
7080
+ pulumi.set(__self__, "all", all)
7081
+ if exclusion_labels is not None:
7082
+ pulumi.set(__self__, "exclusion_labels", exclusion_labels)
7083
+ if inclusion_labels is not None:
7084
+ pulumi.set(__self__, "inclusion_labels", inclusion_labels)
7085
+ if inventories is not None:
7086
+ pulumi.set(__self__, "inventories", inventories)
7087
+
7088
+ @property
7089
+ @pulumi.getter
7090
+ def all(self) -> Optional[builtins.bool]:
7091
+ """
7092
+ Target all VMs in the project. If true, no other criteria is
7093
+ permitted.
7094
+ """
7095
+ return pulumi.get(self, "all")
7096
+
7097
+ @property
7098
+ @pulumi.getter(name="exclusionLabels")
7099
+ def exclusion_labels(self) -> Optional[Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterExclusionLabel']]:
7100
+ """
7101
+ List of label sets used for VM exclusion.
7102
+ If the list has more than one label set, the VM is excluded if any
7103
+ of the label sets are applicable for the VM.
7104
+ Structure is documented below.
7105
+ """
7106
+ return pulumi.get(self, "exclusion_labels")
7107
+
7108
+ @property
7109
+ @pulumi.getter(name="inclusionLabels")
7110
+ def inclusion_labels(self) -> Optional[Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterInclusionLabel']]:
7111
+ """
7112
+ List of label sets used for VM inclusion.
7113
+ If the list has more than one `LabelSet`, the VM is included if any
7114
+ of the label sets are applicable for the VM.
7115
+ Structure is documented below.
7116
+ """
7117
+ return pulumi.get(self, "inclusion_labels")
7118
+
7119
+ @property
7120
+ @pulumi.getter
7121
+ def inventories(self) -> Optional[Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterInventory']]:
7122
+ """
7123
+ List of inventories to select VMs.
7124
+ A VM is selected if its inventory data matches at least one of the
7125
+ following inventories.
7126
+ Structure is documented below.
7127
+ """
7128
+ return pulumi.get(self, "inventories")
7129
+
7130
+
7131
+ @pulumi.output_type
7132
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterExclusionLabel(dict):
7133
+ def __init__(__self__, *,
7134
+ labels: Optional[Mapping[str, builtins.str]] = None):
7135
+ """
7136
+ :param Mapping[str, builtins.str] labels: Labels are identified by key/value pairs in this map.
7137
+ A VM should contain all the key/value pairs specified in this
7138
+ map to be selected.
7139
+ """
7140
+ if labels is not None:
7141
+ pulumi.set(__self__, "labels", labels)
7142
+
7143
+ @property
7144
+ @pulumi.getter
7145
+ def labels(self) -> Optional[Mapping[str, builtins.str]]:
7146
+ """
7147
+ Labels are identified by key/value pairs in this map.
7148
+ A VM should contain all the key/value pairs specified in this
7149
+ map to be selected.
7150
+ """
7151
+ return pulumi.get(self, "labels")
7152
+
7153
+
7154
+ @pulumi.output_type
7155
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterInclusionLabel(dict):
7156
+ def __init__(__self__, *,
7157
+ labels: Optional[Mapping[str, builtins.str]] = None):
7158
+ """
7159
+ :param Mapping[str, builtins.str] labels: Labels are identified by key/value pairs in this map.
7160
+ A VM should contain all the key/value pairs specified in this
7161
+ map to be selected.
7162
+ """
7163
+ if labels is not None:
7164
+ pulumi.set(__self__, "labels", labels)
7165
+
7166
+ @property
7167
+ @pulumi.getter
7168
+ def labels(self) -> Optional[Mapping[str, builtins.str]]:
7169
+ """
7170
+ Labels are identified by key/value pairs in this map.
7171
+ A VM should contain all the key/value pairs specified in this
7172
+ map to be selected.
7173
+ """
7174
+ return pulumi.get(self, "labels")
7175
+
7176
+
7177
+ @pulumi.output_type
7178
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterInventory(dict):
7179
+ @staticmethod
7180
+ def __key_warning(key: str):
7181
+ suggest = None
7182
+ if key == "osShortName":
7183
+ suggest = "os_short_name"
7184
+ elif key == "osVersion":
7185
+ suggest = "os_version"
7186
+
7187
+ if suggest:
7188
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterInventory. Access the value via the '{suggest}' property getter instead.")
7189
+
7190
+ def __getitem__(self, key: str) -> Any:
7191
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterInventory.__key_warning(key)
7192
+ return super().__getitem__(key)
7193
+
7194
+ def get(self, key: str, default = None) -> Any:
7195
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadInstanceFilterInventory.__key_warning(key)
7196
+ return super().get(key, default)
7197
+
7198
+ def __init__(__self__, *,
7199
+ os_short_name: builtins.str,
7200
+ os_version: Optional[builtins.str] = None):
7201
+ """
7202
+ :param builtins.str os_short_name: Required. The OS short name
7203
+ :param builtins.str os_version: The OS version
7204
+ Prefix matches are supported if asterisk(*) is provided as the
7205
+ last character. For example, to match all versions with a major
7206
+ version of `7`, specify the following value for this field `7.*`
7207
+ An empty string matches all OS versions.
7208
+ """
7209
+ pulumi.set(__self__, "os_short_name", os_short_name)
7210
+ if os_version is not None:
7211
+ pulumi.set(__self__, "os_version", os_version)
7212
+
7213
+ @property
7214
+ @pulumi.getter(name="osShortName")
7215
+ def os_short_name(self) -> builtins.str:
7216
+ """
7217
+ Required. The OS short name
7218
+ """
7219
+ return pulumi.get(self, "os_short_name")
7220
+
7221
+ @property
7222
+ @pulumi.getter(name="osVersion")
7223
+ def os_version(self) -> Optional[builtins.str]:
7224
+ """
7225
+ The OS version
7226
+ Prefix matches are supported if asterisk(*) is provided as the
7227
+ last character. For example, to match all versions with a major
7228
+ version of `7`, specify the following value for this field `7.*`
7229
+ An empty string matches all OS versions.
7230
+ """
7231
+ return pulumi.get(self, "os_version")
7232
+
7233
+
7234
+ @pulumi.output_type
7235
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicy(dict):
7236
+ @staticmethod
7237
+ def __key_warning(key: str):
7238
+ suggest = None
7239
+ if key == "resourceGroups":
7240
+ suggest = "resource_groups"
7241
+ elif key == "allowNoResourceGroupMatch":
7242
+ suggest = "allow_no_resource_group_match"
7243
+
7244
+ if suggest:
7245
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicy. Access the value via the '{suggest}' property getter instead.")
7246
+
7247
+ def __getitem__(self, key: str) -> Any:
7248
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicy.__key_warning(key)
7249
+ return super().__getitem__(key)
7250
+
7251
+ def get(self, key: str, default = None) -> Any:
7252
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicy.__key_warning(key)
7253
+ return super().get(key, default)
7254
+
7255
+ def __init__(__self__, *,
7256
+ id: builtins.str,
7257
+ mode: builtins.str,
7258
+ resource_groups: Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroup'],
7259
+ allow_no_resource_group_match: Optional[builtins.bool] = None,
7260
+ description: Optional[builtins.str] = None):
7261
+ """
7262
+ :param builtins.str id: Required. The id of the OS policy with the following restrictions:
7263
+ * Must contain only lowercase letters, numbers, and hyphens.
7264
+ * Must start with a letter.
7265
+ * Must be between 1-63 characters.
7266
+ * Must end with a number or a letter.
7267
+ * Must be unique within the assignment.
7268
+ :param builtins.str mode: Required. Policy mode
7269
+ Possible values:
7270
+ MODE_UNSPECIFIED
7271
+ VALIDATION
7272
+ ENFORCEMENT
7273
+ :param Sequence['V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupArgs'] resource_groups: Required. List of resource groups for the policy.
7274
+ For a particular VM, resource groups are evaluated in the order specified
7275
+ and the first resource group that is applicable is selected and the rest
7276
+ are ignored.
7277
+ If none of the resource groups are applicable for a VM, the VM is
7278
+ considered to be non-compliant w.r.t this policy. This behavior can be
7279
+ toggled by the flag `allow_no_resource_group_match`
7280
+ Structure is documented below.
7281
+ :param builtins.bool allow_no_resource_group_match: This flag determines the OS policy compliance status when none of the
7282
+ resource groups within the policy are applicable for a VM. Set this value
7283
+ to `true` if the policy needs to be reported as compliant even if the
7284
+ policy has nothing to validate or enforce.
7285
+ :param builtins.str description: Policy description.
7286
+ Length of the description is limited to 1024 characters.
7287
+ """
7288
+ pulumi.set(__self__, "id", id)
7289
+ pulumi.set(__self__, "mode", mode)
7290
+ pulumi.set(__self__, "resource_groups", resource_groups)
7291
+ if allow_no_resource_group_match is not None:
7292
+ pulumi.set(__self__, "allow_no_resource_group_match", allow_no_resource_group_match)
7293
+ if description is not None:
7294
+ pulumi.set(__self__, "description", description)
7295
+
7296
+ @property
7297
+ @pulumi.getter
7298
+ def id(self) -> builtins.str:
7299
+ """
7300
+ Required. The id of the OS policy with the following restrictions:
7301
+ * Must contain only lowercase letters, numbers, and hyphens.
7302
+ * Must start with a letter.
7303
+ * Must be between 1-63 characters.
7304
+ * Must end with a number or a letter.
7305
+ * Must be unique within the assignment.
7306
+ """
7307
+ return pulumi.get(self, "id")
7308
+
7309
+ @property
7310
+ @pulumi.getter
7311
+ def mode(self) -> builtins.str:
7312
+ """
7313
+ Required. Policy mode
7314
+ Possible values:
7315
+ MODE_UNSPECIFIED
7316
+ VALIDATION
7317
+ ENFORCEMENT
7318
+ """
7319
+ return pulumi.get(self, "mode")
7320
+
7321
+ @property
7322
+ @pulumi.getter(name="resourceGroups")
7323
+ def resource_groups(self) -> Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroup']:
7324
+ """
7325
+ Required. List of resource groups for the policy.
7326
+ For a particular VM, resource groups are evaluated in the order specified
7327
+ and the first resource group that is applicable is selected and the rest
7328
+ are ignored.
7329
+ If none of the resource groups are applicable for a VM, the VM is
7330
+ considered to be non-compliant w.r.t this policy. This behavior can be
7331
+ toggled by the flag `allow_no_resource_group_match`
7332
+ Structure is documented below.
7333
+ """
7334
+ return pulumi.get(self, "resource_groups")
7335
+
7336
+ @property
7337
+ @pulumi.getter(name="allowNoResourceGroupMatch")
7338
+ def allow_no_resource_group_match(self) -> Optional[builtins.bool]:
7339
+ """
7340
+ This flag determines the OS policy compliance status when none of the
7341
+ resource groups within the policy are applicable for a VM. Set this value
7342
+ to `true` if the policy needs to be reported as compliant even if the
7343
+ policy has nothing to validate or enforce.
7344
+ """
7345
+ return pulumi.get(self, "allow_no_resource_group_match")
7346
+
7347
+ @property
7348
+ @pulumi.getter
7349
+ def description(self) -> Optional[builtins.str]:
7350
+ """
7351
+ Policy description.
7352
+ Length of the description is limited to 1024 characters.
7353
+ """
7354
+ return pulumi.get(self, "description")
7355
+
7356
+
7357
+ @pulumi.output_type
7358
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroup(dict):
7359
+ @staticmethod
7360
+ def __key_warning(key: str):
7361
+ suggest = None
7362
+ if key == "inventoryFilters":
7363
+ suggest = "inventory_filters"
7364
+
7365
+ if suggest:
7366
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroup. Access the value via the '{suggest}' property getter instead.")
7367
+
7368
+ def __getitem__(self, key: str) -> Any:
7369
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroup.__key_warning(key)
7370
+ return super().__getitem__(key)
7371
+
7372
+ def get(self, key: str, default = None) -> Any:
7373
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroup.__key_warning(key)
7374
+ return super().get(key, default)
7375
+
7376
+ def __init__(__self__, *,
7377
+ resources: Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResource'],
7378
+ inventory_filters: Optional[Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupInventoryFilter']] = None):
7379
+ """
7380
+ :param Sequence['V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceArgs'] resources: Required. List of resources configured for this resource group.
7381
+ The resources are executed in the exact order specified here.
7382
+ Structure is documented below.
7383
+ :param Sequence['V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupInventoryFilterArgs'] inventory_filters: List of inventory filters for the resource group.
7384
+ The resources in this resource group are applied to the target VM if it
7385
+ satisfies at least one of the following inventory filters.
7386
+ For example, to apply this resource group to VMs running either `RHEL` or
7387
+ `CentOS` operating systems, specify 2 items for the list with following
7388
+ values:
7389
+ inventory_filters[0].os_short_name='rhel' and
7390
+ inventory_filters[1].os_short_name='centos'
7391
+ If the list is empty, this resource group will be applied to the target
7392
+ VM unconditionally.
7393
+ Structure is documented below.
7394
+ """
7395
+ pulumi.set(__self__, "resources", resources)
7396
+ if inventory_filters is not None:
7397
+ pulumi.set(__self__, "inventory_filters", inventory_filters)
7398
+
7399
+ @property
7400
+ @pulumi.getter
7401
+ def resources(self) -> Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResource']:
7402
+ """
7403
+ Required. List of resources configured for this resource group.
7404
+ The resources are executed in the exact order specified here.
7405
+ Structure is documented below.
7406
+ """
7407
+ return pulumi.get(self, "resources")
7408
+
7409
+ @property
7410
+ @pulumi.getter(name="inventoryFilters")
7411
+ def inventory_filters(self) -> Optional[Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupInventoryFilter']]:
7412
+ """
7413
+ List of inventory filters for the resource group.
7414
+ The resources in this resource group are applied to the target VM if it
7415
+ satisfies at least one of the following inventory filters.
7416
+ For example, to apply this resource group to VMs running either `RHEL` or
7417
+ `CentOS` operating systems, specify 2 items for the list with following
7418
+ values:
7419
+ inventory_filters[0].os_short_name='rhel' and
7420
+ inventory_filters[1].os_short_name='centos'
7421
+ If the list is empty, this resource group will be applied to the target
7422
+ VM unconditionally.
7423
+ Structure is documented below.
7424
+ """
7425
+ return pulumi.get(self, "inventory_filters")
7426
+
7427
+
7428
+ @pulumi.output_type
7429
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupInventoryFilter(dict):
7430
+ @staticmethod
7431
+ def __key_warning(key: str):
7432
+ suggest = None
7433
+ if key == "osShortName":
7434
+ suggest = "os_short_name"
7435
+ elif key == "osVersion":
7436
+ suggest = "os_version"
7437
+
7438
+ if suggest:
7439
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupInventoryFilter. Access the value via the '{suggest}' property getter instead.")
7440
+
7441
+ def __getitem__(self, key: str) -> Any:
7442
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupInventoryFilter.__key_warning(key)
7443
+ return super().__getitem__(key)
7444
+
7445
+ def get(self, key: str, default = None) -> Any:
7446
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupInventoryFilter.__key_warning(key)
7447
+ return super().get(key, default)
7448
+
7449
+ def __init__(__self__, *,
7450
+ os_short_name: builtins.str,
7451
+ os_version: Optional[builtins.str] = None):
7452
+ """
7453
+ :param builtins.str os_short_name: Required. The OS short name
7454
+ :param builtins.str os_version: The OS version
7455
+ Prefix matches are supported if asterisk(*) is provided as the
7456
+ last character. For example, to match all versions with a major
7457
+ version of `7`, specify the following value for this field `7.*`
7458
+ An empty string matches all OS versions.
7459
+ """
7460
+ pulumi.set(__self__, "os_short_name", os_short_name)
7461
+ if os_version is not None:
7462
+ pulumi.set(__self__, "os_version", os_version)
7463
+
7464
+ @property
7465
+ @pulumi.getter(name="osShortName")
7466
+ def os_short_name(self) -> builtins.str:
7467
+ """
7468
+ Required. The OS short name
7469
+ """
7470
+ return pulumi.get(self, "os_short_name")
7471
+
7472
+ @property
7473
+ @pulumi.getter(name="osVersion")
7474
+ def os_version(self) -> Optional[builtins.str]:
7475
+ """
7476
+ The OS version
7477
+ Prefix matches are supported if asterisk(*) is provided as the
7478
+ last character. For example, to match all versions with a major
7479
+ version of `7`, specify the following value for this field `7.*`
7480
+ An empty string matches all OS versions.
7481
+ """
7482
+ return pulumi.get(self, "os_version")
7483
+
7484
+
7485
+ @pulumi.output_type
7486
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResource(dict):
7487
+ @staticmethod
7488
+ def __key_warning(key: str):
7489
+ suggest = None
7490
+ if key == "exec":
7491
+ suggest = "exec_"
7492
+
7493
+ if suggest:
7494
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResource. Access the value via the '{suggest}' property getter instead.")
7495
+
7496
+ def __getitem__(self, key: str) -> Any:
7497
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResource.__key_warning(key)
7498
+ return super().__getitem__(key)
7499
+
7500
+ def get(self, key: str, default = None) -> Any:
7501
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResource.__key_warning(key)
7502
+ return super().get(key, default)
7503
+
7504
+ def __init__(__self__, *,
7505
+ id: builtins.str,
7506
+ exec_: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExec'] = None,
7507
+ file: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFile'] = None,
7508
+ pkg: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkg'] = None,
7509
+ repository: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepository'] = None):
7510
+ """
7511
+ :param builtins.str id: Required. The id of the resource with the following restrictions:
7512
+ * Must contain only lowercase letters, numbers, and hyphens.
7513
+ * Must start with a letter.
7514
+ * Must be between 1-63 characters.
7515
+ * Must end with a number or a letter.
7516
+ * Must be unique within the OS policy.
7517
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecArgs' exec_: A resource that allows executing scripts on the VM.
7518
+ The `ExecResource` has 2 stages: `validate` and `enforce` and both stages
7519
+ accept a script as an argument to execute.
7520
+ When the `ExecResource` is applied by the agent, it first executes the
7521
+ script in the `validate` stage. The `validate` stage can signal that the
7522
+ `ExecResource` is already in the desired state by returning an exit code
7523
+ of `100`. If the `ExecResource` is not in the desired state, it should
7524
+ return an exit code of `101`. Any other exit code returned by this stage
7525
+ is considered an error.
7526
+ If the `ExecResource` is not in the desired state based on the exit code
7527
+ from the `validate` stage, the agent proceeds to execute the script from
7528
+ the `enforce` stage. If the `ExecResource` is already in the desired
7529
+ state, the `enforce` stage will not be run.
7530
+ Similar to `validate` stage, the `enforce` stage should return an exit
7531
+ code of `100` to indicate that the resource in now in its desired state.
7532
+ Any other exit code is considered an error.
7533
+ NOTE: An exit code of `100` was chosen over `0` (and `101` vs `1`) to
7534
+ have an explicit indicator of `in desired state`, `not in desired state`
7535
+ and errors. Because, for example, Powershell will always return an exit
7536
+ code of `0` unless an `exit` statement is provided in the script. So, for
7537
+ reasons of consistency and being explicit, exit codes `100` and `101`
7538
+ were chosen.
7539
+ Structure is documented below.
7540
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileArgs' file: A resource that manages the state of a file.
7541
+ Structure is documented below.
7542
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgArgs' pkg: A resource that manages a system package.
7543
+ Structure is documented below.
7544
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryArgs' repository: A resource that manages a package repository.
7545
+ Structure is documented below.
7546
+ """
7547
+ pulumi.set(__self__, "id", id)
7548
+ if exec_ is not None:
7549
+ pulumi.set(__self__, "exec_", exec_)
7550
+ if file is not None:
7551
+ pulumi.set(__self__, "file", file)
7552
+ if pkg is not None:
7553
+ pulumi.set(__self__, "pkg", pkg)
7554
+ if repository is not None:
7555
+ pulumi.set(__self__, "repository", repository)
7556
+
7557
+ @property
7558
+ @pulumi.getter
7559
+ def id(self) -> builtins.str:
7560
+ """
7561
+ Required. The id of the resource with the following restrictions:
7562
+ * Must contain only lowercase letters, numbers, and hyphens.
7563
+ * Must start with a letter.
7564
+ * Must be between 1-63 characters.
7565
+ * Must end with a number or a letter.
7566
+ * Must be unique within the OS policy.
7567
+ """
7568
+ return pulumi.get(self, "id")
7569
+
7570
+ @property
7571
+ @pulumi.getter(name="exec")
7572
+ def exec_(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExec']:
7573
+ """
7574
+ A resource that allows executing scripts on the VM.
7575
+ The `ExecResource` has 2 stages: `validate` and `enforce` and both stages
7576
+ accept a script as an argument to execute.
7577
+ When the `ExecResource` is applied by the agent, it first executes the
7578
+ script in the `validate` stage. The `validate` stage can signal that the
7579
+ `ExecResource` is already in the desired state by returning an exit code
7580
+ of `100`. If the `ExecResource` is not in the desired state, it should
7581
+ return an exit code of `101`. Any other exit code returned by this stage
7582
+ is considered an error.
7583
+ If the `ExecResource` is not in the desired state based on the exit code
7584
+ from the `validate` stage, the agent proceeds to execute the script from
7585
+ the `enforce` stage. If the `ExecResource` is already in the desired
7586
+ state, the `enforce` stage will not be run.
7587
+ Similar to `validate` stage, the `enforce` stage should return an exit
7588
+ code of `100` to indicate that the resource in now in its desired state.
7589
+ Any other exit code is considered an error.
7590
+ NOTE: An exit code of `100` was chosen over `0` (and `101` vs `1`) to
7591
+ have an explicit indicator of `in desired state`, `not in desired state`
7592
+ and errors. Because, for example, Powershell will always return an exit
7593
+ code of `0` unless an `exit` statement is provided in the script. So, for
7594
+ reasons of consistency and being explicit, exit codes `100` and `101`
7595
+ were chosen.
7596
+ Structure is documented below.
7597
+ """
7598
+ return pulumi.get(self, "exec_")
7599
+
7600
+ @property
7601
+ @pulumi.getter
7602
+ def file(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFile']:
7603
+ """
7604
+ A resource that manages the state of a file.
7605
+ Structure is documented below.
7606
+ """
7607
+ return pulumi.get(self, "file")
7608
+
7609
+ @property
7610
+ @pulumi.getter
7611
+ def pkg(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkg']:
7612
+ """
7613
+ A resource that manages a system package.
7614
+ Structure is documented below.
7615
+ """
7616
+ return pulumi.get(self, "pkg")
7617
+
7618
+ @property
7619
+ @pulumi.getter
7620
+ def repository(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepository']:
7621
+ """
7622
+ A resource that manages a package repository.
7623
+ Structure is documented below.
7624
+ """
7625
+ return pulumi.get(self, "repository")
7626
+
7627
+
7628
+ @pulumi.output_type
7629
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExec(dict):
7630
+ def __init__(__self__, *,
7631
+ validate: 'outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidate',
7632
+ enforce: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforce'] = None):
7633
+ """
7634
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateArgs' validate: A file or script to execute.
7635
+ Structure is documented below.
7636
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceArgs' enforce: A file or script to execute.
7637
+ Structure is documented below.
7638
+ """
7639
+ pulumi.set(__self__, "validate", validate)
7640
+ if enforce is not None:
7641
+ pulumi.set(__self__, "enforce", enforce)
7642
+
7643
+ @property
7644
+ @pulumi.getter
7645
+ def validate(self) -> 'outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidate':
7646
+ """
7647
+ A file or script to execute.
7648
+ Structure is documented below.
7649
+ """
7650
+ return pulumi.get(self, "validate")
7651
+
7652
+ @property
7653
+ @pulumi.getter
7654
+ def enforce(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforce']:
7655
+ """
7656
+ A file or script to execute.
7657
+ Structure is documented below.
7658
+ """
7659
+ return pulumi.get(self, "enforce")
7660
+
7661
+
7662
+ @pulumi.output_type
7663
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforce(dict):
7664
+ @staticmethod
7665
+ def __key_warning(key: str):
7666
+ suggest = None
7667
+ if key == "outputFilePath":
7668
+ suggest = "output_file_path"
7669
+
7670
+ if suggest:
7671
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforce. Access the value via the '{suggest}' property getter instead.")
7672
+
7673
+ def __getitem__(self, key: str) -> Any:
7674
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforce.__key_warning(key)
7675
+ return super().__getitem__(key)
7676
+
7677
+ def get(self, key: str, default = None) -> Any:
7678
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforce.__key_warning(key)
7679
+ return super().get(key, default)
7680
+
7681
+ def __init__(__self__, *,
7682
+ interpreter: builtins.str,
7683
+ args: Optional[Sequence[builtins.str]] = None,
7684
+ file: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFile'] = None,
7685
+ output_file_path: Optional[builtins.str] = None,
7686
+ script: Optional[builtins.str] = None):
7687
+ """
7688
+ :param builtins.str interpreter: Required. The script interpreter to use.
7689
+ Possible values:
7690
+ INTERPRETER_UNSPECIFIED
7691
+ NONE
7692
+ SHELL
7693
+ POWERSHELL
7694
+ :param Sequence[builtins.str] args: Optional arguments to pass to the source during execution.
7695
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFileArgs' file: A remote or local file.
7696
+ Structure is documented below.
7697
+ :param builtins.str output_file_path: Only recorded for enforce Exec.
7698
+ Path to an output file (that is created by this Exec) whose
7699
+ content will be recorded in OSPolicyResourceCompliance after a
7700
+ successful run. Absence or failure to read this file will result in
7701
+ this ExecResource being non-compliant. Output file size is limited to
7702
+ 500K bytes.
7703
+ :param builtins.str script: An inline script.
7704
+ The size of the script is limited to 32KiB.
7705
+ """
7706
+ pulumi.set(__self__, "interpreter", interpreter)
7707
+ if args is not None:
7708
+ pulumi.set(__self__, "args", args)
7709
+ if file is not None:
7710
+ pulumi.set(__self__, "file", file)
7711
+ if output_file_path is not None:
7712
+ pulumi.set(__self__, "output_file_path", output_file_path)
7713
+ if script is not None:
7714
+ pulumi.set(__self__, "script", script)
7715
+
7716
+ @property
7717
+ @pulumi.getter
7718
+ def interpreter(self) -> builtins.str:
7719
+ """
7720
+ Required. The script interpreter to use.
7721
+ Possible values:
7722
+ INTERPRETER_UNSPECIFIED
7723
+ NONE
7724
+ SHELL
7725
+ POWERSHELL
7726
+ """
7727
+ return pulumi.get(self, "interpreter")
7728
+
7729
+ @property
7730
+ @pulumi.getter
7731
+ def args(self) -> Optional[Sequence[builtins.str]]:
7732
+ """
7733
+ Optional arguments to pass to the source during execution.
7734
+ """
7735
+ return pulumi.get(self, "args")
7736
+
7737
+ @property
7738
+ @pulumi.getter
7739
+ def file(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFile']:
7740
+ """
7741
+ A remote or local file.
7742
+ Structure is documented below.
7743
+ """
7744
+ return pulumi.get(self, "file")
7745
+
7746
+ @property
7747
+ @pulumi.getter(name="outputFilePath")
7748
+ def output_file_path(self) -> Optional[builtins.str]:
7749
+ """
7750
+ Only recorded for enforce Exec.
7751
+ Path to an output file (that is created by this Exec) whose
7752
+ content will be recorded in OSPolicyResourceCompliance after a
7753
+ successful run. Absence or failure to read this file will result in
7754
+ this ExecResource being non-compliant. Output file size is limited to
7755
+ 500K bytes.
7756
+ """
7757
+ return pulumi.get(self, "output_file_path")
7758
+
7759
+ @property
7760
+ @pulumi.getter
7761
+ def script(self) -> Optional[builtins.str]:
7762
+ """
7763
+ An inline script.
7764
+ The size of the script is limited to 32KiB.
7765
+ """
7766
+ return pulumi.get(self, "script")
7767
+
7768
+
7769
+ @pulumi.output_type
7770
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFile(dict):
7771
+ @staticmethod
7772
+ def __key_warning(key: str):
7773
+ suggest = None
7774
+ if key == "allowInsecure":
7775
+ suggest = "allow_insecure"
7776
+ elif key == "localPath":
7777
+ suggest = "local_path"
7778
+
7779
+ if suggest:
7780
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFile. Access the value via the '{suggest}' property getter instead.")
7781
+
7782
+ def __getitem__(self, key: str) -> Any:
7783
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFile.__key_warning(key)
7784
+ return super().__getitem__(key)
7785
+
7786
+ def get(self, key: str, default = None) -> Any:
7787
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFile.__key_warning(key)
7788
+ return super().get(key, default)
7789
+
7790
+ def __init__(__self__, *,
7791
+ allow_insecure: Optional[builtins.bool] = None,
7792
+ gcs: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFileGcs'] = None,
7793
+ local_path: Optional[builtins.str] = None,
7794
+ remote: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFileRemote'] = None):
7795
+ """
7796
+ :param builtins.bool allow_insecure: Defaults to false. When false, files are subject to validations
7797
+ based on the file type:
7798
+ Remote: A checksum must be specified.
7799
+ Cloud Storage: An object generation number must be specified.
7800
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFileGcsArgs' gcs: Specifies a file available as a Cloud Storage Object.
7801
+ Structure is documented below.
7802
+ :param builtins.str local_path: A local path within the VM to use.
7803
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFileRemoteArgs' remote: Specifies a file available via some URI.
7804
+ Structure is documented below.
7805
+ """
7806
+ if allow_insecure is not None:
7807
+ pulumi.set(__self__, "allow_insecure", allow_insecure)
7808
+ if gcs is not None:
7809
+ pulumi.set(__self__, "gcs", gcs)
7810
+ if local_path is not None:
7811
+ pulumi.set(__self__, "local_path", local_path)
7812
+ if remote is not None:
7813
+ pulumi.set(__self__, "remote", remote)
7814
+
7815
+ @property
7816
+ @pulumi.getter(name="allowInsecure")
7817
+ def allow_insecure(self) -> Optional[builtins.bool]:
7818
+ """
7819
+ Defaults to false. When false, files are subject to validations
7820
+ based on the file type:
7821
+ Remote: A checksum must be specified.
7822
+ Cloud Storage: An object generation number must be specified.
7823
+ """
7824
+ return pulumi.get(self, "allow_insecure")
7825
+
7826
+ @property
7827
+ @pulumi.getter
7828
+ def gcs(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFileGcs']:
7829
+ """
7830
+ Specifies a file available as a Cloud Storage Object.
7831
+ Structure is documented below.
7832
+ """
7833
+ return pulumi.get(self, "gcs")
7834
+
7835
+ @property
7836
+ @pulumi.getter(name="localPath")
7837
+ def local_path(self) -> Optional[builtins.str]:
7838
+ """
7839
+ A local path within the VM to use.
7840
+ """
7841
+ return pulumi.get(self, "local_path")
7842
+
7843
+ @property
7844
+ @pulumi.getter
7845
+ def remote(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFileRemote']:
7846
+ """
7847
+ Specifies a file available via some URI.
7848
+ Structure is documented below.
7849
+ """
7850
+ return pulumi.get(self, "remote")
7851
+
7852
+
7853
+ @pulumi.output_type
7854
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFileGcs(dict):
7855
+ def __init__(__self__, *,
7856
+ bucket: builtins.str,
7857
+ object: builtins.str,
7858
+ generation: Optional[builtins.str] = None):
7859
+ """
7860
+ :param builtins.str bucket: Required. Bucket of the Cloud Storage object.
7861
+ :param builtins.str object: Required. Name of the Cloud Storage object.
7862
+ :param builtins.str generation: Generation number of the Cloud Storage object.
7863
+ """
7864
+ pulumi.set(__self__, "bucket", bucket)
7865
+ pulumi.set(__self__, "object", object)
7866
+ if generation is not None:
7867
+ pulumi.set(__self__, "generation", generation)
7868
+
7869
+ @property
7870
+ @pulumi.getter
7871
+ def bucket(self) -> builtins.str:
7872
+ """
7873
+ Required. Bucket of the Cloud Storage object.
7874
+ """
7875
+ return pulumi.get(self, "bucket")
7876
+
7877
+ @property
7878
+ @pulumi.getter
7879
+ def object(self) -> builtins.str:
7880
+ """
7881
+ Required. Name of the Cloud Storage object.
7882
+ """
7883
+ return pulumi.get(self, "object")
7884
+
7885
+ @property
7886
+ @pulumi.getter
7887
+ def generation(self) -> Optional[builtins.str]:
7888
+ """
7889
+ Generation number of the Cloud Storage object.
7890
+ """
7891
+ return pulumi.get(self, "generation")
7892
+
7893
+
7894
+ @pulumi.output_type
7895
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFileRemote(dict):
7896
+ @staticmethod
7897
+ def __key_warning(key: str):
7898
+ suggest = None
7899
+ if key == "sha256Checksum":
7900
+ suggest = "sha256_checksum"
7901
+
7902
+ if suggest:
7903
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFileRemote. Access the value via the '{suggest}' property getter instead.")
7904
+
7905
+ def __getitem__(self, key: str) -> Any:
7906
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFileRemote.__key_warning(key)
7907
+ return super().__getitem__(key)
7908
+
7909
+ def get(self, key: str, default = None) -> Any:
7910
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecEnforceFileRemote.__key_warning(key)
7911
+ return super().get(key, default)
7912
+
7913
+ def __init__(__self__, *,
7914
+ uri: builtins.str,
7915
+ sha256_checksum: Optional[builtins.str] = None):
7916
+ """
7917
+ :param builtins.str uri: Required. URI from which to fetch the object. It should contain both the
7918
+ protocol and path following the format `{protocol}://{location}`.
7919
+ :param builtins.str sha256_checksum: SHA256 checksum of the remote file.
7920
+ """
7921
+ pulumi.set(__self__, "uri", uri)
7922
+ if sha256_checksum is not None:
7923
+ pulumi.set(__self__, "sha256_checksum", sha256_checksum)
7924
+
7925
+ @property
7926
+ @pulumi.getter
7927
+ def uri(self) -> builtins.str:
7928
+ """
7929
+ Required. URI from which to fetch the object. It should contain both the
7930
+ protocol and path following the format `{protocol}://{location}`.
7931
+ """
7932
+ return pulumi.get(self, "uri")
7933
+
7934
+ @property
7935
+ @pulumi.getter(name="sha256Checksum")
7936
+ def sha256_checksum(self) -> Optional[builtins.str]:
7937
+ """
7938
+ SHA256 checksum of the remote file.
7939
+ """
7940
+ return pulumi.get(self, "sha256_checksum")
7941
+
7942
+
7943
+ @pulumi.output_type
7944
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidate(dict):
7945
+ @staticmethod
7946
+ def __key_warning(key: str):
7947
+ suggest = None
7948
+ if key == "outputFilePath":
7949
+ suggest = "output_file_path"
7950
+
7951
+ if suggest:
7952
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidate. Access the value via the '{suggest}' property getter instead.")
7953
+
7954
+ def __getitem__(self, key: str) -> Any:
7955
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidate.__key_warning(key)
7956
+ return super().__getitem__(key)
7957
+
7958
+ def get(self, key: str, default = None) -> Any:
7959
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidate.__key_warning(key)
7960
+ return super().get(key, default)
7961
+
7962
+ def __init__(__self__, *,
7963
+ interpreter: builtins.str,
7964
+ args: Optional[Sequence[builtins.str]] = None,
7965
+ file: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFile'] = None,
7966
+ output_file_path: Optional[builtins.str] = None,
7967
+ script: Optional[builtins.str] = None):
7968
+ """
7969
+ :param builtins.str interpreter: Required. The script interpreter to use.
7970
+ Possible values:
7971
+ INTERPRETER_UNSPECIFIED
7972
+ NONE
7973
+ SHELL
7974
+ POWERSHELL
7975
+ :param Sequence[builtins.str] args: Optional arguments to pass to the source during execution.
7976
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFileArgs' file: A remote or local file.
7977
+ Structure is documented below.
7978
+ :param builtins.str output_file_path: Only recorded for enforce Exec.
7979
+ Path to an output file (that is created by this Exec) whose
7980
+ content will be recorded in OSPolicyResourceCompliance after a
7981
+ successful run. Absence or failure to read this file will result in
7982
+ this ExecResource being non-compliant. Output file size is limited to
7983
+ 500K bytes.
7984
+ :param builtins.str script: An inline script.
7985
+ The size of the script is limited to 32KiB.
7986
+ """
7987
+ pulumi.set(__self__, "interpreter", interpreter)
7988
+ if args is not None:
7989
+ pulumi.set(__self__, "args", args)
7990
+ if file is not None:
7991
+ pulumi.set(__self__, "file", file)
7992
+ if output_file_path is not None:
7993
+ pulumi.set(__self__, "output_file_path", output_file_path)
7994
+ if script is not None:
7995
+ pulumi.set(__self__, "script", script)
7996
+
7997
+ @property
7998
+ @pulumi.getter
7999
+ def interpreter(self) -> builtins.str:
8000
+ """
8001
+ Required. The script interpreter to use.
8002
+ Possible values:
8003
+ INTERPRETER_UNSPECIFIED
8004
+ NONE
8005
+ SHELL
8006
+ POWERSHELL
8007
+ """
8008
+ return pulumi.get(self, "interpreter")
8009
+
8010
+ @property
8011
+ @pulumi.getter
8012
+ def args(self) -> Optional[Sequence[builtins.str]]:
8013
+ """
8014
+ Optional arguments to pass to the source during execution.
8015
+ """
8016
+ return pulumi.get(self, "args")
8017
+
8018
+ @property
8019
+ @pulumi.getter
8020
+ def file(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFile']:
8021
+ """
8022
+ A remote or local file.
8023
+ Structure is documented below.
8024
+ """
8025
+ return pulumi.get(self, "file")
8026
+
8027
+ @property
8028
+ @pulumi.getter(name="outputFilePath")
8029
+ def output_file_path(self) -> Optional[builtins.str]:
8030
+ """
8031
+ Only recorded for enforce Exec.
8032
+ Path to an output file (that is created by this Exec) whose
8033
+ content will be recorded in OSPolicyResourceCompliance after a
8034
+ successful run. Absence or failure to read this file will result in
8035
+ this ExecResource being non-compliant. Output file size is limited to
8036
+ 500K bytes.
8037
+ """
8038
+ return pulumi.get(self, "output_file_path")
8039
+
8040
+ @property
8041
+ @pulumi.getter
8042
+ def script(self) -> Optional[builtins.str]:
8043
+ """
8044
+ An inline script.
8045
+ The size of the script is limited to 32KiB.
8046
+ """
8047
+ return pulumi.get(self, "script")
8048
+
8049
+
8050
+ @pulumi.output_type
8051
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFile(dict):
8052
+ @staticmethod
8053
+ def __key_warning(key: str):
8054
+ suggest = None
8055
+ if key == "allowInsecure":
8056
+ suggest = "allow_insecure"
8057
+ elif key == "localPath":
8058
+ suggest = "local_path"
8059
+
8060
+ if suggest:
8061
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFile. Access the value via the '{suggest}' property getter instead.")
8062
+
8063
+ def __getitem__(self, key: str) -> Any:
8064
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFile.__key_warning(key)
8065
+ return super().__getitem__(key)
8066
+
8067
+ def get(self, key: str, default = None) -> Any:
8068
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFile.__key_warning(key)
8069
+ return super().get(key, default)
8070
+
8071
+ def __init__(__self__, *,
8072
+ allow_insecure: Optional[builtins.bool] = None,
8073
+ gcs: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFileGcs'] = None,
8074
+ local_path: Optional[builtins.str] = None,
8075
+ remote: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFileRemote'] = None):
8076
+ """
8077
+ :param builtins.bool allow_insecure: Defaults to false. When false, files are subject to validations
8078
+ based on the file type:
8079
+ Remote: A checksum must be specified.
8080
+ Cloud Storage: An object generation number must be specified.
8081
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFileGcsArgs' gcs: Specifies a file available as a Cloud Storage Object.
8082
+ Structure is documented below.
8083
+ :param builtins.str local_path: A local path within the VM to use.
8084
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFileRemoteArgs' remote: Specifies a file available via some URI.
8085
+ Structure is documented below.
8086
+ """
8087
+ if allow_insecure is not None:
8088
+ pulumi.set(__self__, "allow_insecure", allow_insecure)
8089
+ if gcs is not None:
8090
+ pulumi.set(__self__, "gcs", gcs)
8091
+ if local_path is not None:
8092
+ pulumi.set(__self__, "local_path", local_path)
8093
+ if remote is not None:
8094
+ pulumi.set(__self__, "remote", remote)
8095
+
8096
+ @property
8097
+ @pulumi.getter(name="allowInsecure")
8098
+ def allow_insecure(self) -> Optional[builtins.bool]:
8099
+ """
8100
+ Defaults to false. When false, files are subject to validations
8101
+ based on the file type:
8102
+ Remote: A checksum must be specified.
8103
+ Cloud Storage: An object generation number must be specified.
8104
+ """
8105
+ return pulumi.get(self, "allow_insecure")
8106
+
8107
+ @property
8108
+ @pulumi.getter
8109
+ def gcs(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFileGcs']:
8110
+ """
8111
+ Specifies a file available as a Cloud Storage Object.
8112
+ Structure is documented below.
8113
+ """
8114
+ return pulumi.get(self, "gcs")
8115
+
8116
+ @property
8117
+ @pulumi.getter(name="localPath")
8118
+ def local_path(self) -> Optional[builtins.str]:
8119
+ """
8120
+ A local path within the VM to use.
8121
+ """
8122
+ return pulumi.get(self, "local_path")
8123
+
8124
+ @property
8125
+ @pulumi.getter
8126
+ def remote(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFileRemote']:
8127
+ """
8128
+ Specifies a file available via some URI.
8129
+ Structure is documented below.
8130
+ """
8131
+ return pulumi.get(self, "remote")
8132
+
8133
+
8134
+ @pulumi.output_type
8135
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFileGcs(dict):
8136
+ def __init__(__self__, *,
8137
+ bucket: builtins.str,
8138
+ object: builtins.str,
8139
+ generation: Optional[builtins.str] = None):
8140
+ """
8141
+ :param builtins.str bucket: Required. Bucket of the Cloud Storage object.
8142
+ :param builtins.str object: Required. Name of the Cloud Storage object.
8143
+ :param builtins.str generation: Generation number of the Cloud Storage object.
8144
+ """
8145
+ pulumi.set(__self__, "bucket", bucket)
8146
+ pulumi.set(__self__, "object", object)
8147
+ if generation is not None:
8148
+ pulumi.set(__self__, "generation", generation)
8149
+
8150
+ @property
8151
+ @pulumi.getter
8152
+ def bucket(self) -> builtins.str:
8153
+ """
8154
+ Required. Bucket of the Cloud Storage object.
8155
+ """
8156
+ return pulumi.get(self, "bucket")
8157
+
8158
+ @property
8159
+ @pulumi.getter
8160
+ def object(self) -> builtins.str:
8161
+ """
8162
+ Required. Name of the Cloud Storage object.
8163
+ """
8164
+ return pulumi.get(self, "object")
8165
+
8166
+ @property
8167
+ @pulumi.getter
8168
+ def generation(self) -> Optional[builtins.str]:
8169
+ """
8170
+ Generation number of the Cloud Storage object.
8171
+ """
8172
+ return pulumi.get(self, "generation")
8173
+
8174
+
8175
+ @pulumi.output_type
8176
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFileRemote(dict):
8177
+ @staticmethod
8178
+ def __key_warning(key: str):
8179
+ suggest = None
8180
+ if key == "sha256Checksum":
8181
+ suggest = "sha256_checksum"
8182
+
8183
+ if suggest:
8184
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFileRemote. Access the value via the '{suggest}' property getter instead.")
8185
+
8186
+ def __getitem__(self, key: str) -> Any:
8187
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFileRemote.__key_warning(key)
8188
+ return super().__getitem__(key)
8189
+
8190
+ def get(self, key: str, default = None) -> Any:
8191
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceExecValidateFileRemote.__key_warning(key)
8192
+ return super().get(key, default)
8193
+
8194
+ def __init__(__self__, *,
8195
+ uri: builtins.str,
8196
+ sha256_checksum: Optional[builtins.str] = None):
8197
+ """
8198
+ :param builtins.str uri: Required. URI from which to fetch the object. It should contain both the
8199
+ protocol and path following the format `{protocol}://{location}`.
8200
+ :param builtins.str sha256_checksum: SHA256 checksum of the remote file.
8201
+ """
8202
+ pulumi.set(__self__, "uri", uri)
8203
+ if sha256_checksum is not None:
8204
+ pulumi.set(__self__, "sha256_checksum", sha256_checksum)
8205
+
8206
+ @property
8207
+ @pulumi.getter
8208
+ def uri(self) -> builtins.str:
8209
+ """
8210
+ Required. URI from which to fetch the object. It should contain both the
8211
+ protocol and path following the format `{protocol}://{location}`.
8212
+ """
8213
+ return pulumi.get(self, "uri")
8214
+
8215
+ @property
8216
+ @pulumi.getter(name="sha256Checksum")
8217
+ def sha256_checksum(self) -> Optional[builtins.str]:
8218
+ """
8219
+ SHA256 checksum of the remote file.
8220
+ """
8221
+ return pulumi.get(self, "sha256_checksum")
8222
+
8223
+
8224
+ @pulumi.output_type
8225
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFile(dict):
8226
+ def __init__(__self__, *,
8227
+ path: builtins.str,
8228
+ state: builtins.str,
8229
+ content: Optional[builtins.str] = None,
8230
+ file: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFile'] = None,
8231
+ permissions: Optional[builtins.str] = None):
8232
+ """
8233
+ :param builtins.str path: Required. The absolute path of the file within the VM.
8234
+ :param builtins.str state: Required. Desired state of the file.
8235
+ Possible values:
8236
+ DESIRED_STATE_UNSPECIFIED
8237
+ PRESENT
8238
+ ABSENT
8239
+ CONTENTS_MATCH
8240
+ :param builtins.str content: A a file with this content.
8241
+ The size of the content is limited to 32KiB.
8242
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFileArgs' file: A remote or local file.
8243
+ Structure is documented below.
8244
+ :param builtins.str permissions: Consists of three octal digits which represent, in
8245
+ order, the permissions of the owner, group, and other users for the
8246
+ file (similarly to the numeric mode used in the linux chmod
8247
+ utility). Each digit represents a three bit number with the 4 bit
8248
+ corresponding to the read permissions, the 2 bit corresponds to the
8249
+ write bit, and the one bit corresponds to the execute permission.
8250
+ Default behavior is 755.
8251
+ Below are some examples of permissions and their associated values:
8252
+ read, write, and execute: 7
8253
+ read and execute: 5
8254
+ read and write: 6
8255
+ read only: 4
8256
+ """
8257
+ pulumi.set(__self__, "path", path)
8258
+ pulumi.set(__self__, "state", state)
8259
+ if content is not None:
8260
+ pulumi.set(__self__, "content", content)
8261
+ if file is not None:
8262
+ pulumi.set(__self__, "file", file)
8263
+ if permissions is not None:
8264
+ pulumi.set(__self__, "permissions", permissions)
8265
+
8266
+ @property
8267
+ @pulumi.getter
8268
+ def path(self) -> builtins.str:
8269
+ """
8270
+ Required. The absolute path of the file within the VM.
8271
+ """
8272
+ return pulumi.get(self, "path")
8273
+
8274
+ @property
8275
+ @pulumi.getter
8276
+ def state(self) -> builtins.str:
8277
+ """
8278
+ Required. Desired state of the file.
8279
+ Possible values:
8280
+ DESIRED_STATE_UNSPECIFIED
8281
+ PRESENT
8282
+ ABSENT
8283
+ CONTENTS_MATCH
8284
+ """
8285
+ return pulumi.get(self, "state")
8286
+
8287
+ @property
8288
+ @pulumi.getter
8289
+ def content(self) -> Optional[builtins.str]:
8290
+ """
8291
+ A a file with this content.
8292
+ The size of the content is limited to 32KiB.
8293
+ """
8294
+ return pulumi.get(self, "content")
8295
+
8296
+ @property
8297
+ @pulumi.getter
8298
+ def file(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFile']:
8299
+ """
8300
+ A remote or local file.
8301
+ Structure is documented below.
8302
+ """
8303
+ return pulumi.get(self, "file")
8304
+
8305
+ @property
8306
+ @pulumi.getter
8307
+ def permissions(self) -> Optional[builtins.str]:
8308
+ """
8309
+ Consists of three octal digits which represent, in
8310
+ order, the permissions of the owner, group, and other users for the
8311
+ file (similarly to the numeric mode used in the linux chmod
8312
+ utility). Each digit represents a three bit number with the 4 bit
8313
+ corresponding to the read permissions, the 2 bit corresponds to the
8314
+ write bit, and the one bit corresponds to the execute permission.
8315
+ Default behavior is 755.
8316
+ Below are some examples of permissions and their associated values:
8317
+ read, write, and execute: 7
8318
+ read and execute: 5
8319
+ read and write: 6
8320
+ read only: 4
8321
+ """
8322
+ return pulumi.get(self, "permissions")
8323
+
8324
+
8325
+ @pulumi.output_type
8326
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFile(dict):
8327
+ @staticmethod
8328
+ def __key_warning(key: str):
8329
+ suggest = None
8330
+ if key == "allowInsecure":
8331
+ suggest = "allow_insecure"
8332
+ elif key == "localPath":
8333
+ suggest = "local_path"
8334
+
8335
+ if suggest:
8336
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFile. Access the value via the '{suggest}' property getter instead.")
8337
+
8338
+ def __getitem__(self, key: str) -> Any:
8339
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFile.__key_warning(key)
8340
+ return super().__getitem__(key)
8341
+
8342
+ def get(self, key: str, default = None) -> Any:
8343
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFile.__key_warning(key)
8344
+ return super().get(key, default)
8345
+
8346
+ def __init__(__self__, *,
8347
+ allow_insecure: Optional[builtins.bool] = None,
8348
+ gcs: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFileGcs'] = None,
8349
+ local_path: Optional[builtins.str] = None,
8350
+ remote: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFileRemote'] = None):
8351
+ """
8352
+ :param builtins.bool allow_insecure: Defaults to false. When false, files are subject to validations
8353
+ based on the file type:
8354
+ Remote: A checksum must be specified.
8355
+ Cloud Storage: An object generation number must be specified.
8356
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFileGcsArgs' gcs: Specifies a file available as a Cloud Storage Object.
8357
+ Structure is documented below.
8358
+ :param builtins.str local_path: A local path within the VM to use.
8359
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFileRemoteArgs' remote: Specifies a file available via some URI.
8360
+ Structure is documented below.
8361
+ """
8362
+ if allow_insecure is not None:
8363
+ pulumi.set(__self__, "allow_insecure", allow_insecure)
8364
+ if gcs is not None:
8365
+ pulumi.set(__self__, "gcs", gcs)
8366
+ if local_path is not None:
8367
+ pulumi.set(__self__, "local_path", local_path)
8368
+ if remote is not None:
8369
+ pulumi.set(__self__, "remote", remote)
8370
+
8371
+ @property
8372
+ @pulumi.getter(name="allowInsecure")
8373
+ def allow_insecure(self) -> Optional[builtins.bool]:
8374
+ """
8375
+ Defaults to false. When false, files are subject to validations
8376
+ based on the file type:
8377
+ Remote: A checksum must be specified.
8378
+ Cloud Storage: An object generation number must be specified.
8379
+ """
8380
+ return pulumi.get(self, "allow_insecure")
8381
+
8382
+ @property
8383
+ @pulumi.getter
8384
+ def gcs(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFileGcs']:
8385
+ """
8386
+ Specifies a file available as a Cloud Storage Object.
8387
+ Structure is documented below.
8388
+ """
8389
+ return pulumi.get(self, "gcs")
8390
+
8391
+ @property
8392
+ @pulumi.getter(name="localPath")
8393
+ def local_path(self) -> Optional[builtins.str]:
8394
+ """
8395
+ A local path within the VM to use.
8396
+ """
8397
+ return pulumi.get(self, "local_path")
8398
+
8399
+ @property
8400
+ @pulumi.getter
8401
+ def remote(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFileRemote']:
8402
+ """
8403
+ Specifies a file available via some URI.
8404
+ Structure is documented below.
8405
+ """
8406
+ return pulumi.get(self, "remote")
8407
+
8408
+
8409
+ @pulumi.output_type
8410
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFileGcs(dict):
8411
+ def __init__(__self__, *,
8412
+ bucket: builtins.str,
8413
+ object: builtins.str,
8414
+ generation: Optional[builtins.str] = None):
8415
+ """
8416
+ :param builtins.str bucket: Required. Bucket of the Cloud Storage object.
8417
+ :param builtins.str object: Required. Name of the Cloud Storage object.
8418
+ :param builtins.str generation: Generation number of the Cloud Storage object.
8419
+ """
8420
+ pulumi.set(__self__, "bucket", bucket)
8421
+ pulumi.set(__self__, "object", object)
8422
+ if generation is not None:
8423
+ pulumi.set(__self__, "generation", generation)
8424
+
8425
+ @property
8426
+ @pulumi.getter
8427
+ def bucket(self) -> builtins.str:
8428
+ """
8429
+ Required. Bucket of the Cloud Storage object.
8430
+ """
8431
+ return pulumi.get(self, "bucket")
8432
+
8433
+ @property
8434
+ @pulumi.getter
8435
+ def object(self) -> builtins.str:
8436
+ """
8437
+ Required. Name of the Cloud Storage object.
8438
+ """
8439
+ return pulumi.get(self, "object")
8440
+
8441
+ @property
8442
+ @pulumi.getter
8443
+ def generation(self) -> Optional[builtins.str]:
8444
+ """
8445
+ Generation number of the Cloud Storage object.
8446
+ """
8447
+ return pulumi.get(self, "generation")
8448
+
8449
+
8450
+ @pulumi.output_type
8451
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFileRemote(dict):
8452
+ @staticmethod
8453
+ def __key_warning(key: str):
8454
+ suggest = None
8455
+ if key == "sha256Checksum":
8456
+ suggest = "sha256_checksum"
8457
+
8458
+ if suggest:
8459
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFileRemote. Access the value via the '{suggest}' property getter instead.")
8460
+
8461
+ def __getitem__(self, key: str) -> Any:
8462
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFileRemote.__key_warning(key)
8463
+ return super().__getitem__(key)
8464
+
8465
+ def get(self, key: str, default = None) -> Any:
8466
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceFileFileRemote.__key_warning(key)
8467
+ return super().get(key, default)
8468
+
8469
+ def __init__(__self__, *,
8470
+ uri: builtins.str,
8471
+ sha256_checksum: Optional[builtins.str] = None):
8472
+ """
8473
+ :param builtins.str uri: Required. URI from which to fetch the object. It should contain both the
8474
+ protocol and path following the format `{protocol}://{location}`.
8475
+ :param builtins.str sha256_checksum: SHA256 checksum of the remote file.
8476
+ """
8477
+ pulumi.set(__self__, "uri", uri)
8478
+ if sha256_checksum is not None:
8479
+ pulumi.set(__self__, "sha256_checksum", sha256_checksum)
8480
+
8481
+ @property
8482
+ @pulumi.getter
8483
+ def uri(self) -> builtins.str:
8484
+ """
8485
+ Required. URI from which to fetch the object. It should contain both the
8486
+ protocol and path following the format `{protocol}://{location}`.
8487
+ """
8488
+ return pulumi.get(self, "uri")
8489
+
8490
+ @property
8491
+ @pulumi.getter(name="sha256Checksum")
8492
+ def sha256_checksum(self) -> Optional[builtins.str]:
8493
+ """
8494
+ SHA256 checksum of the remote file.
8495
+ """
8496
+ return pulumi.get(self, "sha256_checksum")
8497
+
8498
+
8499
+ @pulumi.output_type
8500
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkg(dict):
8501
+ @staticmethod
8502
+ def __key_warning(key: str):
8503
+ suggest = None
8504
+ if key == "desiredState":
8505
+ suggest = "desired_state"
8506
+
8507
+ if suggest:
8508
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkg. Access the value via the '{suggest}' property getter instead.")
8509
+
8510
+ def __getitem__(self, key: str) -> Any:
8511
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkg.__key_warning(key)
8512
+ return super().__getitem__(key)
8513
+
8514
+ def get(self, key: str, default = None) -> Any:
8515
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkg.__key_warning(key)
8516
+ return super().get(key, default)
8517
+
8518
+ def __init__(__self__, *,
8519
+ desired_state: builtins.str,
8520
+ apt: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgApt'] = None,
8521
+ deb: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDeb'] = None,
8522
+ googet: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgGooget'] = None,
8523
+ msi: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsi'] = None,
8524
+ rpm: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpm'] = None,
8525
+ yum: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgYum'] = None,
8526
+ zypper: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgZypper'] = None):
8527
+ """
8528
+ :param builtins.str desired_state: Required. The desired state the agent should maintain for this package.
8529
+ Possible values:
8530
+ DESIRED_STATE_UNSPECIFIED
8531
+ INSTALLED
8532
+ REMOVED
8533
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgAptArgs' apt: A package managed by APT.
8534
+ - install: `apt-get update && apt-get -y install [name]`
8535
+ - remove: `apt-get -y remove [name]`
8536
+ Structure is documented below.
8537
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebArgs' deb: A deb package file. dpkg packages only support INSTALLED state.
8538
+ Structure is documented below.
8539
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgGoogetArgs' googet: A package managed by GooGet.
8540
+ - install: `googet -noconfirm install package`
8541
+ - remove: `googet -noconfirm remove package`
8542
+ Structure is documented below.
8543
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiArgs' msi: An MSI package. MSI packages only support INSTALLED state.
8544
+ Structure is documented below.
8545
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmArgs' rpm: An RPM package file. RPM packages only support INSTALLED state.
8546
+ Structure is documented below.
8547
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgYumArgs' yum: A package managed by YUM.
8548
+ - install: `yum -y install package`
8549
+ - remove: `yum -y remove package`
8550
+ Structure is documented below.
8551
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgZypperArgs' zypper: A package managed by Zypper.
8552
+ - install: `zypper -y install package`
8553
+ - remove: `zypper -y rm package`
8554
+ Structure is documented below.
8555
+ """
8556
+ pulumi.set(__self__, "desired_state", desired_state)
8557
+ if apt is not None:
8558
+ pulumi.set(__self__, "apt", apt)
8559
+ if deb is not None:
8560
+ pulumi.set(__self__, "deb", deb)
8561
+ if googet is not None:
8562
+ pulumi.set(__self__, "googet", googet)
8563
+ if msi is not None:
8564
+ pulumi.set(__self__, "msi", msi)
8565
+ if rpm is not None:
8566
+ pulumi.set(__self__, "rpm", rpm)
8567
+ if yum is not None:
8568
+ pulumi.set(__self__, "yum", yum)
8569
+ if zypper is not None:
8570
+ pulumi.set(__self__, "zypper", zypper)
8571
+
8572
+ @property
8573
+ @pulumi.getter(name="desiredState")
8574
+ def desired_state(self) -> builtins.str:
8575
+ """
8576
+ Required. The desired state the agent should maintain for this package.
8577
+ Possible values:
8578
+ DESIRED_STATE_UNSPECIFIED
8579
+ INSTALLED
8580
+ REMOVED
8581
+ """
8582
+ return pulumi.get(self, "desired_state")
8583
+
8584
+ @property
8585
+ @pulumi.getter
8586
+ def apt(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgApt']:
8587
+ """
8588
+ A package managed by APT.
8589
+ - install: `apt-get update && apt-get -y install [name]`
8590
+ - remove: `apt-get -y remove [name]`
8591
+ Structure is documented below.
8592
+ """
8593
+ return pulumi.get(self, "apt")
8594
+
8595
+ @property
8596
+ @pulumi.getter
8597
+ def deb(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDeb']:
8598
+ """
8599
+ A deb package file. dpkg packages only support INSTALLED state.
8600
+ Structure is documented below.
8601
+ """
8602
+ return pulumi.get(self, "deb")
8603
+
8604
+ @property
8605
+ @pulumi.getter
8606
+ def googet(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgGooget']:
8607
+ """
8608
+ A package managed by GooGet.
8609
+ - install: `googet -noconfirm install package`
8610
+ - remove: `googet -noconfirm remove package`
8611
+ Structure is documented below.
8612
+ """
8613
+ return pulumi.get(self, "googet")
8614
+
8615
+ @property
8616
+ @pulumi.getter
8617
+ def msi(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsi']:
8618
+ """
8619
+ An MSI package. MSI packages only support INSTALLED state.
8620
+ Structure is documented below.
8621
+ """
8622
+ return pulumi.get(self, "msi")
8623
+
8624
+ @property
8625
+ @pulumi.getter
8626
+ def rpm(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpm']:
8627
+ """
8628
+ An RPM package file. RPM packages only support INSTALLED state.
8629
+ Structure is documented below.
8630
+ """
8631
+ return pulumi.get(self, "rpm")
8632
+
8633
+ @property
8634
+ @pulumi.getter
8635
+ def yum(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgYum']:
8636
+ """
8637
+ A package managed by YUM.
8638
+ - install: `yum -y install package`
8639
+ - remove: `yum -y remove package`
8640
+ Structure is documented below.
8641
+ """
8642
+ return pulumi.get(self, "yum")
8643
+
8644
+ @property
8645
+ @pulumi.getter
8646
+ def zypper(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgZypper']:
8647
+ """
8648
+ A package managed by Zypper.
8649
+ - install: `zypper -y install package`
8650
+ - remove: `zypper -y rm package`
8651
+ Structure is documented below.
8652
+ """
8653
+ return pulumi.get(self, "zypper")
8654
+
8655
+
8656
+ @pulumi.output_type
8657
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgApt(dict):
8658
+ def __init__(__self__, *,
8659
+ name: builtins.str):
8660
+ """
8661
+ :param builtins.str name: Required. Package name.
8662
+ """
8663
+ pulumi.set(__self__, "name", name)
8664
+
8665
+ @property
8666
+ @pulumi.getter
8667
+ def name(self) -> builtins.str:
8668
+ """
8669
+ Required. Package name.
8670
+ """
8671
+ return pulumi.get(self, "name")
8672
+
8673
+
8674
+ @pulumi.output_type
8675
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDeb(dict):
8676
+ @staticmethod
8677
+ def __key_warning(key: str):
8678
+ suggest = None
8679
+ if key == "pullDeps":
8680
+ suggest = "pull_deps"
8681
+
8682
+ if suggest:
8683
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDeb. Access the value via the '{suggest}' property getter instead.")
8684
+
8685
+ def __getitem__(self, key: str) -> Any:
8686
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDeb.__key_warning(key)
8687
+ return super().__getitem__(key)
8688
+
8689
+ def get(self, key: str, default = None) -> Any:
8690
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDeb.__key_warning(key)
8691
+ return super().get(key, default)
8692
+
8693
+ def __init__(__self__, *,
8694
+ source: 'outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSource',
8695
+ pull_deps: Optional[builtins.bool] = None):
8696
+ """
8697
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSourceArgs' source: A remote or local file.
8698
+ Structure is documented below.
8699
+ :param builtins.bool pull_deps: Whether dependencies should also be installed.
8700
+ - install when false: `dpkg -i package`
8701
+ - install when true: `apt-get update && apt-get -y install
8702
+ package.deb`
8703
+ """
8704
+ pulumi.set(__self__, "source", source)
8705
+ if pull_deps is not None:
8706
+ pulumi.set(__self__, "pull_deps", pull_deps)
8707
+
8708
+ @property
8709
+ @pulumi.getter
8710
+ def source(self) -> 'outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSource':
8711
+ """
8712
+ A remote or local file.
8713
+ Structure is documented below.
8714
+ """
8715
+ return pulumi.get(self, "source")
8716
+
8717
+ @property
8718
+ @pulumi.getter(name="pullDeps")
8719
+ def pull_deps(self) -> Optional[builtins.bool]:
8720
+ """
8721
+ Whether dependencies should also be installed.
8722
+ - install when false: `dpkg -i package`
8723
+ - install when true: `apt-get update && apt-get -y install
8724
+ package.deb`
8725
+ """
8726
+ return pulumi.get(self, "pull_deps")
8727
+
8728
+
8729
+ @pulumi.output_type
8730
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSource(dict):
8731
+ @staticmethod
8732
+ def __key_warning(key: str):
8733
+ suggest = None
8734
+ if key == "allowInsecure":
8735
+ suggest = "allow_insecure"
8736
+ elif key == "localPath":
8737
+ suggest = "local_path"
8738
+
8739
+ if suggest:
8740
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSource. Access the value via the '{suggest}' property getter instead.")
8741
+
8742
+ def __getitem__(self, key: str) -> Any:
8743
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSource.__key_warning(key)
8744
+ return super().__getitem__(key)
8745
+
8746
+ def get(self, key: str, default = None) -> Any:
8747
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSource.__key_warning(key)
8748
+ return super().get(key, default)
8749
+
8750
+ def __init__(__self__, *,
8751
+ allow_insecure: Optional[builtins.bool] = None,
8752
+ gcs: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSourceGcs'] = None,
8753
+ local_path: Optional[builtins.str] = None,
8754
+ remote: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSourceRemote'] = None):
8755
+ """
8756
+ :param builtins.bool allow_insecure: Defaults to false. When false, files are subject to validations
8757
+ based on the file type:
8758
+ Remote: A checksum must be specified.
8759
+ Cloud Storage: An object generation number must be specified.
8760
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSourceGcsArgs' gcs: Specifies a file available as a Cloud Storage Object.
8761
+ Structure is documented below.
8762
+ :param builtins.str local_path: A local path within the VM to use.
8763
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSourceRemoteArgs' remote: Specifies a file available via some URI.
8764
+ Structure is documented below.
8765
+ """
8766
+ if allow_insecure is not None:
8767
+ pulumi.set(__self__, "allow_insecure", allow_insecure)
8768
+ if gcs is not None:
8769
+ pulumi.set(__self__, "gcs", gcs)
8770
+ if local_path is not None:
8771
+ pulumi.set(__self__, "local_path", local_path)
8772
+ if remote is not None:
8773
+ pulumi.set(__self__, "remote", remote)
8774
+
8775
+ @property
8776
+ @pulumi.getter(name="allowInsecure")
8777
+ def allow_insecure(self) -> Optional[builtins.bool]:
8778
+ """
8779
+ Defaults to false. When false, files are subject to validations
8780
+ based on the file type:
8781
+ Remote: A checksum must be specified.
8782
+ Cloud Storage: An object generation number must be specified.
8783
+ """
8784
+ return pulumi.get(self, "allow_insecure")
8785
+
8786
+ @property
8787
+ @pulumi.getter
8788
+ def gcs(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSourceGcs']:
8789
+ """
8790
+ Specifies a file available as a Cloud Storage Object.
8791
+ Structure is documented below.
8792
+ """
8793
+ return pulumi.get(self, "gcs")
8794
+
8795
+ @property
8796
+ @pulumi.getter(name="localPath")
8797
+ def local_path(self) -> Optional[builtins.str]:
8798
+ """
8799
+ A local path within the VM to use.
8800
+ """
8801
+ return pulumi.get(self, "local_path")
8802
+
8803
+ @property
8804
+ @pulumi.getter
8805
+ def remote(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSourceRemote']:
8806
+ """
8807
+ Specifies a file available via some URI.
8808
+ Structure is documented below.
8809
+ """
8810
+ return pulumi.get(self, "remote")
8811
+
8812
+
8813
+ @pulumi.output_type
8814
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSourceGcs(dict):
8815
+ def __init__(__self__, *,
8816
+ bucket: builtins.str,
8817
+ object: builtins.str,
8818
+ generation: Optional[builtins.str] = None):
8819
+ """
8820
+ :param builtins.str bucket: Required. Bucket of the Cloud Storage object.
8821
+ :param builtins.str object: Required. Name of the Cloud Storage object.
8822
+ :param builtins.str generation: Generation number of the Cloud Storage object.
8823
+ """
8824
+ pulumi.set(__self__, "bucket", bucket)
8825
+ pulumi.set(__self__, "object", object)
8826
+ if generation is not None:
8827
+ pulumi.set(__self__, "generation", generation)
8828
+
8829
+ @property
8830
+ @pulumi.getter
8831
+ def bucket(self) -> builtins.str:
8832
+ """
8833
+ Required. Bucket of the Cloud Storage object.
8834
+ """
8835
+ return pulumi.get(self, "bucket")
8836
+
8837
+ @property
8838
+ @pulumi.getter
8839
+ def object(self) -> builtins.str:
8840
+ """
8841
+ Required. Name of the Cloud Storage object.
8842
+ """
8843
+ return pulumi.get(self, "object")
8844
+
8845
+ @property
8846
+ @pulumi.getter
8847
+ def generation(self) -> Optional[builtins.str]:
8848
+ """
8849
+ Generation number of the Cloud Storage object.
8850
+ """
8851
+ return pulumi.get(self, "generation")
8852
+
8853
+
8854
+ @pulumi.output_type
8855
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSourceRemote(dict):
8856
+ @staticmethod
8857
+ def __key_warning(key: str):
8858
+ suggest = None
8859
+ if key == "sha256Checksum":
8860
+ suggest = "sha256_checksum"
8861
+
8862
+ if suggest:
8863
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSourceRemote. Access the value via the '{suggest}' property getter instead.")
8864
+
8865
+ def __getitem__(self, key: str) -> Any:
8866
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSourceRemote.__key_warning(key)
8867
+ return super().__getitem__(key)
8868
+
8869
+ def get(self, key: str, default = None) -> Any:
8870
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgDebSourceRemote.__key_warning(key)
8871
+ return super().get(key, default)
8872
+
8873
+ def __init__(__self__, *,
8874
+ uri: builtins.str,
8875
+ sha256_checksum: Optional[builtins.str] = None):
8876
+ """
8877
+ :param builtins.str uri: Required. URI from which to fetch the object. It should contain both the
8878
+ protocol and path following the format `{protocol}://{location}`.
8879
+ :param builtins.str sha256_checksum: SHA256 checksum of the remote file.
8880
+ """
8881
+ pulumi.set(__self__, "uri", uri)
8882
+ if sha256_checksum is not None:
8883
+ pulumi.set(__self__, "sha256_checksum", sha256_checksum)
8884
+
8885
+ @property
8886
+ @pulumi.getter
8887
+ def uri(self) -> builtins.str:
8888
+ """
8889
+ Required. URI from which to fetch the object. It should contain both the
8890
+ protocol and path following the format `{protocol}://{location}`.
8891
+ """
8892
+ return pulumi.get(self, "uri")
8893
+
8894
+ @property
8895
+ @pulumi.getter(name="sha256Checksum")
8896
+ def sha256_checksum(self) -> Optional[builtins.str]:
8897
+ """
8898
+ SHA256 checksum of the remote file.
8899
+ """
8900
+ return pulumi.get(self, "sha256_checksum")
8901
+
8902
+
8903
+ @pulumi.output_type
8904
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgGooget(dict):
8905
+ def __init__(__self__, *,
8906
+ name: builtins.str):
8907
+ """
8908
+ :param builtins.str name: Required. Package name.
8909
+ """
8910
+ pulumi.set(__self__, "name", name)
8911
+
8912
+ @property
8913
+ @pulumi.getter
8914
+ def name(self) -> builtins.str:
8915
+ """
8916
+ Required. Package name.
8917
+ """
8918
+ return pulumi.get(self, "name")
8919
+
8920
+
8921
+ @pulumi.output_type
8922
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsi(dict):
8923
+ def __init__(__self__, *,
8924
+ source: 'outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSource',
8925
+ properties: Optional[Sequence[builtins.str]] = None):
8926
+ """
8927
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSourceArgs' source: A remote or local file.
8928
+ Structure is documented below.
8929
+ :param Sequence[builtins.str] properties: Additional properties to use during installation.
8930
+ This should be in the format of Property=Setting.
8931
+ Appended to the defaults of `ACTION=INSTALL
8932
+ REBOOT=ReallySuppress`.
8933
+ """
8934
+ pulumi.set(__self__, "source", source)
8935
+ if properties is not None:
8936
+ pulumi.set(__self__, "properties", properties)
8937
+
8938
+ @property
8939
+ @pulumi.getter
8940
+ def source(self) -> 'outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSource':
8941
+ """
8942
+ A remote or local file.
8943
+ Structure is documented below.
8944
+ """
8945
+ return pulumi.get(self, "source")
8946
+
8947
+ @property
8948
+ @pulumi.getter
8949
+ def properties(self) -> Optional[Sequence[builtins.str]]:
8950
+ """
8951
+ Additional properties to use during installation.
8952
+ This should be in the format of Property=Setting.
8953
+ Appended to the defaults of `ACTION=INSTALL
8954
+ REBOOT=ReallySuppress`.
8955
+ """
8956
+ return pulumi.get(self, "properties")
8957
+
8958
+
8959
+ @pulumi.output_type
8960
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSource(dict):
8961
+ @staticmethod
8962
+ def __key_warning(key: str):
8963
+ suggest = None
8964
+ if key == "allowInsecure":
8965
+ suggest = "allow_insecure"
8966
+ elif key == "localPath":
8967
+ suggest = "local_path"
8968
+
8969
+ if suggest:
8970
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSource. Access the value via the '{suggest}' property getter instead.")
8971
+
8972
+ def __getitem__(self, key: str) -> Any:
8973
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSource.__key_warning(key)
8974
+ return super().__getitem__(key)
8975
+
8976
+ def get(self, key: str, default = None) -> Any:
8977
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSource.__key_warning(key)
8978
+ return super().get(key, default)
8979
+
8980
+ def __init__(__self__, *,
8981
+ allow_insecure: Optional[builtins.bool] = None,
8982
+ gcs: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSourceGcs'] = None,
8983
+ local_path: Optional[builtins.str] = None,
8984
+ remote: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSourceRemote'] = None):
8985
+ """
8986
+ :param builtins.bool allow_insecure: Defaults to false. When false, files are subject to validations
8987
+ based on the file type:
8988
+ Remote: A checksum must be specified.
8989
+ Cloud Storage: An object generation number must be specified.
8990
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSourceGcsArgs' gcs: Specifies a file available as a Cloud Storage Object.
8991
+ Structure is documented below.
8992
+ :param builtins.str local_path: A local path within the VM to use.
8993
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSourceRemoteArgs' remote: Specifies a file available via some URI.
8994
+ Structure is documented below.
8995
+ """
8996
+ if allow_insecure is not None:
8997
+ pulumi.set(__self__, "allow_insecure", allow_insecure)
8998
+ if gcs is not None:
8999
+ pulumi.set(__self__, "gcs", gcs)
9000
+ if local_path is not None:
9001
+ pulumi.set(__self__, "local_path", local_path)
9002
+ if remote is not None:
9003
+ pulumi.set(__self__, "remote", remote)
9004
+
9005
+ @property
9006
+ @pulumi.getter(name="allowInsecure")
9007
+ def allow_insecure(self) -> Optional[builtins.bool]:
9008
+ """
9009
+ Defaults to false. When false, files are subject to validations
9010
+ based on the file type:
9011
+ Remote: A checksum must be specified.
9012
+ Cloud Storage: An object generation number must be specified.
9013
+ """
9014
+ return pulumi.get(self, "allow_insecure")
9015
+
9016
+ @property
9017
+ @pulumi.getter
9018
+ def gcs(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSourceGcs']:
9019
+ """
9020
+ Specifies a file available as a Cloud Storage Object.
9021
+ Structure is documented below.
9022
+ """
9023
+ return pulumi.get(self, "gcs")
9024
+
9025
+ @property
9026
+ @pulumi.getter(name="localPath")
9027
+ def local_path(self) -> Optional[builtins.str]:
9028
+ """
9029
+ A local path within the VM to use.
9030
+ """
9031
+ return pulumi.get(self, "local_path")
9032
+
9033
+ @property
9034
+ @pulumi.getter
9035
+ def remote(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSourceRemote']:
9036
+ """
9037
+ Specifies a file available via some URI.
9038
+ Structure is documented below.
9039
+ """
9040
+ return pulumi.get(self, "remote")
9041
+
9042
+
9043
+ @pulumi.output_type
9044
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSourceGcs(dict):
9045
+ def __init__(__self__, *,
9046
+ bucket: builtins.str,
9047
+ object: builtins.str,
9048
+ generation: Optional[builtins.str] = None):
9049
+ """
9050
+ :param builtins.str bucket: Required. Bucket of the Cloud Storage object.
9051
+ :param builtins.str object: Required. Name of the Cloud Storage object.
9052
+ :param builtins.str generation: Generation number of the Cloud Storage object.
9053
+ """
9054
+ pulumi.set(__self__, "bucket", bucket)
9055
+ pulumi.set(__self__, "object", object)
9056
+ if generation is not None:
9057
+ pulumi.set(__self__, "generation", generation)
9058
+
9059
+ @property
9060
+ @pulumi.getter
9061
+ def bucket(self) -> builtins.str:
9062
+ """
9063
+ Required. Bucket of the Cloud Storage object.
9064
+ """
9065
+ return pulumi.get(self, "bucket")
9066
+
9067
+ @property
9068
+ @pulumi.getter
9069
+ def object(self) -> builtins.str:
9070
+ """
9071
+ Required. Name of the Cloud Storage object.
9072
+ """
9073
+ return pulumi.get(self, "object")
9074
+
9075
+ @property
9076
+ @pulumi.getter
9077
+ def generation(self) -> Optional[builtins.str]:
9078
+ """
9079
+ Generation number of the Cloud Storage object.
9080
+ """
9081
+ return pulumi.get(self, "generation")
9082
+
9083
+
9084
+ @pulumi.output_type
9085
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSourceRemote(dict):
9086
+ @staticmethod
9087
+ def __key_warning(key: str):
9088
+ suggest = None
9089
+ if key == "sha256Checksum":
9090
+ suggest = "sha256_checksum"
9091
+
9092
+ if suggest:
9093
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSourceRemote. Access the value via the '{suggest}' property getter instead.")
9094
+
9095
+ def __getitem__(self, key: str) -> Any:
9096
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSourceRemote.__key_warning(key)
9097
+ return super().__getitem__(key)
9098
+
9099
+ def get(self, key: str, default = None) -> Any:
9100
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgMsiSourceRemote.__key_warning(key)
9101
+ return super().get(key, default)
9102
+
9103
+ def __init__(__self__, *,
9104
+ uri: builtins.str,
9105
+ sha256_checksum: Optional[builtins.str] = None):
9106
+ """
9107
+ :param builtins.str uri: Required. URI from which to fetch the object. It should contain both the
9108
+ protocol and path following the format `{protocol}://{location}`.
9109
+ :param builtins.str sha256_checksum: SHA256 checksum of the remote file.
9110
+ """
9111
+ pulumi.set(__self__, "uri", uri)
9112
+ if sha256_checksum is not None:
9113
+ pulumi.set(__self__, "sha256_checksum", sha256_checksum)
9114
+
9115
+ @property
9116
+ @pulumi.getter
9117
+ def uri(self) -> builtins.str:
9118
+ """
9119
+ Required. URI from which to fetch the object. It should contain both the
9120
+ protocol and path following the format `{protocol}://{location}`.
9121
+ """
9122
+ return pulumi.get(self, "uri")
9123
+
9124
+ @property
9125
+ @pulumi.getter(name="sha256Checksum")
9126
+ def sha256_checksum(self) -> Optional[builtins.str]:
9127
+ """
9128
+ SHA256 checksum of the remote file.
9129
+ """
9130
+ return pulumi.get(self, "sha256_checksum")
9131
+
9132
+
9133
+ @pulumi.output_type
9134
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpm(dict):
9135
+ @staticmethod
9136
+ def __key_warning(key: str):
9137
+ suggest = None
9138
+ if key == "pullDeps":
9139
+ suggest = "pull_deps"
9140
+
9141
+ if suggest:
9142
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpm. Access the value via the '{suggest}' property getter instead.")
9143
+
9144
+ def __getitem__(self, key: str) -> Any:
9145
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpm.__key_warning(key)
9146
+ return super().__getitem__(key)
9147
+
9148
+ def get(self, key: str, default = None) -> Any:
9149
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpm.__key_warning(key)
9150
+ return super().get(key, default)
9151
+
9152
+ def __init__(__self__, *,
9153
+ source: 'outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSource',
9154
+ pull_deps: Optional[builtins.bool] = None):
9155
+ """
9156
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSourceArgs' source: A remote or local file.
9157
+ Structure is documented below.
9158
+ :param builtins.bool pull_deps: Whether dependencies should also be installed.
9159
+ - install when false: `rpm --upgrade --replacepkgs package.rpm`
9160
+ - install when true: `yum -y install package.rpm` or
9161
+ `zypper -y install package.rpm`
9162
+ """
9163
+ pulumi.set(__self__, "source", source)
9164
+ if pull_deps is not None:
9165
+ pulumi.set(__self__, "pull_deps", pull_deps)
9166
+
9167
+ @property
9168
+ @pulumi.getter
9169
+ def source(self) -> 'outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSource':
9170
+ """
9171
+ A remote or local file.
9172
+ Structure is documented below.
9173
+ """
9174
+ return pulumi.get(self, "source")
9175
+
9176
+ @property
9177
+ @pulumi.getter(name="pullDeps")
9178
+ def pull_deps(self) -> Optional[builtins.bool]:
9179
+ """
9180
+ Whether dependencies should also be installed.
9181
+ - install when false: `rpm --upgrade --replacepkgs package.rpm`
9182
+ - install when true: `yum -y install package.rpm` or
9183
+ `zypper -y install package.rpm`
9184
+ """
9185
+ return pulumi.get(self, "pull_deps")
9186
+
9187
+
9188
+ @pulumi.output_type
9189
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSource(dict):
9190
+ @staticmethod
9191
+ def __key_warning(key: str):
9192
+ suggest = None
9193
+ if key == "allowInsecure":
9194
+ suggest = "allow_insecure"
9195
+ elif key == "localPath":
9196
+ suggest = "local_path"
9197
+
9198
+ if suggest:
9199
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSource. Access the value via the '{suggest}' property getter instead.")
9200
+
9201
+ def __getitem__(self, key: str) -> Any:
9202
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSource.__key_warning(key)
9203
+ return super().__getitem__(key)
9204
+
9205
+ def get(self, key: str, default = None) -> Any:
9206
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSource.__key_warning(key)
9207
+ return super().get(key, default)
9208
+
9209
+ def __init__(__self__, *,
9210
+ allow_insecure: Optional[builtins.bool] = None,
9211
+ gcs: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSourceGcs'] = None,
9212
+ local_path: Optional[builtins.str] = None,
9213
+ remote: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSourceRemote'] = None):
9214
+ """
9215
+ :param builtins.bool allow_insecure: Defaults to false. When false, files are subject to validations
9216
+ based on the file type:
9217
+ Remote: A checksum must be specified.
9218
+ Cloud Storage: An object generation number must be specified.
9219
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSourceGcsArgs' gcs: Specifies a file available as a Cloud Storage Object.
9220
+ Structure is documented below.
9221
+ :param builtins.str local_path: A local path within the VM to use.
9222
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSourceRemoteArgs' remote: Specifies a file available via some URI.
9223
+ Structure is documented below.
9224
+ """
9225
+ if allow_insecure is not None:
9226
+ pulumi.set(__self__, "allow_insecure", allow_insecure)
9227
+ if gcs is not None:
9228
+ pulumi.set(__self__, "gcs", gcs)
9229
+ if local_path is not None:
9230
+ pulumi.set(__self__, "local_path", local_path)
9231
+ if remote is not None:
9232
+ pulumi.set(__self__, "remote", remote)
9233
+
9234
+ @property
9235
+ @pulumi.getter(name="allowInsecure")
9236
+ def allow_insecure(self) -> Optional[builtins.bool]:
9237
+ """
9238
+ Defaults to false. When false, files are subject to validations
9239
+ based on the file type:
9240
+ Remote: A checksum must be specified.
9241
+ Cloud Storage: An object generation number must be specified.
9242
+ """
9243
+ return pulumi.get(self, "allow_insecure")
9244
+
9245
+ @property
9246
+ @pulumi.getter
9247
+ def gcs(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSourceGcs']:
9248
+ """
9249
+ Specifies a file available as a Cloud Storage Object.
9250
+ Structure is documented below.
9251
+ """
9252
+ return pulumi.get(self, "gcs")
9253
+
9254
+ @property
9255
+ @pulumi.getter(name="localPath")
9256
+ def local_path(self) -> Optional[builtins.str]:
9257
+ """
9258
+ A local path within the VM to use.
9259
+ """
9260
+ return pulumi.get(self, "local_path")
9261
+
9262
+ @property
9263
+ @pulumi.getter
9264
+ def remote(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSourceRemote']:
9265
+ """
9266
+ Specifies a file available via some URI.
9267
+ Structure is documented below.
9268
+ """
9269
+ return pulumi.get(self, "remote")
9270
+
9271
+
9272
+ @pulumi.output_type
9273
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSourceGcs(dict):
9274
+ def __init__(__self__, *,
9275
+ bucket: builtins.str,
9276
+ object: builtins.str,
9277
+ generation: Optional[builtins.str] = None):
9278
+ """
9279
+ :param builtins.str bucket: Required. Bucket of the Cloud Storage object.
9280
+ :param builtins.str object: Required. Name of the Cloud Storage object.
9281
+ :param builtins.str generation: Generation number of the Cloud Storage object.
9282
+ """
9283
+ pulumi.set(__self__, "bucket", bucket)
9284
+ pulumi.set(__self__, "object", object)
9285
+ if generation is not None:
9286
+ pulumi.set(__self__, "generation", generation)
9287
+
9288
+ @property
9289
+ @pulumi.getter
9290
+ def bucket(self) -> builtins.str:
9291
+ """
9292
+ Required. Bucket of the Cloud Storage object.
9293
+ """
9294
+ return pulumi.get(self, "bucket")
9295
+
9296
+ @property
9297
+ @pulumi.getter
9298
+ def object(self) -> builtins.str:
9299
+ """
9300
+ Required. Name of the Cloud Storage object.
9301
+ """
9302
+ return pulumi.get(self, "object")
9303
+
9304
+ @property
9305
+ @pulumi.getter
9306
+ def generation(self) -> Optional[builtins.str]:
9307
+ """
9308
+ Generation number of the Cloud Storage object.
9309
+ """
9310
+ return pulumi.get(self, "generation")
9311
+
9312
+
9313
+ @pulumi.output_type
9314
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSourceRemote(dict):
9315
+ @staticmethod
9316
+ def __key_warning(key: str):
9317
+ suggest = None
9318
+ if key == "sha256Checksum":
9319
+ suggest = "sha256_checksum"
9320
+
9321
+ if suggest:
9322
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSourceRemote. Access the value via the '{suggest}' property getter instead.")
9323
+
9324
+ def __getitem__(self, key: str) -> Any:
9325
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSourceRemote.__key_warning(key)
9326
+ return super().__getitem__(key)
9327
+
9328
+ def get(self, key: str, default = None) -> Any:
9329
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgRpmSourceRemote.__key_warning(key)
9330
+ return super().get(key, default)
9331
+
9332
+ def __init__(__self__, *,
9333
+ uri: builtins.str,
9334
+ sha256_checksum: Optional[builtins.str] = None):
9335
+ """
9336
+ :param builtins.str uri: Required. URI from which to fetch the object. It should contain both the
9337
+ protocol and path following the format `{protocol}://{location}`.
9338
+ :param builtins.str sha256_checksum: SHA256 checksum of the remote file.
9339
+ """
9340
+ pulumi.set(__self__, "uri", uri)
9341
+ if sha256_checksum is not None:
9342
+ pulumi.set(__self__, "sha256_checksum", sha256_checksum)
9343
+
9344
+ @property
9345
+ @pulumi.getter
9346
+ def uri(self) -> builtins.str:
9347
+ """
9348
+ Required. URI from which to fetch the object. It should contain both the
9349
+ protocol and path following the format `{protocol}://{location}`.
9350
+ """
9351
+ return pulumi.get(self, "uri")
9352
+
9353
+ @property
9354
+ @pulumi.getter(name="sha256Checksum")
9355
+ def sha256_checksum(self) -> Optional[builtins.str]:
9356
+ """
9357
+ SHA256 checksum of the remote file.
9358
+ """
9359
+ return pulumi.get(self, "sha256_checksum")
9360
+
9361
+
9362
+ @pulumi.output_type
9363
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgYum(dict):
9364
+ def __init__(__self__, *,
9365
+ name: builtins.str):
9366
+ """
9367
+ :param builtins.str name: Required. Package name.
9368
+ """
9369
+ pulumi.set(__self__, "name", name)
9370
+
9371
+ @property
9372
+ @pulumi.getter
9373
+ def name(self) -> builtins.str:
9374
+ """
9375
+ Required. Package name.
9376
+ """
9377
+ return pulumi.get(self, "name")
9378
+
9379
+
9380
+ @pulumi.output_type
9381
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourcePkgZypper(dict):
9382
+ def __init__(__self__, *,
9383
+ name: builtins.str):
9384
+ """
9385
+ :param builtins.str name: Required. Package name.
9386
+ """
9387
+ pulumi.set(__self__, "name", name)
9388
+
9389
+ @property
9390
+ @pulumi.getter
9391
+ def name(self) -> builtins.str:
9392
+ """
9393
+ Required. Package name.
9394
+ """
9395
+ return pulumi.get(self, "name")
9396
+
9397
+
9398
+ @pulumi.output_type
9399
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepository(dict):
9400
+ def __init__(__self__, *,
9401
+ apt: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryApt'] = None,
9402
+ goo: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryGoo'] = None,
9403
+ yum: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryYum'] = None,
9404
+ zypper: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryZypper'] = None):
9405
+ """
9406
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryAptArgs' apt: Represents a single apt package repository. These will be added to
9407
+ a repo file that will be managed at
9408
+ `/etc/apt/sources.list.d/google_osconfig.list`.
9409
+ Structure is documented below.
9410
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryGooArgs' goo: Represents a Goo package repository. These are added to a repo file
9411
+ that is managed at
9412
+ `C:/ProgramData/GooGet/repos/google_osconfig.repo`.
9413
+ Structure is documented below.
9414
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryYumArgs' yum: Represents a single yum package repository. These are added to a
9415
+ repo file that is managed at
9416
+ `/etc/yum.repos.d/google_osconfig.repo`.
9417
+ Structure is documented below.
9418
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryZypperArgs' zypper: Represents a single zypper package repository. These are added to a
9419
+ repo file that is managed at
9420
+ `/etc/zypp/repos.d/google_osconfig.repo`.
9421
+ Structure is documented below.
9422
+ """
9423
+ if apt is not None:
9424
+ pulumi.set(__self__, "apt", apt)
9425
+ if goo is not None:
9426
+ pulumi.set(__self__, "goo", goo)
9427
+ if yum is not None:
9428
+ pulumi.set(__self__, "yum", yum)
9429
+ if zypper is not None:
9430
+ pulumi.set(__self__, "zypper", zypper)
9431
+
9432
+ @property
9433
+ @pulumi.getter
9434
+ def apt(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryApt']:
9435
+ """
9436
+ Represents a single apt package repository. These will be added to
9437
+ a repo file that will be managed at
9438
+ `/etc/apt/sources.list.d/google_osconfig.list`.
9439
+ Structure is documented below.
9440
+ """
9441
+ return pulumi.get(self, "apt")
9442
+
9443
+ @property
9444
+ @pulumi.getter
9445
+ def goo(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryGoo']:
9446
+ """
9447
+ Represents a Goo package repository. These are added to a repo file
9448
+ that is managed at
9449
+ `C:/ProgramData/GooGet/repos/google_osconfig.repo`.
9450
+ Structure is documented below.
9451
+ """
9452
+ return pulumi.get(self, "goo")
9453
+
9454
+ @property
9455
+ @pulumi.getter
9456
+ def yum(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryYum']:
9457
+ """
9458
+ Represents a single yum package repository. These are added to a
9459
+ repo file that is managed at
9460
+ `/etc/yum.repos.d/google_osconfig.repo`.
9461
+ Structure is documented below.
9462
+ """
9463
+ return pulumi.get(self, "yum")
9464
+
9465
+ @property
9466
+ @pulumi.getter
9467
+ def zypper(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryZypper']:
9468
+ """
9469
+ Represents a single zypper package repository. These are added to a
9470
+ repo file that is managed at
9471
+ `/etc/zypp/repos.d/google_osconfig.repo`.
9472
+ Structure is documented below.
9473
+ """
9474
+ return pulumi.get(self, "zypper")
9475
+
9476
+
9477
+ @pulumi.output_type
9478
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryApt(dict):
9479
+ @staticmethod
9480
+ def __key_warning(key: str):
9481
+ suggest = None
9482
+ if key == "archiveType":
9483
+ suggest = "archive_type"
9484
+ elif key == "gpgKey":
9485
+ suggest = "gpg_key"
9486
+
9487
+ if suggest:
9488
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryApt. Access the value via the '{suggest}' property getter instead.")
9489
+
9490
+ def __getitem__(self, key: str) -> Any:
9491
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryApt.__key_warning(key)
9492
+ return super().__getitem__(key)
9493
+
9494
+ def get(self, key: str, default = None) -> Any:
9495
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryApt.__key_warning(key)
9496
+ return super().get(key, default)
9497
+
9498
+ def __init__(__self__, *,
9499
+ archive_type: builtins.str,
9500
+ components: Sequence[builtins.str],
9501
+ distribution: builtins.str,
9502
+ uri: builtins.str,
9503
+ gpg_key: Optional[builtins.str] = None):
9504
+ """
9505
+ :param builtins.str archive_type: Required. Type of archive files in this repository.
9506
+ Possible values:
9507
+ ARCHIVE_TYPE_UNSPECIFIED
9508
+ DEB
9509
+ DEB_SRC
9510
+ :param Sequence[builtins.str] components: Required. List of components for this repository. Must contain at least one
9511
+ item.
9512
+ :param builtins.str distribution: Required. Distribution of this repository.
9513
+ :param builtins.str uri: Required. URI for this repository.
9514
+ :param builtins.str gpg_key: URI of the key file for this repository. The agent maintains a
9515
+ keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
9516
+ """
9517
+ pulumi.set(__self__, "archive_type", archive_type)
9518
+ pulumi.set(__self__, "components", components)
9519
+ pulumi.set(__self__, "distribution", distribution)
9520
+ pulumi.set(__self__, "uri", uri)
9521
+ if gpg_key is not None:
9522
+ pulumi.set(__self__, "gpg_key", gpg_key)
9523
+
9524
+ @property
9525
+ @pulumi.getter(name="archiveType")
9526
+ def archive_type(self) -> builtins.str:
9527
+ """
9528
+ Required. Type of archive files in this repository.
9529
+ Possible values:
9530
+ ARCHIVE_TYPE_UNSPECIFIED
9531
+ DEB
9532
+ DEB_SRC
9533
+ """
9534
+ return pulumi.get(self, "archive_type")
9535
+
9536
+ @property
9537
+ @pulumi.getter
9538
+ def components(self) -> Sequence[builtins.str]:
9539
+ """
9540
+ Required. List of components for this repository. Must contain at least one
9541
+ item.
9542
+ """
9543
+ return pulumi.get(self, "components")
9544
+
9545
+ @property
9546
+ @pulumi.getter
9547
+ def distribution(self) -> builtins.str:
9548
+ """
9549
+ Required. Distribution of this repository.
9550
+ """
9551
+ return pulumi.get(self, "distribution")
9552
+
9553
+ @property
9554
+ @pulumi.getter
9555
+ def uri(self) -> builtins.str:
9556
+ """
9557
+ Required. URI for this repository.
9558
+ """
9559
+ return pulumi.get(self, "uri")
9560
+
9561
+ @property
9562
+ @pulumi.getter(name="gpgKey")
9563
+ def gpg_key(self) -> Optional[builtins.str]:
9564
+ """
9565
+ URI of the key file for this repository. The agent maintains a
9566
+ keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
9567
+ """
9568
+ return pulumi.get(self, "gpg_key")
9569
+
9570
+
9571
+ @pulumi.output_type
9572
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryGoo(dict):
9573
+ def __init__(__self__, *,
9574
+ name: builtins.str,
9575
+ url: builtins.str):
9576
+ """
9577
+ :param builtins.str name: Required. The name of the repository.
9578
+ :param builtins.str url: Required. The url of the repository.
9579
+ """
9580
+ pulumi.set(__self__, "name", name)
9581
+ pulumi.set(__self__, "url", url)
9582
+
9583
+ @property
9584
+ @pulumi.getter
9585
+ def name(self) -> builtins.str:
9586
+ """
9587
+ Required. The name of the repository.
9588
+ """
9589
+ return pulumi.get(self, "name")
9590
+
9591
+ @property
9592
+ @pulumi.getter
9593
+ def url(self) -> builtins.str:
9594
+ """
9595
+ Required. The url of the repository.
9596
+ """
9597
+ return pulumi.get(self, "url")
9598
+
9599
+
9600
+ @pulumi.output_type
9601
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryYum(dict):
9602
+ @staticmethod
9603
+ def __key_warning(key: str):
9604
+ suggest = None
9605
+ if key == "baseUrl":
9606
+ suggest = "base_url"
9607
+ elif key == "displayName":
9608
+ suggest = "display_name"
9609
+ elif key == "gpgKeys":
9610
+ suggest = "gpg_keys"
9611
+
9612
+ if suggest:
9613
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryYum. Access the value via the '{suggest}' property getter instead.")
9614
+
9615
+ def __getitem__(self, key: str) -> Any:
9616
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryYum.__key_warning(key)
9617
+ return super().__getitem__(key)
9618
+
9619
+ def get(self, key: str, default = None) -> Any:
9620
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryYum.__key_warning(key)
9621
+ return super().get(key, default)
9622
+
9623
+ def __init__(__self__, *,
9624
+ base_url: builtins.str,
9625
+ id: builtins.str,
9626
+ display_name: Optional[builtins.str] = None,
9627
+ gpg_keys: Optional[Sequence[builtins.str]] = None):
9628
+ """
9629
+ :param builtins.str base_url: Required. The location of the repository directory.
9630
+ :param builtins.str id: Required. A one word, unique name for this repository. This is the `repo
9631
+ id` in the yum config file and also the `display_name` if
9632
+ `display_name` is omitted. This id is also used as the unique
9633
+ identifier when checking for resource conflicts.
9634
+ :param builtins.str display_name: The display name of the repository.
9635
+ :param Sequence[builtins.str] gpg_keys: URIs of GPG keys.
9636
+ """
9637
+ pulumi.set(__self__, "base_url", base_url)
9638
+ pulumi.set(__self__, "id", id)
9639
+ if display_name is not None:
9640
+ pulumi.set(__self__, "display_name", display_name)
9641
+ if gpg_keys is not None:
9642
+ pulumi.set(__self__, "gpg_keys", gpg_keys)
9643
+
9644
+ @property
9645
+ @pulumi.getter(name="baseUrl")
9646
+ def base_url(self) -> builtins.str:
9647
+ """
9648
+ Required. The location of the repository directory.
9649
+ """
9650
+ return pulumi.get(self, "base_url")
9651
+
9652
+ @property
9653
+ @pulumi.getter
9654
+ def id(self) -> builtins.str:
9655
+ """
9656
+ Required. A one word, unique name for this repository. This is the `repo
9657
+ id` in the yum config file and also the `display_name` if
9658
+ `display_name` is omitted. This id is also used as the unique
9659
+ identifier when checking for resource conflicts.
9660
+ """
9661
+ return pulumi.get(self, "id")
9662
+
9663
+ @property
9664
+ @pulumi.getter(name="displayName")
9665
+ def display_name(self) -> Optional[builtins.str]:
9666
+ """
9667
+ The display name of the repository.
9668
+ """
9669
+ return pulumi.get(self, "display_name")
9670
+
9671
+ @property
9672
+ @pulumi.getter(name="gpgKeys")
9673
+ def gpg_keys(self) -> Optional[Sequence[builtins.str]]:
9674
+ """
9675
+ URIs of GPG keys.
9676
+ """
9677
+ return pulumi.get(self, "gpg_keys")
9678
+
9679
+
9680
+ @pulumi.output_type
9681
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryZypper(dict):
9682
+ @staticmethod
9683
+ def __key_warning(key: str):
9684
+ suggest = None
9685
+ if key == "baseUrl":
9686
+ suggest = "base_url"
9687
+ elif key == "displayName":
9688
+ suggest = "display_name"
9689
+ elif key == "gpgKeys":
9690
+ suggest = "gpg_keys"
9691
+
9692
+ if suggest:
9693
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryZypper. Access the value via the '{suggest}' property getter instead.")
9694
+
9695
+ def __getitem__(self, key: str) -> Any:
9696
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryZypper.__key_warning(key)
9697
+ return super().__getitem__(key)
9698
+
9699
+ def get(self, key: str, default = None) -> Any:
9700
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadOsPolicyResourceGroupResourceRepositoryZypper.__key_warning(key)
9701
+ return super().get(key, default)
9702
+
9703
+ def __init__(__self__, *,
9704
+ base_url: builtins.str,
9705
+ id: builtins.str,
9706
+ display_name: Optional[builtins.str] = None,
9707
+ gpg_keys: Optional[Sequence[builtins.str]] = None):
9708
+ """
9709
+ :param builtins.str base_url: Required. The location of the repository directory.
9710
+ :param builtins.str id: Required. A one word, unique name for this repository. This is the `repo
9711
+ id` in the zypper config file and also the `display_name` if
9712
+ `display_name` is omitted. This id is also used as the unique
9713
+ identifier when checking for GuestPolicy conflicts.
9714
+ :param builtins.str display_name: The display name of the repository.
9715
+ :param Sequence[builtins.str] gpg_keys: URIs of GPG keys.
9716
+ """
9717
+ pulumi.set(__self__, "base_url", base_url)
9718
+ pulumi.set(__self__, "id", id)
9719
+ if display_name is not None:
9720
+ pulumi.set(__self__, "display_name", display_name)
9721
+ if gpg_keys is not None:
9722
+ pulumi.set(__self__, "gpg_keys", gpg_keys)
9723
+
9724
+ @property
9725
+ @pulumi.getter(name="baseUrl")
9726
+ def base_url(self) -> builtins.str:
9727
+ """
9728
+ Required. The location of the repository directory.
9729
+ """
9730
+ return pulumi.get(self, "base_url")
9731
+
9732
+ @property
9733
+ @pulumi.getter
9734
+ def id(self) -> builtins.str:
9735
+ """
9736
+ Required. A one word, unique name for this repository. This is the `repo
9737
+ id` in the zypper config file and also the `display_name` if
9738
+ `display_name` is omitted. This id is also used as the unique
9739
+ identifier when checking for GuestPolicy conflicts.
9740
+ """
9741
+ return pulumi.get(self, "id")
9742
+
9743
+ @property
9744
+ @pulumi.getter(name="displayName")
9745
+ def display_name(self) -> Optional[builtins.str]:
9746
+ """
9747
+ The display name of the repository.
9748
+ """
9749
+ return pulumi.get(self, "display_name")
9750
+
9751
+ @property
9752
+ @pulumi.getter(name="gpgKeys")
9753
+ def gpg_keys(self) -> Optional[Sequence[builtins.str]]:
9754
+ """
9755
+ URIs of GPG keys.
9756
+ """
9757
+ return pulumi.get(self, "gpg_keys")
9758
+
9759
+
9760
+ @pulumi.output_type
9761
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadRollout(dict):
9762
+ @staticmethod
9763
+ def __key_warning(key: str):
9764
+ suggest = None
9765
+ if key == "disruptionBudget":
9766
+ suggest = "disruption_budget"
9767
+ elif key == "minWaitDuration":
9768
+ suggest = "min_wait_duration"
9769
+
9770
+ if suggest:
9771
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadRollout. Access the value via the '{suggest}' property getter instead.")
9772
+
9773
+ def __getitem__(self, key: str) -> Any:
9774
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadRollout.__key_warning(key)
9775
+ return super().__getitem__(key)
9776
+
9777
+ def get(self, key: str, default = None) -> Any:
9778
+ V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadRollout.__key_warning(key)
9779
+ return super().get(key, default)
9780
+
9781
+ def __init__(__self__, *,
9782
+ disruption_budget: 'outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadRolloutDisruptionBudget',
9783
+ min_wait_duration: builtins.str):
9784
+ """
9785
+ :param 'V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadRolloutDisruptionBudgetArgs' disruption_budget: Message encapsulating a value that can be either absolute ("fixed") or
9786
+ relative ("percent") to a value.
9787
+ Structure is documented below.
9788
+ :param builtins.str min_wait_duration: Required. This determines the minimum duration of time to wait after the
9789
+ configuration changes are applied through the current rollout. A
9790
+ VM continues to count towards the `disruption_budget` at least
9791
+ until this duration of time has passed after configuration changes are
9792
+ applied.
9793
+ """
9794
+ pulumi.set(__self__, "disruption_budget", disruption_budget)
9795
+ pulumi.set(__self__, "min_wait_duration", min_wait_duration)
9796
+
9797
+ @property
9798
+ @pulumi.getter(name="disruptionBudget")
9799
+ def disruption_budget(self) -> 'outputs.V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadRolloutDisruptionBudget':
9800
+ """
9801
+ Message encapsulating a value that can be either absolute ("fixed") or
9802
+ relative ("percent") to a value.
9803
+ Structure is documented below.
9804
+ """
9805
+ return pulumi.get(self, "disruption_budget")
9806
+
9807
+ @property
9808
+ @pulumi.getter(name="minWaitDuration")
9809
+ def min_wait_duration(self) -> builtins.str:
9810
+ """
9811
+ Required. This determines the minimum duration of time to wait after the
9812
+ configuration changes are applied through the current rollout. A
9813
+ VM continues to count towards the `disruption_budget` at least
9814
+ until this duration of time has passed after configuration changes are
9815
+ applied.
9816
+ """
9817
+ return pulumi.get(self, "min_wait_duration")
9818
+
9819
+
9820
+ @pulumi.output_type
9821
+ class V2PolicyOrchestratorForOrganizationOrchestratedResourceOsPolicyAssignmentV1PayloadRolloutDisruptionBudget(dict):
9822
+ def __init__(__self__, *,
9823
+ fixed: Optional[builtins.int] = None,
9824
+ percent: Optional[builtins.int] = None):
9825
+ """
9826
+ :param builtins.int fixed: Specifies a fixed value.
9827
+ :param builtins.int percent: Specifies the relative value defined as a percentage, which will be
9828
+ multiplied by a reference value.
9829
+
9830
+ - - -
9831
+ """
9832
+ if fixed is not None:
9833
+ pulumi.set(__self__, "fixed", fixed)
9834
+ if percent is not None:
9835
+ pulumi.set(__self__, "percent", percent)
9836
+
9837
+ @property
9838
+ @pulumi.getter
9839
+ def fixed(self) -> Optional[builtins.int]:
9840
+ """
9841
+ Specifies a fixed value.
9842
+ """
9843
+ return pulumi.get(self, "fixed")
9844
+
9845
+ @property
9846
+ @pulumi.getter
9847
+ def percent(self) -> Optional[builtins.int]:
9848
+ """
9849
+ Specifies the relative value defined as a percentage, which will be
9850
+ multiplied by a reference value.
9851
+
9852
+ - - -
9853
+ """
9854
+ return pulumi.get(self, "percent")
9855
+
9856
+
9857
+ @pulumi.output_type
9858
+ class V2PolicyOrchestratorForOrganizationOrchestrationScope(dict):
9859
+ def __init__(__self__, *,
9860
+ selectors: Optional[Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestrationScopeSelector']] = None):
9861
+ """
9862
+ :param Sequence['V2PolicyOrchestratorForOrganizationOrchestrationScopeSelectorArgs'] selectors: Optional. Selectors of the orchestration scope. There is a logical AND between each
9863
+ selector defined.
9864
+ When there is no explicit `ResourceHierarchySelector` selector specified,
9865
+ the scope is by default bounded to the parent of the policy orchestrator
9866
+ resource.
9867
+ Structure is documented below.
9868
+ """
9869
+ if selectors is not None:
9870
+ pulumi.set(__self__, "selectors", selectors)
9871
+
9872
+ @property
9873
+ @pulumi.getter
9874
+ def selectors(self) -> Optional[Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestrationScopeSelector']]:
9875
+ """
9876
+ Optional. Selectors of the orchestration scope. There is a logical AND between each
9877
+ selector defined.
9878
+ When there is no explicit `ResourceHierarchySelector` selector specified,
9879
+ the scope is by default bounded to the parent of the policy orchestrator
9880
+ resource.
9881
+ Structure is documented below.
9882
+ """
9883
+ return pulumi.get(self, "selectors")
9884
+
9885
+
9886
+ @pulumi.output_type
9887
+ class V2PolicyOrchestratorForOrganizationOrchestrationScopeSelector(dict):
9888
+ @staticmethod
9889
+ def __key_warning(key: str):
9890
+ suggest = None
9891
+ if key == "locationSelector":
9892
+ suggest = "location_selector"
9893
+ elif key == "resourceHierarchySelector":
9894
+ suggest = "resource_hierarchy_selector"
9895
+
9896
+ if suggest:
9897
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestrationScopeSelector. Access the value via the '{suggest}' property getter instead.")
9898
+
9899
+ def __getitem__(self, key: str) -> Any:
9900
+ V2PolicyOrchestratorForOrganizationOrchestrationScopeSelector.__key_warning(key)
9901
+ return super().__getitem__(key)
9902
+
9903
+ def get(self, key: str, default = None) -> Any:
9904
+ V2PolicyOrchestratorForOrganizationOrchestrationScopeSelector.__key_warning(key)
9905
+ return super().get(key, default)
9906
+
9907
+ def __init__(__self__, *,
9908
+ location_selector: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestrationScopeSelectorLocationSelector'] = None,
9909
+ resource_hierarchy_selector: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestrationScopeSelectorResourceHierarchySelector'] = None):
9910
+ """
9911
+ :param 'V2PolicyOrchestratorForOrganizationOrchestrationScopeSelectorLocationSelectorArgs' location_selector: Selector containing locations in scope.
9912
+ Structure is documented below.
9913
+ :param 'V2PolicyOrchestratorForOrganizationOrchestrationScopeSelectorResourceHierarchySelectorArgs' resource_hierarchy_selector: Selector containing Cloud Resource Manager resource hierarchy nodes.
9914
+ Structure is documented below.
9915
+ """
9916
+ if location_selector is not None:
9917
+ pulumi.set(__self__, "location_selector", location_selector)
9918
+ if resource_hierarchy_selector is not None:
9919
+ pulumi.set(__self__, "resource_hierarchy_selector", resource_hierarchy_selector)
9920
+
9921
+ @property
9922
+ @pulumi.getter(name="locationSelector")
9923
+ def location_selector(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestrationScopeSelectorLocationSelector']:
9924
+ """
9925
+ Selector containing locations in scope.
9926
+ Structure is documented below.
9927
+ """
9928
+ return pulumi.get(self, "location_selector")
9929
+
9930
+ @property
9931
+ @pulumi.getter(name="resourceHierarchySelector")
9932
+ def resource_hierarchy_selector(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestrationScopeSelectorResourceHierarchySelector']:
9933
+ """
9934
+ Selector containing Cloud Resource Manager resource hierarchy nodes.
9935
+ Structure is documented below.
9936
+ """
9937
+ return pulumi.get(self, "resource_hierarchy_selector")
9938
+
9939
+
9940
+ @pulumi.output_type
9941
+ class V2PolicyOrchestratorForOrganizationOrchestrationScopeSelectorLocationSelector(dict):
9942
+ @staticmethod
9943
+ def __key_warning(key: str):
9944
+ suggest = None
9945
+ if key == "includedLocations":
9946
+ suggest = "included_locations"
9947
+
9948
+ if suggest:
9949
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestrationScopeSelectorLocationSelector. Access the value via the '{suggest}' property getter instead.")
9950
+
9951
+ def __getitem__(self, key: str) -> Any:
9952
+ V2PolicyOrchestratorForOrganizationOrchestrationScopeSelectorLocationSelector.__key_warning(key)
9953
+ return super().__getitem__(key)
9954
+
9955
+ def get(self, key: str, default = None) -> Any:
9956
+ V2PolicyOrchestratorForOrganizationOrchestrationScopeSelectorLocationSelector.__key_warning(key)
9957
+ return super().get(key, default)
9958
+
9959
+ def __init__(__self__, *,
9960
+ included_locations: Optional[Sequence[builtins.str]] = None):
9961
+ """
9962
+ :param Sequence[builtins.str] included_locations: Optional. Names of the locations in scope.
9963
+ Format: `us-central1-a`
9964
+ """
9965
+ if included_locations is not None:
9966
+ pulumi.set(__self__, "included_locations", included_locations)
9967
+
9968
+ @property
9969
+ @pulumi.getter(name="includedLocations")
9970
+ def included_locations(self) -> Optional[Sequence[builtins.str]]:
9971
+ """
9972
+ Optional. Names of the locations in scope.
9973
+ Format: `us-central1-a`
9974
+ """
9975
+ return pulumi.get(self, "included_locations")
9976
+
9977
+
9978
+ @pulumi.output_type
9979
+ class V2PolicyOrchestratorForOrganizationOrchestrationScopeSelectorResourceHierarchySelector(dict):
9980
+ @staticmethod
9981
+ def __key_warning(key: str):
9982
+ suggest = None
9983
+ if key == "includedFolders":
9984
+ suggest = "included_folders"
9985
+ elif key == "includedProjects":
9986
+ suggest = "included_projects"
9987
+
9988
+ if suggest:
9989
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestrationScopeSelectorResourceHierarchySelector. Access the value via the '{suggest}' property getter instead.")
9990
+
9991
+ def __getitem__(self, key: str) -> Any:
9992
+ V2PolicyOrchestratorForOrganizationOrchestrationScopeSelectorResourceHierarchySelector.__key_warning(key)
9993
+ return super().__getitem__(key)
9994
+
9995
+ def get(self, key: str, default = None) -> Any:
9996
+ V2PolicyOrchestratorForOrganizationOrchestrationScopeSelectorResourceHierarchySelector.__key_warning(key)
9997
+ return super().get(key, default)
9998
+
9999
+ def __init__(__self__, *,
10000
+ included_folders: Optional[Sequence[builtins.str]] = None,
10001
+ included_projects: Optional[Sequence[builtins.str]] = None):
10002
+ """
10003
+ :param Sequence[builtins.str] included_folders: Optional. Names of the folders in scope.
10004
+ Format: `folders/{folder_id}`
10005
+ :param Sequence[builtins.str] included_projects: Optional. Names of the projects in scope.
10006
+ Format: `projects/{project_number}`
10007
+ """
10008
+ if included_folders is not None:
10009
+ pulumi.set(__self__, "included_folders", included_folders)
10010
+ if included_projects is not None:
10011
+ pulumi.set(__self__, "included_projects", included_projects)
10012
+
10013
+ @property
10014
+ @pulumi.getter(name="includedFolders")
10015
+ def included_folders(self) -> Optional[Sequence[builtins.str]]:
10016
+ """
10017
+ Optional. Names of the folders in scope.
10018
+ Format: `folders/{folder_id}`
10019
+ """
10020
+ return pulumi.get(self, "included_folders")
10021
+
10022
+ @property
10023
+ @pulumi.getter(name="includedProjects")
10024
+ def included_projects(self) -> Optional[Sequence[builtins.str]]:
10025
+ """
10026
+ Optional. Names of the projects in scope.
10027
+ Format: `projects/{project_number}`
10028
+ """
10029
+ return pulumi.get(self, "included_projects")
10030
+
10031
+
10032
+ @pulumi.output_type
10033
+ class V2PolicyOrchestratorForOrganizationOrchestrationState(dict):
10034
+ @staticmethod
10035
+ def __key_warning(key: str):
10036
+ suggest = None
10037
+ if key == "currentIterationStates":
10038
+ suggest = "current_iteration_states"
10039
+ elif key == "previousIterationState":
10040
+ suggest = "previous_iteration_state"
10041
+
10042
+ if suggest:
10043
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestrationState. Access the value via the '{suggest}' property getter instead.")
10044
+
10045
+ def __getitem__(self, key: str) -> Any:
10046
+ V2PolicyOrchestratorForOrganizationOrchestrationState.__key_warning(key)
10047
+ return super().__getitem__(key)
10048
+
10049
+ def get(self, key: str, default = None) -> Any:
10050
+ V2PolicyOrchestratorForOrganizationOrchestrationState.__key_warning(key)
10051
+ return super().get(key, default)
10052
+
10053
+ def __init__(__self__, *,
10054
+ current_iteration_states: Optional[Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationState']] = None,
10055
+ previous_iteration_state: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationState'] = None):
10056
+ """
10057
+ :param Sequence['V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationStateArgs'] current_iteration_states: (Output)
10058
+ Describes the state of a single iteration of the orchestrator.
10059
+ Structure is documented below.
10060
+ :param 'V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationStateArgs' previous_iteration_state: Describes the state of a single iteration of the orchestrator.
10061
+ Structure is documented below.
10062
+ """
10063
+ if current_iteration_states is not None:
10064
+ pulumi.set(__self__, "current_iteration_states", current_iteration_states)
10065
+ if previous_iteration_state is not None:
10066
+ pulumi.set(__self__, "previous_iteration_state", previous_iteration_state)
10067
+
10068
+ @property
10069
+ @pulumi.getter(name="currentIterationStates")
10070
+ def current_iteration_states(self) -> Optional[Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationState']]:
10071
+ """
10072
+ (Output)
10073
+ Describes the state of a single iteration of the orchestrator.
10074
+ Structure is documented below.
10075
+ """
10076
+ return pulumi.get(self, "current_iteration_states")
10077
+
10078
+ @property
10079
+ @pulumi.getter(name="previousIterationState")
10080
+ def previous_iteration_state(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationState']:
10081
+ """
10082
+ Describes the state of a single iteration of the orchestrator.
10083
+ Structure is documented below.
10084
+ """
10085
+ return pulumi.get(self, "previous_iteration_state")
10086
+
10087
+
10088
+ @pulumi.output_type
10089
+ class V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationState(dict):
10090
+ @staticmethod
10091
+ def __key_warning(key: str):
10092
+ suggest = None
10093
+ if key == "failedActions":
10094
+ suggest = "failed_actions"
10095
+ elif key == "finishTime":
10096
+ suggest = "finish_time"
10097
+ elif key == "performedActions":
10098
+ suggest = "performed_actions"
10099
+ elif key == "rolloutResource":
10100
+ suggest = "rollout_resource"
10101
+ elif key == "startTime":
10102
+ suggest = "start_time"
10103
+
10104
+ if suggest:
10105
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationState. Access the value via the '{suggest}' property getter instead.")
10106
+
10107
+ def __getitem__(self, key: str) -> Any:
10108
+ V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationState.__key_warning(key)
10109
+ return super().__getitem__(key)
10110
+
10111
+ def get(self, key: str, default = None) -> Any:
10112
+ V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationState.__key_warning(key)
10113
+ return super().get(key, default)
10114
+
10115
+ def __init__(__self__, *,
10116
+ error: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationStateError'] = None,
10117
+ failed_actions: Optional[builtins.str] = None,
10118
+ finish_time: Optional[builtins.str] = None,
10119
+ performed_actions: Optional[builtins.str] = None,
10120
+ progress: Optional[builtins.float] = None,
10121
+ rollout_resource: Optional[builtins.str] = None,
10122
+ start_time: Optional[builtins.str] = None,
10123
+ state: Optional[builtins.str] = None):
10124
+ """
10125
+ :param 'V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationStateErrorArgs' error: The `Status` type defines a logical error model that is suitable for
10126
+ different programming environments, including REST APIs and RPC APIs. It is
10127
+ used by [gRPC](https://github.com/grpc). Each `Status` message contains
10128
+ three pieces of data: error code, error message, and error details.
10129
+ You can find out more about this error model and how to work with it in the
10130
+ [API Design Guide](https://cloud.google.com/apis/design/errors).
10131
+ Structure is documented below.
10132
+ :param builtins.str failed_actions: (Output)
10133
+ Output only. Number of orchestration actions which failed so far. For more details,
10134
+ query the Cloud Logs.
10135
+ :param builtins.str finish_time: (Output)
10136
+ Output only. Finish time of the wave iteration.
10137
+ :param builtins.str performed_actions: (Output)
10138
+ Output only. Overall number of actions done by the orchestrator so far.
10139
+ :param builtins.float progress: (Output)
10140
+ Output only. An estimated percentage of the progress. Number between 0 and 100.
10141
+ :param builtins.str rollout_resource: (Output)
10142
+ Output only. Handle to the Progressive Rollouts API rollout resource, which contains
10143
+ detailed information about a particular orchestration iteration.
10144
+ :param builtins.str start_time: (Output)
10145
+ Output only. Start time of the wave iteration.
10146
+ :param builtins.str state: (Output)
10147
+ Output only. State of the iteration.
10148
+ Possible values:
10149
+ STATE_UNSPECIFIED
10150
+ PROCESSING
10151
+ COMPLETED
10152
+ FAILED
10153
+ CANCELLED
10154
+ UNKNOWN
10155
+ """
10156
+ if error is not None:
10157
+ pulumi.set(__self__, "error", error)
10158
+ if failed_actions is not None:
10159
+ pulumi.set(__self__, "failed_actions", failed_actions)
10160
+ if finish_time is not None:
10161
+ pulumi.set(__self__, "finish_time", finish_time)
10162
+ if performed_actions is not None:
10163
+ pulumi.set(__self__, "performed_actions", performed_actions)
10164
+ if progress is not None:
10165
+ pulumi.set(__self__, "progress", progress)
10166
+ if rollout_resource is not None:
10167
+ pulumi.set(__self__, "rollout_resource", rollout_resource)
10168
+ if start_time is not None:
10169
+ pulumi.set(__self__, "start_time", start_time)
10170
+ if state is not None:
10171
+ pulumi.set(__self__, "state", state)
10172
+
10173
+ @property
10174
+ @pulumi.getter
10175
+ def error(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationStateError']:
10176
+ """
10177
+ The `Status` type defines a logical error model that is suitable for
10178
+ different programming environments, including REST APIs and RPC APIs. It is
10179
+ used by [gRPC](https://github.com/grpc). Each `Status` message contains
10180
+ three pieces of data: error code, error message, and error details.
10181
+ You can find out more about this error model and how to work with it in the
10182
+ [API Design Guide](https://cloud.google.com/apis/design/errors).
10183
+ Structure is documented below.
10184
+ """
10185
+ return pulumi.get(self, "error")
10186
+
10187
+ @property
10188
+ @pulumi.getter(name="failedActions")
10189
+ def failed_actions(self) -> Optional[builtins.str]:
10190
+ """
10191
+ (Output)
10192
+ Output only. Number of orchestration actions which failed so far. For more details,
10193
+ query the Cloud Logs.
10194
+ """
10195
+ return pulumi.get(self, "failed_actions")
10196
+
10197
+ @property
10198
+ @pulumi.getter(name="finishTime")
10199
+ def finish_time(self) -> Optional[builtins.str]:
10200
+ """
10201
+ (Output)
10202
+ Output only. Finish time of the wave iteration.
10203
+ """
10204
+ return pulumi.get(self, "finish_time")
10205
+
10206
+ @property
10207
+ @pulumi.getter(name="performedActions")
10208
+ def performed_actions(self) -> Optional[builtins.str]:
10209
+ """
10210
+ (Output)
10211
+ Output only. Overall number of actions done by the orchestrator so far.
10212
+ """
10213
+ return pulumi.get(self, "performed_actions")
10214
+
10215
+ @property
10216
+ @pulumi.getter
10217
+ def progress(self) -> Optional[builtins.float]:
10218
+ """
10219
+ (Output)
10220
+ Output only. An estimated percentage of the progress. Number between 0 and 100.
10221
+ """
10222
+ return pulumi.get(self, "progress")
10223
+
10224
+ @property
10225
+ @pulumi.getter(name="rolloutResource")
10226
+ def rollout_resource(self) -> Optional[builtins.str]:
10227
+ """
10228
+ (Output)
10229
+ Output only. Handle to the Progressive Rollouts API rollout resource, which contains
10230
+ detailed information about a particular orchestration iteration.
10231
+ """
10232
+ return pulumi.get(self, "rollout_resource")
10233
+
10234
+ @property
10235
+ @pulumi.getter(name="startTime")
10236
+ def start_time(self) -> Optional[builtins.str]:
10237
+ """
10238
+ (Output)
10239
+ Output only. Start time of the wave iteration.
10240
+ """
10241
+ return pulumi.get(self, "start_time")
10242
+
10243
+ @property
10244
+ @pulumi.getter
10245
+ def state(self) -> Optional[builtins.str]:
10246
+ """
10247
+ (Output)
10248
+ Output only. State of the iteration.
10249
+ Possible values:
10250
+ STATE_UNSPECIFIED
10251
+ PROCESSING
10252
+ COMPLETED
10253
+ FAILED
10254
+ CANCELLED
10255
+ UNKNOWN
10256
+ """
10257
+ return pulumi.get(self, "state")
10258
+
10259
+
10260
+ @pulumi.output_type
10261
+ class V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationStateError(dict):
10262
+ def __init__(__self__, *,
10263
+ code: Optional[builtins.int] = None,
10264
+ details: Optional[Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationStateErrorDetail']] = None,
10265
+ message: Optional[builtins.str] = None):
10266
+ """
10267
+ :param builtins.int code: The status code, which should be an enum value of google.rpc.Code.
10268
+ :param Sequence['V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationStateErrorDetailArgs'] details: A list of messages that carry the error details. There is a common set of
10269
+ message types for APIs to use.
10270
+ Structure is documented below.
10271
+ :param builtins.str message: A developer-facing error message, which should be in English. Any
10272
+ user-facing error message should be localized and sent in the
10273
+ google.rpc.Status.details field, or localized by the client.
10274
+ """
10275
+ if code is not None:
10276
+ pulumi.set(__self__, "code", code)
10277
+ if details is not None:
10278
+ pulumi.set(__self__, "details", details)
10279
+ if message is not None:
10280
+ pulumi.set(__self__, "message", message)
10281
+
10282
+ @property
10283
+ @pulumi.getter
10284
+ def code(self) -> Optional[builtins.int]:
10285
+ """
10286
+ The status code, which should be an enum value of google.rpc.Code.
10287
+ """
10288
+ return pulumi.get(self, "code")
10289
+
10290
+ @property
10291
+ @pulumi.getter
10292
+ def details(self) -> Optional[Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationStateErrorDetail']]:
10293
+ """
10294
+ A list of messages that carry the error details. There is a common set of
10295
+ message types for APIs to use.
10296
+ Structure is documented below.
10297
+ """
10298
+ return pulumi.get(self, "details")
10299
+
10300
+ @property
10301
+ @pulumi.getter
10302
+ def message(self) -> Optional[builtins.str]:
10303
+ """
10304
+ A developer-facing error message, which should be in English. Any
10305
+ user-facing error message should be localized and sent in the
10306
+ google.rpc.Status.details field, or localized by the client.
10307
+ """
10308
+ return pulumi.get(self, "message")
10309
+
10310
+
10311
+ @pulumi.output_type
10312
+ class V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationStateErrorDetail(dict):
10313
+ @staticmethod
10314
+ def __key_warning(key: str):
10315
+ suggest = None
10316
+ if key == "typeUrl":
10317
+ suggest = "type_url"
10318
+
10319
+ if suggest:
10320
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationStateErrorDetail. Access the value via the '{suggest}' property getter instead.")
10321
+
10322
+ def __getitem__(self, key: str) -> Any:
10323
+ V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationStateErrorDetail.__key_warning(key)
10324
+ return super().__getitem__(key)
10325
+
10326
+ def get(self, key: str, default = None) -> Any:
10327
+ V2PolicyOrchestratorForOrganizationOrchestrationStateCurrentIterationStateErrorDetail.__key_warning(key)
10328
+ return super().get(key, default)
10329
+
10330
+ def __init__(__self__, *,
10331
+ type_url: Optional[builtins.str] = None,
10332
+ value: Optional[builtins.str] = None):
10333
+ """
10334
+ :param builtins.str type_url: A URL/resource name that uniquely identifies the type of the serialized protocol buffer message
10335
+ :param builtins.str value: (Optional)
10336
+ """
10337
+ if type_url is not None:
10338
+ pulumi.set(__self__, "type_url", type_url)
10339
+ if value is not None:
10340
+ pulumi.set(__self__, "value", value)
10341
+
10342
+ @property
10343
+ @pulumi.getter(name="typeUrl")
10344
+ def type_url(self) -> Optional[builtins.str]:
10345
+ """
10346
+ A URL/resource name that uniquely identifies the type of the serialized protocol buffer message
10347
+ """
10348
+ return pulumi.get(self, "type_url")
10349
+
10350
+ @property
10351
+ @pulumi.getter
10352
+ def value(self) -> Optional[builtins.str]:
10353
+ """
10354
+ (Optional)
10355
+ """
10356
+ return pulumi.get(self, "value")
10357
+
10358
+
10359
+ @pulumi.output_type
10360
+ class V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationState(dict):
10361
+ @staticmethod
10362
+ def __key_warning(key: str):
10363
+ suggest = None
10364
+ if key == "failedActions":
10365
+ suggest = "failed_actions"
10366
+ elif key == "finishTime":
10367
+ suggest = "finish_time"
10368
+ elif key == "performedActions":
10369
+ suggest = "performed_actions"
10370
+ elif key == "rolloutResource":
10371
+ suggest = "rollout_resource"
10372
+ elif key == "startTime":
10373
+ suggest = "start_time"
10374
+
10375
+ if suggest:
10376
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationState. Access the value via the '{suggest}' property getter instead.")
10377
+
10378
+ def __getitem__(self, key: str) -> Any:
10379
+ V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationState.__key_warning(key)
10380
+ return super().__getitem__(key)
10381
+
10382
+ def get(self, key: str, default = None) -> Any:
10383
+ V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationState.__key_warning(key)
10384
+ return super().get(key, default)
10385
+
10386
+ def __init__(__self__, *,
10387
+ error: Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationStateError'] = None,
10388
+ failed_actions: Optional[builtins.str] = None,
10389
+ finish_time: Optional[builtins.str] = None,
10390
+ performed_actions: Optional[builtins.str] = None,
10391
+ progress: Optional[builtins.float] = None,
10392
+ rollout_resource: Optional[builtins.str] = None,
10393
+ start_time: Optional[builtins.str] = None,
10394
+ state: Optional[builtins.str] = None):
10395
+ """
10396
+ :param 'V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationStateErrorArgs' error: The `Status` type defines a logical error model that is suitable for
10397
+ different programming environments, including REST APIs and RPC APIs. It is
10398
+ used by [gRPC](https://github.com/grpc). Each `Status` message contains
10399
+ three pieces of data: error code, error message, and error details.
10400
+ You can find out more about this error model and how to work with it in the
10401
+ [API Design Guide](https://cloud.google.com/apis/design/errors).
10402
+ Structure is documented below.
10403
+ :param builtins.str failed_actions: (Output)
10404
+ Output only. Number of orchestration actions which failed so far. For more details,
10405
+ query the Cloud Logs.
10406
+ :param builtins.str finish_time: (Output)
10407
+ Output only. Finish time of the wave iteration.
10408
+ :param builtins.str performed_actions: (Output)
10409
+ Output only. Overall number of actions done by the orchestrator so far.
10410
+ :param builtins.float progress: (Output)
10411
+ Output only. An estimated percentage of the progress. Number between 0 and 100.
10412
+ :param builtins.str rollout_resource: (Output)
10413
+ Output only. Handle to the Progressive Rollouts API rollout resource, which contains
10414
+ detailed information about a particular orchestration iteration.
10415
+ :param builtins.str start_time: (Output)
10416
+ Output only. Start time of the wave iteration.
10417
+ :param builtins.str state: (Output)
10418
+ Output only. State of the iteration.
10419
+ Possible values:
10420
+ STATE_UNSPECIFIED
10421
+ PROCESSING
10422
+ COMPLETED
10423
+ FAILED
10424
+ CANCELLED
10425
+ UNKNOWN
10426
+ """
10427
+ if error is not None:
10428
+ pulumi.set(__self__, "error", error)
10429
+ if failed_actions is not None:
10430
+ pulumi.set(__self__, "failed_actions", failed_actions)
10431
+ if finish_time is not None:
10432
+ pulumi.set(__self__, "finish_time", finish_time)
10433
+ if performed_actions is not None:
10434
+ pulumi.set(__self__, "performed_actions", performed_actions)
10435
+ if progress is not None:
10436
+ pulumi.set(__self__, "progress", progress)
10437
+ if rollout_resource is not None:
10438
+ pulumi.set(__self__, "rollout_resource", rollout_resource)
10439
+ if start_time is not None:
10440
+ pulumi.set(__self__, "start_time", start_time)
10441
+ if state is not None:
10442
+ pulumi.set(__self__, "state", state)
10443
+
10444
+ @property
10445
+ @pulumi.getter
10446
+ def error(self) -> Optional['outputs.V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationStateError']:
10447
+ """
10448
+ The `Status` type defines a logical error model that is suitable for
10449
+ different programming environments, including REST APIs and RPC APIs. It is
10450
+ used by [gRPC](https://github.com/grpc). Each `Status` message contains
10451
+ three pieces of data: error code, error message, and error details.
10452
+ You can find out more about this error model and how to work with it in the
10453
+ [API Design Guide](https://cloud.google.com/apis/design/errors).
10454
+ Structure is documented below.
10455
+ """
10456
+ return pulumi.get(self, "error")
10457
+
10458
+ @property
10459
+ @pulumi.getter(name="failedActions")
10460
+ def failed_actions(self) -> Optional[builtins.str]:
10461
+ """
10462
+ (Output)
10463
+ Output only. Number of orchestration actions which failed so far. For more details,
10464
+ query the Cloud Logs.
10465
+ """
10466
+ return pulumi.get(self, "failed_actions")
10467
+
10468
+ @property
10469
+ @pulumi.getter(name="finishTime")
10470
+ def finish_time(self) -> Optional[builtins.str]:
10471
+ """
10472
+ (Output)
10473
+ Output only. Finish time of the wave iteration.
10474
+ """
10475
+ return pulumi.get(self, "finish_time")
10476
+
10477
+ @property
10478
+ @pulumi.getter(name="performedActions")
10479
+ def performed_actions(self) -> Optional[builtins.str]:
10480
+ """
10481
+ (Output)
10482
+ Output only. Overall number of actions done by the orchestrator so far.
10483
+ """
10484
+ return pulumi.get(self, "performed_actions")
10485
+
10486
+ @property
10487
+ @pulumi.getter
10488
+ def progress(self) -> Optional[builtins.float]:
10489
+ """
10490
+ (Output)
10491
+ Output only. An estimated percentage of the progress. Number between 0 and 100.
10492
+ """
10493
+ return pulumi.get(self, "progress")
10494
+
10495
+ @property
10496
+ @pulumi.getter(name="rolloutResource")
10497
+ def rollout_resource(self) -> Optional[builtins.str]:
10498
+ """
10499
+ (Output)
10500
+ Output only. Handle to the Progressive Rollouts API rollout resource, which contains
10501
+ detailed information about a particular orchestration iteration.
10502
+ """
10503
+ return pulumi.get(self, "rollout_resource")
10504
+
10505
+ @property
10506
+ @pulumi.getter(name="startTime")
10507
+ def start_time(self) -> Optional[builtins.str]:
10508
+ """
10509
+ (Output)
10510
+ Output only. Start time of the wave iteration.
10511
+ """
10512
+ return pulumi.get(self, "start_time")
10513
+
10514
+ @property
10515
+ @pulumi.getter
10516
+ def state(self) -> Optional[builtins.str]:
10517
+ """
10518
+ (Output)
10519
+ Output only. State of the iteration.
10520
+ Possible values:
10521
+ STATE_UNSPECIFIED
10522
+ PROCESSING
10523
+ COMPLETED
10524
+ FAILED
10525
+ CANCELLED
10526
+ UNKNOWN
10527
+ """
10528
+ return pulumi.get(self, "state")
10529
+
10530
+
10531
+ @pulumi.output_type
10532
+ class V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationStateError(dict):
10533
+ def __init__(__self__, *,
10534
+ code: Optional[builtins.int] = None,
10535
+ details: Optional[Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationStateErrorDetail']] = None,
10536
+ message: Optional[builtins.str] = None):
10537
+ """
10538
+ :param builtins.int code: The status code, which should be an enum value of google.rpc.Code.
10539
+ :param Sequence['V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationStateErrorDetailArgs'] details: A list of messages that carry the error details. There is a common set of
10540
+ message types for APIs to use.
10541
+ Structure is documented below.
10542
+ :param builtins.str message: A developer-facing error message, which should be in English. Any
10543
+ user-facing error message should be localized and sent in the
10544
+ google.rpc.Status.details field, or localized by the client.
10545
+ """
10546
+ if code is not None:
10547
+ pulumi.set(__self__, "code", code)
10548
+ if details is not None:
10549
+ pulumi.set(__self__, "details", details)
10550
+ if message is not None:
10551
+ pulumi.set(__self__, "message", message)
10552
+
10553
+ @property
10554
+ @pulumi.getter
10555
+ def code(self) -> Optional[builtins.int]:
10556
+ """
10557
+ The status code, which should be an enum value of google.rpc.Code.
10558
+ """
10559
+ return pulumi.get(self, "code")
10560
+
10561
+ @property
10562
+ @pulumi.getter
10563
+ def details(self) -> Optional[Sequence['outputs.V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationStateErrorDetail']]:
10564
+ """
10565
+ A list of messages that carry the error details. There is a common set of
10566
+ message types for APIs to use.
10567
+ Structure is documented below.
10568
+ """
10569
+ return pulumi.get(self, "details")
10570
+
10571
+ @property
10572
+ @pulumi.getter
10573
+ def message(self) -> Optional[builtins.str]:
10574
+ """
10575
+ A developer-facing error message, which should be in English. Any
10576
+ user-facing error message should be localized and sent in the
10577
+ google.rpc.Status.details field, or localized by the client.
10578
+ """
10579
+ return pulumi.get(self, "message")
10580
+
10581
+
10582
+ @pulumi.output_type
10583
+ class V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationStateErrorDetail(dict):
10584
+ @staticmethod
10585
+ def __key_warning(key: str):
10586
+ suggest = None
10587
+ if key == "typeUrl":
10588
+ suggest = "type_url"
10589
+
10590
+ if suggest:
10591
+ pulumi.log.warn(f"Key '{key}' not found in V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationStateErrorDetail. Access the value via the '{suggest}' property getter instead.")
10592
+
10593
+ def __getitem__(self, key: str) -> Any:
10594
+ V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationStateErrorDetail.__key_warning(key)
10595
+ return super().__getitem__(key)
10596
+
10597
+ def get(self, key: str, default = None) -> Any:
10598
+ V2PolicyOrchestratorForOrganizationOrchestrationStatePreviousIterationStateErrorDetail.__key_warning(key)
10599
+ return super().get(key, default)
10600
+
10601
+ def __init__(__self__, *,
10602
+ type_url: Optional[builtins.str] = None,
10603
+ value: Optional[builtins.str] = None):
10604
+ """
10605
+ :param builtins.str type_url: A URL/resource name that uniquely identifies the type of the serialized protocol buffer message
10606
+ :param builtins.str value: (Optional)
10607
+ """
10608
+ if type_url is not None:
10609
+ pulumi.set(__self__, "type_url", type_url)
10610
+ if value is not None:
10611
+ pulumi.set(__self__, "value", value)
10612
+
10613
+ @property
10614
+ @pulumi.getter(name="typeUrl")
10615
+ def type_url(self) -> Optional[builtins.str]:
10616
+ """
10617
+ A URL/resource name that uniquely identifies the type of the serialized protocol buffer message
10618
+ """
10619
+ return pulumi.get(self, "type_url")
10620
+
10621
+ @property
10622
+ @pulumi.getter
10623
+ def value(self) -> Optional[builtins.str]:
10624
+ """
10625
+ (Optional)
10626
+ """
10627
+ return pulumi.get(self, "value")
10628
+
10629
+
6652
10630
  @pulumi.output_type
6653
10631
  class V2PolicyOrchestratorOrchestratedResource(dict):
6654
10632
  @staticmethod