Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.osconfig/v1beta.GuestPolicy
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Create an OS Config guest policy.
Create GuestPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GuestPolicy(name: string, args: GuestPolicyArgs, opts?: CustomResourceOptions);
@overload
def GuestPolicy(resource_name: str,
args: GuestPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GuestPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
assignment: Optional[AssignmentArgs] = None,
guest_policy_id: Optional[str] = None,
description: Optional[str] = None,
etag: Optional[str] = None,
name: Optional[str] = None,
package_repositories: Optional[Sequence[PackageRepositoryArgs]] = None,
packages: Optional[Sequence[PackageArgs]] = None,
project: Optional[str] = None,
recipes: Optional[Sequence[SoftwareRecipeArgs]] = None)
func NewGuestPolicy(ctx *Context, name string, args GuestPolicyArgs, opts ...ResourceOption) (*GuestPolicy, error)
public GuestPolicy(string name, GuestPolicyArgs args, CustomResourceOptions? opts = null)
public GuestPolicy(String name, GuestPolicyArgs args)
public GuestPolicy(String name, GuestPolicyArgs args, CustomResourceOptions options)
type: google-native:osconfig/v1beta:GuestPolicy
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 GuestPolicyArgs
- 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 GuestPolicyArgs
- 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 GuestPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GuestPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GuestPolicyArgs
- 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 guestPolicyResource = new GoogleNative.OSConfig.V1Beta.GuestPolicy("guestPolicyResource", new()
{
Assignment = new GoogleNative.OSConfig.V1Beta.Inputs.AssignmentArgs
{
GroupLabels = new[]
{
new GoogleNative.OSConfig.V1Beta.Inputs.AssignmentGroupLabelArgs
{
Labels =
{
{ "string", "string" },
},
},
},
InstanceNamePrefixes = new[]
{
"string",
},
Instances = new[]
{
"string",
},
OsTypes = new[]
{
new GoogleNative.OSConfig.V1Beta.Inputs.AssignmentOsTypeArgs
{
OsArchitecture = "string",
OsShortName = "string",
OsVersion = "string",
},
},
Zones = new[]
{
"string",
},
},
GuestPolicyId = "string",
Description = "string",
Etag = "string",
Name = "string",
PackageRepositories = new[]
{
new GoogleNative.OSConfig.V1Beta.Inputs.PackageRepositoryArgs
{
Apt = new GoogleNative.OSConfig.V1Beta.Inputs.AptRepositoryArgs
{
Components = new[]
{
"string",
},
Distribution = "string",
Uri = "string",
ArchiveType = GoogleNative.OSConfig.V1Beta.AptRepositoryArchiveType.ArchiveTypeUnspecified,
GpgKey = "string",
},
Goo = new GoogleNative.OSConfig.V1Beta.Inputs.GooRepositoryArgs
{
Name = "string",
Url = "string",
},
Yum = new GoogleNative.OSConfig.V1Beta.Inputs.YumRepositoryArgs
{
BaseUrl = "string",
Id = "string",
DisplayName = "string",
GpgKeys = new[]
{
"string",
},
},
Zypper = new GoogleNative.OSConfig.V1Beta.Inputs.ZypperRepositoryArgs
{
BaseUrl = "string",
Id = "string",
DisplayName = "string",
GpgKeys = new[]
{
"string",
},
},
},
},
Packages = new[]
{
new GoogleNative.OSConfig.V1Beta.Inputs.PackageArgs
{
Name = "string",
DesiredState = GoogleNative.OSConfig.V1Beta.PackageDesiredState.DesiredStateUnspecified,
Manager = GoogleNative.OSConfig.V1Beta.PackageManager.ManagerUnspecified,
},
},
Project = "string",
Recipes = new[]
{
new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeArgs
{
Name = "string",
Artifacts = new[]
{
new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeArtifactArgs
{
Id = "string",
AllowInsecure = false,
Gcs = new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeArtifactGcsArgs
{
Bucket = "string",
Generation = "string",
Object = "string",
},
Remote = new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeArtifactRemoteArgs
{
Checksum = "string",
Uri = "string",
},
},
},
DesiredState = GoogleNative.OSConfig.V1Beta.SoftwareRecipeDesiredState.DesiredStateUnspecified,
InstallSteps = new[]
{
new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeStepArgs
{
ArchiveExtraction = new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeStepExtractArchiveArgs
{
ArtifactId = "string",
Type = GoogleNative.OSConfig.V1Beta.SoftwareRecipeStepExtractArchiveType.ArchiveTypeUnspecified,
Destination = "string",
},
DpkgInstallation = new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeStepInstallDpkgArgs
{
ArtifactId = "string",
},
FileCopy = new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeStepCopyFileArgs
{
ArtifactId = "string",
Destination = "string",
Overwrite = false,
Permissions = "string",
},
FileExec = new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeStepExecFileArgs
{
AllowedExitCodes = new[]
{
0,
},
Args = new[]
{
"string",
},
ArtifactId = "string",
LocalPath = "string",
},
MsiInstallation = new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeStepInstallMsiArgs
{
ArtifactId = "string",
AllowedExitCodes = new[]
{
0,
},
Flags = new[]
{
"string",
},
},
RpmInstallation = new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeStepInstallRpmArgs
{
ArtifactId = "string",
},
ScriptRun = new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeStepRunScriptArgs
{
Script = "string",
AllowedExitCodes = new[]
{
0,
},
Interpreter = GoogleNative.OSConfig.V1Beta.SoftwareRecipeStepRunScriptInterpreter.InterpreterUnspecified,
},
},
},
UpdateSteps = new[]
{
new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeStepArgs
{
ArchiveExtraction = new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeStepExtractArchiveArgs
{
ArtifactId = "string",
Type = GoogleNative.OSConfig.V1Beta.SoftwareRecipeStepExtractArchiveType.ArchiveTypeUnspecified,
Destination = "string",
},
DpkgInstallation = new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeStepInstallDpkgArgs
{
ArtifactId = "string",
},
FileCopy = new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeStepCopyFileArgs
{
ArtifactId = "string",
Destination = "string",
Overwrite = false,
Permissions = "string",
},
FileExec = new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeStepExecFileArgs
{
AllowedExitCodes = new[]
{
0,
},
Args = new[]
{
"string",
},
ArtifactId = "string",
LocalPath = "string",
},
MsiInstallation = new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeStepInstallMsiArgs
{
ArtifactId = "string",
AllowedExitCodes = new[]
{
0,
},
Flags = new[]
{
"string",
},
},
RpmInstallation = new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeStepInstallRpmArgs
{
ArtifactId = "string",
},
ScriptRun = new GoogleNative.OSConfig.V1Beta.Inputs.SoftwareRecipeStepRunScriptArgs
{
Script = "string",
AllowedExitCodes = new[]
{
0,
},
Interpreter = GoogleNative.OSConfig.V1Beta.SoftwareRecipeStepRunScriptInterpreter.InterpreterUnspecified,
},
},
},
Version = "string",
},
},
});
example, err := osconfigv1beta.NewGuestPolicy(ctx, "guestPolicyResource", &osconfigv1beta.GuestPolicyArgs{
Assignment: &osconfig.AssignmentArgs{
GroupLabels: osconfig.AssignmentGroupLabelArray{
&osconfig.AssignmentGroupLabelArgs{
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
InstanceNamePrefixes: pulumi.StringArray{
pulumi.String("string"),
},
Instances: pulumi.StringArray{
pulumi.String("string"),
},
OsTypes: osconfig.AssignmentOsTypeArray{
&osconfig.AssignmentOsTypeArgs{
OsArchitecture: pulumi.String("string"),
OsShortName: pulumi.String("string"),
OsVersion: pulumi.String("string"),
},
},
Zones: pulumi.StringArray{
pulumi.String("string"),
},
},
GuestPolicyId: pulumi.String("string"),
Description: pulumi.String("string"),
Etag: pulumi.String("string"),
Name: pulumi.String("string"),
PackageRepositories: osconfig.PackageRepositoryArray{
&osconfig.PackageRepositoryArgs{
Apt: &osconfig.AptRepositoryArgs{
Components: pulumi.StringArray{
pulumi.String("string"),
},
Distribution: pulumi.String("string"),
Uri: pulumi.String("string"),
ArchiveType: osconfigv1beta.AptRepositoryArchiveTypeArchiveTypeUnspecified,
GpgKey: pulumi.String("string"),
},
Goo: &osconfig.GooRepositoryArgs{
Name: pulumi.String("string"),
Url: pulumi.String("string"),
},
Yum: &osconfig.YumRepositoryArgs{
BaseUrl: pulumi.String("string"),
Id: pulumi.String("string"),
DisplayName: pulumi.String("string"),
GpgKeys: pulumi.StringArray{
pulumi.String("string"),
},
},
Zypper: &osconfig.ZypperRepositoryArgs{
BaseUrl: pulumi.String("string"),
Id: pulumi.String("string"),
DisplayName: pulumi.String("string"),
GpgKeys: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
Packages: osconfig.PackageArray{
&osconfig.PackageArgs{
Name: pulumi.String("string"),
DesiredState: osconfigv1beta.PackageDesiredStateDesiredStateUnspecified,
Manager: osconfigv1beta.PackageManagerManagerUnspecified,
},
},
Project: pulumi.String("string"),
Recipes: osconfig.SoftwareRecipeArray{
&osconfig.SoftwareRecipeArgs{
Name: pulumi.String("string"),
Artifacts: osconfig.SoftwareRecipeArtifactArray{
&osconfig.SoftwareRecipeArtifactArgs{
Id: pulumi.String("string"),
AllowInsecure: pulumi.Bool(false),
Gcs: &osconfig.SoftwareRecipeArtifactGcsArgs{
Bucket: pulumi.String("string"),
Generation: pulumi.String("string"),
Object: pulumi.String("string"),
},
Remote: &osconfig.SoftwareRecipeArtifactRemoteArgs{
Checksum: pulumi.String("string"),
Uri: pulumi.String("string"),
},
},
},
DesiredState: osconfigv1beta.SoftwareRecipeDesiredStateDesiredStateUnspecified,
InstallSteps: osconfig.SoftwareRecipeStepArray{
&osconfig.SoftwareRecipeStepArgs{
ArchiveExtraction: &osconfig.SoftwareRecipeStepExtractArchiveArgs{
ArtifactId: pulumi.String("string"),
Type: osconfigv1beta.SoftwareRecipeStepExtractArchiveTypeArchiveTypeUnspecified,
Destination: pulumi.String("string"),
},
DpkgInstallation: &osconfig.SoftwareRecipeStepInstallDpkgArgs{
ArtifactId: pulumi.String("string"),
},
FileCopy: &osconfig.SoftwareRecipeStepCopyFileArgs{
ArtifactId: pulumi.String("string"),
Destination: pulumi.String("string"),
Overwrite: pulumi.Bool(false),
Permissions: pulumi.String("string"),
},
FileExec: &osconfig.SoftwareRecipeStepExecFileArgs{
AllowedExitCodes: pulumi.IntArray{
pulumi.Int(0),
},
Args: pulumi.StringArray{
pulumi.String("string"),
},
ArtifactId: pulumi.String("string"),
LocalPath: pulumi.String("string"),
},
MsiInstallation: &osconfig.SoftwareRecipeStepInstallMsiArgs{
ArtifactId: pulumi.String("string"),
AllowedExitCodes: pulumi.IntArray{
pulumi.Int(0),
},
Flags: pulumi.StringArray{
pulumi.String("string"),
},
},
RpmInstallation: &osconfig.SoftwareRecipeStepInstallRpmArgs{
ArtifactId: pulumi.String("string"),
},
ScriptRun: &osconfig.SoftwareRecipeStepRunScriptArgs{
Script: pulumi.String("string"),
AllowedExitCodes: pulumi.IntArray{
pulumi.Int(0),
},
Interpreter: osconfigv1beta.SoftwareRecipeStepRunScriptInterpreterInterpreterUnspecified,
},
},
},
UpdateSteps: osconfig.SoftwareRecipeStepArray{
&osconfig.SoftwareRecipeStepArgs{
ArchiveExtraction: &osconfig.SoftwareRecipeStepExtractArchiveArgs{
ArtifactId: pulumi.String("string"),
Type: osconfigv1beta.SoftwareRecipeStepExtractArchiveTypeArchiveTypeUnspecified,
Destination: pulumi.String("string"),
},
DpkgInstallation: &osconfig.SoftwareRecipeStepInstallDpkgArgs{
ArtifactId: pulumi.String("string"),
},
FileCopy: &osconfig.SoftwareRecipeStepCopyFileArgs{
ArtifactId: pulumi.String("string"),
Destination: pulumi.String("string"),
Overwrite: pulumi.Bool(false),
Permissions: pulumi.String("string"),
},
FileExec: &osconfig.SoftwareRecipeStepExecFileArgs{
AllowedExitCodes: pulumi.IntArray{
pulumi.Int(0),
},
Args: pulumi.StringArray{
pulumi.String("string"),
},
ArtifactId: pulumi.String("string"),
LocalPath: pulumi.String("string"),
},
MsiInstallation: &osconfig.SoftwareRecipeStepInstallMsiArgs{
ArtifactId: pulumi.String("string"),
AllowedExitCodes: pulumi.IntArray{
pulumi.Int(0),
},
Flags: pulumi.StringArray{
pulumi.String("string"),
},
},
RpmInstallation: &osconfig.SoftwareRecipeStepInstallRpmArgs{
ArtifactId: pulumi.String("string"),
},
ScriptRun: &osconfig.SoftwareRecipeStepRunScriptArgs{
Script: pulumi.String("string"),
AllowedExitCodes: pulumi.IntArray{
pulumi.Int(0),
},
Interpreter: osconfigv1beta.SoftwareRecipeStepRunScriptInterpreterInterpreterUnspecified,
},
},
},
Version: pulumi.String("string"),
},
},
})
var guestPolicyResource = new GuestPolicy("guestPolicyResource", GuestPolicyArgs.builder()
.assignment(AssignmentArgs.builder()
.groupLabels(AssignmentGroupLabelArgs.builder()
.labels(Map.of("string", "string"))
.build())
.instanceNamePrefixes("string")
.instances("string")
.osTypes(AssignmentOsTypeArgs.builder()
.osArchitecture("string")
.osShortName("string")
.osVersion("string")
.build())
.zones("string")
.build())
.guestPolicyId("string")
.description("string")
.etag("string")
.name("string")
.packageRepositories(PackageRepositoryArgs.builder()
.apt(AptRepositoryArgs.builder()
.components("string")
.distribution("string")
.uri("string")
.archiveType("ARCHIVE_TYPE_UNSPECIFIED")
.gpgKey("string")
.build())
.goo(GooRepositoryArgs.builder()
.name("string")
.url("string")
.build())
.yum(YumRepositoryArgs.builder()
.baseUrl("string")
.id("string")
.displayName("string")
.gpgKeys("string")
.build())
.zypper(ZypperRepositoryArgs.builder()
.baseUrl("string")
.id("string")
.displayName("string")
.gpgKeys("string")
.build())
.build())
.packages(PackageArgs.builder()
.name("string")
.desiredState("DESIRED_STATE_UNSPECIFIED")
.manager("MANAGER_UNSPECIFIED")
.build())
.project("string")
.recipes(SoftwareRecipeArgs.builder()
.name("string")
.artifacts(SoftwareRecipeArtifactArgs.builder()
.id("string")
.allowInsecure(false)
.gcs(SoftwareRecipeArtifactGcsArgs.builder()
.bucket("string")
.generation("string")
.object("string")
.build())
.remote(SoftwareRecipeArtifactRemoteArgs.builder()
.checksum("string")
.uri("string")
.build())
.build())
.desiredState("DESIRED_STATE_UNSPECIFIED")
.installSteps(SoftwareRecipeStepArgs.builder()
.archiveExtraction(SoftwareRecipeStepExtractArchiveArgs.builder()
.artifactId("string")
.type("ARCHIVE_TYPE_UNSPECIFIED")
.destination("string")
.build())
.dpkgInstallation(SoftwareRecipeStepInstallDpkgArgs.builder()
.artifactId("string")
.build())
.fileCopy(SoftwareRecipeStepCopyFileArgs.builder()
.artifactId("string")
.destination("string")
.overwrite(false)
.permissions("string")
.build())
.fileExec(SoftwareRecipeStepExecFileArgs.builder()
.allowedExitCodes(0)
.args("string")
.artifactId("string")
.localPath("string")
.build())
.msiInstallation(SoftwareRecipeStepInstallMsiArgs.builder()
.artifactId("string")
.allowedExitCodes(0)
.flags("string")
.build())
.rpmInstallation(SoftwareRecipeStepInstallRpmArgs.builder()
.artifactId("string")
.build())
.scriptRun(SoftwareRecipeStepRunScriptArgs.builder()
.script("string")
.allowedExitCodes(0)
.interpreter("INTERPRETER_UNSPECIFIED")
.build())
.build())
.updateSteps(SoftwareRecipeStepArgs.builder()
.archiveExtraction(SoftwareRecipeStepExtractArchiveArgs.builder()
.artifactId("string")
.type("ARCHIVE_TYPE_UNSPECIFIED")
.destination("string")
.build())
.dpkgInstallation(SoftwareRecipeStepInstallDpkgArgs.builder()
.artifactId("string")
.build())
.fileCopy(SoftwareRecipeStepCopyFileArgs.builder()
.artifactId("string")
.destination("string")
.overwrite(false)
.permissions("string")
.build())
.fileExec(SoftwareRecipeStepExecFileArgs.builder()
.allowedExitCodes(0)
.args("string")
.artifactId("string")
.localPath("string")
.build())
.msiInstallation(SoftwareRecipeStepInstallMsiArgs.builder()
.artifactId("string")
.allowedExitCodes(0)
.flags("string")
.build())
.rpmInstallation(SoftwareRecipeStepInstallRpmArgs.builder()
.artifactId("string")
.build())
.scriptRun(SoftwareRecipeStepRunScriptArgs.builder()
.script("string")
.allowedExitCodes(0)
.interpreter("INTERPRETER_UNSPECIFIED")
.build())
.build())
.version("string")
.build())
.build());
guest_policy_resource = google_native.osconfig.v1beta.GuestPolicy("guestPolicyResource",
assignment={
"group_labels": [{
"labels": {
"string": "string",
},
}],
"instance_name_prefixes": ["string"],
"instances": ["string"],
"os_types": [{
"os_architecture": "string",
"os_short_name": "string",
"os_version": "string",
}],
"zones": ["string"],
},
guest_policy_id="string",
description="string",
etag="string",
name="string",
package_repositories=[{
"apt": {
"components": ["string"],
"distribution": "string",
"uri": "string",
"archive_type": google_native.osconfig.v1beta.AptRepositoryArchiveType.ARCHIVE_TYPE_UNSPECIFIED,
"gpg_key": "string",
},
"goo": {
"name": "string",
"url": "string",
},
"yum": {
"base_url": "string",
"id": "string",
"display_name": "string",
"gpg_keys": ["string"],
},
"zypper": {
"base_url": "string",
"id": "string",
"display_name": "string",
"gpg_keys": ["string"],
},
}],
packages=[{
"name": "string",
"desired_state": google_native.osconfig.v1beta.PackageDesiredState.DESIRED_STATE_UNSPECIFIED,
"manager": google_native.osconfig.v1beta.PackageManager.MANAGER_UNSPECIFIED,
}],
project="string",
recipes=[{
"name": "string",
"artifacts": [{
"id": "string",
"allow_insecure": False,
"gcs": {
"bucket": "string",
"generation": "string",
"object": "string",
},
"remote": {
"checksum": "string",
"uri": "string",
},
}],
"desired_state": google_native.osconfig.v1beta.SoftwareRecipeDesiredState.DESIRED_STATE_UNSPECIFIED,
"install_steps": [{
"archive_extraction": {
"artifact_id": "string",
"type": google_native.osconfig.v1beta.SoftwareRecipeStepExtractArchiveType.ARCHIVE_TYPE_UNSPECIFIED,
"destination": "string",
},
"dpkg_installation": {
"artifact_id": "string",
},
"file_copy": {
"artifact_id": "string",
"destination": "string",
"overwrite": False,
"permissions": "string",
},
"file_exec": {
"allowed_exit_codes": [0],
"args": ["string"],
"artifact_id": "string",
"local_path": "string",
},
"msi_installation": {
"artifact_id": "string",
"allowed_exit_codes": [0],
"flags": ["string"],
},
"rpm_installation": {
"artifact_id": "string",
},
"script_run": {
"script": "string",
"allowed_exit_codes": [0],
"interpreter": google_native.osconfig.v1beta.SoftwareRecipeStepRunScriptInterpreter.INTERPRETER_UNSPECIFIED,
},
}],
"update_steps": [{
"archive_extraction": {
"artifact_id": "string",
"type": google_native.osconfig.v1beta.SoftwareRecipeStepExtractArchiveType.ARCHIVE_TYPE_UNSPECIFIED,
"destination": "string",
},
"dpkg_installation": {
"artifact_id": "string",
},
"file_copy": {
"artifact_id": "string",
"destination": "string",
"overwrite": False,
"permissions": "string",
},
"file_exec": {
"allowed_exit_codes": [0],
"args": ["string"],
"artifact_id": "string",
"local_path": "string",
},
"msi_installation": {
"artifact_id": "string",
"allowed_exit_codes": [0],
"flags": ["string"],
},
"rpm_installation": {
"artifact_id": "string",
},
"script_run": {
"script": "string",
"allowed_exit_codes": [0],
"interpreter": google_native.osconfig.v1beta.SoftwareRecipeStepRunScriptInterpreter.INTERPRETER_UNSPECIFIED,
},
}],
"version": "string",
}])
const guestPolicyResource = new google_native.osconfig.v1beta.GuestPolicy("guestPolicyResource", {
assignment: {
groupLabels: [{
labels: {
string: "string",
},
}],
instanceNamePrefixes: ["string"],
instances: ["string"],
osTypes: [{
osArchitecture: "string",
osShortName: "string",
osVersion: "string",
}],
zones: ["string"],
},
guestPolicyId: "string",
description: "string",
etag: "string",
name: "string",
packageRepositories: [{
apt: {
components: ["string"],
distribution: "string",
uri: "string",
archiveType: google_native.osconfig.v1beta.AptRepositoryArchiveType.ArchiveTypeUnspecified,
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"],
},
}],
packages: [{
name: "string",
desiredState: google_native.osconfig.v1beta.PackageDesiredState.DesiredStateUnspecified,
manager: google_native.osconfig.v1beta.PackageManager.ManagerUnspecified,
}],
project: "string",
recipes: [{
name: "string",
artifacts: [{
id: "string",
allowInsecure: false,
gcs: {
bucket: "string",
generation: "string",
object: "string",
},
remote: {
checksum: "string",
uri: "string",
},
}],
desiredState: google_native.osconfig.v1beta.SoftwareRecipeDesiredState.DesiredStateUnspecified,
installSteps: [{
archiveExtraction: {
artifactId: "string",
type: google_native.osconfig.v1beta.SoftwareRecipeStepExtractArchiveType.ArchiveTypeUnspecified,
destination: "string",
},
dpkgInstallation: {
artifactId: "string",
},
fileCopy: {
artifactId: "string",
destination: "string",
overwrite: false,
permissions: "string",
},
fileExec: {
allowedExitCodes: [0],
args: ["string"],
artifactId: "string",
localPath: "string",
},
msiInstallation: {
artifactId: "string",
allowedExitCodes: [0],
flags: ["string"],
},
rpmInstallation: {
artifactId: "string",
},
scriptRun: {
script: "string",
allowedExitCodes: [0],
interpreter: google_native.osconfig.v1beta.SoftwareRecipeStepRunScriptInterpreter.InterpreterUnspecified,
},
}],
updateSteps: [{
archiveExtraction: {
artifactId: "string",
type: google_native.osconfig.v1beta.SoftwareRecipeStepExtractArchiveType.ArchiveTypeUnspecified,
destination: "string",
},
dpkgInstallation: {
artifactId: "string",
},
fileCopy: {
artifactId: "string",
destination: "string",
overwrite: false,
permissions: "string",
},
fileExec: {
allowedExitCodes: [0],
args: ["string"],
artifactId: "string",
localPath: "string",
},
msiInstallation: {
artifactId: "string",
allowedExitCodes: [0],
flags: ["string"],
},
rpmInstallation: {
artifactId: "string",
},
scriptRun: {
script: "string",
allowedExitCodes: [0],
interpreter: google_native.osconfig.v1beta.SoftwareRecipeStepRunScriptInterpreter.InterpreterUnspecified,
},
}],
version: "string",
}],
});
type: google-native:osconfig/v1beta:GuestPolicy
properties:
assignment:
groupLabels:
- labels:
string: string
instanceNamePrefixes:
- string
instances:
- string
osTypes:
- osArchitecture: string
osShortName: string
osVersion: string
zones:
- string
description: string
etag: string
guestPolicyId: string
name: string
packageRepositories:
- 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
packages:
- desiredState: DESIRED_STATE_UNSPECIFIED
manager: MANAGER_UNSPECIFIED
name: string
project: string
recipes:
- artifacts:
- allowInsecure: false
gcs:
bucket: string
generation: string
object: string
id: string
remote:
checksum: string
uri: string
desiredState: DESIRED_STATE_UNSPECIFIED
installSteps:
- archiveExtraction:
artifactId: string
destination: string
type: ARCHIVE_TYPE_UNSPECIFIED
dpkgInstallation:
artifactId: string
fileCopy:
artifactId: string
destination: string
overwrite: false
permissions: string
fileExec:
allowedExitCodes:
- 0
args:
- string
artifactId: string
localPath: string
msiInstallation:
allowedExitCodes:
- 0
artifactId: string
flags:
- string
rpmInstallation:
artifactId: string
scriptRun:
allowedExitCodes:
- 0
interpreter: INTERPRETER_UNSPECIFIED
script: string
name: string
updateSteps:
- archiveExtraction:
artifactId: string
destination: string
type: ARCHIVE_TYPE_UNSPECIFIED
dpkgInstallation:
artifactId: string
fileCopy:
artifactId: string
destination: string
overwrite: false
permissions: string
fileExec:
allowedExitCodes:
- 0
args:
- string
artifactId: string
localPath: string
msiInstallation:
allowedExitCodes:
- 0
artifactId: string
flags:
- string
rpmInstallation:
artifactId: string
scriptRun:
allowedExitCodes:
- 0
interpreter: INTERPRETER_UNSPECIFIED
script: string
version: string
GuestPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GuestPolicy resource accepts the following input properties:
- Assignment
Pulumi.
Google Native. OSConfig. V1Beta. Inputs. Assignment - Specifies the VM instances that are assigned to this policy. This allows you to target sets or groups of VM instances by different parameters such as labels, names, OS, or zones. If left empty, all VM instances underneath this policy are targeted. At the same level in the resource hierarchy (that is within a project), the service prevents the creation of multiple policies that conflict with each other. For more information, see how the service handles assignment conflicts.
- Guest
Policy stringId - Required. The logical name of the guest policy 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.
- Description string
- Description of the guest policy. Length of the description is limited to 1024 characters.
- Etag string
- The etag for this guest policy. If this is provided on update, it must match the server's etag.
- Name string
- Unique name of the resource in this project using one of the following forms:
projects/{project_number}/guestPolicies/{guest_policy_id}
. - Package
Repositories List<Pulumi.Google Native. OSConfig. V1Beta. Inputs. Package Repository> - A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
- Packages
List<Pulumi.
Google Native. OSConfig. V1Beta. Inputs. Package> - The software packages to be managed by this policy.
- Project string
- Recipes
List<Pulumi.
Google Native. OSConfig. V1Beta. Inputs. Software Recipe> - A list of Recipes to install on the VM instance.
- Assignment
Assignment
Args - Specifies the VM instances that are assigned to this policy. This allows you to target sets or groups of VM instances by different parameters such as labels, names, OS, or zones. If left empty, all VM instances underneath this policy are targeted. At the same level in the resource hierarchy (that is within a project), the service prevents the creation of multiple policies that conflict with each other. For more information, see how the service handles assignment conflicts.
- Guest
Policy stringId - Required. The logical name of the guest policy 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.
- Description string
- Description of the guest policy. Length of the description is limited to 1024 characters.
- Etag string
- The etag for this guest policy. If this is provided on update, it must match the server's etag.
- Name string
- Unique name of the resource in this project using one of the following forms:
projects/{project_number}/guestPolicies/{guest_policy_id}
. - Package
Repositories []PackageRepository Args - A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
- Packages
[]Package
Args - The software packages to be managed by this policy.
- Project string
- Recipes
[]Software
Recipe Args - A list of Recipes to install on the VM instance.
- assignment Assignment
- Specifies the VM instances that are assigned to this policy. This allows you to target sets or groups of VM instances by different parameters such as labels, names, OS, or zones. If left empty, all VM instances underneath this policy are targeted. At the same level in the resource hierarchy (that is within a project), the service prevents the creation of multiple policies that conflict with each other. For more information, see how the service handles assignment conflicts.
- guest
Policy StringId - Required. The logical name of the guest policy 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.
- description String
- Description of the guest policy. Length of the description is limited to 1024 characters.
- etag String
- The etag for this guest policy. If this is provided on update, it must match the server's etag.
- name String
- Unique name of the resource in this project using one of the following forms:
projects/{project_number}/guestPolicies/{guest_policy_id}
. - package
Repositories List<PackageRepository> - A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
- packages List<Package>
- The software packages to be managed by this policy.
- project String
- recipes
List<Software
Recipe> - A list of Recipes to install on the VM instance.
- assignment Assignment
- Specifies the VM instances that are assigned to this policy. This allows you to target sets or groups of VM instances by different parameters such as labels, names, OS, or zones. If left empty, all VM instances underneath this policy are targeted. At the same level in the resource hierarchy (that is within a project), the service prevents the creation of multiple policies that conflict with each other. For more information, see how the service handles assignment conflicts.
- guest
Policy stringId - Required. The logical name of the guest policy 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.
- description string
- Description of the guest policy. Length of the description is limited to 1024 characters.
- etag string
- The etag for this guest policy. If this is provided on update, it must match the server's etag.
- name string
- Unique name of the resource in this project using one of the following forms:
projects/{project_number}/guestPolicies/{guest_policy_id}
. - package
Repositories PackageRepository[] - A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
- packages Package[]
- The software packages to be managed by this policy.
- project string
- recipes
Software
Recipe[] - A list of Recipes to install on the VM instance.
- assignment
Assignment
Args - Specifies the VM instances that are assigned to this policy. This allows you to target sets or groups of VM instances by different parameters such as labels, names, OS, or zones. If left empty, all VM instances underneath this policy are targeted. At the same level in the resource hierarchy (that is within a project), the service prevents the creation of multiple policies that conflict with each other. For more information, see how the service handles assignment conflicts.
- guest_
policy_ strid - Required. The logical name of the guest policy 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.
- description str
- Description of the guest policy. Length of the description is limited to 1024 characters.
- etag str
- The etag for this guest policy. If this is provided on update, it must match the server's etag.
- name str
- Unique name of the resource in this project using one of the following forms:
projects/{project_number}/guestPolicies/{guest_policy_id}
. - package_
repositories Sequence[PackageRepository Args] - A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
- packages
Sequence[Package
Args] - The software packages to be managed by this policy.
- project str
- recipes
Sequence[Software
Recipe Args] - A list of Recipes to install on the VM instance.
- assignment Property Map
- Specifies the VM instances that are assigned to this policy. This allows you to target sets or groups of VM instances by different parameters such as labels, names, OS, or zones. If left empty, all VM instances underneath this policy are targeted. At the same level in the resource hierarchy (that is within a project), the service prevents the creation of multiple policies that conflict with each other. For more information, see how the service handles assignment conflicts.
- guest
Policy StringId - Required. The logical name of the guest policy 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.
- description String
- Description of the guest policy. Length of the description is limited to 1024 characters.
- etag String
- The etag for this guest policy. If this is provided on update, it must match the server's etag.
- name String
- Unique name of the resource in this project using one of the following forms:
projects/{project_number}/guestPolicies/{guest_policy_id}
. - package
Repositories List<Property Map> - A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.
- packages List<Property Map>
- The software packages to be managed by this policy.
- project String
- recipes List<Property Map>
- A list of Recipes to install on the VM instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the GuestPolicy resource produces the following output properties:
- Create
Time string - Time this guest policy was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Last time this guest policy was updated.
- Create
Time string - Time this guest policy was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Last time this guest policy was updated.
- create
Time String - Time this guest policy was created.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Last time this guest policy was updated.
- create
Time string - Time this guest policy was created.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time string - Last time this guest policy was updated.
- create_
time str - Time this guest policy was created.
- id str
- The provider-assigned unique ID for this managed resource.
- update_
time str - Last time this guest policy was updated.
- create
Time String - Time this guest policy was created.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Last time this guest policy was updated.
Supporting Types
AptRepository, AptRepositoryArgs
- 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.
- Archive
Type Pulumi.Google Native. OSConfig. V1Beta. Apt Repository Archive Type - Type of archive files in this repository. The default behavior is DEB.
- 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
containing all the keys in any applied guest policy.
- 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.
- Archive
Type AptRepository Archive Type - Type of archive files in this repository. The default behavior is DEB.
- 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
containing all the keys in any applied guest policy.
- 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.
- archive
Type AptRepository Archive Type - Type of archive files in this repository. The default behavior is DEB.
- 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
containing all the keys in any applied guest policy.
- 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.
- archive
Type AptRepository Archive Type - Type of archive files in this repository. The default behavior is DEB.
- 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
containing all the keys in any applied guest policy.
- 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.
- archive_
type AptRepository Archive Type - Type of archive files in this repository. The default behavior is DEB.
- 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
containing all the keys in any applied guest policy.
- 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.
- archive
Type "ARCHIVE_TYPE_UNSPECIFIED" | "DEB" | "DEB_SRC" - Type of archive files in this repository. The default behavior is DEB.
- 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
containing all the keys in any applied guest policy.
AptRepositoryArchiveType, AptRepositoryArchiveTypeArgs
- Archive
Type Unspecified - ARCHIVE_TYPE_UNSPECIFIEDUnspecified.
- Deb
- DEBDEB indicates that the archive contains binary files.
- Deb
Src - DEB_SRCDEB_SRC indicates that the archive contains source files.
- Apt
Repository Archive Type Archive Type Unspecified - ARCHIVE_TYPE_UNSPECIFIEDUnspecified.
- Apt
Repository Archive Type Deb - DEBDEB indicates that the archive contains binary files.
- Apt
Repository Archive Type Deb Src - DEB_SRCDEB_SRC indicates that the archive contains source files.
- Archive
Type Unspecified - ARCHIVE_TYPE_UNSPECIFIEDUnspecified.
- 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.
- 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.
- 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.
- "DEB"
- DEBDEB indicates that the archive contains binary files.
- "DEB_SRC"
- DEB_SRCDEB_SRC indicates that the archive contains source files.
AptRepositoryResponse, AptRepositoryResponseArgs
- Archive
Type string - Type of archive files in this repository. The default behavior is DEB.
- 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
containing all the keys in any applied guest policy. - Uri string
- URI for this repository.
- Archive
Type string - Type of archive files in this repository. The default behavior is DEB.
- 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
containing all the keys in any applied guest policy. - Uri string
- URI for this repository.
- archive
Type String - Type of archive files in this repository. The default behavior is DEB.
- 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
containing all the keys in any applied guest policy. - uri String
- URI for this repository.
- archive
Type string - Type of archive files in this repository. The default behavior is DEB.
- 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
containing all the keys in any applied guest policy. - uri string
- URI for this repository.
- archive_
type str - Type of archive files in this repository. The default behavior is DEB.
- 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
containing all the keys in any applied guest policy. - uri str
- URI for this repository.
- archive
Type String - Type of archive files in this repository. The default behavior is DEB.
- 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
containing all the keys in any applied guest policy. - uri String
- URI for this repository.
Assignment, AssignmentArgs
- Group
Labels List<Pulumi.Google Native. OSConfig. V1Beta. Inputs. Assignment Group Label> - Targets instances matching at least one of these label sets. This allows an assignment to target disparate groups, for example "env=prod or env=staging".
- Instance
Name List<string>Prefixes - Targets VM instances whose name starts with one of these prefixes. Like labels, this is another way to group VM instances when targeting configs, for example prefix="prod-". Only supported for project-level policies.
- Instances List<string>
- Targets any of the instances specified. Instances are specified by their URI in the form
zones/[ZONE]/instances/[INSTANCE_NAME]
. Instance targeting is uncommon and is supported to facilitate the management of changes by the instance or to target specific VM instances for development and testing. Only supported for project-level policies and must reference instances within this project. - Os
Types List<Pulumi.Google Native. OSConfig. V1Beta. Inputs. Assignment Os Type> - Targets VM instances matching at least one of the following OS types. VM instances must match all supplied criteria for a given OsType to be included.
- Zones List<string>
- Targets instances in any of these zones. Leave empty to target instances in any zone. Zonal targeting is uncommon and is supported to facilitate the management of changes by zone.
- Group
Labels []AssignmentGroup Label - Targets instances matching at least one of these label sets. This allows an assignment to target disparate groups, for example "env=prod or env=staging".
- Instance
Name []stringPrefixes - Targets VM instances whose name starts with one of these prefixes. Like labels, this is another way to group VM instances when targeting configs, for example prefix="prod-". Only supported for project-level policies.
- Instances []string
- Targets any of the instances specified. Instances are specified by their URI in the form
zones/[ZONE]/instances/[INSTANCE_NAME]
. Instance targeting is uncommon and is supported to facilitate the management of changes by the instance or to target specific VM instances for development and testing. Only supported for project-level policies and must reference instances within this project. - Os
Types []AssignmentOs Type - Targets VM instances matching at least one of the following OS types. VM instances must match all supplied criteria for a given OsType to be included.
- Zones []string
- Targets instances in any of these zones. Leave empty to target instances in any zone. Zonal targeting is uncommon and is supported to facilitate the management of changes by zone.
- group
Labels List<AssignmentGroup Label> - Targets instances matching at least one of these label sets. This allows an assignment to target disparate groups, for example "env=prod or env=staging".
- instance
Name List<String>Prefixes - Targets VM instances whose name starts with one of these prefixes. Like labels, this is another way to group VM instances when targeting configs, for example prefix="prod-". Only supported for project-level policies.
- instances List<String>
- Targets any of the instances specified. Instances are specified by their URI in the form
zones/[ZONE]/instances/[INSTANCE_NAME]
. Instance targeting is uncommon and is supported to facilitate the management of changes by the instance or to target specific VM instances for development and testing. Only supported for project-level policies and must reference instances within this project. - os
Types List<AssignmentOs Type> - Targets VM instances matching at least one of the following OS types. VM instances must match all supplied criteria for a given OsType to be included.
- zones List<String>
- Targets instances in any of these zones. Leave empty to target instances in any zone. Zonal targeting is uncommon and is supported to facilitate the management of changes by zone.
- group
Labels AssignmentGroup Label[] - Targets instances matching at least one of these label sets. This allows an assignment to target disparate groups, for example "env=prod or env=staging".
- instance
Name string[]Prefixes - Targets VM instances whose name starts with one of these prefixes. Like labels, this is another way to group VM instances when targeting configs, for example prefix="prod-". Only supported for project-level policies.
- instances string[]
- Targets any of the instances specified. Instances are specified by their URI in the form
zones/[ZONE]/instances/[INSTANCE_NAME]
. Instance targeting is uncommon and is supported to facilitate the management of changes by the instance or to target specific VM instances for development and testing. Only supported for project-level policies and must reference instances within this project. - os
Types AssignmentOs Type[] - Targets VM instances matching at least one of the following OS types. VM instances must match all supplied criteria for a given OsType to be included.
- zones string[]
- Targets instances in any of these zones. Leave empty to target instances in any zone. Zonal targeting is uncommon and is supported to facilitate the management of changes by zone.
- group_
labels Sequence[AssignmentGroup Label] - Targets instances matching at least one of these label sets. This allows an assignment to target disparate groups, for example "env=prod or env=staging".
- instance_
name_ Sequence[str]prefixes - Targets VM instances whose name starts with one of these prefixes. Like labels, this is another way to group VM instances when targeting configs, for example prefix="prod-". Only supported for project-level policies.
- instances Sequence[str]
- Targets any of the instances specified. Instances are specified by their URI in the form
zones/[ZONE]/instances/[INSTANCE_NAME]
. Instance targeting is uncommon and is supported to facilitate the management of changes by the instance or to target specific VM instances for development and testing. Only supported for project-level policies and must reference instances within this project. - os_
types Sequence[AssignmentOs Type] - Targets VM instances matching at least one of the following OS types. VM instances must match all supplied criteria for a given OsType to be included.
- zones Sequence[str]
- Targets instances in any of these zones. Leave empty to target instances in any zone. Zonal targeting is uncommon and is supported to facilitate the management of changes by zone.
- group
Labels List<Property Map> - Targets instances matching at least one of these label sets. This allows an assignment to target disparate groups, for example "env=prod or env=staging".
- instance
Name List<String>Prefixes - Targets VM instances whose name starts with one of these prefixes. Like labels, this is another way to group VM instances when targeting configs, for example prefix="prod-". Only supported for project-level policies.
- instances List<String>
- Targets any of the instances specified. Instances are specified by their URI in the form
zones/[ZONE]/instances/[INSTANCE_NAME]
. Instance targeting is uncommon and is supported to facilitate the management of changes by the instance or to target specific VM instances for development and testing. Only supported for project-level policies and must reference instances within this project. - os
Types List<Property Map> - Targets VM instances matching at least one of the following OS types. VM instances must match all supplied criteria for a given OsType to be included.
- zones List<String>
- Targets instances in any of these zones. Leave empty to target instances in any zone. Zonal targeting is uncommon and is supported to facilitate the management of changes by zone.
AssignmentGroupLabel, AssignmentGroupLabelArgs
- Labels Dictionary<string, string>
- Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
- Labels map[string]string
- Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
- labels Map<String,String>
- Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
- labels {[key: string]: string}
- Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
- labels Mapping[str, str]
- Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
- labels Map<String>
- Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
AssignmentGroupLabelResponse, AssignmentGroupLabelResponseArgs
- Labels Dictionary<string, string>
- Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
- Labels map[string]string
- Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
- labels Map<String,String>
- Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
- labels {[key: string]: string}
- Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
- labels Mapping[str, str]
- Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
- labels Map<String>
- Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
AssignmentOsType, AssignmentOsTypeArgs
- Os
Architecture string - Targets VM instances with OS Inventory enabled and having the following OS architecture.
- Os
Short stringName - Targets VM instances with OS Inventory enabled and having the following OS short name, for example "debian" or "windows".
- Os
Version string - Targets VM instances with OS Inventory enabled and having the following following OS version.
- Os
Architecture string - Targets VM instances with OS Inventory enabled and having the following OS architecture.
- Os
Short stringName - Targets VM instances with OS Inventory enabled and having the following OS short name, for example "debian" or "windows".
- Os
Version string - Targets VM instances with OS Inventory enabled and having the following following OS version.
- os
Architecture String - Targets VM instances with OS Inventory enabled and having the following OS architecture.
- os
Short StringName - Targets VM instances with OS Inventory enabled and having the following OS short name, for example "debian" or "windows".
- os
Version String - Targets VM instances with OS Inventory enabled and having the following following OS version.
- os
Architecture string - Targets VM instances with OS Inventory enabled and having the following OS architecture.
- os
Short stringName - Targets VM instances with OS Inventory enabled and having the following OS short name, for example "debian" or "windows".
- os
Version string - Targets VM instances with OS Inventory enabled and having the following following OS version.
- os_
architecture str - Targets VM instances with OS Inventory enabled and having the following OS architecture.
- os_
short_ strname - Targets VM instances with OS Inventory enabled and having the following OS short name, for example "debian" or "windows".
- os_
version str - Targets VM instances with OS Inventory enabled and having the following following OS version.
- os
Architecture String - Targets VM instances with OS Inventory enabled and having the following OS architecture.
- os
Short StringName - Targets VM instances with OS Inventory enabled and having the following OS short name, for example "debian" or "windows".
- os
Version String - Targets VM instances with OS Inventory enabled and having the following following OS version.
AssignmentOsTypeResponse, AssignmentOsTypeResponseArgs
- Os
Architecture string - Targets VM instances with OS Inventory enabled and having the following OS architecture.
- Os
Short stringName - Targets VM instances with OS Inventory enabled and having the following OS short name, for example "debian" or "windows".
- Os
Version string - Targets VM instances with OS Inventory enabled and having the following following OS version.
- Os
Architecture string - Targets VM instances with OS Inventory enabled and having the following OS architecture.
- Os
Short stringName - Targets VM instances with OS Inventory enabled and having the following OS short name, for example "debian" or "windows".
- Os
Version string - Targets VM instances with OS Inventory enabled and having the following following OS version.
- os
Architecture String - Targets VM instances with OS Inventory enabled and having the following OS architecture.
- os
Short StringName - Targets VM instances with OS Inventory enabled and having the following OS short name, for example "debian" or "windows".
- os
Version String - Targets VM instances with OS Inventory enabled and having the following following OS version.
- os
Architecture string - Targets VM instances with OS Inventory enabled and having the following OS architecture.
- os
Short stringName - Targets VM instances with OS Inventory enabled and having the following OS short name, for example "debian" or "windows".
- os
Version string - Targets VM instances with OS Inventory enabled and having the following following OS version.
- os_
architecture str - Targets VM instances with OS Inventory enabled and having the following OS architecture.
- os_
short_ strname - Targets VM instances with OS Inventory enabled and having the following OS short name, for example "debian" or "windows".
- os_
version str - Targets VM instances with OS Inventory enabled and having the following following OS version.
- os
Architecture String - Targets VM instances with OS Inventory enabled and having the following OS architecture.
- os
Short StringName - Targets VM instances with OS Inventory enabled and having the following OS short name, for example "debian" or "windows".
- os
Version String - Targets VM instances with OS Inventory enabled and having the following following OS version.
AssignmentResponse, AssignmentResponseArgs
- Group
Labels List<Pulumi.Google Native. OSConfig. V1Beta. Inputs. Assignment Group Label Response> - Targets instances matching at least one of these label sets. This allows an assignment to target disparate groups, for example "env=prod or env=staging".
- Instance
Name List<string>Prefixes - Targets VM instances whose name starts with one of these prefixes. Like labels, this is another way to group VM instances when targeting configs, for example prefix="prod-". Only supported for project-level policies.
- Instances List<string>
- Targets any of the instances specified. Instances are specified by their URI in the form
zones/[ZONE]/instances/[INSTANCE_NAME]
. Instance targeting is uncommon and is supported to facilitate the management of changes by the instance or to target specific VM instances for development and testing. Only supported for project-level policies and must reference instances within this project. - Os
Types List<Pulumi.Google Native. OSConfig. V1Beta. Inputs. Assignment Os Type Response> - Targets VM instances matching at least one of the following OS types. VM instances must match all supplied criteria for a given OsType to be included.
- Zones List<string>
- Targets instances in any of these zones. Leave empty to target instances in any zone. Zonal targeting is uncommon and is supported to facilitate the management of changes by zone.
- Group
Labels []AssignmentGroup Label Response - Targets instances matching at least one of these label sets. This allows an assignment to target disparate groups, for example "env=prod or env=staging".
- Instance
Name []stringPrefixes - Targets VM instances whose name starts with one of these prefixes. Like labels, this is another way to group VM instances when targeting configs, for example prefix="prod-". Only supported for project-level policies.
- Instances []string
- Targets any of the instances specified. Instances are specified by their URI in the form
zones/[ZONE]/instances/[INSTANCE_NAME]
. Instance targeting is uncommon and is supported to facilitate the management of changes by the instance or to target specific VM instances for development and testing. Only supported for project-level policies and must reference instances within this project. - Os
Types []AssignmentOs Type Response - Targets VM instances matching at least one of the following OS types. VM instances must match all supplied criteria for a given OsType to be included.
- Zones []string
- Targets instances in any of these zones. Leave empty to target instances in any zone. Zonal targeting is uncommon and is supported to facilitate the management of changes by zone.
- group
Labels List<AssignmentGroup Label Response> - Targets instances matching at least one of these label sets. This allows an assignment to target disparate groups, for example "env=prod or env=staging".
- instance
Name List<String>Prefixes - Targets VM instances whose name starts with one of these prefixes. Like labels, this is another way to group VM instances when targeting configs, for example prefix="prod-". Only supported for project-level policies.
- instances List<String>
- Targets any of the instances specified. Instances are specified by their URI in the form
zones/[ZONE]/instances/[INSTANCE_NAME]
. Instance targeting is uncommon and is supported to facilitate the management of changes by the instance or to target specific VM instances for development and testing. Only supported for project-level policies and must reference instances within this project. - os
Types List<AssignmentOs Type Response> - Targets VM instances matching at least one of the following OS types. VM instances must match all supplied criteria for a given OsType to be included.
- zones List<String>
- Targets instances in any of these zones. Leave empty to target instances in any zone. Zonal targeting is uncommon and is supported to facilitate the management of changes by zone.
- group
Labels AssignmentGroup Label Response[] - Targets instances matching at least one of these label sets. This allows an assignment to target disparate groups, for example "env=prod or env=staging".
- instance
Name string[]Prefixes - Targets VM instances whose name starts with one of these prefixes. Like labels, this is another way to group VM instances when targeting configs, for example prefix="prod-". Only supported for project-level policies.
- instances string[]
- Targets any of the instances specified. Instances are specified by their URI in the form
zones/[ZONE]/instances/[INSTANCE_NAME]
. Instance targeting is uncommon and is supported to facilitate the management of changes by the instance or to target specific VM instances for development and testing. Only supported for project-level policies and must reference instances within this project. - os
Types AssignmentOs Type Response[] - Targets VM instances matching at least one of the following OS types. VM instances must match all supplied criteria for a given OsType to be included.
- zones string[]
- Targets instances in any of these zones. Leave empty to target instances in any zone. Zonal targeting is uncommon and is supported to facilitate the management of changes by zone.
- group_
labels Sequence[AssignmentGroup Label Response] - Targets instances matching at least one of these label sets. This allows an assignment to target disparate groups, for example "env=prod or env=staging".
- instance_
name_ Sequence[str]prefixes - Targets VM instances whose name starts with one of these prefixes. Like labels, this is another way to group VM instances when targeting configs, for example prefix="prod-". Only supported for project-level policies.
- instances Sequence[str]
- Targets any of the instances specified. Instances are specified by their URI in the form
zones/[ZONE]/instances/[INSTANCE_NAME]
. Instance targeting is uncommon and is supported to facilitate the management of changes by the instance or to target specific VM instances for development and testing. Only supported for project-level policies and must reference instances within this project. - os_
types Sequence[AssignmentOs Type Response] - Targets VM instances matching at least one of the following OS types. VM instances must match all supplied criteria for a given OsType to be included.
- zones Sequence[str]
- Targets instances in any of these zones. Leave empty to target instances in any zone. Zonal targeting is uncommon and is supported to facilitate the management of changes by zone.
- group
Labels List<Property Map> - Targets instances matching at least one of these label sets. This allows an assignment to target disparate groups, for example "env=prod or env=staging".
- instance
Name List<String>Prefixes - Targets VM instances whose name starts with one of these prefixes. Like labels, this is another way to group VM instances when targeting configs, for example prefix="prod-". Only supported for project-level policies.
- instances List<String>
- Targets any of the instances specified. Instances are specified by their URI in the form
zones/[ZONE]/instances/[INSTANCE_NAME]
. Instance targeting is uncommon and is supported to facilitate the management of changes by the instance or to target specific VM instances for development and testing. Only supported for project-level policies and must reference instances within this project. - os
Types List<Property Map> - Targets VM instances matching at least one of the following OS types. VM instances must match all supplied criteria for a given OsType to be included.
- zones List<String>
- Targets instances in any of these zones. Leave empty to target instances in any zone. Zonal targeting is uncommon and is supported to facilitate the management of changes by zone.
GooRepository, GooRepositoryArgs
GooRepositoryResponse, GooRepositoryResponseArgs
Package, PackageArgs
- Name string
- The name of the package. A package is uniquely identified for conflict validation by checking the package name and the manager(s) that the package targets.
- Desired
State Pulumi.Google Native. OSConfig. V1Beta. Package Desired State - The desired_state the agent should maintain for this package. The default is to ensure the package is installed.
- Manager
Pulumi.
Google Native. OSConfig. V1Beta. Package Manager - Type of package manager that can be used to install this package. If a system does not have the package manager, the package is not installed or removed no error message is returned. By default, or if you specify
ANY
, the agent attempts to install and remove this package using the default package manager. This is useful when creating a policy that applies to different types of systems. The default behavior is ANY.
- Name string
- The name of the package. A package is uniquely identified for conflict validation by checking the package name and the manager(s) that the package targets.
- Desired
State PackageDesired State - The desired_state the agent should maintain for this package. The default is to ensure the package is installed.
- Manager
Package
Manager - Type of package manager that can be used to install this package. If a system does not have the package manager, the package is not installed or removed no error message is returned. By default, or if you specify
ANY
, the agent attempts to install and remove this package using the default package manager. This is useful when creating a policy that applies to different types of systems. The default behavior is ANY.
- name String
- The name of the package. A package is uniquely identified for conflict validation by checking the package name and the manager(s) that the package targets.
- desired
State PackageDesired State - The desired_state the agent should maintain for this package. The default is to ensure the package is installed.
- manager
Package
Manager - Type of package manager that can be used to install this package. If a system does not have the package manager, the package is not installed or removed no error message is returned. By default, or if you specify
ANY
, the agent attempts to install and remove this package using the default package manager. This is useful when creating a policy that applies to different types of systems. The default behavior is ANY.
- name string
- The name of the package. A package is uniquely identified for conflict validation by checking the package name and the manager(s) that the package targets.
- desired
State PackageDesired State - The desired_state the agent should maintain for this package. The default is to ensure the package is installed.
- manager
Package
Manager - Type of package manager that can be used to install this package. If a system does not have the package manager, the package is not installed or removed no error message is returned. By default, or if you specify
ANY
, the agent attempts to install and remove this package using the default package manager. This is useful when creating a policy that applies to different types of systems. The default behavior is ANY.
- name str
- The name of the package. A package is uniquely identified for conflict validation by checking the package name and the manager(s) that the package targets.
- desired_
state PackageDesired State - The desired_state the agent should maintain for this package. The default is to ensure the package is installed.
- manager
Package
Manager - Type of package manager that can be used to install this package. If a system does not have the package manager, the package is not installed or removed no error message is returned. By default, or if you specify
ANY
, the agent attempts to install and remove this package using the default package manager. This is useful when creating a policy that applies to different types of systems. The default behavior is ANY.
- name String
- The name of the package. A package is uniquely identified for conflict validation by checking the package name and the manager(s) that the package targets.
- desired
State "DESIRED_STATE_UNSPECIFIED" | "INSTALLED" | "UPDATED" | "REMOVED" - The desired_state the agent should maintain for this package. The default is to ensure the package is installed.
- manager "MANAGER_UNSPECIFIED" | "ANY" | "APT" | "YUM" | "ZYPPER" | "GOO"
- Type of package manager that can be used to install this package. If a system does not have the package manager, the package is not installed or removed no error message is returned. By default, or if you specify
ANY
, the agent attempts to install and remove this package using the default package manager. This is useful when creating a policy that applies to different types of systems. The default behavior is ANY.
PackageDesiredState, PackageDesiredStateArgs
- Desired
State Unspecified - DESIRED_STATE_UNSPECIFIEDThe default is to ensure the package is installed.
- Installed
- INSTALLEDThe agent ensures that the package is installed.
- Updated
- UPDATEDThe agent ensures that the package is installed and periodically checks for and install any updates.
- Removed
- REMOVEDThe agent ensures that the package is not installed and uninstall it if detected.
- Package
Desired State Desired State Unspecified - DESIRED_STATE_UNSPECIFIEDThe default is to ensure the package is installed.
- Package
Desired State Installed - INSTALLEDThe agent ensures that the package is installed.
- Package
Desired State Updated - UPDATEDThe agent ensures that the package is installed and periodically checks for and install any updates.
- Package
Desired State Removed - REMOVEDThe agent ensures that the package is not installed and uninstall it if detected.
- Desired
State Unspecified - DESIRED_STATE_UNSPECIFIEDThe default is to ensure the package is installed.
- Installed
- INSTALLEDThe agent ensures that the package is installed.
- Updated
- UPDATEDThe agent ensures that the package is installed and periodically checks for and install any updates.
- Removed
- REMOVEDThe agent ensures that the package is not installed and uninstall it if detected.
- Desired
State Unspecified - DESIRED_STATE_UNSPECIFIEDThe default is to ensure the package is installed.
- Installed
- INSTALLEDThe agent ensures that the package is installed.
- Updated
- UPDATEDThe agent ensures that the package is installed and periodically checks for and install any updates.
- Removed
- REMOVEDThe agent ensures that the package is not installed and uninstall it if detected.
- DESIRED_STATE_UNSPECIFIED
- DESIRED_STATE_UNSPECIFIEDThe default is to ensure the package is installed.
- INSTALLED
- INSTALLEDThe agent ensures that the package is installed.
- UPDATED
- UPDATEDThe agent ensures that the package is installed and periodically checks for and install any updates.
- REMOVED
- REMOVEDThe agent ensures that the package is not installed and uninstall it if detected.
- "DESIRED_STATE_UNSPECIFIED"
- DESIRED_STATE_UNSPECIFIEDThe default is to ensure the package is installed.
- "INSTALLED"
- INSTALLEDThe agent ensures that the package is installed.
- "UPDATED"
- UPDATEDThe agent ensures that the package is installed and periodically checks for and install any updates.
- "REMOVED"
- REMOVEDThe agent ensures that the package is not installed and uninstall it if detected.
PackageManager, PackageManagerArgs
- Manager
Unspecified - MANAGER_UNSPECIFIEDThe default behavior is ANY.
- Any
- ANYApply this package config using the default system package manager.
- Apt
- APTApply this package config only if Apt is available on the system.
- Yum
- YUMApply this package config only if Yum is available on the system.
- Zypper
- ZYPPERApply this package config only if Zypper is available on the system.
- Goo
- GOOApply this package config only if GooGet is available on the system.
- Package
Manager Manager Unspecified - MANAGER_UNSPECIFIEDThe default behavior is ANY.
- Package
Manager Any - ANYApply this package config using the default system package manager.
- Package
Manager Apt - APTApply this package config only if Apt is available on the system.
- Package
Manager Yum - YUMApply this package config only if Yum is available on the system.
- Package
Manager Zypper - ZYPPERApply this package config only if Zypper is available on the system.
- Package
Manager Goo - GOOApply this package config only if GooGet is available on the system.
- Manager
Unspecified - MANAGER_UNSPECIFIEDThe default behavior is ANY.
- Any
- ANYApply this package config using the default system package manager.
- Apt
- APTApply this package config only if Apt is available on the system.
- Yum
- YUMApply this package config only if Yum is available on the system.
- Zypper
- ZYPPERApply this package config only if Zypper is available on the system.
- Goo
- GOOApply this package config only if GooGet is available on the system.
- Manager
Unspecified - MANAGER_UNSPECIFIEDThe default behavior is ANY.
- Any
- ANYApply this package config using the default system package manager.
- Apt
- APTApply this package config only if Apt is available on the system.
- Yum
- YUMApply this package config only if Yum is available on the system.
- Zypper
- ZYPPERApply this package config only if Zypper is available on the system.
- Goo
- GOOApply this package config only if GooGet is available on the system.
- MANAGER_UNSPECIFIED
- MANAGER_UNSPECIFIEDThe default behavior is ANY.
- ANY
- ANYApply this package config using the default system package manager.
- APT
- APTApply this package config only if Apt is available on the system.
- YUM
- YUMApply this package config only if Yum is available on the system.
- ZYPPER
- ZYPPERApply this package config only if Zypper is available on the system.
- GOO
- GOOApply this package config only if GooGet is available on the system.
- "MANAGER_UNSPECIFIED"
- MANAGER_UNSPECIFIEDThe default behavior is ANY.
- "ANY"
- ANYApply this package config using the default system package manager.
- "APT"
- APTApply this package config only if Apt is available on the system.
- "YUM"
- YUMApply this package config only if Yum is available on the system.
- "ZYPPER"
- ZYPPERApply this package config only if Zypper is available on the system.
- "GOO"
- GOOApply this package config only if GooGet is available on the system.
PackageRepository, PackageRepositoryArgs
- Apt
Pulumi.
Google Native. OSConfig. V1Beta. Inputs. Apt Repository - An Apt Repository.
- Goo
Pulumi.
Google Native. OSConfig. V1Beta. Inputs. Goo Repository - A Goo Repository.
- Yum
Pulumi.
Google Native. OSConfig. V1Beta. Inputs. Yum Repository - A Yum Repository.
- Zypper
Pulumi.
Google Native. OSConfig. V1Beta. Inputs. Zypper Repository - A Zypper Repository.
- Apt
Apt
Repository - An Apt Repository.
- Goo
Goo
Repository - A Goo Repository.
- Yum
Yum
Repository - A Yum Repository.
- Zypper
Zypper
Repository - A Zypper Repository.
- apt
Apt
Repository - An Apt Repository.
- goo
Goo
Repository - A Goo Repository.
- yum
Yum
Repository - A Yum Repository.
- zypper
Zypper
Repository - A Zypper Repository.
- apt
Apt
Repository - An Apt Repository.
- goo
Goo
Repository - A Goo Repository.
- yum
Yum
Repository - A Yum Repository.
- zypper
Zypper
Repository - A Zypper Repository.
- apt
Apt
Repository - An Apt Repository.
- goo
Goo
Repository - A Goo Repository.
- yum
Yum
Repository - A Yum Repository.
- zypper
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.
PackageRepositoryResponse, PackageRepositoryResponseArgs
- Apt
Pulumi.
Google Native. OSConfig. V1Beta. Inputs. Apt Repository Response - An Apt Repository.
- Goo
Pulumi.
Google Native. OSConfig. V1Beta. Inputs. Goo Repository Response - A Goo Repository.
- Yum
Pulumi.
Google Native. OSConfig. V1Beta. Inputs. Yum Repository Response - A Yum Repository.
- Zypper
Pulumi.
Google Native. OSConfig. V1Beta. Inputs. Zypper Repository Response - A Zypper Repository.
- Apt
Apt
Repository Response - An Apt Repository.
- Goo
Goo
Repository Response - A Goo Repository.
- Yum
Yum
Repository Response - A Yum Repository.
- Zypper
Zypper
Repository Response - A Zypper Repository.
- apt
Apt
Repository Response - An Apt Repository.
- goo
Goo
Repository Response - A Goo Repository.
- yum
Yum
Repository Response - A Yum Repository.
- zypper
Zypper
Repository Response - A Zypper Repository.
- apt
Apt
Repository Response - An Apt Repository.
- goo
Goo
Repository Response - A Goo Repository.
- yum
Yum
Repository Response - A Yum Repository.
- zypper
Zypper
Repository Response - A Zypper Repository.
- apt
Apt
Repository Response - An Apt Repository.
- goo
Goo
Repository Response - A Goo Repository.
- yum
Yum
Repository Response - A Yum Repository.
- zypper
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.
PackageResponse, PackageResponseArgs
- Desired
State string - The desired_state the agent should maintain for this package. The default is to ensure the package is installed.
- Manager string
- Type of package manager that can be used to install this package. If a system does not have the package manager, the package is not installed or removed no error message is returned. By default, or if you specify
ANY
, the agent attempts to install and remove this package using the default package manager. This is useful when creating a policy that applies to different types of systems. The default behavior is ANY. - Name string
- The name of the package. A package is uniquely identified for conflict validation by checking the package name and the manager(s) that the package targets.
- Desired
State string - The desired_state the agent should maintain for this package. The default is to ensure the package is installed.
- Manager string
- Type of package manager that can be used to install this package. If a system does not have the package manager, the package is not installed or removed no error message is returned. By default, or if you specify
ANY
, the agent attempts to install and remove this package using the default package manager. This is useful when creating a policy that applies to different types of systems. The default behavior is ANY. - Name string
- The name of the package. A package is uniquely identified for conflict validation by checking the package name and the manager(s) that the package targets.
- desired
State String - The desired_state the agent should maintain for this package. The default is to ensure the package is installed.
- manager String
- Type of package manager that can be used to install this package. If a system does not have the package manager, the package is not installed or removed no error message is returned. By default, or if you specify
ANY
, the agent attempts to install and remove this package using the default package manager. This is useful when creating a policy that applies to different types of systems. The default behavior is ANY. - name String
- The name of the package. A package is uniquely identified for conflict validation by checking the package name and the manager(s) that the package targets.
- desired
State string - The desired_state the agent should maintain for this package. The default is to ensure the package is installed.
- manager string
- Type of package manager that can be used to install this package. If a system does not have the package manager, the package is not installed or removed no error message is returned. By default, or if you specify
ANY
, the agent attempts to install and remove this package using the default package manager. This is useful when creating a policy that applies to different types of systems. The default behavior is ANY. - name string
- The name of the package. A package is uniquely identified for conflict validation by checking the package name and the manager(s) that the package targets.
- desired_
state str - The desired_state the agent should maintain for this package. The default is to ensure the package is installed.
- manager str
- Type of package manager that can be used to install this package. If a system does not have the package manager, the package is not installed or removed no error message is returned. By default, or if you specify
ANY
, the agent attempts to install and remove this package using the default package manager. This is useful when creating a policy that applies to different types of systems. The default behavior is ANY. - name str
- The name of the package. A package is uniquely identified for conflict validation by checking the package name and the manager(s) that the package targets.
- desired
State String - The desired_state the agent should maintain for this package. The default is to ensure the package is installed.
- manager String
- Type of package manager that can be used to install this package. If a system does not have the package manager, the package is not installed or removed no error message is returned. By default, or if you specify
ANY
, the agent attempts to install and remove this package using the default package manager. This is useful when creating a policy that applies to different types of systems. The default behavior is ANY. - name String
- The name of the package. A package is uniquely identified for conflict validation by checking the package name and the manager(s) that the package targets.
SoftwareRecipe, SoftwareRecipeArgs
- Name string
- Unique identifier for the recipe. Only one recipe with a given name is installed on an instance. Names are also used to identify resources which helps to determine whether guest policies have conflicts. This means that requests to create multiple recipes with the same name and version are rejected since they could potentially have conflicting assignments.
- Artifacts
List<Pulumi.
Google Native. OSConfig. V1Beta. Inputs. Software Recipe Artifact> - Resources available to be used in the steps in the recipe.
- Desired
State Pulumi.Google Native. OSConfig. V1Beta. Software Recipe Desired State - Default is INSTALLED. The desired state the agent should maintain for this recipe. INSTALLED: The software recipe is installed on the instance but won't be updated to new versions. UPDATED: The software recipe is installed on the instance. The recipe is updated to a higher version, if a higher version of the recipe is assigned to this instance. REMOVE: Remove is unsupported for software recipes and attempts to create or update a recipe to the REMOVE state is rejected.
- Install
Steps List<Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step> - Actions to be taken for installing this recipe. On failure it stops executing steps and does not attempt another installation. Any steps taken (including partially completed steps) are not rolled back.
- Update
Steps List<Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step> - Actions to be taken for updating this recipe. On failure it stops executing steps and does not attempt another update for this recipe. Any steps taken (including partially completed steps) are not rolled back.
- Version string
- The version of this software recipe. Version can be up to 4 period separated numbers (e.g. 12.34.56.78).
- Name string
- Unique identifier for the recipe. Only one recipe with a given name is installed on an instance. Names are also used to identify resources which helps to determine whether guest policies have conflicts. This means that requests to create multiple recipes with the same name and version are rejected since they could potentially have conflicting assignments.
- Artifacts
[]Software
Recipe Artifact - Resources available to be used in the steps in the recipe.
- Desired
State SoftwareRecipe Desired State - Default is INSTALLED. The desired state the agent should maintain for this recipe. INSTALLED: The software recipe is installed on the instance but won't be updated to new versions. UPDATED: The software recipe is installed on the instance. The recipe is updated to a higher version, if a higher version of the recipe is assigned to this instance. REMOVE: Remove is unsupported for software recipes and attempts to create or update a recipe to the REMOVE state is rejected.
- Install
Steps []SoftwareRecipe Step - Actions to be taken for installing this recipe. On failure it stops executing steps and does not attempt another installation. Any steps taken (including partially completed steps) are not rolled back.
- Update
Steps []SoftwareRecipe Step - Actions to be taken for updating this recipe. On failure it stops executing steps and does not attempt another update for this recipe. Any steps taken (including partially completed steps) are not rolled back.
- Version string
- The version of this software recipe. Version can be up to 4 period separated numbers (e.g. 12.34.56.78).
- name String
- Unique identifier for the recipe. Only one recipe with a given name is installed on an instance. Names are also used to identify resources which helps to determine whether guest policies have conflicts. This means that requests to create multiple recipes with the same name and version are rejected since they could potentially have conflicting assignments.
- artifacts
List<Software
Recipe Artifact> - Resources available to be used in the steps in the recipe.
- desired
State SoftwareRecipe Desired State - Default is INSTALLED. The desired state the agent should maintain for this recipe. INSTALLED: The software recipe is installed on the instance but won't be updated to new versions. UPDATED: The software recipe is installed on the instance. The recipe is updated to a higher version, if a higher version of the recipe is assigned to this instance. REMOVE: Remove is unsupported for software recipes and attempts to create or update a recipe to the REMOVE state is rejected.
- install
Steps List<SoftwareRecipe Step> - Actions to be taken for installing this recipe. On failure it stops executing steps and does not attempt another installation. Any steps taken (including partially completed steps) are not rolled back.
- update
Steps List<SoftwareRecipe Step> - Actions to be taken for updating this recipe. On failure it stops executing steps and does not attempt another update for this recipe. Any steps taken (including partially completed steps) are not rolled back.
- version String
- The version of this software recipe. Version can be up to 4 period separated numbers (e.g. 12.34.56.78).
- name string
- Unique identifier for the recipe. Only one recipe with a given name is installed on an instance. Names are also used to identify resources which helps to determine whether guest policies have conflicts. This means that requests to create multiple recipes with the same name and version are rejected since they could potentially have conflicting assignments.
- artifacts
Software
Recipe Artifact[] - Resources available to be used in the steps in the recipe.
- desired
State SoftwareRecipe Desired State - Default is INSTALLED. The desired state the agent should maintain for this recipe. INSTALLED: The software recipe is installed on the instance but won't be updated to new versions. UPDATED: The software recipe is installed on the instance. The recipe is updated to a higher version, if a higher version of the recipe is assigned to this instance. REMOVE: Remove is unsupported for software recipes and attempts to create or update a recipe to the REMOVE state is rejected.
- install
Steps SoftwareRecipe Step[] - Actions to be taken for installing this recipe. On failure it stops executing steps and does not attempt another installation. Any steps taken (including partially completed steps) are not rolled back.
- update
Steps SoftwareRecipe Step[] - Actions to be taken for updating this recipe. On failure it stops executing steps and does not attempt another update for this recipe. Any steps taken (including partially completed steps) are not rolled back.
- version string
- The version of this software recipe. Version can be up to 4 period separated numbers (e.g. 12.34.56.78).
- name str
- Unique identifier for the recipe. Only one recipe with a given name is installed on an instance. Names are also used to identify resources which helps to determine whether guest policies have conflicts. This means that requests to create multiple recipes with the same name and version are rejected since they could potentially have conflicting assignments.
- artifacts
Sequence[Software
Recipe Artifact] - Resources available to be used in the steps in the recipe.
- desired_
state SoftwareRecipe Desired State - Default is INSTALLED. The desired state the agent should maintain for this recipe. INSTALLED: The software recipe is installed on the instance but won't be updated to new versions. UPDATED: The software recipe is installed on the instance. The recipe is updated to a higher version, if a higher version of the recipe is assigned to this instance. REMOVE: Remove is unsupported for software recipes and attempts to create or update a recipe to the REMOVE state is rejected.
- install_
steps Sequence[SoftwareRecipe Step] - Actions to be taken for installing this recipe. On failure it stops executing steps and does not attempt another installation. Any steps taken (including partially completed steps) are not rolled back.
- update_
steps Sequence[SoftwareRecipe Step] - Actions to be taken for updating this recipe. On failure it stops executing steps and does not attempt another update for this recipe. Any steps taken (including partially completed steps) are not rolled back.
- version str
- The version of this software recipe. Version can be up to 4 period separated numbers (e.g. 12.34.56.78).
- name String
- Unique identifier for the recipe. Only one recipe with a given name is installed on an instance. Names are also used to identify resources which helps to determine whether guest policies have conflicts. This means that requests to create multiple recipes with the same name and version are rejected since they could potentially have conflicting assignments.
- artifacts List<Property Map>
- Resources available to be used in the steps in the recipe.
- desired
State "DESIRED_STATE_UNSPECIFIED" | "INSTALLED" | "UPDATED" | "REMOVED" - Default is INSTALLED. The desired state the agent should maintain for this recipe. INSTALLED: The software recipe is installed on the instance but won't be updated to new versions. UPDATED: The software recipe is installed on the instance. The recipe is updated to a higher version, if a higher version of the recipe is assigned to this instance. REMOVE: Remove is unsupported for software recipes and attempts to create or update a recipe to the REMOVE state is rejected.
- install
Steps List<Property Map> - Actions to be taken for installing this recipe. On failure it stops executing steps and does not attempt another installation. Any steps taken (including partially completed steps) are not rolled back.
- update
Steps List<Property Map> - Actions to be taken for updating this recipe. On failure it stops executing steps and does not attempt another update for this recipe. Any steps taken (including partially completed steps) are not rolled back.
- version String
- The version of this software recipe. Version can be up to 4 period separated numbers (e.g. 12.34.56.78).
SoftwareRecipeArtifact, SoftwareRecipeArtifactArgs
- Id string
- Id of the artifact, which the installation and update steps of this recipe can reference. Artifacts in a recipe cannot have the same id.
- Allow
Insecure bool - Defaults to false. When false, recipes are subject to validations based on the artifact type: Remote: A checksum must be specified, and only protocols with transport-layer security are permitted. GCS: An object generation number must be specified.
- Gcs
Pulumi.
Google Native. OSConfig. V1Beta. Inputs. Software Recipe Artifact Gcs - A Google Cloud Storage artifact.
- Remote
Pulumi.
Google Native. OSConfig. V1Beta. Inputs. Software Recipe Artifact Remote - A generic remote artifact.
- Id string
- Id of the artifact, which the installation and update steps of this recipe can reference. Artifacts in a recipe cannot have the same id.
- Allow
Insecure bool - Defaults to false. When false, recipes are subject to validations based on the artifact type: Remote: A checksum must be specified, and only protocols with transport-layer security are permitted. GCS: An object generation number must be specified.
- Gcs
Software
Recipe Artifact Gcs - A Google Cloud Storage artifact.
- Remote
Software
Recipe Artifact Remote - A generic remote artifact.
- id String
- Id of the artifact, which the installation and update steps of this recipe can reference. Artifacts in a recipe cannot have the same id.
- allow
Insecure Boolean - Defaults to false. When false, recipes are subject to validations based on the artifact type: Remote: A checksum must be specified, and only protocols with transport-layer security are permitted. GCS: An object generation number must be specified.
- gcs
Software
Recipe Artifact Gcs - A Google Cloud Storage artifact.
- remote
Software
Recipe Artifact Remote - A generic remote artifact.
- id string
- Id of the artifact, which the installation and update steps of this recipe can reference. Artifacts in a recipe cannot have the same id.
- allow
Insecure boolean - Defaults to false. When false, recipes are subject to validations based on the artifact type: Remote: A checksum must be specified, and only protocols with transport-layer security are permitted. GCS: An object generation number must be specified.
- gcs
Software
Recipe Artifact Gcs - A Google Cloud Storage artifact.
- remote
Software
Recipe Artifact Remote - A generic remote artifact.
- id str
- Id of the artifact, which the installation and update steps of this recipe can reference. Artifacts in a recipe cannot have the same id.
- allow_
insecure bool - Defaults to false. When false, recipes are subject to validations based on the artifact type: Remote: A checksum must be specified, and only protocols with transport-layer security are permitted. GCS: An object generation number must be specified.
- gcs
Software
Recipe Artifact Gcs - A Google Cloud Storage artifact.
- remote
Software
Recipe Artifact Remote - A generic remote artifact.
- id String
- Id of the artifact, which the installation and update steps of this recipe can reference. Artifacts in a recipe cannot have the same id.
- allow
Insecure Boolean - Defaults to false. When false, recipes are subject to validations based on the artifact type: Remote: A checksum must be specified, and only protocols with transport-layer security are permitted. GCS: An object generation number must be specified.
- gcs Property Map
- A Google Cloud Storage artifact.
- remote Property Map
- A generic remote artifact.
SoftwareRecipeArtifactGcs, SoftwareRecipeArtifactGcsArgs
- Bucket string
- Bucket of the Google Cloud Storage object. Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would bemy-bucket
. - Generation string
- Must be provided if allow_insecure is false. Generation number of the Google Cloud Storage object.
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would be1234567
. - Object string
- Name of the Google Cloud Storage object. As specified [here] (https://cloud.google.com/storage/docs/naming#objectnames) Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would befoo/bar
.
- Bucket string
- Bucket of the Google Cloud Storage object. Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would bemy-bucket
. - Generation string
- Must be provided if allow_insecure is false. Generation number of the Google Cloud Storage object.
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would be1234567
. - Object string
- Name of the Google Cloud Storage object. As specified [here] (https://cloud.google.com/storage/docs/naming#objectnames) Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would befoo/bar
.
- bucket String
- Bucket of the Google Cloud Storage object. Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would bemy-bucket
. - generation String
- Must be provided if allow_insecure is false. Generation number of the Google Cloud Storage object.
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would be1234567
. - object String
- Name of the Google Cloud Storage object. As specified [here] (https://cloud.google.com/storage/docs/naming#objectnames) Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would befoo/bar
.
- bucket string
- Bucket of the Google Cloud Storage object. Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would bemy-bucket
. - generation string
- Must be provided if allow_insecure is false. Generation number of the Google Cloud Storage object.
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would be1234567
. - object string
- Name of the Google Cloud Storage object. As specified [here] (https://cloud.google.com/storage/docs/naming#objectnames) Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would befoo/bar
.
- bucket str
- Bucket of the Google Cloud Storage object. Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would bemy-bucket
. - generation str
- Must be provided if allow_insecure is false. Generation number of the Google Cloud Storage object.
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would be1234567
. - object str
- Name of the Google Cloud Storage object. As specified [here] (https://cloud.google.com/storage/docs/naming#objectnames) Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would befoo/bar
.
- bucket String
- Bucket of the Google Cloud Storage object. Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would bemy-bucket
. - generation String
- Must be provided if allow_insecure is false. Generation number of the Google Cloud Storage object.
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would be1234567
. - object String
- Name of the Google Cloud Storage object. As specified [here] (https://cloud.google.com/storage/docs/naming#objectnames) Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would befoo/bar
.
SoftwareRecipeArtifactGcsResponse, SoftwareRecipeArtifactGcsResponseArgs
- Bucket string
- Bucket of the Google Cloud Storage object. Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would bemy-bucket
. - Generation string
- Must be provided if allow_insecure is false. Generation number of the Google Cloud Storage object.
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would be1234567
. - Object string
- Name of the Google Cloud Storage object. As specified [here] (https://cloud.google.com/storage/docs/naming#objectnames) Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would befoo/bar
.
- Bucket string
- Bucket of the Google Cloud Storage object. Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would bemy-bucket
. - Generation string
- Must be provided if allow_insecure is false. Generation number of the Google Cloud Storage object.
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would be1234567
. - Object string
- Name of the Google Cloud Storage object. As specified [here] (https://cloud.google.com/storage/docs/naming#objectnames) Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would befoo/bar
.
- bucket String
- Bucket of the Google Cloud Storage object. Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would bemy-bucket
. - generation String
- Must be provided if allow_insecure is false. Generation number of the Google Cloud Storage object.
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would be1234567
. - object String
- Name of the Google Cloud Storage object. As specified [here] (https://cloud.google.com/storage/docs/naming#objectnames) Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would befoo/bar
.
- bucket string
- Bucket of the Google Cloud Storage object. Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would bemy-bucket
. - generation string
- Must be provided if allow_insecure is false. Generation number of the Google Cloud Storage object.
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would be1234567
. - object string
- Name of the Google Cloud Storage object. As specified [here] (https://cloud.google.com/storage/docs/naming#objectnames) Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would befoo/bar
.
- bucket str
- Bucket of the Google Cloud Storage object. Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would bemy-bucket
. - generation str
- Must be provided if allow_insecure is false. Generation number of the Google Cloud Storage object.
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would be1234567
. - object str
- Name of the Google Cloud Storage object. As specified [here] (https://cloud.google.com/storage/docs/naming#objectnames) Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would befoo/bar
.
- bucket String
- Bucket of the Google Cloud Storage object. Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would bemy-bucket
. - generation String
- Must be provided if allow_insecure is false. Generation number of the Google Cloud Storage object.
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would be1234567
. - object String
- Name of the Google Cloud Storage object. As specified [here] (https://cloud.google.com/storage/docs/naming#objectnames) Given an example URL:
https://storage.googleapis.com/my-bucket/foo/bar#1234567
this value would befoo/bar
.
SoftwareRecipeArtifactRemote, SoftwareRecipeArtifactRemoteArgs
- Checksum string
- Must be provided if
allow_insecure
isfalse
. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps. - Uri string
- URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.
- Checksum string
- Must be provided if
allow_insecure
isfalse
. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps. - Uri string
- URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.
- checksum String
- Must be provided if
allow_insecure
isfalse
. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps. - uri String
- URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.
- checksum string
- Must be provided if
allow_insecure
isfalse
. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps. - uri string
- URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.
- checksum str
- Must be provided if
allow_insecure
isfalse
. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps. - uri str
- URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.
- checksum String
- Must be provided if
allow_insecure
isfalse
. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps. - uri String
- URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.
SoftwareRecipeArtifactRemoteResponse, SoftwareRecipeArtifactRemoteResponseArgs
- Checksum string
- Must be provided if
allow_insecure
isfalse
. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps. - Uri string
- URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.
- Checksum string
- Must be provided if
allow_insecure
isfalse
. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps. - Uri string
- URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.
- checksum String
- Must be provided if
allow_insecure
isfalse
. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps. - uri String
- URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.
- checksum string
- Must be provided if
allow_insecure
isfalse
. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps. - uri string
- URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.
- checksum str
- Must be provided if
allow_insecure
isfalse
. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps. - uri str
- URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.
- checksum String
- Must be provided if
allow_insecure
isfalse
. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps. - uri String
- URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.
SoftwareRecipeArtifactResponse, SoftwareRecipeArtifactResponseArgs
- Allow
Insecure bool - Defaults to false. When false, recipes are subject to validations based on the artifact type: Remote: A checksum must be specified, and only protocols with transport-layer security are permitted. GCS: An object generation number must be specified.
- Gcs
Pulumi.
Google Native. OSConfig. V1Beta. Inputs. Software Recipe Artifact Gcs Response - A Google Cloud Storage artifact.
- Remote
Pulumi.
Google Native. OSConfig. V1Beta. Inputs. Software Recipe Artifact Remote Response - A generic remote artifact.
- Allow
Insecure bool - Defaults to false. When false, recipes are subject to validations based on the artifact type: Remote: A checksum must be specified, and only protocols with transport-layer security are permitted. GCS: An object generation number must be specified.
- Gcs
Software
Recipe Artifact Gcs Response - A Google Cloud Storage artifact.
- Remote
Software
Recipe Artifact Remote Response - A generic remote artifact.
- allow
Insecure Boolean - Defaults to false. When false, recipes are subject to validations based on the artifact type: Remote: A checksum must be specified, and only protocols with transport-layer security are permitted. GCS: An object generation number must be specified.
- gcs
Software
Recipe Artifact Gcs Response - A Google Cloud Storage artifact.
- remote
Software
Recipe Artifact Remote Response - A generic remote artifact.
- allow
Insecure boolean - Defaults to false. When false, recipes are subject to validations based on the artifact type: Remote: A checksum must be specified, and only protocols with transport-layer security are permitted. GCS: An object generation number must be specified.
- gcs
Software
Recipe Artifact Gcs Response - A Google Cloud Storage artifact.
- remote
Software
Recipe Artifact Remote Response - A generic remote artifact.
- allow_
insecure bool - Defaults to false. When false, recipes are subject to validations based on the artifact type: Remote: A checksum must be specified, and only protocols with transport-layer security are permitted. GCS: An object generation number must be specified.
- gcs
Software
Recipe Artifact Gcs Response - A Google Cloud Storage artifact.
- remote
Software
Recipe Artifact Remote Response - A generic remote artifact.
- allow
Insecure Boolean - Defaults to false. When false, recipes are subject to validations based on the artifact type: Remote: A checksum must be specified, and only protocols with transport-layer security are permitted. GCS: An object generation number must be specified.
- gcs Property Map
- A Google Cloud Storage artifact.
- remote Property Map
- A generic remote artifact.
SoftwareRecipeDesiredState, SoftwareRecipeDesiredStateArgs
- Desired
State Unspecified - DESIRED_STATE_UNSPECIFIEDThe default is to ensure the package is installed.
- Installed
- INSTALLEDThe agent ensures that the package is installed.
- Updated
- UPDATEDThe agent ensures that the package is installed and periodically checks for and install any updates.
- Removed
- REMOVEDThe agent ensures that the package is not installed and uninstall it if detected.
- Software
Recipe Desired State Desired State Unspecified - DESIRED_STATE_UNSPECIFIEDThe default is to ensure the package is installed.
- Software
Recipe Desired State Installed - INSTALLEDThe agent ensures that the package is installed.
- Software
Recipe Desired State Updated - UPDATEDThe agent ensures that the package is installed and periodically checks for and install any updates.
- Software
Recipe Desired State Removed - REMOVEDThe agent ensures that the package is not installed and uninstall it if detected.
- Desired
State Unspecified - DESIRED_STATE_UNSPECIFIEDThe default is to ensure the package is installed.
- Installed
- INSTALLEDThe agent ensures that the package is installed.
- Updated
- UPDATEDThe agent ensures that the package is installed and periodically checks for and install any updates.
- Removed
- REMOVEDThe agent ensures that the package is not installed and uninstall it if detected.
- Desired
State Unspecified - DESIRED_STATE_UNSPECIFIEDThe default is to ensure the package is installed.
- Installed
- INSTALLEDThe agent ensures that the package is installed.
- Updated
- UPDATEDThe agent ensures that the package is installed and periodically checks for and install any updates.
- Removed
- REMOVEDThe agent ensures that the package is not installed and uninstall it if detected.
- DESIRED_STATE_UNSPECIFIED
- DESIRED_STATE_UNSPECIFIEDThe default is to ensure the package is installed.
- INSTALLED
- INSTALLEDThe agent ensures that the package is installed.
- UPDATED
- UPDATEDThe agent ensures that the package is installed and periodically checks for and install any updates.
- REMOVED
- REMOVEDThe agent ensures that the package is not installed and uninstall it if detected.
- "DESIRED_STATE_UNSPECIFIED"
- DESIRED_STATE_UNSPECIFIEDThe default is to ensure the package is installed.
- "INSTALLED"
- INSTALLEDThe agent ensures that the package is installed.
- "UPDATED"
- UPDATEDThe agent ensures that the package is installed and periodically checks for and install any updates.
- "REMOVED"
- REMOVEDThe agent ensures that the package is not installed and uninstall it if detected.
SoftwareRecipeResponse, SoftwareRecipeResponseArgs
- Artifacts
List<Pulumi.
Google Native. OSConfig. V1Beta. Inputs. Software Recipe Artifact Response> - Resources available to be used in the steps in the recipe.
- Desired
State string - Default is INSTALLED. The desired state the agent should maintain for this recipe. INSTALLED: The software recipe is installed on the instance but won't be updated to new versions. UPDATED: The software recipe is installed on the instance. The recipe is updated to a higher version, if a higher version of the recipe is assigned to this instance. REMOVE: Remove is unsupported for software recipes and attempts to create or update a recipe to the REMOVE state is rejected.
- Install
Steps List<Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step Response> - Actions to be taken for installing this recipe. On failure it stops executing steps and does not attempt another installation. Any steps taken (including partially completed steps) are not rolled back.
- Name string
- Unique identifier for the recipe. Only one recipe with a given name is installed on an instance. Names are also used to identify resources which helps to determine whether guest policies have conflicts. This means that requests to create multiple recipes with the same name and version are rejected since they could potentially have conflicting assignments.
- Update
Steps List<Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step Response> - Actions to be taken for updating this recipe. On failure it stops executing steps and does not attempt another update for this recipe. Any steps taken (including partially completed steps) are not rolled back.
- Version string
- The version of this software recipe. Version can be up to 4 period separated numbers (e.g. 12.34.56.78).
- Artifacts
[]Software
Recipe Artifact Response - Resources available to be used in the steps in the recipe.
- Desired
State string - Default is INSTALLED. The desired state the agent should maintain for this recipe. INSTALLED: The software recipe is installed on the instance but won't be updated to new versions. UPDATED: The software recipe is installed on the instance. The recipe is updated to a higher version, if a higher version of the recipe is assigned to this instance. REMOVE: Remove is unsupported for software recipes and attempts to create or update a recipe to the REMOVE state is rejected.
- Install
Steps []SoftwareRecipe Step Response - Actions to be taken for installing this recipe. On failure it stops executing steps and does not attempt another installation. Any steps taken (including partially completed steps) are not rolled back.
- Name string
- Unique identifier for the recipe. Only one recipe with a given name is installed on an instance. Names are also used to identify resources which helps to determine whether guest policies have conflicts. This means that requests to create multiple recipes with the same name and version are rejected since they could potentially have conflicting assignments.
- Update
Steps []SoftwareRecipe Step Response - Actions to be taken for updating this recipe. On failure it stops executing steps and does not attempt another update for this recipe. Any steps taken (including partially completed steps) are not rolled back.
- Version string
- The version of this software recipe. Version can be up to 4 period separated numbers (e.g. 12.34.56.78).
- artifacts
List<Software
Recipe Artifact Response> - Resources available to be used in the steps in the recipe.
- desired
State String - Default is INSTALLED. The desired state the agent should maintain for this recipe. INSTALLED: The software recipe is installed on the instance but won't be updated to new versions. UPDATED: The software recipe is installed on the instance. The recipe is updated to a higher version, if a higher version of the recipe is assigned to this instance. REMOVE: Remove is unsupported for software recipes and attempts to create or update a recipe to the REMOVE state is rejected.
- install
Steps List<SoftwareRecipe Step Response> - Actions to be taken for installing this recipe. On failure it stops executing steps and does not attempt another installation. Any steps taken (including partially completed steps) are not rolled back.
- name String
- Unique identifier for the recipe. Only one recipe with a given name is installed on an instance. Names are also used to identify resources which helps to determine whether guest policies have conflicts. This means that requests to create multiple recipes with the same name and version are rejected since they could potentially have conflicting assignments.
- update
Steps List<SoftwareRecipe Step Response> - Actions to be taken for updating this recipe. On failure it stops executing steps and does not attempt another update for this recipe. Any steps taken (including partially completed steps) are not rolled back.
- version String
- The version of this software recipe. Version can be up to 4 period separated numbers (e.g. 12.34.56.78).
- artifacts
Software
Recipe Artifact Response[] - Resources available to be used in the steps in the recipe.
- desired
State string - Default is INSTALLED. The desired state the agent should maintain for this recipe. INSTALLED: The software recipe is installed on the instance but won't be updated to new versions. UPDATED: The software recipe is installed on the instance. The recipe is updated to a higher version, if a higher version of the recipe is assigned to this instance. REMOVE: Remove is unsupported for software recipes and attempts to create or update a recipe to the REMOVE state is rejected.
- install
Steps SoftwareRecipe Step Response[] - Actions to be taken for installing this recipe. On failure it stops executing steps and does not attempt another installation. Any steps taken (including partially completed steps) are not rolled back.
- name string
- Unique identifier for the recipe. Only one recipe with a given name is installed on an instance. Names are also used to identify resources which helps to determine whether guest policies have conflicts. This means that requests to create multiple recipes with the same name and version are rejected since they could potentially have conflicting assignments.
- update
Steps SoftwareRecipe Step Response[] - Actions to be taken for updating this recipe. On failure it stops executing steps and does not attempt another update for this recipe. Any steps taken (including partially completed steps) are not rolled back.
- version string
- The version of this software recipe. Version can be up to 4 period separated numbers (e.g. 12.34.56.78).
- artifacts
Sequence[Software
Recipe Artifact Response] - Resources available to be used in the steps in the recipe.
- desired_
state str - Default is INSTALLED. The desired state the agent should maintain for this recipe. INSTALLED: The software recipe is installed on the instance but won't be updated to new versions. UPDATED: The software recipe is installed on the instance. The recipe is updated to a higher version, if a higher version of the recipe is assigned to this instance. REMOVE: Remove is unsupported for software recipes and attempts to create or update a recipe to the REMOVE state is rejected.
- install_
steps Sequence[SoftwareRecipe Step Response] - Actions to be taken for installing this recipe. On failure it stops executing steps and does not attempt another installation. Any steps taken (including partially completed steps) are not rolled back.
- name str
- Unique identifier for the recipe. Only one recipe with a given name is installed on an instance. Names are also used to identify resources which helps to determine whether guest policies have conflicts. This means that requests to create multiple recipes with the same name and version are rejected since they could potentially have conflicting assignments.
- update_
steps Sequence[SoftwareRecipe Step Response] - Actions to be taken for updating this recipe. On failure it stops executing steps and does not attempt another update for this recipe. Any steps taken (including partially completed steps) are not rolled back.
- version str
- The version of this software recipe. Version can be up to 4 period separated numbers (e.g. 12.34.56.78).
- artifacts List<Property Map>
- Resources available to be used in the steps in the recipe.
- desired
State String - Default is INSTALLED. The desired state the agent should maintain for this recipe. INSTALLED: The software recipe is installed on the instance but won't be updated to new versions. UPDATED: The software recipe is installed on the instance. The recipe is updated to a higher version, if a higher version of the recipe is assigned to this instance. REMOVE: Remove is unsupported for software recipes and attempts to create or update a recipe to the REMOVE state is rejected.
- install
Steps List<Property Map> - Actions to be taken for installing this recipe. On failure it stops executing steps and does not attempt another installation. Any steps taken (including partially completed steps) are not rolled back.
- name String
- Unique identifier for the recipe. Only one recipe with a given name is installed on an instance. Names are also used to identify resources which helps to determine whether guest policies have conflicts. This means that requests to create multiple recipes with the same name and version are rejected since they could potentially have conflicting assignments.
- update
Steps List<Property Map> - Actions to be taken for updating this recipe. On failure it stops executing steps and does not attempt another update for this recipe. Any steps taken (including partially completed steps) are not rolled back.
- version String
- The version of this software recipe. Version can be up to 4 period separated numbers (e.g. 12.34.56.78).
SoftwareRecipeStep, SoftwareRecipeStepArgs
- Archive
Extraction Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step Extract Archive - Extracts an archive into the specified directory.
- Dpkg
Installation Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step Install Dpkg - Installs a deb file via dpkg.
- File
Copy Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step Copy File - Copies a file onto the instance.
- File
Exec Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step Exec File - Executes an artifact or local file.
- Msi
Installation Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step Install Msi - Installs an MSI file.
- Rpm
Installation Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step Install Rpm - Installs an rpm file via the rpm utility.
- Script
Run Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step Run Script - Runs commands in a shell.
- Archive
Extraction SoftwareRecipe Step Extract Archive - Extracts an archive into the specified directory.
- Dpkg
Installation SoftwareRecipe Step Install Dpkg - Installs a deb file via dpkg.
- File
Copy SoftwareRecipe Step Copy File - Copies a file onto the instance.
- File
Exec SoftwareRecipe Step Exec File - Executes an artifact or local file.
- Msi
Installation SoftwareRecipe Step Install Msi - Installs an MSI file.
- Rpm
Installation SoftwareRecipe Step Install Rpm - Installs an rpm file via the rpm utility.
- Script
Run SoftwareRecipe Step Run Script - Runs commands in a shell.
- archive
Extraction SoftwareRecipe Step Extract Archive - Extracts an archive into the specified directory.
- dpkg
Installation SoftwareRecipe Step Install Dpkg - Installs a deb file via dpkg.
- file
Copy SoftwareRecipe Step Copy File - Copies a file onto the instance.
- file
Exec SoftwareRecipe Step Exec File - Executes an artifact or local file.
- msi
Installation SoftwareRecipe Step Install Msi - Installs an MSI file.
- rpm
Installation SoftwareRecipe Step Install Rpm - Installs an rpm file via the rpm utility.
- script
Run SoftwareRecipe Step Run Script - Runs commands in a shell.
- archive
Extraction SoftwareRecipe Step Extract Archive - Extracts an archive into the specified directory.
- dpkg
Installation SoftwareRecipe Step Install Dpkg - Installs a deb file via dpkg.
- file
Copy SoftwareRecipe Step Copy File - Copies a file onto the instance.
- file
Exec SoftwareRecipe Step Exec File - Executes an artifact or local file.
- msi
Installation SoftwareRecipe Step Install Msi - Installs an MSI file.
- rpm
Installation SoftwareRecipe Step Install Rpm - Installs an rpm file via the rpm utility.
- script
Run SoftwareRecipe Step Run Script - Runs commands in a shell.
- archive_
extraction SoftwareRecipe Step Extract Archive - Extracts an archive into the specified directory.
- dpkg_
installation SoftwareRecipe Step Install Dpkg - Installs a deb file via dpkg.
- file_
copy SoftwareRecipe Step Copy File - Copies a file onto the instance.
- file_
exec SoftwareRecipe Step Exec File - Executes an artifact or local file.
- msi_
installation SoftwareRecipe Step Install Msi - Installs an MSI file.
- rpm_
installation SoftwareRecipe Step Install Rpm - Installs an rpm file via the rpm utility.
- script_
run SoftwareRecipe Step Run Script - Runs commands in a shell.
- archive
Extraction Property Map - Extracts an archive into the specified directory.
- dpkg
Installation Property Map - Installs a deb file via dpkg.
- file
Copy Property Map - Copies a file onto the instance.
- file
Exec Property Map - Executes an artifact or local file.
- msi
Installation Property Map - Installs an MSI file.
- rpm
Installation Property Map - Installs an rpm file via the rpm utility.
- script
Run Property Map - Runs commands in a shell.
SoftwareRecipeStepCopyFile, SoftwareRecipeStepCopyFileArgs
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Destination string
- The absolute path on the instance to put the file.
- Overwrite bool
- Whether to allow this step to overwrite existing files. If this is false and the file already exists the file is not overwritten and the step is considered a success. Defaults to false.
- 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
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Destination string
- The absolute path on the instance to put the file.
- Overwrite bool
- Whether to allow this step to overwrite existing files. If this is false and the file already exists the file is not overwritten and the step is considered a success. Defaults to false.
- 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
- artifact
Id String - The id of the relevant artifact in the recipe.
- destination String
- The absolute path on the instance to put the file.
- overwrite Boolean
- Whether to allow this step to overwrite existing files. If this is false and the file already exists the file is not overwritten and the step is considered a success. Defaults to false.
- 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
- artifact
Id string - The id of the relevant artifact in the recipe.
- destination string
- The absolute path on the instance to put the file.
- overwrite boolean
- Whether to allow this step to overwrite existing files. If this is false and the file already exists the file is not overwritten and the step is considered a success. Defaults to false.
- 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
- artifact_
id str - The id of the relevant artifact in the recipe.
- destination str
- The absolute path on the instance to put the file.
- overwrite bool
- Whether to allow this step to overwrite existing files. If this is false and the file already exists the file is not overwritten and the step is considered a success. Defaults to false.
- 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
- artifact
Id String - The id of the relevant artifact in the recipe.
- destination String
- The absolute path on the instance to put the file.
- overwrite Boolean
- Whether to allow this step to overwrite existing files. If this is false and the file already exists the file is not overwritten and the step is considered a success. Defaults to false.
- 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
SoftwareRecipeStepCopyFileResponse, SoftwareRecipeStepCopyFileResponseArgs
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Destination string
- The absolute path on the instance to put the file.
- Overwrite bool
- Whether to allow this step to overwrite existing files. If this is false and the file already exists the file is not overwritten and the step is considered a success. Defaults to false.
- 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
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Destination string
- The absolute path on the instance to put the file.
- Overwrite bool
- Whether to allow this step to overwrite existing files. If this is false and the file already exists the file is not overwritten and the step is considered a success. Defaults to false.
- 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
- artifact
Id String - The id of the relevant artifact in the recipe.
- destination String
- The absolute path on the instance to put the file.
- overwrite Boolean
- Whether to allow this step to overwrite existing files. If this is false and the file already exists the file is not overwritten and the step is considered a success. Defaults to false.
- 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
- artifact
Id string - The id of the relevant artifact in the recipe.
- destination string
- The absolute path on the instance to put the file.
- overwrite boolean
- Whether to allow this step to overwrite existing files. If this is false and the file already exists the file is not overwritten and the step is considered a success. Defaults to false.
- 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
- artifact_
id str - The id of the relevant artifact in the recipe.
- destination str
- The absolute path on the instance to put the file.
- overwrite bool
- Whether to allow this step to overwrite existing files. If this is false and the file already exists the file is not overwritten and the step is considered a success. Defaults to false.
- 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
- artifact
Id String - The id of the relevant artifact in the recipe.
- destination String
- The absolute path on the instance to put the file.
- overwrite Boolean
- Whether to allow this step to overwrite existing files. If this is false and the file already exists the file is not overwritten and the step is considered a success. Defaults to false.
- 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
SoftwareRecipeStepExecFile, SoftwareRecipeStepExecFileArgs
- Allowed
Exit List<int>Codes - Defaults to [0]. A list of possible return values that the program can return to indicate a success.
- Args List<string>
- Arguments to be passed to the provided executable.
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Local
Path string - The absolute path of the file on the local filesystem.
- Allowed
Exit []intCodes - Defaults to [0]. A list of possible return values that the program can return to indicate a success.
- Args []string
- Arguments to be passed to the provided executable.
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Local
Path string - The absolute path of the file on the local filesystem.
- allowed
Exit List<Integer>Codes - Defaults to [0]. A list of possible return values that the program can return to indicate a success.
- args List<String>
- Arguments to be passed to the provided executable.
- artifact
Id String - The id of the relevant artifact in the recipe.
- local
Path String - The absolute path of the file on the local filesystem.
- allowed
Exit number[]Codes - Defaults to [0]. A list of possible return values that the program can return to indicate a success.
- args string[]
- Arguments to be passed to the provided executable.
- artifact
Id string - The id of the relevant artifact in the recipe.
- local
Path string - The absolute path of the file on the local filesystem.
- allowed_
exit_ Sequence[int]codes - Defaults to [0]. A list of possible return values that the program can return to indicate a success.
- args Sequence[str]
- Arguments to be passed to the provided executable.
- artifact_
id str - The id of the relevant artifact in the recipe.
- local_
path str - The absolute path of the file on the local filesystem.
- allowed
Exit List<Number>Codes - Defaults to [0]. A list of possible return values that the program can return to indicate a success.
- args List<String>
- Arguments to be passed to the provided executable.
- artifact
Id String - The id of the relevant artifact in the recipe.
- local
Path String - The absolute path of the file on the local filesystem.
SoftwareRecipeStepExecFileResponse, SoftwareRecipeStepExecFileResponseArgs
- Allowed
Exit List<int>Codes - Defaults to [0]. A list of possible return values that the program can return to indicate a success.
- Args List<string>
- Arguments to be passed to the provided executable.
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Local
Path string - The absolute path of the file on the local filesystem.
- Allowed
Exit []intCodes - Defaults to [0]. A list of possible return values that the program can return to indicate a success.
- Args []string
- Arguments to be passed to the provided executable.
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Local
Path string - The absolute path of the file on the local filesystem.
- allowed
Exit List<Integer>Codes - Defaults to [0]. A list of possible return values that the program can return to indicate a success.
- args List<String>
- Arguments to be passed to the provided executable.
- artifact
Id String - The id of the relevant artifact in the recipe.
- local
Path String - The absolute path of the file on the local filesystem.
- allowed
Exit number[]Codes - Defaults to [0]. A list of possible return values that the program can return to indicate a success.
- args string[]
- Arguments to be passed to the provided executable.
- artifact
Id string - The id of the relevant artifact in the recipe.
- local
Path string - The absolute path of the file on the local filesystem.
- allowed_
exit_ Sequence[int]codes - Defaults to [0]. A list of possible return values that the program can return to indicate a success.
- args Sequence[str]
- Arguments to be passed to the provided executable.
- artifact_
id str - The id of the relevant artifact in the recipe.
- local_
path str - The absolute path of the file on the local filesystem.
- allowed
Exit List<Number>Codes - Defaults to [0]. A list of possible return values that the program can return to indicate a success.
- args List<String>
- Arguments to be passed to the provided executable.
- artifact
Id String - The id of the relevant artifact in the recipe.
- local
Path String - The absolute path of the file on the local filesystem.
SoftwareRecipeStepExtractArchive, SoftwareRecipeStepExtractArchiveArgs
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Type
Pulumi.
Google Native. OSConfig. V1Beta. Software Recipe Step Extract Archive Type - The type of the archive to extract.
- Destination string
- Directory to extract archive to. Defaults to
/
on Linux orC:\
on Windows.
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Type
Software
Recipe Step Extract Archive Type - The type of the archive to extract.
- Destination string
- Directory to extract archive to. Defaults to
/
on Linux orC:\
on Windows.
- artifact
Id String - The id of the relevant artifact in the recipe.
- type
Software
Recipe Step Extract Archive Type - The type of the archive to extract.
- destination String
- Directory to extract archive to. Defaults to
/
on Linux orC:\
on Windows.
- artifact
Id string - The id of the relevant artifact in the recipe.
- type
Software
Recipe Step Extract Archive Type - The type of the archive to extract.
- destination string
- Directory to extract archive to. Defaults to
/
on Linux orC:\
on Windows.
- artifact_
id str - The id of the relevant artifact in the recipe.
- type
Software
Recipe Step Extract Archive Type - The type of the archive to extract.
- destination str
- Directory to extract archive to. Defaults to
/
on Linux orC:\
on Windows.
- artifact
Id String - The id of the relevant artifact in the recipe.
- type "ARCHIVE_TYPE_UNSPECIFIED" | "TAR" | "TAR_GZIP" | "TAR_BZIP" | "TAR_LZMA" | "TAR_XZ" | "ZIP"
- The type of the archive to extract.
- destination String
- Directory to extract archive to. Defaults to
/
on Linux orC:\
on Windows.
SoftwareRecipeStepExtractArchiveResponse, SoftwareRecipeStepExtractArchiveResponseArgs
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Destination string
- Directory to extract archive to. Defaults to
/
on Linux orC:\
on Windows. - Type string
- The type of the archive to extract.
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Destination string
- Directory to extract archive to. Defaults to
/
on Linux orC:\
on Windows. - Type string
- The type of the archive to extract.
- artifact
Id String - The id of the relevant artifact in the recipe.
- destination String
- Directory to extract archive to. Defaults to
/
on Linux orC:\
on Windows. - type String
- The type of the archive to extract.
- artifact
Id string - The id of the relevant artifact in the recipe.
- destination string
- Directory to extract archive to. Defaults to
/
on Linux orC:\
on Windows. - type string
- The type of the archive to extract.
- artifact_
id str - The id of the relevant artifact in the recipe.
- destination str
- Directory to extract archive to. Defaults to
/
on Linux orC:\
on Windows. - type str
- The type of the archive to extract.
- artifact
Id String - The id of the relevant artifact in the recipe.
- destination String
- Directory to extract archive to. Defaults to
/
on Linux orC:\
on Windows. - type String
- The type of the archive to extract.
SoftwareRecipeStepExtractArchiveType, SoftwareRecipeStepExtractArchiveTypeArgs
- Archive
Type Unspecified - ARCHIVE_TYPE_UNSPECIFIEDIndicates that the archive type isn't specified.
- Tar
- TARIndicates that the archive is a tar archive with no encryption.
- Tar
Gzip - TAR_GZIPIndicates that the archive is a tar archive with gzip encryption.
- Tar
Bzip - TAR_BZIPIndicates that the archive is a tar archive with bzip encryption.
- Tar
Lzma - TAR_LZMAIndicates that the archive is a tar archive with lzma encryption.
- Tar
Xz - TAR_XZIndicates that the archive is a tar archive with xz encryption.
- Zip
- ZIPIndicates that the archive is a zip archive.
- Software
Recipe Step Extract Archive Type Archive Type Unspecified - ARCHIVE_TYPE_UNSPECIFIEDIndicates that the archive type isn't specified.
- Software
Recipe Step Extract Archive Type Tar - TARIndicates that the archive is a tar archive with no encryption.
- Software
Recipe Step Extract Archive Type Tar Gzip - TAR_GZIPIndicates that the archive is a tar archive with gzip encryption.
- Software
Recipe Step Extract Archive Type Tar Bzip - TAR_BZIPIndicates that the archive is a tar archive with bzip encryption.
- Software
Recipe Step Extract Archive Type Tar Lzma - TAR_LZMAIndicates that the archive is a tar archive with lzma encryption.
- Software
Recipe Step Extract Archive Type Tar Xz - TAR_XZIndicates that the archive is a tar archive with xz encryption.
- Software
Recipe Step Extract Archive Type Zip - ZIPIndicates that the archive is a zip archive.
- Archive
Type Unspecified - ARCHIVE_TYPE_UNSPECIFIEDIndicates that the archive type isn't specified.
- Tar
- TARIndicates that the archive is a tar archive with no encryption.
- Tar
Gzip - TAR_GZIPIndicates that the archive is a tar archive with gzip encryption.
- Tar
Bzip - TAR_BZIPIndicates that the archive is a tar archive with bzip encryption.
- Tar
Lzma - TAR_LZMAIndicates that the archive is a tar archive with lzma encryption.
- Tar
Xz - TAR_XZIndicates that the archive is a tar archive with xz encryption.
- Zip
- ZIPIndicates that the archive is a zip archive.
- Archive
Type Unspecified - ARCHIVE_TYPE_UNSPECIFIEDIndicates that the archive type isn't specified.
- Tar
- TARIndicates that the archive is a tar archive with no encryption.
- Tar
Gzip - TAR_GZIPIndicates that the archive is a tar archive with gzip encryption.
- Tar
Bzip - TAR_BZIPIndicates that the archive is a tar archive with bzip encryption.
- Tar
Lzma - TAR_LZMAIndicates that the archive is a tar archive with lzma encryption.
- Tar
Xz - TAR_XZIndicates that the archive is a tar archive with xz encryption.
- Zip
- ZIPIndicates that the archive is a zip archive.
- ARCHIVE_TYPE_UNSPECIFIED
- ARCHIVE_TYPE_UNSPECIFIEDIndicates that the archive type isn't specified.
- TAR
- TARIndicates that the archive is a tar archive with no encryption.
- TAR_GZIP
- TAR_GZIPIndicates that the archive is a tar archive with gzip encryption.
- TAR_BZIP
- TAR_BZIPIndicates that the archive is a tar archive with bzip encryption.
- TAR_LZMA
- TAR_LZMAIndicates that the archive is a tar archive with lzma encryption.
- TAR_XZ
- TAR_XZIndicates that the archive is a tar archive with xz encryption.
- ZIP
- ZIPIndicates that the archive is a zip archive.
- "ARCHIVE_TYPE_UNSPECIFIED"
- ARCHIVE_TYPE_UNSPECIFIEDIndicates that the archive type isn't specified.
- "TAR"
- TARIndicates that the archive is a tar archive with no encryption.
- "TAR_GZIP"
- TAR_GZIPIndicates that the archive is a tar archive with gzip encryption.
- "TAR_BZIP"
- TAR_BZIPIndicates that the archive is a tar archive with bzip encryption.
- "TAR_LZMA"
- TAR_LZMAIndicates that the archive is a tar archive with lzma encryption.
- "TAR_XZ"
- TAR_XZIndicates that the archive is a tar archive with xz encryption.
- "ZIP"
- ZIPIndicates that the archive is a zip archive.
SoftwareRecipeStepInstallDpkg, SoftwareRecipeStepInstallDpkgArgs
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Artifact
Id string - The id of the relevant artifact in the recipe.
- artifact
Id String - The id of the relevant artifact in the recipe.
- artifact
Id string - The id of the relevant artifact in the recipe.
- artifact_
id str - The id of the relevant artifact in the recipe.
- artifact
Id String - The id of the relevant artifact in the recipe.
SoftwareRecipeStepInstallDpkgResponse, SoftwareRecipeStepInstallDpkgResponseArgs
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Artifact
Id string - The id of the relevant artifact in the recipe.
- artifact
Id String - The id of the relevant artifact in the recipe.
- artifact
Id string - The id of the relevant artifact in the recipe.
- artifact_
id str - The id of the relevant artifact in the recipe.
- artifact
Id String - The id of the relevant artifact in the recipe.
SoftwareRecipeStepInstallMsi, SoftwareRecipeStepInstallMsiArgs
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Allowed
Exit List<int>Codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- Flags List<string>
- The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Allowed
Exit []intCodes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- Flags []string
- The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
- artifact
Id String - The id of the relevant artifact in the recipe.
- allowed
Exit List<Integer>Codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- flags List<String>
- The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
- artifact
Id string - The id of the relevant artifact in the recipe.
- allowed
Exit number[]Codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- flags string[]
- The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
- artifact_
id str - The id of the relevant artifact in the recipe.
- allowed_
exit_ Sequence[int]codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- flags Sequence[str]
- The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
- artifact
Id String - The id of the relevant artifact in the recipe.
- allowed
Exit List<Number>Codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- flags List<String>
- The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
SoftwareRecipeStepInstallMsiResponse, SoftwareRecipeStepInstallMsiResponseArgs
- Allowed
Exit List<int>Codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Flags List<string>
- The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
- Allowed
Exit []intCodes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Flags []string
- The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
- allowed
Exit List<Integer>Codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- artifact
Id String - The id of the relevant artifact in the recipe.
- flags List<String>
- The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
- allowed
Exit number[]Codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- artifact
Id string - The id of the relevant artifact in the recipe.
- flags string[]
- The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
- allowed_
exit_ Sequence[int]codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- artifact_
id str - The id of the relevant artifact in the recipe.
- flags Sequence[str]
- The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
- allowed
Exit List<Number>Codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- artifact
Id String - The id of the relevant artifact in the recipe.
- flags List<String>
- The flags to use when installing the MSI defaults to ["/i"] (i.e. the install flag).
SoftwareRecipeStepInstallRpm, SoftwareRecipeStepInstallRpmArgs
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Artifact
Id string - The id of the relevant artifact in the recipe.
- artifact
Id String - The id of the relevant artifact in the recipe.
- artifact
Id string - The id of the relevant artifact in the recipe.
- artifact_
id str - The id of the relevant artifact in the recipe.
- artifact
Id String - The id of the relevant artifact in the recipe.
SoftwareRecipeStepInstallRpmResponse, SoftwareRecipeStepInstallRpmResponseArgs
- Artifact
Id string - The id of the relevant artifact in the recipe.
- Artifact
Id string - The id of the relevant artifact in the recipe.
- artifact
Id String - The id of the relevant artifact in the recipe.
- artifact
Id string - The id of the relevant artifact in the recipe.
- artifact_
id str - The id of the relevant artifact in the recipe.
- artifact
Id String - The id of the relevant artifact in the recipe.
SoftwareRecipeStepResponse, SoftwareRecipeStepResponseArgs
- Archive
Extraction Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step Extract Archive Response - Extracts an archive into the specified directory.
- Dpkg
Installation Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step Install Dpkg Response - Installs a deb file via dpkg.
- File
Copy Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step Copy File Response - Copies a file onto the instance.
- File
Exec Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step Exec File Response - Executes an artifact or local file.
- Msi
Installation Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step Install Msi Response - Installs an MSI file.
- Rpm
Installation Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step Install Rpm Response - Installs an rpm file via the rpm utility.
- Script
Run Pulumi.Google Native. OSConfig. V1Beta. Inputs. Software Recipe Step Run Script Response - Runs commands in a shell.
- Archive
Extraction SoftwareRecipe Step Extract Archive Response - Extracts an archive into the specified directory.
- Dpkg
Installation SoftwareRecipe Step Install Dpkg Response - Installs a deb file via dpkg.
- File
Copy SoftwareRecipe Step Copy File Response - Copies a file onto the instance.
- File
Exec SoftwareRecipe Step Exec File Response - Executes an artifact or local file.
- Msi
Installation SoftwareRecipe Step Install Msi Response - Installs an MSI file.
- Rpm
Installation SoftwareRecipe Step Install Rpm Response - Installs an rpm file via the rpm utility.
- Script
Run SoftwareRecipe Step Run Script Response - Runs commands in a shell.
- archive
Extraction SoftwareRecipe Step Extract Archive Response - Extracts an archive into the specified directory.
- dpkg
Installation SoftwareRecipe Step Install Dpkg Response - Installs a deb file via dpkg.
- file
Copy SoftwareRecipe Step Copy File Response - Copies a file onto the instance.
- file
Exec SoftwareRecipe Step Exec File Response - Executes an artifact or local file.
- msi
Installation SoftwareRecipe Step Install Msi Response - Installs an MSI file.
- rpm
Installation SoftwareRecipe Step Install Rpm Response - Installs an rpm file via the rpm utility.
- script
Run SoftwareRecipe Step Run Script Response - Runs commands in a shell.
- archive
Extraction SoftwareRecipe Step Extract Archive Response - Extracts an archive into the specified directory.
- dpkg
Installation SoftwareRecipe Step Install Dpkg Response - Installs a deb file via dpkg.
- file
Copy SoftwareRecipe Step Copy File Response - Copies a file onto the instance.
- file
Exec SoftwareRecipe Step Exec File Response - Executes an artifact or local file.
- msi
Installation SoftwareRecipe Step Install Msi Response - Installs an MSI file.
- rpm
Installation SoftwareRecipe Step Install Rpm Response - Installs an rpm file via the rpm utility.
- script
Run SoftwareRecipe Step Run Script Response - Runs commands in a shell.
- archive_
extraction SoftwareRecipe Step Extract Archive Response - Extracts an archive into the specified directory.
- dpkg_
installation SoftwareRecipe Step Install Dpkg Response - Installs a deb file via dpkg.
- file_
copy SoftwareRecipe Step Copy File Response - Copies a file onto the instance.
- file_
exec SoftwareRecipe Step Exec File Response - Executes an artifact or local file.
- msi_
installation SoftwareRecipe Step Install Msi Response - Installs an MSI file.
- rpm_
installation SoftwareRecipe Step Install Rpm Response - Installs an rpm file via the rpm utility.
- script_
run SoftwareRecipe Step Run Script Response - Runs commands in a shell.
- archive
Extraction Property Map - Extracts an archive into the specified directory.
- dpkg
Installation Property Map - Installs a deb file via dpkg.
- file
Copy Property Map - Copies a file onto the instance.
- file
Exec Property Map - Executes an artifact or local file.
- msi
Installation Property Map - Installs an MSI file.
- rpm
Installation Property Map - Installs an rpm file via the rpm utility.
- script
Run Property Map - Runs commands in a shell.
SoftwareRecipeStepRunScript, SoftwareRecipeStepRunScriptArgs
- Script string
- The shell script to be executed.
- Allowed
Exit List<int>Codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- Interpreter
Pulumi.
Google Native. OSConfig. V1Beta. Software Recipe Step Run Script Interpreter - The script interpreter to use to run the script. If no interpreter is specified the script is executed directly, which likely only succeed for scripts with shebang lines.
- Script string
- The shell script to be executed.
- Allowed
Exit []intCodes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- Interpreter
Software
Recipe Step Run Script Interpreter - The script interpreter to use to run the script. If no interpreter is specified the script is executed directly, which likely only succeed for scripts with shebang lines.
- script String
- The shell script to be executed.
- allowed
Exit List<Integer>Codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- interpreter
Software
Recipe Step Run Script Interpreter - The script interpreter to use to run the script. If no interpreter is specified the script is executed directly, which likely only succeed for scripts with shebang lines.
- script string
- The shell script to be executed.
- allowed
Exit number[]Codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- interpreter
Software
Recipe Step Run Script Interpreter - The script interpreter to use to run the script. If no interpreter is specified the script is executed directly, which likely only succeed for scripts with shebang lines.
- script str
- The shell script to be executed.
- allowed_
exit_ Sequence[int]codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- interpreter
Software
Recipe Step Run Script Interpreter - The script interpreter to use to run the script. If no interpreter is specified the script is executed directly, which likely only succeed for scripts with shebang lines.
- script String
- The shell script to be executed.
- allowed
Exit List<Number>Codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- interpreter "INTERPRETER_UNSPECIFIED" | "SHELL" | "POWERSHELL"
- The script interpreter to use to run the script. If no interpreter is specified the script is executed directly, which likely only succeed for scripts with shebang lines.
SoftwareRecipeStepRunScriptInterpreter, SoftwareRecipeStepRunScriptInterpreterArgs
- Interpreter
Unspecified - INTERPRETER_UNSPECIFIEDDefault value for ScriptType.
- Shell
- SHELLIndicates that the script is run with
/bin/sh
on Linux andcmd
on windows. - Powershell
- POWERSHELLIndicates that the script is run with powershell.
- Software
Recipe Step Run Script Interpreter Interpreter Unspecified - INTERPRETER_UNSPECIFIEDDefault value for ScriptType.
- Software
Recipe Step Run Script Interpreter Shell - SHELLIndicates that the script is run with
/bin/sh
on Linux andcmd
on windows. - Software
Recipe Step Run Script Interpreter Powershell - POWERSHELLIndicates that the script is run with powershell.
- Interpreter
Unspecified - INTERPRETER_UNSPECIFIEDDefault value for ScriptType.
- Shell
- SHELLIndicates that the script is run with
/bin/sh
on Linux andcmd
on windows. - Powershell
- POWERSHELLIndicates that the script is run with powershell.
- Interpreter
Unspecified - INTERPRETER_UNSPECIFIEDDefault value for ScriptType.
- Shell
- SHELLIndicates that the script is run with
/bin/sh
on Linux andcmd
on windows. - Powershell
- POWERSHELLIndicates that the script is run with powershell.
- INTERPRETER_UNSPECIFIED
- INTERPRETER_UNSPECIFIEDDefault value for ScriptType.
- SHELL
- SHELLIndicates that the script is run with
/bin/sh
on Linux andcmd
on windows. - POWERSHELL
- POWERSHELLIndicates that the script is run with powershell.
- "INTERPRETER_UNSPECIFIED"
- INTERPRETER_UNSPECIFIEDDefault value for ScriptType.
- "SHELL"
- SHELLIndicates that the script is run with
/bin/sh
on Linux andcmd
on windows. - "POWERSHELL"
- POWERSHELLIndicates that the script is run with powershell.
SoftwareRecipeStepRunScriptResponse, SoftwareRecipeStepRunScriptResponseArgs
- Allowed
Exit List<int>Codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- Interpreter string
- The script interpreter to use to run the script. If no interpreter is specified the script is executed directly, which likely only succeed for scripts with shebang lines.
- Script string
- The shell script to be executed.
- Allowed
Exit []intCodes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- Interpreter string
- The script interpreter to use to run the script. If no interpreter is specified the script is executed directly, which likely only succeed for scripts with shebang lines.
- Script string
- The shell script to be executed.
- allowed
Exit List<Integer>Codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- interpreter String
- The script interpreter to use to run the script. If no interpreter is specified the script is executed directly, which likely only succeed for scripts with shebang lines.
- script String
- The shell script to be executed.
- allowed
Exit number[]Codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- interpreter string
- The script interpreter to use to run the script. If no interpreter is specified the script is executed directly, which likely only succeed for scripts with shebang lines.
- script string
- The shell script to be executed.
- allowed_
exit_ Sequence[int]codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- interpreter str
- The script interpreter to use to run the script. If no interpreter is specified the script is executed directly, which likely only succeed for scripts with shebang lines.
- script str
- The shell script to be executed.
- allowed
Exit List<Number>Codes - Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
- interpreter String
- The script interpreter to use to run the script. If no interpreter is specified the script is executed directly, which likely only succeed for scripts with shebang lines.
- script String
- The shell script to be executed.
YumRepository, YumRepositoryArgs
- 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 guest policy 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 guest policy 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 guest policy 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 guest policy 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 guest policy 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 guest policy conflicts. - display
Name String - The display name of the repository.
- gpg
Keys List<String> - URIs of GPG keys.
YumRepositoryResponse, YumRepositoryResponseArgs
- 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.
ZypperRepository, ZypperRepositoryArgs
- 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 guest policy 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 guest policy 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 guest policy 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 guest policy 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 guest policy 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 guest policy conflicts. - display
Name String - The display name of the repository.
- gpg
Keys List<String> - URIs of GPG keys.
ZypperRepositoryResponse, ZypperRepositoryResponseArgs
- 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.
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.