Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.osconfig/v1.OsPolicyAssignment
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Create an OS policy assignment. This method also creates the first revision of the OS policy assignment. This method returns a long running operation (LRO) that contains the rollout details. The rollout can be cancelled by cancelling the LRO. For more information, see Method: projects.locations.osPolicyAssignments.operations.cancel.
Create OsPolicyAssignment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OsPolicyAssignment(name: string, args: OsPolicyAssignmentArgs, opts?: CustomResourceOptions);
@overload
def OsPolicyAssignment(resource_name: str,
args: OsPolicyAssignmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OsPolicyAssignment(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_filter: Optional[OSPolicyAssignmentInstanceFilterArgs] = None,
os_policies: Optional[Sequence[OSPolicyArgs]] = None,
os_policy_assignment_id: Optional[str] = None,
rollout: Optional[OSPolicyAssignmentRolloutArgs] = None,
description: Optional[str] = None,
etag: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None)
func NewOsPolicyAssignment(ctx *Context, name string, args OsPolicyAssignmentArgs, opts ...ResourceOption) (*OsPolicyAssignment, error)
public OsPolicyAssignment(string name, OsPolicyAssignmentArgs args, CustomResourceOptions? opts = null)
public OsPolicyAssignment(String name, OsPolicyAssignmentArgs args)
public OsPolicyAssignment(String name, OsPolicyAssignmentArgs args, CustomResourceOptions options)
type: google-native:osconfig/v1:OsPolicyAssignment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args OsPolicyAssignmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OsPolicyAssignmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OsPolicyAssignmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OsPolicyAssignmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OsPolicyAssignmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var osPolicyAssignmentResource = new GoogleNative.OSConfig.V1.OsPolicyAssignment("osPolicyAssignmentResource", new()
{
InstanceFilter = new GoogleNative.OSConfig.V1.Inputs.OSPolicyAssignmentInstanceFilterArgs
{
All = false,
ExclusionLabels = new[]
{
new GoogleNative.OSConfig.V1.Inputs.OSPolicyAssignmentLabelSetArgs
{
Labels =
{
{ "string", "string" },
},
},
},
InclusionLabels = new[]
{
new GoogleNative.OSConfig.V1.Inputs.OSPolicyAssignmentLabelSetArgs
{
Labels =
{
{ "string", "string" },
},
},
},
Inventories = new[]
{
new GoogleNative.OSConfig.V1.Inputs.OSPolicyAssignmentInstanceFilterInventoryArgs
{
OsShortName = "string",
OsVersion = "string",
},
},
},
OsPolicies = new[]
{
new GoogleNative.OSConfig.V1.Inputs.OSPolicyArgs
{
Id = "string",
Mode = GoogleNative.OSConfig.V1.OSPolicyMode.ModeUnspecified,
ResourceGroups = new[]
{
new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceGroupArgs
{
Resources = new[]
{
new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceArgs
{
Id = "string",
Exec = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceExecResourceArgs
{
Validate = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceExecResourceExecArgs
{
Interpreter = GoogleNative.OSConfig.V1.OSPolicyResourceExecResourceExecInterpreter.InterpreterUnspecified,
Args = new[]
{
"string",
},
File = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileArgs
{
AllowInsecure = false,
Gcs = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileGcsArgs
{
Bucket = "string",
Object = "string",
Generation = "string",
},
LocalPath = "string",
Remote = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileRemoteArgs
{
Uri = "string",
Sha256Checksum = "string",
},
},
OutputFilePath = "string",
Script = "string",
},
Enforce = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceExecResourceExecArgs
{
Interpreter = GoogleNative.OSConfig.V1.OSPolicyResourceExecResourceExecInterpreter.InterpreterUnspecified,
Args = new[]
{
"string",
},
File = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileArgs
{
AllowInsecure = false,
Gcs = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileGcsArgs
{
Bucket = "string",
Object = "string",
Generation = "string",
},
LocalPath = "string",
Remote = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileRemoteArgs
{
Uri = "string",
Sha256Checksum = "string",
},
},
OutputFilePath = "string",
Script = "string",
},
},
File = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileResourceArgs
{
Path = "string",
State = GoogleNative.OSConfig.V1.OSPolicyResourceFileResourceState.DesiredStateUnspecified,
Content = "string",
File = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileArgs
{
AllowInsecure = false,
Gcs = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileGcsArgs
{
Bucket = "string",
Object = "string",
Generation = "string",
},
LocalPath = "string",
Remote = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileRemoteArgs
{
Uri = "string",
Sha256Checksum = "string",
},
},
Permissions = "string",
},
Pkg = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourcePackageResourceArgs
{
DesiredState = GoogleNative.OSConfig.V1.OSPolicyResourcePackageResourceDesiredState.DesiredStateUnspecified,
Apt = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourcePackageResourceAPTArgs
{
Name = "string",
},
Deb = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourcePackageResourceDebArgs
{
Source = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileArgs
{
AllowInsecure = false,
Gcs = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileGcsArgs
{
Bucket = "string",
Object = "string",
Generation = "string",
},
LocalPath = "string",
Remote = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileRemoteArgs
{
Uri = "string",
Sha256Checksum = "string",
},
},
PullDeps = false,
},
Googet = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourcePackageResourceGooGetArgs
{
Name = "string",
},
Msi = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourcePackageResourceMSIArgs
{
Source = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileArgs
{
AllowInsecure = false,
Gcs = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileGcsArgs
{
Bucket = "string",
Object = "string",
Generation = "string",
},
LocalPath = "string",
Remote = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileRemoteArgs
{
Uri = "string",
Sha256Checksum = "string",
},
},
Properties = new[]
{
"string",
},
},
Rpm = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourcePackageResourceRPMArgs
{
Source = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileArgs
{
AllowInsecure = false,
Gcs = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileGcsArgs
{
Bucket = "string",
Object = "string",
Generation = "string",
},
LocalPath = "string",
Remote = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceFileRemoteArgs
{
Uri = "string",
Sha256Checksum = "string",
},
},
PullDeps = false,
},
Yum = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourcePackageResourceYUMArgs
{
Name = "string",
},
Zypper = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourcePackageResourceZypperArgs
{
Name = "string",
},
},
Repository = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceRepositoryResourceArgs
{
Apt = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceRepositoryResourceAptRepositoryArgs
{
ArchiveType = GoogleNative.OSConfig.V1.OSPolicyResourceRepositoryResourceAptRepositoryArchiveType.ArchiveTypeUnspecified,
Components = new[]
{
"string",
},
Distribution = "string",
Uri = "string",
GpgKey = "string",
},
Goo = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceRepositoryResourceGooRepositoryArgs
{
Name = "string",
Url = "string",
},
Yum = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceRepositoryResourceYumRepositoryArgs
{
BaseUrl = "string",
Id = "string",
DisplayName = "string",
GpgKeys = new[]
{
"string",
},
},
Zypper = new GoogleNative.OSConfig.V1.Inputs.OSPolicyResourceRepositoryResourceZypperRepositoryArgs
{
BaseUrl = "string",
Id = "string",
DisplayName = "string",
GpgKeys = new[]
{
"string",
},
},
},
},
},
InventoryFilters = new[]
{
new GoogleNative.OSConfig.V1.Inputs.OSPolicyInventoryFilterArgs
{
OsShortName = "string",
OsVersion = "string",
},
},
},
},
AllowNoResourceGroupMatch = false,
Description = "string",
},
},
OsPolicyAssignmentId = "string",
Rollout = new GoogleNative.OSConfig.V1.Inputs.OSPolicyAssignmentRolloutArgs
{
DisruptionBudget = new GoogleNative.OSConfig.V1.Inputs.FixedOrPercentArgs
{
Fixed = 0,
Percent = 0,
},
MinWaitDuration = "string",
},
Description = "string",
Etag = "string",
Location = "string",
Name = "string",
Project = "string",
});
example, err := osconfig.NewOsPolicyAssignment(ctx, "osPolicyAssignmentResource", &osconfig.OsPolicyAssignmentArgs{
InstanceFilter: &osconfig.OSPolicyAssignmentInstanceFilterArgs{
All: pulumi.Bool(false),
ExclusionLabels: osconfig.OSPolicyAssignmentLabelSetArray{
&osconfig.OSPolicyAssignmentLabelSetArgs{
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
InclusionLabels: osconfig.OSPolicyAssignmentLabelSetArray{
&osconfig.OSPolicyAssignmentLabelSetArgs{
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
Inventories: osconfig.OSPolicyAssignmentInstanceFilterInventoryArray{
&osconfig.OSPolicyAssignmentInstanceFilterInventoryArgs{
OsShortName: pulumi.String("string"),
OsVersion: pulumi.String("string"),
},
},
},
OsPolicies: osconfig.OSPolicyArray{
&osconfig.OSPolicyArgs{
Id: pulumi.String("string"),
Mode: osconfig.OSPolicyModeModeUnspecified,
ResourceGroups: osconfig.OSPolicyResourceGroupArray{
&osconfig.OSPolicyResourceGroupArgs{
Resources: osconfig.OSPolicyResourceArray{
&osconfig.OSPolicyResourceArgs{
Id: pulumi.String("string"),
Exec: &osconfig.OSPolicyResourceExecResourceArgs{
Validate: &osconfig.OSPolicyResourceExecResourceExecArgs{
Interpreter: osconfig.OSPolicyResourceExecResourceExecInterpreterInterpreterUnspecified,
Args: pulumi.StringArray{
pulumi.String("string"),
},
File: &osconfig.OSPolicyResourceFileArgs{
AllowInsecure: pulumi.Bool(false),
Gcs: &osconfig.OSPolicyResourceFileGcsArgs{
Bucket: pulumi.String("string"),
Object: pulumi.String("string"),
Generation: pulumi.String("string"),
},
LocalPath: pulumi.String("string"),
Remote: &osconfig.OSPolicyResourceFileRemoteArgs{
Uri: pulumi.String("string"),
Sha256Checksum: pulumi.String("string"),
},
},
OutputFilePath: pulumi.String("string"),
Script: pulumi.String("string"),
},
Enforce: &osconfig.OSPolicyResourceExecResourceExecArgs{
Interpreter: osconfig.OSPolicyResourceExecResourceExecInterpreterInterpreterUnspecified,
Args: pulumi.StringArray{
pulumi.String("string"),
},
File: &osconfig.OSPolicyResourceFileArgs{
AllowInsecure: pulumi.Bool(false),
Gcs: &osconfig.OSPolicyResourceFileGcsArgs{
Bucket: pulumi.String("string"),
Object: pulumi.String("string"),
Generation: pulumi.String("string"),
},
LocalPath: pulumi.String("string"),
Remote: &osconfig.OSPolicyResourceFileRemoteArgs{
Uri: pulumi.String("string"),
Sha256Checksum: pulumi.String("string"),
},
},
OutputFilePath: pulumi.String("string"),
Script: pulumi.String("string"),
},
},
File: &osconfig.OSPolicyResourceFileResourceArgs{
Path: pulumi.String("string"),
State: osconfig.OSPolicyResourceFileResourceStateDesiredStateUnspecified,
Content: pulumi.String("string"),
File: &osconfig.OSPolicyResourceFileArgs{
AllowInsecure: pulumi.Bool(false),
Gcs: &osconfig.OSPolicyResourceFileGcsArgs{
Bucket: pulumi.String("string"),
Object: pulumi.String("string"),
Generation: pulumi.String("string"),
},
LocalPath: pulumi.String("string"),
Remote: &osconfig.OSPolicyResourceFileRemoteArgs{
Uri: pulumi.String("string"),
Sha256Checksum: pulumi.String("string"),
},
},
Permissions: pulumi.String("string"),
},
Pkg: &osconfig.OSPolicyResourcePackageResourceArgs{
DesiredState: osconfig.OSPolicyResourcePackageResourceDesiredStateDesiredStateUnspecified,
Apt: &osconfig.OSPolicyResourcePackageResourceAPTArgs{
Name: pulumi.String("string"),
},
Deb: &osconfig.OSPolicyResourcePackageResourceDebArgs{
Source: &osconfig.OSPolicyResourceFileArgs{
AllowInsecure: pulumi.Bool(false),
Gcs: &osconfig.OSPolicyResourceFileGcsArgs{
Bucket: pulumi.String("string"),
Object: pulumi.String("string"),
Generation: pulumi.String("string"),
},
LocalPath: pulumi.String("string"),
Remote: &osconfig.OSPolicyResourceFileRemoteArgs{
Uri: pulumi.String("string"),
Sha256Checksum: pulumi.String("string"),
},
},
PullDeps: pulumi.Bool(false),
},
Googet: &osconfig.OSPolicyResourcePackageResourceGooGetArgs{
Name: pulumi.String("string"),
},
Msi: &osconfig.OSPolicyResourcePackageResourceMSIArgs{
Source: &osconfig.OSPolicyResourceFileArgs{
AllowInsecure: pulumi.Bool(false),
Gcs: &osconfig.OSPolicyResourceFileGcsArgs{
Bucket: pulumi.String("string"),
Object: pulumi.String("string"),
Generation: pulumi.String("string"),
},
LocalPath: pulumi.String("string"),
Remote: &osconfig.OSPolicyResourceFileRemoteArgs{
Uri: pulumi.String("string"),
Sha256Checksum: pulumi.String("string"),
},
},
Properties: pulumi.StringArray{
pulumi.String("string"),
},
},
Rpm: &osconfig.OSPolicyResourcePackageResourceRPMArgs{
Source: &osconfig.OSPolicyResourceFileArgs{
AllowInsecure: pulumi.Bool(false),
Gcs: &osconfig.OSPolicyResourceFileGcsArgs{
Bucket: pulumi.String("string"),
Object: pulumi.String("string"),
Generation: pulumi.String("string"),
},
LocalPath: pulumi.String("string"),
Remote: &osconfig.OSPolicyResourceFileRemoteArgs{
Uri: pulumi.String("string"),
Sha256Checksum: pulumi.String("string"),
},
},
PullDeps: pulumi.Bool(false),
},
Yum: &osconfig.OSPolicyResourcePackageResourceYUMArgs{
Name: pulumi.String("string"),
},
Zypper: &osconfig.OSPolicyResourcePackageResourceZypperArgs{
Name: pulumi.String("string"),
},
},
Repository: &osconfig.OSPolicyResourceRepositoryResourceArgs{
Apt: &osconfig.OSPolicyResourceRepositoryResourceAptRepositoryArgs{
ArchiveType: osconfig.OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeArchiveTypeUnspecified,
Components: pulumi.StringArray{
pulumi.String("string"),
},
Distribution: pulumi.String("string"),
Uri: pulumi.String("string"),
GpgKey: pulumi.String("string"),
},
Goo: &osconfig.OSPolicyResourceRepositoryResourceGooRepositoryArgs{
Name: pulumi.String("string"),
Url: pulumi.String("string"),
},
Yum: &osconfig.OSPolicyResourceRepositoryResourceYumRepositoryArgs{
BaseUrl: pulumi.String("string"),
Id: pulumi.String("string"),
DisplayName: pulumi.String("string"),
GpgKeys: pulumi.StringArray{
pulumi.String("string"),
},
},
Zypper: &osconfig.OSPolicyResourceRepositoryResourceZypperRepositoryArgs{
BaseUrl: pulumi.String("string"),
Id: pulumi.String("string"),
DisplayName: pulumi.String("string"),
GpgKeys: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
},
InventoryFilters: osconfig.OSPolicyInventoryFilterArray{
&osconfig.OSPolicyInventoryFilterArgs{
OsShortName: pulumi.String("string"),
OsVersion: pulumi.String("string"),
},
},
},
},
AllowNoResourceGroupMatch: pulumi.Bool(false),
Description: pulumi.String("string"),
},
},
OsPolicyAssignmentId: pulumi.String("string"),
Rollout: &osconfig.OSPolicyAssignmentRolloutArgs{
DisruptionBudget: &osconfig.FixedOrPercentArgs{
Fixed: pulumi.Int(0),
Percent: pulumi.Int(0),
},
MinWaitDuration: pulumi.String("string"),
},
Description: pulumi.String("string"),
Etag: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
})
var osPolicyAssignmentResource = new OsPolicyAssignment("osPolicyAssignmentResource", OsPolicyAssignmentArgs.builder()
.instanceFilter(OSPolicyAssignmentInstanceFilterArgs.builder()
.all(false)
.exclusionLabels(OSPolicyAssignmentLabelSetArgs.builder()
.labels(Map.of("string", "string"))
.build())
.inclusionLabels(OSPolicyAssignmentLabelSetArgs.builder()
.labels(Map.of("string", "string"))
.build())
.inventories(OSPolicyAssignmentInstanceFilterInventoryArgs.builder()
.osShortName("string")
.osVersion("string")
.build())
.build())
.osPolicies(OSPolicyArgs.builder()
.id("string")
.mode("MODE_UNSPECIFIED")
.resourceGroups(OSPolicyResourceGroupArgs.builder()
.resources(OSPolicyResourceArgs.builder()
.id("string")
.exec(OSPolicyResourceExecResourceArgs.builder()
.validate(OSPolicyResourceExecResourceExecArgs.builder()
.interpreter("INTERPRETER_UNSPECIFIED")
.args("string")
.file(OSPolicyResourceFileArgs.builder()
.allowInsecure(false)
.gcs(OSPolicyResourceFileGcsArgs.builder()
.bucket("string")
.object("string")
.generation("string")
.build())
.localPath("string")
.remote(OSPolicyResourceFileRemoteArgs.builder()
.uri("string")
.sha256Checksum("string")
.build())
.build())
.outputFilePath("string")
.script("string")
.build())
.enforce(OSPolicyResourceExecResourceExecArgs.builder()
.interpreter("INTERPRETER_UNSPECIFIED")
.args("string")
.file(OSPolicyResourceFileArgs.builder()
.allowInsecure(false)
.gcs(OSPolicyResourceFileGcsArgs.builder()
.bucket("string")
.object("string")
.generation("string")
.build())
.localPath("string")
.remote(OSPolicyResourceFileRemoteArgs.builder()
.uri("string")
.sha256Checksum("string")
.build())
.build())
.outputFilePath("string")
.script("string")
.build())
.build())
.file(OSPolicyResourceFileResourceArgs.builder()
.path("string")
.state("DESIRED_STATE_UNSPECIFIED")
.content("string")
.file(OSPolicyResourceFileArgs.builder()
.allowInsecure(false)
.gcs(OSPolicyResourceFileGcsArgs.builder()
.bucket("string")
.object("string")
.generation("string")
.build())
.localPath("string")
.remote(OSPolicyResourceFileRemoteArgs.builder()
.uri("string")
.sha256Checksum("string")
.build())
.build())
.permissions("string")
.build())
.pkg(OSPolicyResourcePackageResourceArgs.builder()
.desiredState("DESIRED_STATE_UNSPECIFIED")
.apt(OSPolicyResourcePackageResourceAPTArgs.builder()
.name("string")
.build())
.deb(OSPolicyResourcePackageResourceDebArgs.builder()
.source(OSPolicyResourceFileArgs.builder()
.allowInsecure(false)
.gcs(OSPolicyResourceFileGcsArgs.builder()
.bucket("string")
.object("string")
.generation("string")
.build())
.localPath("string")
.remote(OSPolicyResourceFileRemoteArgs.builder()
.uri("string")
.sha256Checksum("string")
.build())
.build())
.pullDeps(false)
.build())
.googet(OSPolicyResourcePackageResourceGooGetArgs.builder()
.name("string")
.build())
.msi(OSPolicyResourcePackageResourceMSIArgs.builder()
.source(OSPolicyResourceFileArgs.builder()
.allowInsecure(false)
.gcs(OSPolicyResourceFileGcsArgs.builder()
.bucket("string")
.object("string")
.generation("string")
.build())
.localPath("string")
.remote(OSPolicyResourceFileRemoteArgs.builder()
.uri("string")
.sha256Checksum("string")
.build())
.build())
.properties("string")
.build())
.rpm(OSPolicyResourcePackageResourceRPMArgs.builder()
.source(OSPolicyResourceFileArgs.builder()
.allowInsecure(false)
.gcs(OSPolicyResourceFileGcsArgs.builder()
.bucket("string")
.object("string")
.generation("string")
.build())
.localPath("string")
.remote(OSPolicyResourceFileRemoteArgs.builder()
.uri("string")
.sha256Checksum("string")
.build())
.build())
.pullDeps(false)
.build())
.yum(OSPolicyResourcePackageResourceYUMArgs.builder()
.name("string")
.build())
.zypper(OSPolicyResourcePackageResourceZypperArgs.builder()
.name("string")
.build())
.build())
.repository(OSPolicyResourceRepositoryResourceArgs.builder()
.apt(OSPolicyResourceRepositoryResourceAptRepositoryArgs.builder()
.archiveType("ARCHIVE_TYPE_UNSPECIFIED")
.components("string")
.distribution("string")
.uri("string")
.gpgKey("string")
.build())
.goo(OSPolicyResourceRepositoryResourceGooRepositoryArgs.builder()
.name("string")
.url("string")
.build())
.yum(OSPolicyResourceRepositoryResourceYumRepositoryArgs.builder()
.baseUrl("string")
.id("string")
.displayName("string")
.gpgKeys("string")
.build())
.zypper(OSPolicyResourceRepositoryResourceZypperRepositoryArgs.builder()
.baseUrl("string")
.id("string")
.displayName("string")
.gpgKeys("string")
.build())
.build())
.build())
.inventoryFilters(OSPolicyInventoryFilterArgs.builder()
.osShortName("string")
.osVersion("string")
.build())
.build())
.allowNoResourceGroupMatch(false)
.description("string")
.build())
.osPolicyAssignmentId("string")
.rollout(OSPolicyAssignmentRolloutArgs.builder()
.disruptionBudget(FixedOrPercentArgs.builder()
.fixed(0)
.percent(0)
.build())
.minWaitDuration("string")
.build())
.description("string")
.etag("string")
.location("string")
.name("string")
.project("string")
.build());
os_policy_assignment_resource = google_native.osconfig.v1.OsPolicyAssignment("osPolicyAssignmentResource",
instance_filter=google_native.osconfig.v1.OSPolicyAssignmentInstanceFilterArgs(
all=False,
exclusion_labels=[google_native.osconfig.v1.OSPolicyAssignmentLabelSetArgs(
labels={
"string": "string",
},
)],
inclusion_labels=[google_native.osconfig.v1.OSPolicyAssignmentLabelSetArgs(
labels={
"string": "string",
},
)],
inventories=[google_native.osconfig.v1.OSPolicyAssignmentInstanceFilterInventoryArgs(
os_short_name="string",
os_version="string",
)],
),
os_policies=[google_native.osconfig.v1.OSPolicyArgs(
id="string",
mode=google_native.osconfig.v1.OSPolicyMode.MODE_UNSPECIFIED,
resource_groups=[google_native.osconfig.v1.OSPolicyResourceGroupArgs(
resources=[google_native.osconfig.v1.OSPolicyResourceArgs(
id="string",
exec_=google_native.osconfig.v1.OSPolicyResourceExecResourceArgs(
validate=google_native.osconfig.v1.OSPolicyResourceExecResourceExecArgs(
interpreter=google_native.osconfig.v1.OSPolicyResourceExecResourceExecInterpreter.INTERPRETER_UNSPECIFIED,
args=["string"],
file=google_native.osconfig.v1.OSPolicyResourceFileArgs(
allow_insecure=False,
gcs=google_native.osconfig.v1.OSPolicyResourceFileGcsArgs(
bucket="string",
object="string",
generation="string",
),
local_path="string",
remote=google_native.osconfig.v1.OSPolicyResourceFileRemoteArgs(
uri="string",
sha256_checksum="string",
),
),
output_file_path="string",
script="string",
),
enforce=google_native.osconfig.v1.OSPolicyResourceExecResourceExecArgs(
interpreter=google_native.osconfig.v1.OSPolicyResourceExecResourceExecInterpreter.INTERPRETER_UNSPECIFIED,
args=["string"],
file=google_native.osconfig.v1.OSPolicyResourceFileArgs(
allow_insecure=False,
gcs=google_native.osconfig.v1.OSPolicyResourceFileGcsArgs(
bucket="string",
object="string",
generation="string",
),
local_path="string",
remote=google_native.osconfig.v1.OSPolicyResourceFileRemoteArgs(
uri="string",
sha256_checksum="string",
),
),
output_file_path="string",
script="string",
),
),
file=google_native.osconfig.v1.OSPolicyResourceFileResourceArgs(
path="string",
state=google_native.osconfig.v1.OSPolicyResourceFileResourceState.DESIRED_STATE_UNSPECIFIED,
content="string",
file=google_native.osconfig.v1.OSPolicyResourceFileArgs(
allow_insecure=False,
gcs=google_native.osconfig.v1.OSPolicyResourceFileGcsArgs(
bucket="string",
object="string",
generation="string",
),
local_path="string",
remote=google_native.osconfig.v1.OSPolicyResourceFileRemoteArgs(
uri="string",
sha256_checksum="string",
),
),
permissions="string",
),
pkg=google_native.osconfig.v1.OSPolicyResourcePackageResourceArgs(
desired_state=google_native.osconfig.v1.OSPolicyResourcePackageResourceDesiredState.DESIRED_STATE_UNSPECIFIED,
apt=google_native.osconfig.v1.OSPolicyResourcePackageResourceAPTArgs(
name="string",
),
deb=google_native.osconfig.v1.OSPolicyResourcePackageResourceDebArgs(
source=google_native.osconfig.v1.OSPolicyResourceFileArgs(
allow_insecure=False,
gcs=google_native.osconfig.v1.OSPolicyResourceFileGcsArgs(
bucket="string",
object="string",
generation="string",
),
local_path="string",
remote=google_native.osconfig.v1.OSPolicyResourceFileRemoteArgs(
uri="string",
sha256_checksum="string",
),
),
pull_deps=False,
),
googet=google_native.osconfig.v1.OSPolicyResourcePackageResourceGooGetArgs(
name="string",
),
msi=google_native.osconfig.v1.OSPolicyResourcePackageResourceMSIArgs(
source=google_native.osconfig.v1.OSPolicyResourceFileArgs(
allow_insecure=False,
gcs=google_native.osconfig.v1.OSPolicyResourceFileGcsArgs(
bucket="string",
object="string",
generation="string",
),
local_path="string",
remote=google_native.osconfig.v1.OSPolicyResourceFileRemoteArgs(
uri="string",
sha256_checksum="string",
),
),
properties=["string"],
),
rpm=google_native.osconfig.v1.OSPolicyResourcePackageResourceRPMArgs(
source=google_native.osconfig.v1.OSPolicyResourceFileArgs(
allow_insecure=False,
gcs=google_native.osconfig.v1.OSPolicyResourceFileGcsArgs(
bucket="string",
object="string",
generation="string",
),
local_path="string",
remote=google_native.osconfig.v1.OSPolicyResourceFileRemoteArgs(
uri="string",
sha256_checksum="string",
),
),
pull_deps=False,
),
yum=google_native.osconfig.v1.OSPolicyResourcePackageResourceYUMArgs(
name="string",
),
zypper=google_native.osconfig.v1.OSPolicyResourcePackageResourceZypperArgs(
name="string",
),
),
repository=google_native.osconfig.v1.OSPolicyResourceRepositoryResourceArgs(
apt=google_native.osconfig.v1.OSPolicyResourceRepositoryResourceAptRepositoryArgs(
archive_type=google_native.osconfig.v1.OSPolicyResourceRepositoryResourceAptRepositoryArchiveType.ARCHIVE_TYPE_UNSPECIFIED,
components=["string"],
distribution="string",
uri="string",
gpg_key="string",
),
goo=google_native.osconfig.v1.OSPolicyResourceRepositoryResourceGooRepositoryArgs(
name="string",
url="string",
),
yum=google_native.osconfig.v1.OSPolicyResourceRepositoryResourceYumRepositoryArgs(
base_url="string",
id="string",
display_name="string",
gpg_keys=["string"],
),
zypper=google_native.osconfig.v1.OSPolicyResourceRepositoryResourceZypperRepositoryArgs(
base_url="string",
id="string",
display_name="string",
gpg_keys=["string"],
),
),
)],
inventory_filters=[google_native.osconfig.v1.OSPolicyInventoryFilterArgs(
os_short_name="string",
os_version="string",
)],
)],
allow_no_resource_group_match=False,
description="string",
)],
os_policy_assignment_id="string",
rollout=google_native.osconfig.v1.OSPolicyAssignmentRolloutArgs(
disruption_budget=google_native.osconfig.v1.FixedOrPercentArgs(
fixed=0,
percent=0,
),
min_wait_duration="string",
),
description="string",
etag="string",
location="string",
name="string",
project="string")
const osPolicyAssignmentResource = new google_native.osconfig.v1.OsPolicyAssignment("osPolicyAssignmentResource", {
instanceFilter: {
all: false,
exclusionLabels: [{
labels: {
string: "string",
},
}],
inclusionLabels: [{
labels: {
string: "string",
},
}],
inventories: [{
osShortName: "string",
osVersion: "string",
}],
},
osPolicies: [{
id: "string",
mode: google_native.osconfig.v1.OSPolicyMode.ModeUnspecified,
resourceGroups: [{
resources: [{
id: "string",
exec: {
validate: {
interpreter: google_native.osconfig.v1.OSPolicyResourceExecResourceExecInterpreter.InterpreterUnspecified,
args: ["string"],
file: {
allowInsecure: false,
gcs: {
bucket: "string",
object: "string",
generation: "string",
},
localPath: "string",
remote: {
uri: "string",
sha256Checksum: "string",
},
},
outputFilePath: "string",
script: "string",
},
enforce: {
interpreter: google_native.osconfig.v1.OSPolicyResourceExecResourceExecInterpreter.InterpreterUnspecified,
args: ["string"],
file: {
allowInsecure: false,
gcs: {
bucket: "string",
object: "string",
generation: "string",
},
localPath: "string",
remote: {
uri: "string",
sha256Checksum: "string",
},
},
outputFilePath: "string",
script: "string",
},
},
file: {
path: "string",
state: google_native.osconfig.v1.OSPolicyResourceFileResourceState.DesiredStateUnspecified,
content: "string",
file: {
allowInsecure: false,
gcs: {
bucket: "string",
object: "string",
generation: "string",
},
localPath: "string",
remote: {
uri: "string",
sha256Checksum: "string",
},
},
permissions: "string",
},
pkg: {
desiredState: google_native.osconfig.v1.OSPolicyResourcePackageResourceDesiredState.DesiredStateUnspecified,
apt: {
name: "string",
},
deb: {
source: {
allowInsecure: false,
gcs: {
bucket: "string",
object: "string",
generation: "string",
},
localPath: "string",
remote: {
uri: "string",
sha256Checksum: "string",
},
},
pullDeps: false,
},
googet: {
name: "string",
},
msi: {
source: {
allowInsecure: false,
gcs: {
bucket: "string",
object: "string",
generation: "string",
},
localPath: "string",
remote: {
uri: "string",
sha256Checksum: "string",
},
},
properties: ["string"],
},
rpm: {
source: {
allowInsecure: false,
gcs: {
bucket: "string",
object: "string",
generation: "string",
},
localPath: "string",
remote: {
uri: "string",
sha256Checksum: "string",
},
},
pullDeps: false,
},
yum: {
name: "string",
},
zypper: {
name: "string",
},
},
repository: {
apt: {
archiveType: google_native.osconfig.v1.OSPolicyResourceRepositoryResourceAptRepositoryArchiveType.ArchiveTypeUnspecified,
components: ["string"],
distribution: "string",
uri: "string",
gpgKey: "string",
},
goo: {
name: "string",
url: "string",
},
yum: {
baseUrl: "string",
id: "string",
displayName: "string",
gpgKeys: ["string"],
},
zypper: {
baseUrl: "string",
id: "string",
displayName: "string",
gpgKeys: ["string"],
},
},
}],
inventoryFilters: [{
osShortName: "string",
osVersion: "string",
}],
}],
allowNoResourceGroupMatch: false,
description: "string",
}],
osPolicyAssignmentId: "string",
rollout: {
disruptionBudget: {
fixed: 0,
percent: 0,
},
minWaitDuration: "string",
},
description: "string",
etag: "string",
location: "string",
name: "string",
project: "string",
});
type: google-native:osconfig/v1:OsPolicyAssignment
properties:
description: string
etag: string
instanceFilter:
all: false
exclusionLabels:
- labels:
string: string
inclusionLabels:
- labels:
string: string
inventories:
- osShortName: string
osVersion: string
location: string
name: string
osPolicies:
- allowNoResourceGroupMatch: false
description: string
id: string
mode: MODE_UNSPECIFIED
resourceGroups:
- inventoryFilters:
- osShortName: string
osVersion: string
resources:
- exec:
enforce:
args:
- string
file:
allowInsecure: false
gcs:
bucket: string
generation: string
object: string
localPath: string
remote:
sha256Checksum: string
uri: string
interpreter: INTERPRETER_UNSPECIFIED
outputFilePath: string
script: string
validate:
args:
- string
file:
allowInsecure: false
gcs:
bucket: string
generation: string
object: string
localPath: string
remote:
sha256Checksum: string
uri: string
interpreter: INTERPRETER_UNSPECIFIED
outputFilePath: string
script: string
file:
content: string
file:
allowInsecure: false
gcs:
bucket: string
generation: string
object: string
localPath: string
remote:
sha256Checksum: string
uri: string
path: string
permissions: string
state: DESIRED_STATE_UNSPECIFIED
id: string
pkg:
apt:
name: string
deb:
pullDeps: false
source:
allowInsecure: false
gcs:
bucket: string
generation: string
object: string
localPath: string
remote:
sha256Checksum: string
uri: string
desiredState: DESIRED_STATE_UNSPECIFIED
googet:
name: string
msi:
properties:
- string
source:
allowInsecure: false
gcs:
bucket: string
generation: string
object: string
localPath: string
remote:
sha256Checksum: string
uri: string
rpm:
pullDeps: false
source:
allowInsecure: false
gcs:
bucket: string
generation: string
object: string
localPath: string
remote:
sha256Checksum: string
uri: string
yum:
name: string
zypper:
name: string
repository:
apt:
archiveType: ARCHIVE_TYPE_UNSPECIFIED
components:
- string
distribution: string
gpgKey: string
uri: string
goo:
name: string
url: string
yum:
baseUrl: string
displayName: string
gpgKeys:
- string
id: string
zypper:
baseUrl: string
displayName: string
gpgKeys:
- string
id: string
osPolicyAssignmentId: string
project: string
rollout:
disruptionBudget:
fixed: 0
percent: 0
minWaitDuration: string
OsPolicyAssignment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The OsPolicyAssignment resource accepts the following input properties:
- Instance
Filter Pulumi.Google Native. OSConfig. V1. Inputs. OSPolicy Assignment Instance Filter - Filter to select VMs.
- Os
Policies List<Pulumi.Google Native. OSConfig. V1. Inputs. OSPolicy> - List of OS policies to be applied to the VMs.
- Os
Policy stringAssignment Id - Required. The logical name of the OS policy assignment in the project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project.
- Rollout
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Assignment Rollout - 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.
- 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.
- Location string
- 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. - Project string
- Instance
Filter OSPolicyAssignment Instance Filter Args - Filter to select VMs.
- Os
Policies []OSPolicyArgs - List of OS policies to be applied to the VMs.
- Os
Policy stringAssignment Id - Required. The logical name of the OS policy assignment in the project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project.
- Rollout
OSPolicy
Assignment Rollout Args - 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.
- 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.
- Location string
- 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. - Project string
- instance
Filter OSPolicyAssignment Instance Filter - Filter to select VMs.
- os
Policies List<OSPolicy> - List of OS policies to be applied to the VMs.
- os
Policy StringAssignment Id - Required. The logical name of the OS policy assignment in the project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project.
- rollout
OSPolicy
Assignment Rollout - 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.
- 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.
- location String
- 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. - project String
- instance
Filter OSPolicyAssignment Instance Filter - Filter to select VMs.
- os
Policies OSPolicy[] - List of OS policies to be applied to the VMs.
- os
Policy stringAssignment Id - Required. The logical name of the OS policy assignment in the project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project.
- rollout
OSPolicy
Assignment Rollout - 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.
- 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.
- location string
- 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. - project string
- instance_
filter OSPolicyAssignment Instance Filter Args - Filter to select VMs.
- os_
policies Sequence[OSPolicyArgs] - List of OS policies to be applied to the VMs.
- os_
policy_ strassignment_ id - Required. The logical name of the OS policy assignment in the project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project.
- rollout
OSPolicy
Assignment Rollout Args - 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.
- 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.
- location str
- 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. - project str
- instance
Filter Property Map - Filter to select VMs.
- os
Policies List<Property Map> - List of OS policies to be applied to the VMs.
- os
Policy StringAssignment Id - Required. The logical name of the OS policy assignment in the project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project.
- 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.
- 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.
- location String
- 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. - project String
Outputs
All input properties are implicitly available as output properties. Additionally, the OsPolicyAssignment resource produces the following output properties:
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
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.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
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.
- id String
- The provider-assigned unique ID for this managed resource.
- 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
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.
- id string
- The provider-assigned unique ID for this managed resource.
- 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
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.
- id str
- The provider-assigned unique ID for this managed resource.
- 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_
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.
- id String
- The provider-assigned unique ID for this managed resource.
- 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
State String - OS policy assignment rollout state
- uid String
- Server generated unique id for the OS policy assignment resource.
Supporting Types
FixedOrPercent, FixedOrPercentArgs
FixedOrPercentResponse, FixedOrPercentResponseArgs
OSPolicy, OSPolicyArgs
- Id string
- The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
- Mode
Pulumi.
Google Native. OSConfig. V1. OSPolicy Mode - Policy mode
- Resource
Groups List<Pulumi.Google Native. OSConfig. V1. Inputs. OSPolicy Resource Group> - 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.
- Id string
- The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
- Mode
OSPolicy
Mode - Policy mode
- Resource
Groups []OSPolicyResource Group - 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.
- id String
- The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
- mode
OSPolicy
Mode - Policy mode
- resource
Groups List<OSPolicyResource Group> - 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.
- id string
- The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
- mode
OSPolicy
Mode - Policy mode
- resource
Groups OSPolicyResource Group[] - 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.
- id str
- The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
- mode
OSPolicy
Mode - Policy mode
- resource_
groups Sequence[OSPolicyResource Group] - 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.
- id String
- The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
- mode "MODE_UNSPECIFIED" | "VALIDATION" | "ENFORCEMENT"
- 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
- 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.
OSPolicyAssignmentInstanceFilter, OSPolicyAssignmentInstanceFilterArgs
- 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> - 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> - 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> - 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 - 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 - 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 - 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> - 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> - 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> - 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[] - 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[] - 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[] - 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] - 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] - 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] - 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.
OSPolicyAssignmentInstanceFilterInventory, OSPolicyAssignmentInstanceFilterInventoryArgs
- 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.
OSPolicyAssignmentInstanceFilterInventoryResponse, OSPolicyAssignmentInstanceFilterInventoryResponseArgs
- 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, OSPolicyAssignmentInstanceFilterResponseArgs
- 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.
OSPolicyAssignmentLabelSet, OSPolicyAssignmentLabelSetArgs
- 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.
OSPolicyAssignmentLabelSetResponse, OSPolicyAssignmentLabelSetResponseArgs
- 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.
OSPolicyAssignmentRollout, OSPolicyAssignmentRolloutArgs
- Disruption
Budget Pulumi.Google Native. OSConfig. V1. Inputs. Fixed Or Percent - 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 - 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 - 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 - 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 - 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.
OSPolicyAssignmentRolloutResponse, OSPolicyAssignmentRolloutResponseArgs
- 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.
OSPolicyInventoryFilter, OSPolicyInventoryFilterArgs
- 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.
OSPolicyInventoryFilterResponse, OSPolicyInventoryFilterResponseArgs
- 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.
OSPolicyMode, OSPolicyModeArgs
- Mode
Unspecified - MODE_UNSPECIFIEDInvalid mode
- Validation
- VALIDATIONThis mode checks if the configuration resources in the policy are in their desired state. No actions are performed if they are not in the desired state. This mode is used for reporting purposes.
- Enforcement
- ENFORCEMENTThis mode checks if the configuration resources in the policy are in their desired state, and if not, enforces the desired state.
- OSPolicy
Mode Mode Unspecified - MODE_UNSPECIFIEDInvalid mode
- OSPolicy
Mode Validation - VALIDATIONThis mode checks if the configuration resources in the policy are in their desired state. No actions are performed if they are not in the desired state. This mode is used for reporting purposes.
- OSPolicy
Mode Enforcement - ENFORCEMENTThis mode checks if the configuration resources in the policy are in their desired state, and if not, enforces the desired state.
- Mode
Unspecified - MODE_UNSPECIFIEDInvalid mode
- Validation
- VALIDATIONThis mode checks if the configuration resources in the policy are in their desired state. No actions are performed if they are not in the desired state. This mode is used for reporting purposes.
- Enforcement
- ENFORCEMENTThis mode checks if the configuration resources in the policy are in their desired state, and if not, enforces the desired state.
- Mode
Unspecified - MODE_UNSPECIFIEDInvalid mode
- Validation
- VALIDATIONThis mode checks if the configuration resources in the policy are in their desired state. No actions are performed if they are not in the desired state. This mode is used for reporting purposes.
- Enforcement
- ENFORCEMENTThis mode checks if the configuration resources in the policy are in their desired state, and if not, enforces the desired state.
- MODE_UNSPECIFIED
- MODE_UNSPECIFIEDInvalid mode
- VALIDATION
- VALIDATIONThis mode checks if the configuration resources in the policy are in their desired state. No actions are performed if they are not in the desired state. This mode is used for reporting purposes.
- ENFORCEMENT
- ENFORCEMENTThis mode checks if the configuration resources in the policy are in their desired state, and if not, enforces the desired state.
- "MODE_UNSPECIFIED"
- MODE_UNSPECIFIEDInvalid mode
- "VALIDATION"
- VALIDATIONThis mode checks if the configuration resources in the policy are in their desired state. No actions are performed if they are not in the desired state. This mode is used for reporting purposes.
- "ENFORCEMENT"
- ENFORCEMENTThis mode checks if the configuration resources in the policy are in their desired state, and if not, enforces the desired state.
OSPolicyResource, OSPolicyResourceArgs
- Id string
- The id of the resource with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the OS policy.
- Exec
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Exec Resource - Exec resource
- File
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource File Resource - File resource
- Pkg
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Package Resource - Package resource
- Repository
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Repository Resource - Package repository resource
- Id string
- The id of the resource with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the OS policy.
- Exec
OSPolicy
Resource Exec Resource - Exec resource
- File
OSPolicy
Resource File Resource - File resource
- Pkg
OSPolicy
Resource Package Resource - Package resource
- Repository
OSPolicy
Resource Repository Resource - Package repository resource
- id String
- The id of the resource with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the OS policy.
- exec
OSPolicy
Resource Exec Resource - Exec resource
- file
OSPolicy
Resource File Resource - File resource
- pkg
OSPolicy
Resource Package Resource - Package resource
- repository
OSPolicy
Resource Repository Resource - Package repository resource
- id string
- The id of the resource with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the OS policy.
- exec
OSPolicy
Resource Exec Resource - Exec resource
- file
OSPolicy
Resource File Resource - File resource
- pkg
OSPolicy
Resource Package Resource - Package resource
- repository
OSPolicy
Resource Repository Resource - Package repository resource
- id str
- The id of the resource with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the OS policy.
- exec_
OSPolicy
Resource Exec Resource - Exec resource
- file
OSPolicy
Resource File Resource - File resource
- pkg
OSPolicy
Resource Package Resource - Package resource
- repository
OSPolicy
Resource Repository Resource - Package repository resource
- id String
- The id of the resource with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the OS policy.
- exec Property Map
- Exec resource
- file Property Map
- File resource
- pkg Property Map
- Package resource
- repository Property Map
- Package repository resource
OSPolicyResourceExecResource, OSPolicyResourceExecResourceArgs
- Validate
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Exec Resource Exec - 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
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Exec Resource Exec - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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.
- 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.
OSPolicyResourceExecResourceExec, OSPolicyResourceExecResourceExecArgs
- Interpreter
Pulumi.
Google Native. OSConfig. V1. OSPolicy Resource Exec Resource Exec Interpreter - The script interpreter to use.
- Args List<string>
- Optional arguments to pass to the source during execution.
- File
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource File - A remote or local file.
- 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.
- Interpreter
OSPolicy
Resource Exec Resource Exec Interpreter - The script interpreter to use.
- Args []string
- Optional arguments to pass to the source during execution.
- File
OSPolicy
Resource File - A remote or local file.
- 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.
- interpreter
OSPolicy
Resource Exec Resource Exec Interpreter - The script interpreter to use.
- args List<String>
- Optional arguments to pass to the source during execution.
- file
OSPolicy
Resource File - A remote or local file.
- 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.
- interpreter
OSPolicy
Resource Exec Resource Exec Interpreter - The script interpreter to use.
- args string[]
- Optional arguments to pass to the source during execution.
- file
OSPolicy
Resource File - A remote or local file.
- 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.
- interpreter
OSPolicy
Resource Exec Resource Exec Interpreter - The script interpreter to use.
- args Sequence[str]
- Optional arguments to pass to the source during execution.
- file
OSPolicy
Resource File - A remote or local file.
- 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.
- interpreter "INTERPRETER_UNSPECIFIED" | "NONE" | "SHELL" | "POWERSHELL"
- The script interpreter to use.
- args List<String>
- Optional arguments to pass to the source during execution.
- file Property Map
- A remote or local file.
- 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.
OSPolicyResourceExecResourceExecInterpreter, OSPolicyResourceExecResourceExecInterpreterArgs
- Interpreter
Unspecified - INTERPRETER_UNSPECIFIEDInvalid value, the request will return validation error.
- None
- NONEIf an interpreter is not specified, the source is executed directly. This execution, without an interpreter, only succeeds for executables and scripts that have shebang lines.
- Shell
- SHELLIndicates that the script runs with
/bin/sh
on Linux andcmd.exe
on Windows. - Powershell
- POWERSHELLIndicates that the script runs with PowerShell.
- OSPolicy
Resource Exec Resource Exec Interpreter Interpreter Unspecified - INTERPRETER_UNSPECIFIEDInvalid value, the request will return validation error.
- OSPolicy
Resource Exec Resource Exec Interpreter None - NONEIf an interpreter is not specified, the source is executed directly. This execution, without an interpreter, only succeeds for executables and scripts that have shebang lines.
- OSPolicy
Resource Exec Resource Exec Interpreter Shell - SHELLIndicates that the script runs with
/bin/sh
on Linux andcmd.exe
on Windows. - OSPolicy
Resource Exec Resource Exec Interpreter Powershell - POWERSHELLIndicates that the script runs with PowerShell.
- Interpreter
Unspecified - INTERPRETER_UNSPECIFIEDInvalid value, the request will return validation error.
- None
- NONEIf an interpreter is not specified, the source is executed directly. This execution, without an interpreter, only succeeds for executables and scripts that have shebang lines.
- Shell
- SHELLIndicates that the script runs with
/bin/sh
on Linux andcmd.exe
on Windows. - Powershell
- POWERSHELLIndicates that the script runs with PowerShell.
- Interpreter
Unspecified - INTERPRETER_UNSPECIFIEDInvalid value, the request will return validation error.
- None
- NONEIf an interpreter is not specified, the source is executed directly. This execution, without an interpreter, only succeeds for executables and scripts that have shebang lines.
- Shell
- SHELLIndicates that the script runs with
/bin/sh
on Linux andcmd.exe
on Windows. - Powershell
- POWERSHELLIndicates that the script runs with PowerShell.
- INTERPRETER_UNSPECIFIED
- INTERPRETER_UNSPECIFIEDInvalid value, the request will return validation error.
- NONE
- NONEIf an interpreter is not specified, the source is executed directly. This execution, without an interpreter, only succeeds for executables and scripts that have shebang lines.
- SHELL
- SHELLIndicates that the script runs with
/bin/sh
on Linux andcmd.exe
on Windows. - POWERSHELL
- POWERSHELLIndicates that the script runs with PowerShell.
- "INTERPRETER_UNSPECIFIED"
- INTERPRETER_UNSPECIFIEDInvalid value, the request will return validation error.
- "NONE"
- NONEIf an interpreter is not specified, the source is executed directly. This execution, without an interpreter, only succeeds for executables and scripts that have shebang lines.
- "SHELL"
- SHELLIndicates that the script runs with
/bin/sh
on Linux andcmd.exe
on Windows. - "POWERSHELL"
- POWERSHELLIndicates that the script runs with PowerShell.
OSPolicyResourceExecResourceExecResponse, OSPolicyResourceExecResourceExecResponseArgs
- 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, OSPolicyResourceExecResourceResponseArgs
- 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.
OSPolicyResourceFile, OSPolicyResourceFileArgs
- 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 - 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 - 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 - A Cloud Storage object.
- Local
Path string - A local path within the VM to use.
- Remote
OSPolicy
Resource File Remote - 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 - A Cloud Storage object.
- local
Path String - A local path within the VM to use.
- remote
OSPolicy
Resource File Remote - 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 - A Cloud Storage object.
- local
Path string - A local path within the VM to use.
- remote
OSPolicy
Resource File Remote - 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 - A Cloud Storage object.
- local_
path str - A local path within the VM to use.
- remote
OSPolicy
Resource File Remote - 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.
OSPolicyResourceFileGcs, OSPolicyResourceFileGcsArgs
- Bucket string
- Bucket of the Cloud Storage object.
- Object string
- Name of the Cloud Storage object.
- Generation string
- Generation number of the Cloud Storage object.
- Bucket string
- Bucket of the Cloud Storage object.
- Object string
- Name of the Cloud Storage object.
- Generation string
- Generation number of the Cloud Storage object.
- bucket String
- Bucket of the Cloud Storage object.
- object String
- Name of the Cloud Storage object.
- generation String
- Generation number of the Cloud Storage object.
- bucket string
- Bucket of the Cloud Storage object.
- object string
- Name of the Cloud Storage object.
- generation string
- Generation number of the Cloud Storage object.
- bucket str
- Bucket of the Cloud Storage object.
- object str
- Name of the Cloud Storage object.
- generation str
- Generation number of the Cloud Storage object.
- bucket String
- Bucket of the Cloud Storage object.
- object String
- Name of the Cloud Storage object.
- generation String
- Generation number of the Cloud Storage object.
OSPolicyResourceFileGcsResponse, OSPolicyResourceFileGcsResponseArgs
- 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.
OSPolicyResourceFileRemote, OSPolicyResourceFileRemoteArgs
- 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}
. - sha256Checksum string
- 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}
. - sha256_
checksum str - 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.
OSPolicyResourceFileRemoteResponse, OSPolicyResourceFileRemoteResponseArgs
- 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}
.
OSPolicyResourceFileResource, OSPolicyResourceFileResourceArgs
- Path string
- The absolute path of the file within the VM.
- State
Pulumi.
Google Native. OSConfig. V1. OSPolicy Resource File Resource State - Desired state of the file.
- 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 - A remote or local source.
- 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
- Path string
- The absolute path of the file within the VM.
- State
OSPolicy
Resource File Resource State - 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 - A remote or local source.
- 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
- path String
- The absolute path of the file within the VM.
- state
OSPolicy
Resource File Resource State - 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 - A remote or local source.
- 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
- path string
- The absolute path of the file within the VM.
- state
OSPolicy
Resource File Resource State - 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 - A remote or local source.
- 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
- path str
- The absolute path of the file within the VM.
- state
OSPolicy
Resource File Resource State - 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 - A remote or local source.
- 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
- path String
- The absolute path of the file within the VM.
- state "DESIRED_STATE_UNSPECIFIED" | "PRESENT" | "ABSENT" | "CONTENTS_MATCH"
- 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.
- 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
OSPolicyResourceFileResourceResponse, OSPolicyResourceFileResourceResponseArgs
- 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.
OSPolicyResourceFileResourceState, OSPolicyResourceFileResourceStateArgs
- Desired
State Unspecified - DESIRED_STATE_UNSPECIFIEDUnspecified is invalid.
- Present
- PRESENTEnsure file at path is present.
- Absent
- ABSENTEnsure file at path is absent.
- Contents
Match - CONTENTS_MATCHEnsure the contents of the file at path matches. If the file does not exist it will be created.
- OSPolicy
Resource File Resource State Desired State Unspecified - DESIRED_STATE_UNSPECIFIEDUnspecified is invalid.
- OSPolicy
Resource File Resource State Present - PRESENTEnsure file at path is present.
- OSPolicy
Resource File Resource State Absent - ABSENTEnsure file at path is absent.
- OSPolicy
Resource File Resource State Contents Match - CONTENTS_MATCHEnsure the contents of the file at path matches. If the file does not exist it will be created.
- Desired
State Unspecified - DESIRED_STATE_UNSPECIFIEDUnspecified is invalid.
- Present
- PRESENTEnsure file at path is present.
- Absent
- ABSENTEnsure file at path is absent.
- Contents
Match - CONTENTS_MATCHEnsure the contents of the file at path matches. If the file does not exist it will be created.
- Desired
State Unspecified - DESIRED_STATE_UNSPECIFIEDUnspecified is invalid.
- Present
- PRESENTEnsure file at path is present.
- Absent
- ABSENTEnsure file at path is absent.
- Contents
Match - CONTENTS_MATCHEnsure the contents of the file at path matches. If the file does not exist it will be created.
- DESIRED_STATE_UNSPECIFIED
- DESIRED_STATE_UNSPECIFIEDUnspecified is invalid.
- PRESENT
- PRESENTEnsure file at path is present.
- ABSENT
- ABSENTEnsure file at path is absent.
- CONTENTS_MATCH
- CONTENTS_MATCHEnsure the contents of the file at path matches. If the file does not exist it will be created.
- "DESIRED_STATE_UNSPECIFIED"
- DESIRED_STATE_UNSPECIFIEDUnspecified is invalid.
- "PRESENT"
- PRESENTEnsure file at path is present.
- "ABSENT"
- ABSENTEnsure file at path is absent.
- "CONTENTS_MATCH"
- CONTENTS_MATCHEnsure the contents of the file at path matches. If the file does not exist it will be created.
OSPolicyResourceFileResponse, OSPolicyResourceFileResponseArgs
- 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.
OSPolicyResourceGroup, OSPolicyResourceGroupArgs
- Resources
List<Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource> - List of resources configured for this resource group. The resources are executed in the exact order specified here.
- Inventory
Filters List<Pulumi.Google Native. OSConfig. V1. Inputs. OSPolicy Inventory Filter> - 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 - List of resources configured for this resource group. The resources are executed in the exact order specified here.
- Inventory
Filters []OSPolicyInventory Filter - 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> - List of resources configured for this resource group. The resources are executed in the exact order specified here.
- inventory
Filters List<OSPolicyInventory Filter> - 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[] - List of resources configured for this resource group. The resources are executed in the exact order specified here.
- inventory
Filters OSPolicyInventory Filter[] - 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] - List of resources configured for this resource group. The resources are executed in the exact order specified here.
- inventory_
filters Sequence[OSPolicyInventory Filter] - 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.
- 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.
OSPolicyResourceGroupResponse, OSPolicyResourceGroupResponseArgs
- 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.
OSPolicyResourcePackageResource, OSPolicyResourcePackageResourceArgs
- Desired
State Pulumi.Google Native. OSConfig. V1. OSPolicy Resource Package Resource Desired State - The desired state the agent should maintain for this package.
- Apt
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Package Resource APT - A package managed by Apt.
- Deb
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Package Resource Deb - A deb package file.
- Googet
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Package Resource Goo Get - A package managed by GooGet.
- Msi
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Package Resource MSI - An MSI package.
- Rpm
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Package Resource RPM - An rpm package file.
- Yum
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Package Resource YUM - A package managed by YUM.
- Zypper
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Package Resource Zypper - A package managed by Zypper.
- Desired
State OSPolicyResource Package Resource Desired State - The desired state the agent should maintain for this package.
- Apt
OSPolicy
Resource Package Resource APT - A package managed by Apt.
- Deb
OSPolicy
Resource Package Resource Deb - A deb package file.
- Googet
OSPolicy
Resource Package Resource Goo Get - A package managed by GooGet.
- Msi
OSPolicy
Resource Package Resource MSI - An MSI package.
- Rpm
OSPolicy
Resource Package Resource RPM - An rpm package file.
- Yum
OSPolicy
Resource Package Resource YUM - A package managed by YUM.
- Zypper
OSPolicy
Resource Package Resource Zypper - A package managed by Zypper.
- desired
State OSPolicyResource Package Resource Desired State - The desired state the agent should maintain for this package.
- apt
OSPolicy
Resource Package Resource APT - A package managed by Apt.
- deb
OSPolicy
Resource Package Resource Deb - A deb package file.
- googet
OSPolicy
Resource Package Resource Goo Get - A package managed by GooGet.
- msi
OSPolicy
Resource Package Resource MSI - An MSI package.
- rpm
OSPolicy
Resource Package Resource RPM - An rpm package file.
- yum
OSPolicy
Resource Package Resource YUM - A package managed by YUM.
- zypper
OSPolicy
Resource Package Resource Zypper - A package managed by Zypper.
- desired
State OSPolicyResource Package Resource Desired State - The desired state the agent should maintain for this package.
- apt
OSPolicy
Resource Package Resource APT - A package managed by Apt.
- deb
OSPolicy
Resource Package Resource Deb - A deb package file.
- googet
OSPolicy
Resource Package Resource Goo Get - A package managed by GooGet.
- msi
OSPolicy
Resource Package Resource MSI - An MSI package.
- rpm
OSPolicy
Resource Package Resource RPM - An rpm package file.
- yum
OSPolicy
Resource Package Resource YUM - A package managed by YUM.
- zypper
OSPolicy
Resource Package Resource Zypper - A package managed by Zypper.
- desired_
state OSPolicyResource Package Resource Desired State - The desired state the agent should maintain for this package.
- apt
OSPolicy
Resource Package Resource APT - A package managed by Apt.
- deb
OSPolicy
Resource Package Resource Deb - A deb package file.
- googet
OSPolicy
Resource Package Resource Goo Get - A package managed by GooGet.
- msi
OSPolicy
Resource Package Resource MSI - An MSI package.
- rpm
OSPolicy
Resource Package Resource RPM - An rpm package file.
- yum
OSPolicy
Resource Package Resource YUM - A package managed by YUM.
- zypper
OSPolicy
Resource Package Resource Zypper - A package managed by Zypper.
- desired
State "DESIRED_STATE_UNSPECIFIED" | "INSTALLED" | "REMOVED" - The desired state the agent should maintain for this package.
- apt Property Map
- A package managed by Apt.
- deb Property Map
- A deb package file.
- 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.
OSPolicyResourcePackageResourceAPT, OSPolicyResourcePackageResourceAPTArgs
- Name string
- Package name.
- Name string
- Package name.
- name String
- Package name.
- name string
- Package name.
- name str
- Package name.
- name String
- Package name.
OSPolicyResourcePackageResourceAPTResponse, OSPolicyResourcePackageResourceAPTResponseArgs
- Name string
- Package name.
- Name string
- Package name.
- name String
- Package name.
- name string
- Package name.
- name str
- Package name.
- name String
- Package name.
OSPolicyResourcePackageResourceDeb, OSPolicyResourcePackageResourceDebArgs
- Source
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource File - 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 - 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 - 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 - 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 - 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 Property Map
- 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
OSPolicyResourcePackageResourceDebResponse, OSPolicyResourcePackageResourceDebResponseArgs
- 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.
OSPolicyResourcePackageResourceDesiredState, OSPolicyResourcePackageResourceDesiredStateArgs
- Desired
State Unspecified - DESIRED_STATE_UNSPECIFIEDUnspecified is invalid.
- Installed
- INSTALLEDEnsure that the package is installed.
- Removed
- REMOVEDThe agent ensures that the package is not installed and uninstalls it if detected.
- OSPolicy
Resource Package Resource Desired State Desired State Unspecified - DESIRED_STATE_UNSPECIFIEDUnspecified is invalid.
- OSPolicy
Resource Package Resource Desired State Installed - INSTALLEDEnsure that the package is installed.
- OSPolicy
Resource Package Resource Desired State Removed - REMOVEDThe agent ensures that the package is not installed and uninstalls it if detected.
- Desired
State Unspecified - DESIRED_STATE_UNSPECIFIEDUnspecified is invalid.
- Installed
- INSTALLEDEnsure that the package is installed.
- Removed
- REMOVEDThe agent ensures that the package is not installed and uninstalls it if detected.
- Desired
State Unspecified - DESIRED_STATE_UNSPECIFIEDUnspecified is invalid.
- Installed
- INSTALLEDEnsure that the package is installed.
- Removed
- REMOVEDThe agent ensures that the package is not installed and uninstalls it if detected.
- DESIRED_STATE_UNSPECIFIED
- DESIRED_STATE_UNSPECIFIEDUnspecified is invalid.
- INSTALLED
- INSTALLEDEnsure that the package is installed.
- REMOVED
- REMOVEDThe agent ensures that the package is not installed and uninstalls it if detected.
- "DESIRED_STATE_UNSPECIFIED"
- DESIRED_STATE_UNSPECIFIEDUnspecified is invalid.
- "INSTALLED"
- INSTALLEDEnsure that the package is installed.
- "REMOVED"
- REMOVEDThe agent ensures that the package is not installed and uninstalls it if detected.
OSPolicyResourcePackageResourceGooGet, OSPolicyResourcePackageResourceGooGetArgs
- Name string
- Package name.
- Name string
- Package name.
- name String
- Package name.
- name string
- Package name.
- name str
- Package name.
- name String
- Package name.
OSPolicyResourcePackageResourceGooGetResponse, OSPolicyResourcePackageResourceGooGetResponseArgs
- Name string
- Package name.
- Name string
- Package name.
- name String
- Package name.
- name string
- Package name.
- name str
- Package name.
- name String
- Package name.
OSPolicyResourcePackageResourceMSI, OSPolicyResourcePackageResourceMSIArgs
- Source
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource File - 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 - 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 - 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 - 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 - 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 Property Map
- 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
.
OSPolicyResourcePackageResourceMSIResponse, OSPolicyResourcePackageResourceMSIResponseArgs
- 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.
OSPolicyResourcePackageResourceRPM, OSPolicyResourcePackageResourceRPMArgs
- Source
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource File - 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 - 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 - 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 - 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 - 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 Property Map
- 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
OSPolicyResourcePackageResourceRPMResponse, OSPolicyResourcePackageResourceRPMResponseArgs
- 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, OSPolicyResourcePackageResourceResponseArgs
- 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.
OSPolicyResourcePackageResourceYUM, OSPolicyResourcePackageResourceYUMArgs
- Name string
- Package name.
- Name string
- Package name.
- name String
- Package name.
- name string
- Package name.
- name str
- Package name.
- name String
- Package name.
OSPolicyResourcePackageResourceYUMResponse, OSPolicyResourcePackageResourceYUMResponseArgs
- Name string
- Package name.
- Name string
- Package name.
- name String
- Package name.
- name string
- Package name.
- name str
- Package name.
- name String
- Package name.
OSPolicyResourcePackageResourceZypper, OSPolicyResourcePackageResourceZypperArgs
- 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, OSPolicyResourcePackageResourceZypperResponseArgs
- Name string
- Package name.
- Name string
- Package name.
- name String
- Package name.
- name string
- Package name.
- name str
- Package name.
- name String
- Package name.
OSPolicyResourceRepositoryResource, OSPolicyResourceRepositoryResourceArgs
- Apt
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Repository Resource Apt Repository - An Apt Repository.
- Goo
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Repository Resource Goo Repository - A Goo Repository.
- Yum
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Repository Resource Yum Repository - A Yum Repository.
- Zypper
Pulumi.
Google Native. OSConfig. V1. Inputs. OSPolicy Resource Repository Resource Zypper Repository - A Zypper Repository.
- Apt
OSPolicy
Resource Repository Resource Apt Repository - An Apt Repository.
- Goo
OSPolicy
Resource Repository Resource Goo Repository - A Goo Repository.
- Yum
OSPolicy
Resource Repository Resource Yum Repository - A Yum Repository.
- Zypper
OSPolicy
Resource Repository Resource Zypper Repository - A Zypper Repository.
- apt
OSPolicy
Resource Repository Resource Apt Repository - An Apt Repository.
- goo
OSPolicy
Resource Repository Resource Goo Repository - A Goo Repository.
- yum
OSPolicy
Resource Repository Resource Yum Repository - A Yum Repository.
- zypper
OSPolicy
Resource Repository Resource Zypper Repository - A Zypper Repository.
- apt
OSPolicy
Resource Repository Resource Apt Repository - An Apt Repository.
- goo
OSPolicy
Resource Repository Resource Goo Repository - A Goo Repository.
- yum
OSPolicy
Resource Repository Resource Yum Repository - A Yum Repository.
- zypper
OSPolicy
Resource Repository Resource Zypper Repository - A Zypper Repository.
- apt
OSPolicy
Resource Repository Resource Apt Repository - An Apt Repository.
- goo
OSPolicy
Resource Repository Resource Goo Repository - A Goo Repository.
- yum
OSPolicy
Resource Repository Resource Yum Repository - A Yum Repository.
- zypper
OSPolicy
Resource Repository Resource Zypper Repository - 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.
OSPolicyResourceRepositoryResourceAptRepository, OSPolicyResourceRepositoryResourceAptRepositoryArgs
- Archive
Type Pulumi.Google Native. OSConfig. V1. OSPolicy Resource Repository Resource Apt Repository Archive Type - 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.
- Uri string
- URI for 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
.
- Archive
Type OSPolicyResource Repository Resource Apt Repository Archive Type - 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.
- Uri string
- URI for 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
.
- archive
Type OSPolicyResource Repository Resource Apt Repository Archive Type - 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.
- uri String
- URI for 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
.
- archive
Type OSPolicyResource Repository Resource Apt Repository Archive Type - 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.
- uri string
- URI for 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
.
- archive_
type OSPolicyResource Repository Resource Apt Repository Archive Type - 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.
- uri str
- URI for 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
.
- archive
Type "ARCHIVE_TYPE_UNSPECIFIED" | "DEB" | "DEB_SRC" - 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.
- uri String
- URI for 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
.
OSPolicyResourceRepositoryResourceAptRepositoryArchiveType, OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeArgs
- Archive
Type Unspecified - ARCHIVE_TYPE_UNSPECIFIEDUnspecified is invalid.
- Deb
- DEBDeb indicates that the archive contains binary files.
- Deb
Src - DEB_SRCDeb-src indicates that the archive contains source files.
- OSPolicy
Resource Repository Resource Apt Repository Archive Type Archive Type Unspecified - ARCHIVE_TYPE_UNSPECIFIEDUnspecified is invalid.
- OSPolicy
Resource Repository Resource Apt Repository Archive Type Deb - DEBDeb indicates that the archive contains binary files.
- OSPolicy
Resource Repository Resource Apt Repository Archive Type Deb Src - DEB_SRCDeb-src indicates that the archive contains source files.
- Archive
Type Unspecified - ARCHIVE_TYPE_UNSPECIFIEDUnspecified is invalid.
- Deb
- DEBDeb indicates that the archive contains binary files.
- Deb
Src - DEB_SRCDeb-src indicates that the archive contains source files.
- Archive
Type Unspecified - ARCHIVE_TYPE_UNSPECIFIEDUnspecified is invalid.
- Deb
- DEBDeb indicates that the archive contains binary files.
- Deb
Src - DEB_SRCDeb-src indicates that the archive contains source files.
- ARCHIVE_TYPE_UNSPECIFIED
- ARCHIVE_TYPE_UNSPECIFIEDUnspecified is invalid.
- DEB
- DEBDeb indicates that the archive contains binary files.
- DEB_SRC
- DEB_SRCDeb-src indicates that the archive contains source files.
- "ARCHIVE_TYPE_UNSPECIFIED"
- ARCHIVE_TYPE_UNSPECIFIEDUnspecified is invalid.
- "DEB"
- DEBDeb indicates that the archive contains binary files.
- "DEB_SRC"
- DEB_SRCDeb-src indicates that the archive contains source files.
OSPolicyResourceRepositoryResourceAptRepositoryResponse, OSPolicyResourceRepositoryResourceAptRepositoryResponseArgs
- 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.
OSPolicyResourceRepositoryResourceGooRepository, OSPolicyResourceRepositoryResourceGooRepositoryArgs
OSPolicyResourceRepositoryResourceGooRepositoryResponse, OSPolicyResourceRepositoryResourceGooRepositoryResponseArgs
OSPolicyResourceRepositoryResourceResponse, OSPolicyResourceRepositoryResourceResponseArgs
- 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.
OSPolicyResourceRepositoryResourceYumRepository, OSPolicyResourceRepositoryResourceYumRepositoryArgs
- Base
Url string - The location of the repository directory.
- Id string
- A one word, unique name for this repository. This is the
repo id
in the yum config file and also thedisplay_name
ifdisplay_name
is omitted. This id is also used as the unique identifier when checking for resource conflicts. - 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.
- Id string
- A one word, unique name for this repository. This is the
repo id
in the yum config file and also thedisplay_name
ifdisplay_name
is omitted. This id is also used as the unique identifier when checking for resource conflicts. - 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.
- id String
- A one word, unique name for this repository. This is the
repo id
in the yum config file and also thedisplay_name
ifdisplay_name
is omitted. This id is also used as the unique identifier when checking for resource conflicts. - 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.
- id string
- A one word, unique name for this repository. This is the
repo id
in the yum config file and also thedisplay_name
ifdisplay_name
is omitted. This id is also used as the unique identifier when checking for resource conflicts. - 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.
- id str
- A one word, unique name for this repository. This is the
repo id
in the yum config file and also thedisplay_name
ifdisplay_name
is omitted. This id is also used as the unique identifier when checking for resource conflicts. - 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.
- id String
- A one word, unique name for this repository. This is the
repo id
in the yum config file and also thedisplay_name
ifdisplay_name
is omitted. This id is also used as the unique identifier when checking for resource conflicts. - display
Name String - The display name of the repository.
- gpg
Keys List<String> - URIs of GPG keys.
OSPolicyResourceRepositoryResourceYumRepositoryResponse, OSPolicyResourceRepositoryResourceYumRepositoryResponseArgs
- 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.
OSPolicyResourceRepositoryResourceZypperRepository, OSPolicyResourceRepositoryResourceZypperRepositoryArgs
- Base
Url string - The location of the repository directory.
- Id string
- A one word, unique name for this repository. This is the
repo id
in the zypper config file and also thedisplay_name
ifdisplay_name
is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts. - 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.
- Id string
- A one word, unique name for this repository. This is the
repo id
in the zypper config file and also thedisplay_name
ifdisplay_name
is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts. - 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.
- id String
- A one word, unique name for this repository. This is the
repo id
in the zypper config file and also thedisplay_name
ifdisplay_name
is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts. - 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.
- id string
- A one word, unique name for this repository. This is the
repo id
in the zypper config file and also thedisplay_name
ifdisplay_name
is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts. - 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.
- id str
- A one word, unique name for this repository. This is the
repo id
in the zypper config file and also thedisplay_name
ifdisplay_name
is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts. - 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.
- id String
- A one word, unique name for this repository. This is the
repo id
in the zypper config file and also thedisplay_name
ifdisplay_name
is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts. - display
Name String - The display name of the repository.
- gpg
Keys List<String> - URIs of GPG keys.
OSPolicyResourceRepositoryResourceZypperRepositoryResponse, OSPolicyResourceRepositoryResourceZypperRepositoryResponseArgs
- 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, OSPolicyResourceResponseArgs
- 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, OSPolicyResponseArgs
- 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.