Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.osconfig/v1.getOsPolicyAssignment
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Retrieve an existing OS policy assignment. This method always returns the latest revision. In order to retrieve a previous revision of the assignment, also provide the revision ID in the name
parameter.
Using getOsPolicyAssignment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getOsPolicyAssignment(args: GetOsPolicyAssignmentArgs, opts?: InvokeOptions): Promise<GetOsPolicyAssignmentResult>
function getOsPolicyAssignmentOutput(args: GetOsPolicyAssignmentOutputArgs, opts?: InvokeOptions): Output<GetOsPolicyAssignmentResult>
def get_os_policy_assignment(location: Optional[str] = None,
os_policy_assignment_id: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOsPolicyAssignmentResult
def get_os_policy_assignment_output(location: Optional[pulumi.Input[str]] = None,
os_policy_assignment_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOsPolicyAssignmentResult]
func LookupOsPolicyAssignment(ctx *Context, args *LookupOsPolicyAssignmentArgs, opts ...InvokeOption) (*LookupOsPolicyAssignmentResult, error)
func LookupOsPolicyAssignmentOutput(ctx *Context, args *LookupOsPolicyAssignmentOutputArgs, opts ...InvokeOption) LookupOsPolicyAssignmentResultOutput
> Note: This function is named LookupOsPolicyAssignment
in the Go SDK.
public static class GetOsPolicyAssignment
{
public static Task<GetOsPolicyAssignmentResult> InvokeAsync(GetOsPolicyAssignmentArgs args, InvokeOptions? opts = null)
public static Output<GetOsPolicyAssignmentResult> Invoke(GetOsPolicyAssignmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOsPolicyAssignmentResult> getOsPolicyAssignment(GetOsPolicyAssignmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:osconfig/v1:getOsPolicyAssignment
arguments:
# arguments dictionary
The following arguments are supported:
- Location string
- Os
Policy stringAssignment Id - Project string
- Location string
- Os
Policy stringAssignment Id - Project string
- location String
- os
Policy StringAssignment Id - project String
- location string
- os
Policy stringAssignment Id - project string
- location str
- os_
policy_ strassignment_ id - project str
- location String
- os
Policy StringAssignment Id - project String
getOsPolicyAssignment Result
The following output properties are available:
- Baseline bool
- Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of
true
for this field. - Deleted bool
- Indicates that this revision deletes the OS policy assignment.
- Description string
- OS policy assignment description. Length of the description is limited to 1024 characters.
- Etag string
- The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
- Instance
Filter Pulumi.Google Native. OSConfig. V1. Outputs. OSPolicy Assignment Instance Filter Response - Filter to select VMs.
- Name string
- Resource name. Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}
This field is ignored when you create an OS policy assignment. - Os
Policies List<Pulumi.Google Native. OSConfig. V1. Outputs. OSPolicy Response> - List of OS policies to be applied to the VMs.
- Reconciling bool
- Indicates that reconciliation is in progress for the revision. This value is
true
when therollout_state
is one of: * IN_PROGRESS * CANCELLING - Revision
Create stringTime - The timestamp that the revision was created.
- Revision
Id string - The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
- Rollout
Pulumi.
Google Native. OSConfig. V1. Outputs. OSPolicy Assignment Rollout Response - Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
- Rollout
State string - OS policy assignment rollout state
- Uid string
- Server generated unique id for the OS policy assignment resource.
- Baseline bool
- Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of
true
for this field. - Deleted bool
- Indicates that this revision deletes the OS policy assignment.
- Description string
- OS policy assignment description. Length of the description is limited to 1024 characters.
- Etag string
- The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
- Instance
Filter OSPolicyAssignment Instance Filter Response - Filter to select VMs.
- Name string
- Resource name. Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}
This field is ignored when you create an OS policy assignment. - Os
Policies []OSPolicyResponse - List of OS policies to be applied to the VMs.
- Reconciling bool
- Indicates that reconciliation is in progress for the revision. This value is
true
when therollout_state
is one of: * IN_PROGRESS * CANCELLING - Revision
Create stringTime - The timestamp that the revision was created.
- Revision
Id string - The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
- Rollout
OSPolicy
Assignment Rollout Response - Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
- Rollout
State string - OS policy assignment rollout state
- Uid string
- Server generated unique id for the OS policy assignment resource.
- baseline Boolean
- Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of
true
for this field. - deleted Boolean
- Indicates that this revision deletes the OS policy assignment.
- description String
- OS policy assignment description. Length of the description is limited to 1024 characters.
- etag String
- The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
- instance
Filter OSPolicyAssignment Instance Filter Response - Filter to select VMs.
- name String
- Resource name. Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}
This field is ignored when you create an OS policy assignment. - os
Policies List<OSPolicyResponse> - List of OS policies to be applied to the VMs.
- reconciling Boolean
- Indicates that reconciliation is in progress for the revision. This value is
true
when therollout_state
is one of: * IN_PROGRESS * CANCELLING - revision
Create StringTime - The timestamp that the revision was created.
- revision
Id String - The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
- rollout
OSPolicy
Assignment Rollout Response - Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
- rollout
State String - OS policy assignment rollout state
- uid String
- Server generated unique id for the OS policy assignment resource.
- baseline boolean
- Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of
true
for this field. - deleted boolean
- Indicates that this revision deletes the OS policy assignment.
- description string
- OS policy assignment description. Length of the description is limited to 1024 characters.
- etag string
- The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
- instance
Filter OSPolicyAssignment Instance Filter Response - Filter to select VMs.
- name string
- Resource name. Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}
This field is ignored when you create an OS policy assignment. - os
Policies OSPolicyResponse[] - List of OS policies to be applied to the VMs.
- reconciling boolean
- Indicates that reconciliation is in progress for the revision. This value is
true
when therollout_state
is one of: * IN_PROGRESS * CANCELLING - revision
Create stringTime - The timestamp that the revision was created.
- revision
Id string - The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
- rollout
OSPolicy
Assignment Rollout Response - Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
- rollout
State string - OS policy assignment rollout state
- uid string
- Server generated unique id for the OS policy assignment resource.
- baseline bool
- Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of
true
for this field. - deleted bool
- Indicates that this revision deletes the OS policy assignment.
- description str
- OS policy assignment description. Length of the description is limited to 1024 characters.
- etag str
- The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
- instance_
filter OSPolicyAssignment Instance Filter Response - Filter to select VMs.
- name str
- Resource name. Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}
This field is ignored when you create an OS policy assignment. - os_
policies Sequence[OSPolicyResponse] - List of OS policies to be applied to the VMs.
- reconciling bool
- Indicates that reconciliation is in progress for the revision. This value is
true
when therollout_state
is one of: * IN_PROGRESS * CANCELLING - revision_
create_ strtime - The timestamp that the revision was created.
- revision_
id str - The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
- rollout
OSPolicy
Assignment Rollout Response - Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
- rollout_
state str - OS policy assignment rollout state
- uid str
- Server generated unique id for the OS policy assignment resource.
- baseline Boolean
- Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of
true
for this field. - deleted Boolean
- Indicates that this revision deletes the OS policy assignment.
- description String
- OS policy assignment description. Length of the description is limited to 1024 characters.
- etag String
- The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
- instance
Filter Property Map - Filter to select VMs.
- name String
- Resource name. Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}
This field is ignored when you create an OS policy assignment. - os
Policies List<Property Map> - List of OS policies to be applied to the VMs.
- reconciling Boolean
- Indicates that reconciliation is in progress for the revision. This value is
true
when therollout_state
is one of: * IN_PROGRESS * CANCELLING - revision
Create StringTime - The timestamp that the revision was created.
- revision
Id String - The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
- rollout Property Map
- Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
- rollout
State String - OS policy assignment rollout state
- uid String
- Server generated unique id for the OS policy assignment resource.
Supporting Types
FixedOrPercentResponse
OSPolicyAssignmentInstanceFilterInventoryResponse
- Os
Short stringName - The OS short name
- Os
Version string - The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of
7
, specify the following value for this field7.*
An empty string matches all OS versions.
- Os
Short stringName - The OS short name
- Os
Version string - The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of
7
, specify the following value for this field7.*
An empty string matches all OS versions.
- os
Short StringName - The OS short name
- os
Version String - The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of
7
, specify the following value for this field7.*
An empty string matches all OS versions.
- os
Short stringName - The OS short name
- os
Version string - The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of
7
, specify the following value for this field7.*
An empty string matches all OS versions.
- os_
short_ strname - The OS short name
- os_
version str - The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of
7
, specify the following value for this field7.*
An empty string matches all OS versions.
- os
Short StringName - The OS short name
- os
Version String - The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of
7
, specify the following value for this field7.*
An empty string matches all OS versions.
OSPolicyAssignmentInstanceFilterResponse
- All bool
- Target all VMs in the project. If true, no other criteria is permitted.
- Exclusion
Labels List<Pulumi.Google Native. OSConfig. V1. Inputs. OSPolicy Assignment Label Set Response> - List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
- Inclusion
Labels List<Pulumi.Google Native. OSConfig. V1. Inputs. OSPolicy Assignment Label Set Response> - List of label sets used for VM inclusion. If the list has more than one
LabelSet
, the VM is included if any of the label sets are applicable for the VM. - Inventories
List<Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Assignment Instance Filter Inventory Response> - List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
- All bool
- Target all VMs in the project. If true, no other criteria is permitted.
- Exclusion
Labels []OSPolicyAssignment Label Set Response - List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
- Inclusion
Labels []OSPolicyAssignment Label Set Response - List of label sets used for VM inclusion. If the list has more than one
LabelSet
, the VM is included if any of the label sets are applicable for the VM. - Inventories
[]OSPolicy
Assignment Instance Filter Inventory Response - List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
- all Boolean
- Target all VMs in the project. If true, no other criteria is permitted.
- exclusion
Labels List<OSPolicyAssignment Label Set Response> - List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
- inclusion
Labels List<OSPolicyAssignment Label Set Response> - List of label sets used for VM inclusion. If the list has more than one
LabelSet
, the VM is included if any of the label sets are applicable for the VM. - inventories
List<OSPolicy
Assignment Instance Filter Inventory Response> - List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
- all boolean
- Target all VMs in the project. If true, no other criteria is permitted.
- exclusion
Labels OSPolicyAssignment Label Set Response[] - List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
- inclusion
Labels OSPolicyAssignment Label Set Response[] - List of label sets used for VM inclusion. If the list has more than one
LabelSet
, the VM is included if any of the label sets are applicable for the VM. - inventories
OSPolicy
Assignment Instance Filter Inventory Response[] - List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
- all bool
- Target all VMs in the project. If true, no other criteria is permitted.
- exclusion_
labels Sequence[OSPolicyAssignment Label Set Response] - List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
- inclusion_
labels Sequence[OSPolicyAssignment Label Set Response] - List of label sets used for VM inclusion. If the list has more than one
LabelSet
, the VM is included if any of the label sets are applicable for the VM. - inventories
Sequence[OSPolicy
Assignment Instance Filter Inventory Response] - List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
- all Boolean
- Target all VMs in the project. If true, no other criteria is permitted.
- exclusion
Labels List<Property Map> - List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
- inclusion
Labels List<Property Map> - List of label sets used for VM inclusion. If the list has more than one
LabelSet
, the VM is included if any of the label sets are applicable for the VM. - inventories List<Property Map>
- List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
OSPolicyAssignmentLabelSetResponse
- Labels Dictionary<string, string>
- Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.
- Labels map[string]string
- Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.
- labels Map<String,String>
- Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.
- labels {[key: string]: string}
- Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.
- labels Mapping[str, str]
- Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.
- labels Map<String>
- Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.
OSPolicyAssignmentRolloutResponse
- Disruption
Budget Pulumi.Google Native. OSConfig. V1. Inputs. Fixed Or Percent Response - The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
- Min
Wait stringDuration - This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the
disruption_budget
at least until this duration of time has passed after configuration changes are applied.
- Disruption
Budget FixedOr Percent Response - The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
- Min
Wait stringDuration - This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the
disruption_budget
at least until this duration of time has passed after configuration changes are applied.
- disruption
Budget FixedOr Percent Response - The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
- min
Wait StringDuration - This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the
disruption_budget
at least until this duration of time has passed after configuration changes are applied.
- disruption
Budget FixedOr Percent Response - The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
- min
Wait stringDuration - This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the
disruption_budget
at least until this duration of time has passed after configuration changes are applied.
- disruption_
budget FixedOr Percent Response - The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
- min_
wait_ strduration - This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the
disruption_budget
at least until this duration of time has passed after configuration changes are applied.
- disruption
Budget Property Map - The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
- min
Wait StringDuration - This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the
disruption_budget
at least until this duration of time has passed after configuration changes are applied.
OSPolicyInventoryFilterResponse
- Os
Short stringName - The OS short name
- Os
Version string - The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of
7
, specify the following value for this field7.*
An empty string matches all OS versions.
- Os
Short stringName - The OS short name
- Os
Version string - The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of
7
, specify the following value for this field7.*
An empty string matches all OS versions.
- os
Short StringName - The OS short name
- os
Version String - The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of
7
, specify the following value for this field7.*
An empty string matches all OS versions.
- os
Short stringName - The OS short name
- os
Version string - The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of
7
, specify the following value for this field7.*
An empty string matches all OS versions.
- os_
short_ strname - The OS short name
- os_
version str - The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of
7
, specify the following value for this field7.*
An empty string matches all OS versions.
- os
Short StringName - The OS short name
- os
Version String - The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of
7
, specify the following value for this field7.*
An empty string matches all OS versions.
OSPolicyResourceExecResourceExecResponse
- Args List<string>
- Optional arguments to pass to the source during execution.
- File
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource File Response - A remote or local file.
- Interpreter string
- The script interpreter to use.
- Output
File stringPath - Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
- Script string
- An inline script. The size of the script is limited to 32KiB.
- Args []string
- Optional arguments to pass to the source during execution.
- File
OSPolicy
Resource File Response - A remote or local file.
- Interpreter string
- The script interpreter to use.
- Output
File stringPath - Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
- Script string
- An inline script. The size of the script is limited to 32KiB.
- args List<String>
- Optional arguments to pass to the source during execution.
- file
OSPolicy
Resource File Response - A remote or local file.
- interpreter String
- The script interpreter to use.
- output
File StringPath - Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
- script String
- An inline script. The size of the script is limited to 32KiB.
- args string[]
- Optional arguments to pass to the source during execution.
- file
OSPolicy
Resource File Response - A remote or local file.
- interpreter string
- The script interpreter to use.
- output
File stringPath - Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
- script string
- An inline script. The size of the script is limited to 32KiB.
- args Sequence[str]
- Optional arguments to pass to the source during execution.
- file
OSPolicy
Resource File Response - A remote or local file.
- interpreter str
- The script interpreter to use.
- output_
file_ strpath - Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
- script str
- An inline script. The size of the script is limited to 32KiB.
- args List<String>
- Optional arguments to pass to the source during execution.
- file Property Map
- A remote or local file.
- interpreter String
- The script interpreter to use.
- output
File StringPath - Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
- script String
- An inline script. The size of the script is limited to 32KiB.
OSPolicyResourceExecResourceResponse
- Enforce
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Exec Resource Exec Response - What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce.
- Validate
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Exec Resource Exec Response - What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate.
- Enforce
OSPolicy
Resource Exec Resource Exec Response - What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce.
- Validate
OSPolicy
Resource Exec Resource Exec Response - What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate.
- enforce
OSPolicy
Resource Exec Resource Exec Response - What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce.
- validate
OSPolicy
Resource Exec Resource Exec Response - What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate.
- enforce
OSPolicy
Resource Exec Resource Exec Response - What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce.
- validate
OSPolicy
Resource Exec Resource Exec Response - What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate.
- enforce
OSPolicy
Resource Exec Resource Exec Response - What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce.
- validate
OSPolicy
Resource Exec Resource Exec Response - What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate.
- enforce Property Map
- What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce.
- validate Property Map
- What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate.
OSPolicyResourceFileGcsResponse
- Bucket string
- Bucket of the Cloud Storage object.
- Generation string
- Generation number of the Cloud Storage object.
- Object string
- Name of the Cloud Storage object.
- Bucket string
- Bucket of the Cloud Storage object.
- Generation string
- Generation number of the Cloud Storage object.
- Object string
- Name of the Cloud Storage object.
- bucket String
- Bucket of the Cloud Storage object.
- generation String
- Generation number of the Cloud Storage object.
- object String
- Name of the Cloud Storage object.
- bucket string
- Bucket of the Cloud Storage object.
- generation string
- Generation number of the Cloud Storage object.
- object string
- Name of the Cloud Storage object.
- bucket str
- Bucket of the Cloud Storage object.
- generation str
- Generation number of the Cloud Storage object.
- object str
- Name of the Cloud Storage object.
- bucket String
- Bucket of the Cloud Storage object.
- generation String
- Generation number of the Cloud Storage object.
- object String
- Name of the Cloud Storage object.
OSPolicyResourceFileRemoteResponse
- Sha256Checksum string
- SHA256 checksum of the remote file.
- Uri string
- URI from which to fetch the object. It should contain both the protocol and path following the format
{protocol}://{location}
.
- Sha256Checksum string
- SHA256 checksum of the remote file.
- Uri string
- URI from which to fetch the object. It should contain both the protocol and path following the format
{protocol}://{location}
.
- sha256Checksum String
- SHA256 checksum of the remote file.
- uri String
- URI from which to fetch the object. It should contain both the protocol and path following the format
{protocol}://{location}
.
- sha256Checksum string
- SHA256 checksum of the remote file.
- uri string
- URI from which to fetch the object. It should contain both the protocol and path following the format
{protocol}://{location}
.
- sha256_
checksum str - SHA256 checksum of the remote file.
- uri str
- URI from which to fetch the object. It should contain both the protocol and path following the format
{protocol}://{location}
.
- sha256Checksum String
- SHA256 checksum of the remote file.
- uri String
- URI from which to fetch the object. It should contain both the protocol and path following the format
{protocol}://{location}
.
OSPolicyResourceFileResourceResponse
- Content string
- A a file with this content. The size of the content is limited to 32KiB.
- File
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource File Response - A remote or local source.
- Path string
- The absolute path of the file within the VM.
- Permissions string
- Consists of three octal digits which represent, in order, the permissions of the owner, group, and other users for the file (similarly to the numeric mode used in the linux chmod utility). Each digit represents a three bit number with the 4 bit corresponding to the read permissions, the 2 bit corresponds to the write bit, and the one bit corresponds to the execute permission. Default behavior is 755. Below are some examples of permissions and their associated values: read, write, and execute: 7 read and execute: 5 read and write: 6 read only: 4
- State string
- Desired state of the file.
- Content string
- A a file with this content. The size of the content is limited to 32KiB.
- File
OSPolicy
Resource File Response - A remote or local source.
- Path string
- The absolute path of the file within the VM.
- Permissions string
- Consists of three octal digits which represent, in order, the permissions of the owner, group, and other users for the file (similarly to the numeric mode used in the linux chmod utility). Each digit represents a three bit number with the 4 bit corresponding to the read permissions, the 2 bit corresponds to the write bit, and the one bit corresponds to the execute permission. Default behavior is 755. Below are some examples of permissions and their associated values: read, write, and execute: 7 read and execute: 5 read and write: 6 read only: 4
- State string
- Desired state of the file.
- content String
- A a file with this content. The size of the content is limited to 32KiB.
- file
OSPolicy
Resource File Response - A remote or local source.
- path String
- The absolute path of the file within the VM.
- permissions String
- Consists of three octal digits which represent, in order, the permissions of the owner, group, and other users for the file (similarly to the numeric mode used in the linux chmod utility). Each digit represents a three bit number with the 4 bit corresponding to the read permissions, the 2 bit corresponds to the write bit, and the one bit corresponds to the execute permission. Default behavior is 755. Below are some examples of permissions and their associated values: read, write, and execute: 7 read and execute: 5 read and write: 6 read only: 4
- state String
- Desired state of the file.
- content string
- A a file with this content. The size of the content is limited to 32KiB.
- file
OSPolicy
Resource File Response - A remote or local source.
- path string
- The absolute path of the file within the VM.
- permissions string
- Consists of three octal digits which represent, in order, the permissions of the owner, group, and other users for the file (similarly to the numeric mode used in the linux chmod utility). Each digit represents a three bit number with the 4 bit corresponding to the read permissions, the 2 bit corresponds to the write bit, and the one bit corresponds to the execute permission. Default behavior is 755. Below are some examples of permissions and their associated values: read, write, and execute: 7 read and execute: 5 read and write: 6 read only: 4
- state string
- Desired state of the file.
- content str
- A a file with this content. The size of the content is limited to 32KiB.
- file
OSPolicy
Resource File Response - A remote or local source.
- path str
- The absolute path of the file within the VM.
- permissions str
- Consists of three octal digits which represent, in order, the permissions of the owner, group, and other users for the file (similarly to the numeric mode used in the linux chmod utility). Each digit represents a three bit number with the 4 bit corresponding to the read permissions, the 2 bit corresponds to the write bit, and the one bit corresponds to the execute permission. Default behavior is 755. Below are some examples of permissions and their associated values: read, write, and execute: 7 read and execute: 5 read and write: 6 read only: 4
- state str
- Desired state of the file.
- content String
- A a file with this content. The size of the content is limited to 32KiB.
- file Property Map
- A remote or local source.
- path String
- The absolute path of the file within the VM.
- permissions String
- Consists of three octal digits which represent, in order, the permissions of the owner, group, and other users for the file (similarly to the numeric mode used in the linux chmod utility). Each digit represents a three bit number with the 4 bit corresponding to the read permissions, the 2 bit corresponds to the write bit, and the one bit corresponds to the execute permission. Default behavior is 755. Below are some examples of permissions and their associated values: read, write, and execute: 7 read and execute: 5 read and write: 6 read only: 4
- state String
- Desired state of the file.
OSPolicyResourceFileResponse
- Allow
Insecure bool - Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.
- Gcs
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource File Gcs Response - A Cloud Storage object.
- Local
Path string - A local path within the VM to use.
- Remote
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource File Remote Response - A generic remote file.
- Allow
Insecure bool - Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.
- Gcs
OSPolicy
Resource File Gcs Response - A Cloud Storage object.
- Local
Path string - A local path within the VM to use.
- Remote
OSPolicy
Resource File Remote Response - A generic remote file.
- allow
Insecure Boolean - Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.
- gcs
OSPolicy
Resource File Gcs Response - A Cloud Storage object.
- local
Path String - A local path within the VM to use.
- remote
OSPolicy
Resource File Remote Response - A generic remote file.
- allow
Insecure boolean - Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.
- gcs
OSPolicy
Resource File Gcs Response - A Cloud Storage object.
- local
Path string - A local path within the VM to use.
- remote
OSPolicy
Resource File Remote Response - A generic remote file.
- allow_
insecure bool - Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.
- gcs
OSPolicy
Resource File Gcs Response - A Cloud Storage object.
- local_
path str - A local path within the VM to use.
- remote
OSPolicy
Resource File Remote Response - A generic remote file.
- allow
Insecure Boolean - Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.
- gcs Property Map
- A Cloud Storage object.
- local
Path String - A local path within the VM to use.
- remote Property Map
- A generic remote file.
OSPolicyResourceGroupResponse
- Inventory
Filters List<Pulumi.Google Native. OSConfig. V1. Inputs. OSPolicy Inventory Filter Response> - List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either
RHEL
orCentOS
operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally. - Resources
List<Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Response> - List of resources configured for this resource group. The resources are executed in the exact order specified here.
- Inventory
Filters []OSPolicyInventory Filter Response - List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either
RHEL
orCentOS
operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally. - Resources
[]OSPolicy
Resource Response - List of resources configured for this resource group. The resources are executed in the exact order specified here.
- inventory
Filters List<OSPolicyInventory Filter Response> - List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either
RHEL
orCentOS
operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally. - resources
List<OSPolicy
Resource Response> - List of resources configured for this resource group. The resources are executed in the exact order specified here.
- inventory
Filters OSPolicyInventory Filter Response[] - List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either
RHEL
orCentOS
operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally. - resources
OSPolicy
Resource Response[] - List of resources configured for this resource group. The resources are executed in the exact order specified here.
- inventory_
filters Sequence[OSPolicyInventory Filter Response] - List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either
RHEL
orCentOS
operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally. - resources
Sequence[OSPolicy
Resource Response] - List of resources configured for this resource group. The resources are executed in the exact order specified here.
- inventory
Filters List<Property Map> - List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either
RHEL
orCentOS
operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally. - resources List<Property Map>
- List of resources configured for this resource group. The resources are executed in the exact order specified here.
OSPolicyResourcePackageResourceAPTResponse
- Name string
- Package name.
- Name string
- Package name.
- name String
- Package name.
- name string
- Package name.
- name str
- Package name.
- name String
- Package name.
OSPolicyResourcePackageResourceDebResponse
- Pull
Deps bool - Whether dependencies should also be installed. - install when false:
dpkg -i package
- install when true:apt-get update && apt-get -y install package.deb
- Source
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource File Response - A deb package.
- Pull
Deps bool - Whether dependencies should also be installed. - install when false:
dpkg -i package
- install when true:apt-get update && apt-get -y install package.deb
- Source
OSPolicy
Resource File Response - A deb package.
- pull
Deps Boolean - Whether dependencies should also be installed. - install when false:
dpkg -i package
- install when true:apt-get update && apt-get -y install package.deb
- source
OSPolicy
Resource File Response - A deb package.
- pull
Deps boolean - Whether dependencies should also be installed. - install when false:
dpkg -i package
- install when true:apt-get update && apt-get -y install package.deb
- source
OSPolicy
Resource File Response - A deb package.
- pull_
deps bool - Whether dependencies should also be installed. - install when false:
dpkg -i package
- install when true:apt-get update && apt-get -y install package.deb
- source
OSPolicy
Resource File Response - A deb package.
- pull
Deps Boolean - Whether dependencies should also be installed. - install when false:
dpkg -i package
- install when true:apt-get update && apt-get -y install package.deb
- source Property Map
- A deb package.
OSPolicyResourcePackageResourceGooGetResponse
- Name string
- Package name.
- Name string
- Package name.
- name String
- Package name.
- name string
- Package name.
- name str
- Package name.
- name String
- Package name.
OSPolicyResourcePackageResourceMSIResponse
- Properties List<string>
- Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of
ACTION=INSTALL REBOOT=ReallySuppress
. - Source
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource File Response - The MSI package.
- Properties []string
- Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of
ACTION=INSTALL REBOOT=ReallySuppress
. - Source
OSPolicy
Resource File Response - The MSI package.
- properties List<String>
- Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of
ACTION=INSTALL REBOOT=ReallySuppress
. - source
OSPolicy
Resource File Response - The MSI package.
- properties string[]
- Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of
ACTION=INSTALL REBOOT=ReallySuppress
. - source
OSPolicy
Resource File Response - The MSI package.
- properties Sequence[str]
- Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of
ACTION=INSTALL REBOOT=ReallySuppress
. - source
OSPolicy
Resource File Response - The MSI package.
- properties List<String>
- Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of
ACTION=INSTALL REBOOT=ReallySuppress
. - source Property Map
- The MSI package.
OSPolicyResourcePackageResourceRPMResponse
- Pull
Deps bool - Whether dependencies should also be installed. - install when false:
rpm --upgrade --replacepkgs package.rpm
- install when true:yum -y install package.rpm
orzypper -y install package.rpm
- Source
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource File Response - An rpm package.
- Pull
Deps bool - Whether dependencies should also be installed. - install when false:
rpm --upgrade --replacepkgs package.rpm
- install when true:yum -y install package.rpm
orzypper -y install package.rpm
- Source
OSPolicy
Resource File Response - An rpm package.
- pull
Deps Boolean - Whether dependencies should also be installed. - install when false:
rpm --upgrade --replacepkgs package.rpm
- install when true:yum -y install package.rpm
orzypper -y install package.rpm
- source
OSPolicy
Resource File Response - An rpm package.
- pull
Deps boolean - Whether dependencies should also be installed. - install when false:
rpm --upgrade --replacepkgs package.rpm
- install when true:yum -y install package.rpm
orzypper -y install package.rpm
- source
OSPolicy
Resource File Response - An rpm package.
- pull_
deps bool - Whether dependencies should also be installed. - install when false:
rpm --upgrade --replacepkgs package.rpm
- install when true:yum -y install package.rpm
orzypper -y install package.rpm
- source
OSPolicy
Resource File Response - An rpm package.
- pull
Deps Boolean - Whether dependencies should also be installed. - install when false:
rpm --upgrade --replacepkgs package.rpm
- install when true:yum -y install package.rpm
orzypper -y install package.rpm
- source Property Map
- An rpm package.
OSPolicyResourcePackageResourceResponse
- Apt
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Package Resource APTResponse - A package managed by Apt.
- Deb
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Package Resource Deb Response - A deb package file.
- Desired
State string - The desired state the agent should maintain for this package.
- Googet
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Package Resource Goo Get Response - A package managed by GooGet.
- Msi
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Package Resource MSIResponse - An MSI package.
- Rpm
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Package Resource RPMResponse - An rpm package file.
- Yum
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Package Resource YUMResponse - A package managed by YUM.
- Zypper
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Package Resource Zypper Response - A package managed by Zypper.
- Apt
OSPolicy
Resource Package Resource APTResponse - A package managed by Apt.
- Deb
OSPolicy
Resource Package Resource Deb Response - A deb package file.
- Desired
State string - The desired state the agent should maintain for this package.
- Googet
OSPolicy
Resource Package Resource Goo Get Response - A package managed by GooGet.
- Msi
OSPolicy
Resource Package Resource MSIResponse - An MSI package.
- Rpm
OSPolicy
Resource Package Resource RPMResponse - An rpm package file.
- Yum
OSPolicy
Resource Package Resource YUMResponse - A package managed by YUM.
- Zypper
OSPolicy
Resource Package Resource Zypper Response - A package managed by Zypper.
- apt
OSPolicy
Resource Package Resource APTResponse - A package managed by Apt.
- deb
OSPolicy
Resource Package Resource Deb Response - A deb package file.
- desired
State String - The desired state the agent should maintain for this package.
- googet
OSPolicy
Resource Package Resource Goo Get Response - A package managed by GooGet.
- msi
OSPolicy
Resource Package Resource MSIResponse - An MSI package.
- rpm
OSPolicy
Resource Package Resource RPMResponse - An rpm package file.
- yum
OSPolicy
Resource Package Resource YUMResponse - A package managed by YUM.
- zypper
OSPolicy
Resource Package Resource Zypper Response - A package managed by Zypper.
- apt
OSPolicy
Resource Package Resource APTResponse - A package managed by Apt.
- deb
OSPolicy
Resource Package Resource Deb Response - A deb package file.
- desired
State string - The desired state the agent should maintain for this package.
- googet
OSPolicy
Resource Package Resource Goo Get Response - A package managed by GooGet.
- msi
OSPolicy
Resource Package Resource MSIResponse - An MSI package.
- rpm
OSPolicy
Resource Package Resource RPMResponse - An rpm package file.
- yum
OSPolicy
Resource Package Resource YUMResponse - A package managed by YUM.
- zypper
OSPolicy
Resource Package Resource Zypper Response - A package managed by Zypper.
- apt
OSPolicy
Resource Package Resource APTResponse - A package managed by Apt.
- deb
OSPolicy
Resource Package Resource Deb Response - A deb package file.
- desired_
state str - The desired state the agent should maintain for this package.
- googet
OSPolicy
Resource Package Resource Goo Get Response - A package managed by GooGet.
- msi
OSPolicy
Resource Package Resource MSIResponse - An MSI package.
- rpm
OSPolicy
Resource Package Resource RPMResponse - An rpm package file.
- yum
OSPolicy
Resource Package Resource YUMResponse - A package managed by YUM.
- zypper
OSPolicy
Resource Package Resource Zypper Response - A package managed by Zypper.
- apt Property Map
- A package managed by Apt.
- deb Property Map
- A deb package file.
- desired
State String - The desired state the agent should maintain for this package.
- googet Property Map
- A package managed by GooGet.
- msi Property Map
- An MSI package.
- rpm Property Map
- An rpm package file.
- yum Property Map
- A package managed by YUM.
- zypper Property Map
- A package managed by Zypper.
OSPolicyResourcePackageResourceYUMResponse
- Name string
- Package name.
- Name string
- Package name.
- name String
- Package name.
- name string
- Package name.
- name str
- Package name.
- name String
- Package name.
OSPolicyResourcePackageResourceZypperResponse
- Name string
- Package name.
- Name string
- Package name.
- name String
- Package name.
- name string
- Package name.
- name str
- Package name.
- name String
- Package name.
OSPolicyResourceRepositoryResourceAptRepositoryResponse
- Archive
Type string - Type of archive files in this repository.
- Components List<string>
- List of components for this repository. Must contain at least one item.
- Distribution string
- Distribution of this repository.
- Gpg
Key string - URI of the key file for this repository. The agent maintains a keyring at
/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg
. - Uri string
- URI for this repository.
- Archive
Type string - Type of archive files in this repository.
- Components []string
- List of components for this repository. Must contain at least one item.
- Distribution string
- Distribution of this repository.
- Gpg
Key string - URI of the key file for this repository. The agent maintains a keyring at
/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg
. - Uri string
- URI for this repository.
- archive
Type String - Type of archive files in this repository.
- components List<String>
- List of components for this repository. Must contain at least one item.
- distribution String
- Distribution of this repository.
- gpg
Key String - URI of the key file for this repository. The agent maintains a keyring at
/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg
. - uri String
- URI for this repository.
- archive
Type string - Type of archive files in this repository.
- components string[]
- List of components for this repository. Must contain at least one item.
- distribution string
- Distribution of this repository.
- gpg
Key string - URI of the key file for this repository. The agent maintains a keyring at
/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg
. - uri string
- URI for this repository.
- archive_
type str - Type of archive files in this repository.
- components Sequence[str]
- List of components for this repository. Must contain at least one item.
- distribution str
- Distribution of this repository.
- gpg_
key str - URI of the key file for this repository. The agent maintains a keyring at
/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg
. - uri str
- URI for this repository.
- archive
Type String - Type of archive files in this repository.
- components List<String>
- List of components for this repository. Must contain at least one item.
- distribution String
- Distribution of this repository.
- gpg
Key String - URI of the key file for this repository. The agent maintains a keyring at
/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg
. - uri String
- URI for this repository.
OSPolicyResourceRepositoryResourceGooRepositoryResponse
OSPolicyResourceRepositoryResourceResponse
- Apt
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Repository Resource Apt Repository Response - An Apt Repository.
- Goo
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Repository Resource Goo Repository Response - A Goo Repository.
- Yum
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Repository Resource Yum Repository Response - A Yum Repository.
- Zypper
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Repository Resource Zypper Repository Response - A Zypper Repository.
- Apt
OSPolicy
Resource Repository Resource Apt Repository Response - An Apt Repository.
- Goo
OSPolicy
Resource Repository Resource Goo Repository Response - A Goo Repository.
- Yum
OSPolicy
Resource Repository Resource Yum Repository Response - A Yum Repository.
- Zypper
OSPolicy
Resource Repository Resource Zypper Repository Response - A Zypper Repository.
- apt
OSPolicy
Resource Repository Resource Apt Repository Response - An Apt Repository.
- goo
OSPolicy
Resource Repository Resource Goo Repository Response - A Goo Repository.
- yum
OSPolicy
Resource Repository Resource Yum Repository Response - A Yum Repository.
- zypper
OSPolicy
Resource Repository Resource Zypper Repository Response - A Zypper Repository.
- apt
OSPolicy
Resource Repository Resource Apt Repository Response - An Apt Repository.
- goo
OSPolicy
Resource Repository Resource Goo Repository Response - A Goo Repository.
- yum
OSPolicy
Resource Repository Resource Yum Repository Response - A Yum Repository.
- zypper
OSPolicy
Resource Repository Resource Zypper Repository Response - A Zypper Repository.
- apt
OSPolicy
Resource Repository Resource Apt Repository Response - An Apt Repository.
- goo
OSPolicy
Resource Repository Resource Goo Repository Response - A Goo Repository.
- yum
OSPolicy
Resource Repository Resource Yum Repository Response - A Yum Repository.
- zypper
OSPolicy
Resource Repository Resource Zypper Repository Response - A Zypper Repository.
- apt Property Map
- An Apt Repository.
- goo Property Map
- A Goo Repository.
- yum Property Map
- A Yum Repository.
- zypper Property Map
- A Zypper Repository.
OSPolicyResourceRepositoryResourceYumRepositoryResponse
- Base
Url string - The location of the repository directory.
- Display
Name string - The display name of the repository.
- Gpg
Keys List<string> - URIs of GPG keys.
- Base
Url string - The location of the repository directory.
- Display
Name string - The display name of the repository.
- Gpg
Keys []string - URIs of GPG keys.
- base
Url String - The location of the repository directory.
- display
Name String - The display name of the repository.
- gpg
Keys List<String> - URIs of GPG keys.
- base
Url string - The location of the repository directory.
- display
Name string - The display name of the repository.
- gpg
Keys string[] - URIs of GPG keys.
- base_
url str - The location of the repository directory.
- display_
name str - The display name of the repository.
- gpg_
keys Sequence[str] - URIs of GPG keys.
- base
Url String - The location of the repository directory.
- display
Name String - The display name of the repository.
- gpg
Keys List<String> - URIs of GPG keys.
OSPolicyResourceRepositoryResourceZypperRepositoryResponse
- Base
Url string - The location of the repository directory.
- Display
Name string - The display name of the repository.
- Gpg
Keys List<string> - URIs of GPG keys.
- Base
Url string - The location of the repository directory.
- Display
Name string - The display name of the repository.
- Gpg
Keys []string - URIs of GPG keys.
- base
Url String - The location of the repository directory.
- display
Name String - The display name of the repository.
- gpg
Keys List<String> - URIs of GPG keys.
- base
Url string - The location of the repository directory.
- display
Name string - The display name of the repository.
- gpg
Keys string[] - URIs of GPG keys.
- base_
url str - The location of the repository directory.
- display_
name str - The display name of the repository.
- gpg_
keys Sequence[str] - URIs of GPG keys.
- base
Url String - The location of the repository directory.
- display
Name String - The display name of the repository.
- gpg
Keys List<String> - URIs of GPG keys.
OSPolicyResourceResponse
- Exec
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Exec Resource Response - Exec resource
- File
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource File Resource Response - File resource
- Pkg
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Package Resource Response - Package resource
- Repository
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Repository Resource Response - Package repository resource
- Exec
OSPolicy
Resource Exec Resource Response - Exec resource
- File
OSPolicy
Resource File Resource Response - File resource
- Pkg
OSPolicy
Resource Package Resource Response - Package resource
- Repository
OSPolicy
Resource Repository Resource Response - Package repository resource
- exec
OSPolicy
Resource Exec Resource Response - Exec resource
- file
OSPolicy
Resource File Resource Response - File resource
- pkg
OSPolicy
Resource Package Resource Response - Package resource
- repository
OSPolicy
Resource Repository Resource Response - Package repository resource
- exec
OSPolicy
Resource Exec Resource Response - Exec resource
- file
OSPolicy
Resource File Resource Response - File resource
- pkg
OSPolicy
Resource Package Resource Response - Package resource
- repository
OSPolicy
Resource Repository Resource Response - Package repository resource
- exec_
OSPolicy
Resource Exec Resource Response - Exec resource
- file
OSPolicy
Resource File Resource Response - File resource
- pkg
OSPolicy
Resource Package Resource Response - Package resource
- repository
OSPolicy
Resource Repository Resource Response - Package repository resource
- exec Property Map
- Exec resource
- file Property Map
- File resource
- pkg Property Map
- Package resource
- repository Property Map
- Package repository resource
OSPolicyResponse
- Allow
No boolResource Group Match - This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to
true
if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce. - Description string
- Policy description. Length of the description is limited to 1024 characters.
- Mode string
- Policy mode
- Resource
Groups List<Pulumi.Google Native. OSConfig. V1. Inputs. OSPolicy Resource Group Response> - List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag
allow_no_resource_group_match
- Allow
No boolResource Group Match - This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to
true
if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce. - Description string
- Policy description. Length of the description is limited to 1024 characters.
- Mode string
- Policy mode
- Resource
Groups []OSPolicyResource Group Response - List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag
allow_no_resource_group_match
- allow
No BooleanResource Group Match - This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to
true
if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce. - description String
- Policy description. Length of the description is limited to 1024 characters.
- mode String
- Policy mode
- resource
Groups List<OSPolicyResource Group Response> - List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag
allow_no_resource_group_match
- allow
No booleanResource Group Match - This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to
true
if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce. - description string
- Policy description. Length of the description is limited to 1024 characters.
- mode string
- Policy mode
- resource
Groups OSPolicyResource Group Response[] - List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag
allow_no_resource_group_match
- allow_
no_ boolresource_ group_ match - This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to
true
if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce. - description str
- Policy description. Length of the description is limited to 1024 characters.
- mode str
- Policy mode
- resource_
groups Sequence[OSPolicyResource Group Response] - List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag
allow_no_resource_group_match
- allow
No BooleanResource Group Match - This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to
true
if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce. - description String
- Policy description. Length of the description is limited to 1024 characters.
- mode String
- Policy mode
- resource
Groups List<Property Map> - List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag
allow_no_resource_group_match
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.