v1alpha

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Invalid mode
	OSPolicyModeModeUnspecified = OSPolicyMode("MODE_UNSPECIFIED")
	// This mode checks if the configuration resources in the policy are in their desired state. No actions are performed if they are not in the desired state. This mode is used for reporting purposes.
	OSPolicyModeValidation = OSPolicyMode("VALIDATION")
	// This mode checks if the configuration resources in the policy are in their desired state, and if not, enforces the desired state.
	OSPolicyModeEnforcement = OSPolicyMode("ENFORCEMENT")
)
View Source
const (
	// Invalid value, the request will return validation error.
	OSPolicyResourceExecResourceExecInterpreterInterpreterUnspecified = OSPolicyResourceExecResourceExecInterpreter("INTERPRETER_UNSPECIFIED")
	// If an interpreter is not specified, the source is executed directly. This execution, without an interpreter, only succeeds for executables and scripts that have shebang lines.
	OSPolicyResourceExecResourceExecInterpreterNone = OSPolicyResourceExecResourceExecInterpreter("NONE")
	// Indicates that the script runs with `/bin/sh` on Linux and `cmd.exe` on Windows.
	OSPolicyResourceExecResourceExecInterpreterShell = OSPolicyResourceExecResourceExecInterpreter("SHELL")
	// Indicates that the script runs with PowerShell.
	OSPolicyResourceExecResourceExecInterpreterPowershell = OSPolicyResourceExecResourceExecInterpreter("POWERSHELL")
)
View Source
const (
	// Unspecified is invalid.
	OSPolicyResourceFileResourceStateDesiredStateUnspecified = OSPolicyResourceFileResourceState("DESIRED_STATE_UNSPECIFIED")
	// Ensure file at path is present.
	OSPolicyResourceFileResourceStatePresent = OSPolicyResourceFileResourceState("PRESENT")
	// Ensure file at path is absent.
	OSPolicyResourceFileResourceStateAbsent = OSPolicyResourceFileResourceState("ABSENT")
	// Ensure the contents of the file at path matches. If the file does not exist it will be created.
	OSPolicyResourceFileResourceStateContentsMatch = OSPolicyResourceFileResourceState("CONTENTS_MATCH")
)
View Source
const (
	// Unspecified is invalid.
	OSPolicyResourcePackageResourceDesiredStateDesiredStateUnspecified = OSPolicyResourcePackageResourceDesiredState("DESIRED_STATE_UNSPECIFIED")
	// Ensure that the package is installed.
	OSPolicyResourcePackageResourceDesiredStateInstalled = OSPolicyResourcePackageResourceDesiredState("INSTALLED")
	// The agent ensures that the package is not installed and uninstalls it if detected.
	OSPolicyResourcePackageResourceDesiredStateRemoved = OSPolicyResourcePackageResourceDesiredState("REMOVED")
)
View Source
const (
	// Unspecified is invalid.
	OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeArchiveTypeUnspecified = OSPolicyResourceRepositoryResourceAptRepositoryArchiveType("ARCHIVE_TYPE_UNSPECIFIED")
	// Deb indicates that the archive contains binary files.
	OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeDeb = OSPolicyResourceRepositoryResourceAptRepositoryArchiveType("DEB")
	// Deb-src indicates that the archive contains source files.
	OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeDebSrc = OSPolicyResourceRepositoryResourceAptRepositoryArchiveType("DEB_SRC")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FixedOrPercent

type FixedOrPercent struct {
	// Specifies a fixed value.
	Fixed *int `pulumi:"fixed"`
	// Specifies the relative value defined as a percentage, which will be multiplied by a reference value.
	Percent *int `pulumi:"percent"`
}

Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.

type FixedOrPercentArgs

type FixedOrPercentArgs struct {
	// Specifies a fixed value.
	Fixed pulumi.IntPtrInput `pulumi:"fixed"`
	// Specifies the relative value defined as a percentage, which will be multiplied by a reference value.
	Percent pulumi.IntPtrInput `pulumi:"percent"`
}

Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.

func (FixedOrPercentArgs) ElementType

func (FixedOrPercentArgs) ElementType() reflect.Type

func (FixedOrPercentArgs) ToFixedOrPercentOutput

func (i FixedOrPercentArgs) ToFixedOrPercentOutput() FixedOrPercentOutput

func (FixedOrPercentArgs) ToFixedOrPercentOutputWithContext

func (i FixedOrPercentArgs) ToFixedOrPercentOutputWithContext(ctx context.Context) FixedOrPercentOutput

type FixedOrPercentInput

type FixedOrPercentInput interface {
	pulumi.Input

	ToFixedOrPercentOutput() FixedOrPercentOutput
	ToFixedOrPercentOutputWithContext(context.Context) FixedOrPercentOutput
}

FixedOrPercentInput is an input type that accepts FixedOrPercentArgs and FixedOrPercentOutput values. You can construct a concrete instance of `FixedOrPercentInput` via:

FixedOrPercentArgs{...}

type FixedOrPercentOutput

type FixedOrPercentOutput struct{ *pulumi.OutputState }

Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.

func (FixedOrPercentOutput) ElementType

func (FixedOrPercentOutput) ElementType() reflect.Type

func (FixedOrPercentOutput) Fixed

Specifies a fixed value.

func (FixedOrPercentOutput) Percent

Specifies the relative value defined as a percentage, which will be multiplied by a reference value.

func (FixedOrPercentOutput) ToFixedOrPercentOutput

func (o FixedOrPercentOutput) ToFixedOrPercentOutput() FixedOrPercentOutput

func (FixedOrPercentOutput) ToFixedOrPercentOutputWithContext

func (o FixedOrPercentOutput) ToFixedOrPercentOutputWithContext(ctx context.Context) FixedOrPercentOutput

type FixedOrPercentResponse

type FixedOrPercentResponse struct {
	// Specifies a fixed value.
	Fixed int `pulumi:"fixed"`
	// Specifies the relative value defined as a percentage, which will be multiplied by a reference value.
	Percent int `pulumi:"percent"`
}

Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.

type FixedOrPercentResponseOutput

type FixedOrPercentResponseOutput struct{ *pulumi.OutputState }

Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.

func (FixedOrPercentResponseOutput) ElementType

func (FixedOrPercentResponseOutput) Fixed

Specifies a fixed value.

func (FixedOrPercentResponseOutput) Percent

Specifies the relative value defined as a percentage, which will be multiplied by a reference value.

func (FixedOrPercentResponseOutput) ToFixedOrPercentResponseOutput

func (o FixedOrPercentResponseOutput) ToFixedOrPercentResponseOutput() FixedOrPercentResponseOutput

func (FixedOrPercentResponseOutput) ToFixedOrPercentResponseOutputWithContext

func (o FixedOrPercentResponseOutput) ToFixedOrPercentResponseOutputWithContext(ctx context.Context) FixedOrPercentResponseOutput

type LookupOsPolicyAssignmentArgs

type LookupOsPolicyAssignmentArgs struct {
	Location             string  `pulumi:"location"`
	OsPolicyAssignmentId string  `pulumi:"osPolicyAssignmentId"`
	Project              *string `pulumi:"project"`
}

type LookupOsPolicyAssignmentOutputArgs added in v0.8.0

type LookupOsPolicyAssignmentOutputArgs struct {
	Location             pulumi.StringInput    `pulumi:"location"`
	OsPolicyAssignmentId pulumi.StringInput    `pulumi:"osPolicyAssignmentId"`
	Project              pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupOsPolicyAssignmentOutputArgs) ElementType added in v0.8.0

type LookupOsPolicyAssignmentResult

type LookupOsPolicyAssignmentResult struct {
	// Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of `true` for this field.
	Baseline bool `pulumi:"baseline"`
	// Indicates that this revision deletes the OS policy assignment.
	Deleted bool `pulumi:"deleted"`
	// OS policy assignment description. Length of the description is limited to 1024 characters.
	Description string `pulumi:"description"`
	// The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
	Etag string `pulumi:"etag"`
	// Filter to select VMs.
	InstanceFilter OSPolicyAssignmentInstanceFilterResponse `pulumi:"instanceFilter"`
	// Resource name. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored when you create an OS policy assignment.
	Name string `pulumi:"name"`
	// List of OS policies to be applied to the VMs.
	OsPolicies []OSPolicyResponse `pulumi:"osPolicies"`
	// Indicates that reconciliation is in progress for the revision. This value is `true` when the `rollout_state` is one of: * IN_PROGRESS * CANCELLING
	Reconciling bool `pulumi:"reconciling"`
	// The timestamp that the revision was created.
	RevisionCreateTime string `pulumi:"revisionCreateTime"`
	// The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
	RevisionId string `pulumi:"revisionId"`
	// Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
	Rollout OSPolicyAssignmentRolloutResponse `pulumi:"rollout"`
	// OS policy assignment rollout state
	RolloutState string `pulumi:"rolloutState"`
	// Server generated unique id for the OS policy assignment resource.
	Uid string `pulumi:"uid"`
}

func LookupOsPolicyAssignment

func LookupOsPolicyAssignment(ctx *pulumi.Context, args *LookupOsPolicyAssignmentArgs, opts ...pulumi.InvokeOption) (*LookupOsPolicyAssignmentResult, error)

Retrieve an existing OS policy assignment. This method always returns the latest revision. In order to retrieve a previous revision of the assignment, also provide the revision ID in the `name` parameter.

type LookupOsPolicyAssignmentResultOutput added in v0.8.0

type LookupOsPolicyAssignmentResultOutput struct{ *pulumi.OutputState }

func (LookupOsPolicyAssignmentResultOutput) Baseline added in v0.8.0

Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of `true` for this field.

func (LookupOsPolicyAssignmentResultOutput) Deleted added in v0.8.0

Indicates that this revision deletes the OS policy assignment.

func (LookupOsPolicyAssignmentResultOutput) Description added in v0.8.0

OS policy assignment description. Length of the description is limited to 1024 characters.

func (LookupOsPolicyAssignmentResultOutput) ElementType added in v0.8.0

func (LookupOsPolicyAssignmentResultOutput) Etag added in v0.8.0

The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.

func (LookupOsPolicyAssignmentResultOutput) InstanceFilter added in v0.8.0

Filter to select VMs.

func (LookupOsPolicyAssignmentResultOutput) Name added in v0.8.0

Resource name. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored when you create an OS policy assignment.

func (LookupOsPolicyAssignmentResultOutput) OsPolicies added in v0.8.0

List of OS policies to be applied to the VMs.

func (LookupOsPolicyAssignmentResultOutput) Reconciling added in v0.8.0

Indicates that reconciliation is in progress for the revision. This value is `true` when the `rollout_state` is one of: * IN_PROGRESS * CANCELLING

func (LookupOsPolicyAssignmentResultOutput) RevisionCreateTime added in v0.8.0

The timestamp that the revision was created.

func (LookupOsPolicyAssignmentResultOutput) RevisionId added in v0.8.0

The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment

func (LookupOsPolicyAssignmentResultOutput) Rollout added in v0.8.0

Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.

func (LookupOsPolicyAssignmentResultOutput) RolloutState added in v0.8.0

OS policy assignment rollout state

func (LookupOsPolicyAssignmentResultOutput) ToLookupOsPolicyAssignmentResultOutput added in v0.8.0

func (o LookupOsPolicyAssignmentResultOutput) ToLookupOsPolicyAssignmentResultOutput() LookupOsPolicyAssignmentResultOutput

func (LookupOsPolicyAssignmentResultOutput) ToLookupOsPolicyAssignmentResultOutputWithContext added in v0.8.0

func (o LookupOsPolicyAssignmentResultOutput) ToLookupOsPolicyAssignmentResultOutputWithContext(ctx context.Context) LookupOsPolicyAssignmentResultOutput

func (LookupOsPolicyAssignmentResultOutput) Uid added in v0.8.0

Server generated unique id for the OS policy assignment resource.

type OSPolicy

type OSPolicy struct {
	// This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce.
	AllowNoResourceGroupMatch *bool `pulumi:"allowNoResourceGroupMatch"`
	// Policy description. Length of the description is limited to 1024 characters.
	Description *string `pulumi:"description"`
	// The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
	Id string `pulumi:"id"`
	// Policy mode
	Mode OSPolicyMode `pulumi:"mode"`
	// List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
	ResourceGroups []OSPolicyResourceGroup `pulumi:"resourceGroups"`
}

An OS policy defines the desired state configuration for a VM.

type OSPolicyArgs

type OSPolicyArgs struct {
	// This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce.
	AllowNoResourceGroupMatch pulumi.BoolPtrInput `pulumi:"allowNoResourceGroupMatch"`
	// Policy description. Length of the description is limited to 1024 characters.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
	Id pulumi.StringInput `pulumi:"id"`
	// Policy mode
	Mode OSPolicyModeInput `pulumi:"mode"`
	// List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
	ResourceGroups OSPolicyResourceGroupArrayInput `pulumi:"resourceGroups"`
}

An OS policy defines the desired state configuration for a VM.

func (OSPolicyArgs) ElementType

func (OSPolicyArgs) ElementType() reflect.Type

func (OSPolicyArgs) ToOSPolicyOutput

func (i OSPolicyArgs) ToOSPolicyOutput() OSPolicyOutput

func (OSPolicyArgs) ToOSPolicyOutputWithContext

func (i OSPolicyArgs) ToOSPolicyOutputWithContext(ctx context.Context) OSPolicyOutput

type OSPolicyArray

type OSPolicyArray []OSPolicyInput

func (OSPolicyArray) ElementType

func (OSPolicyArray) ElementType() reflect.Type

func (OSPolicyArray) ToOSPolicyArrayOutput

func (i OSPolicyArray) ToOSPolicyArrayOutput() OSPolicyArrayOutput

func (OSPolicyArray) ToOSPolicyArrayOutputWithContext

func (i OSPolicyArray) ToOSPolicyArrayOutputWithContext(ctx context.Context) OSPolicyArrayOutput

type OSPolicyArrayInput

type OSPolicyArrayInput interface {
	pulumi.Input

	ToOSPolicyArrayOutput() OSPolicyArrayOutput
	ToOSPolicyArrayOutputWithContext(context.Context) OSPolicyArrayOutput
}

OSPolicyArrayInput is an input type that accepts OSPolicyArray and OSPolicyArrayOutput values. You can construct a concrete instance of `OSPolicyArrayInput` via:

OSPolicyArray{ OSPolicyArgs{...} }

type OSPolicyArrayOutput

type OSPolicyArrayOutput struct{ *pulumi.OutputState }

func (OSPolicyArrayOutput) ElementType

func (OSPolicyArrayOutput) ElementType() reflect.Type

func (OSPolicyArrayOutput) Index

func (OSPolicyArrayOutput) ToOSPolicyArrayOutput

func (o OSPolicyArrayOutput) ToOSPolicyArrayOutput() OSPolicyArrayOutput

func (OSPolicyArrayOutput) ToOSPolicyArrayOutputWithContext

func (o OSPolicyArrayOutput) ToOSPolicyArrayOutputWithContext(ctx context.Context) OSPolicyArrayOutput

type OSPolicyAssignmentInstanceFilter

type OSPolicyAssignmentInstanceFilter struct {
	// Target all VMs in the project. If true, no other criteria is permitted.
	All *bool `pulumi:"all"`
	// List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
	ExclusionLabels []OSPolicyAssignmentLabelSet `pulumi:"exclusionLabels"`
	// List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
	InclusionLabels []OSPolicyAssignmentLabelSet `pulumi:"inclusionLabels"`
	// List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
	Inventories []OSPolicyAssignmentInstanceFilterInventory `pulumi:"inventories"`
	// Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.
	//
	// Deprecated: Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.
	OsShortNames []string `pulumi:"osShortNames"`
}

Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them.

type OSPolicyAssignmentInstanceFilterArgs

type OSPolicyAssignmentInstanceFilterArgs struct {
	// Target all VMs in the project. If true, no other criteria is permitted.
	All pulumi.BoolPtrInput `pulumi:"all"`
	// List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
	ExclusionLabels OSPolicyAssignmentLabelSetArrayInput `pulumi:"exclusionLabels"`
	// List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
	InclusionLabels OSPolicyAssignmentLabelSetArrayInput `pulumi:"inclusionLabels"`
	// List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
	Inventories OSPolicyAssignmentInstanceFilterInventoryArrayInput `pulumi:"inventories"`
	// Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.
	//
	// Deprecated: Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.
	OsShortNames pulumi.StringArrayInput `pulumi:"osShortNames"`
}

Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them.

func (OSPolicyAssignmentInstanceFilterArgs) ElementType

func (OSPolicyAssignmentInstanceFilterArgs) ToOSPolicyAssignmentInstanceFilterOutput

func (i OSPolicyAssignmentInstanceFilterArgs) ToOSPolicyAssignmentInstanceFilterOutput() OSPolicyAssignmentInstanceFilterOutput

func (OSPolicyAssignmentInstanceFilterArgs) ToOSPolicyAssignmentInstanceFilterOutputWithContext

func (i OSPolicyAssignmentInstanceFilterArgs) ToOSPolicyAssignmentInstanceFilterOutputWithContext(ctx context.Context) OSPolicyAssignmentInstanceFilterOutput

type OSPolicyAssignmentInstanceFilterInput

type OSPolicyAssignmentInstanceFilterInput interface {
	pulumi.Input

	ToOSPolicyAssignmentInstanceFilterOutput() OSPolicyAssignmentInstanceFilterOutput
	ToOSPolicyAssignmentInstanceFilterOutputWithContext(context.Context) OSPolicyAssignmentInstanceFilterOutput
}

OSPolicyAssignmentInstanceFilterInput is an input type that accepts OSPolicyAssignmentInstanceFilterArgs and OSPolicyAssignmentInstanceFilterOutput values. You can construct a concrete instance of `OSPolicyAssignmentInstanceFilterInput` via:

OSPolicyAssignmentInstanceFilterArgs{...}

type OSPolicyAssignmentInstanceFilterInventory added in v0.8.0

type OSPolicyAssignmentInstanceFilterInventory struct {
	// The OS short name
	OsShortName string `pulumi:"osShortName"`
	// The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*` An empty string matches all OS versions.
	OsVersion *string `pulumi:"osVersion"`
}

VM inventory details.

type OSPolicyAssignmentInstanceFilterInventoryArgs added in v0.8.0

type OSPolicyAssignmentInstanceFilterInventoryArgs struct {
	// The OS short name
	OsShortName pulumi.StringInput `pulumi:"osShortName"`
	// The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*` An empty string matches all OS versions.
	OsVersion pulumi.StringPtrInput `pulumi:"osVersion"`
}

VM inventory details.

func (OSPolicyAssignmentInstanceFilterInventoryArgs) ElementType added in v0.8.0

func (OSPolicyAssignmentInstanceFilterInventoryArgs) ToOSPolicyAssignmentInstanceFilterInventoryOutput added in v0.8.0

func (i OSPolicyAssignmentInstanceFilterInventoryArgs) ToOSPolicyAssignmentInstanceFilterInventoryOutput() OSPolicyAssignmentInstanceFilterInventoryOutput

func (OSPolicyAssignmentInstanceFilterInventoryArgs) ToOSPolicyAssignmentInstanceFilterInventoryOutputWithContext added in v0.8.0

func (i OSPolicyAssignmentInstanceFilterInventoryArgs) ToOSPolicyAssignmentInstanceFilterInventoryOutputWithContext(ctx context.Context) OSPolicyAssignmentInstanceFilterInventoryOutput

type OSPolicyAssignmentInstanceFilterInventoryArray added in v0.8.0

type OSPolicyAssignmentInstanceFilterInventoryArray []OSPolicyAssignmentInstanceFilterInventoryInput

func (OSPolicyAssignmentInstanceFilterInventoryArray) ElementType added in v0.8.0

func (OSPolicyAssignmentInstanceFilterInventoryArray) ToOSPolicyAssignmentInstanceFilterInventoryArrayOutput added in v0.8.0

func (i OSPolicyAssignmentInstanceFilterInventoryArray) ToOSPolicyAssignmentInstanceFilterInventoryArrayOutput() OSPolicyAssignmentInstanceFilterInventoryArrayOutput

func (OSPolicyAssignmentInstanceFilterInventoryArray) ToOSPolicyAssignmentInstanceFilterInventoryArrayOutputWithContext added in v0.8.0

func (i OSPolicyAssignmentInstanceFilterInventoryArray) ToOSPolicyAssignmentInstanceFilterInventoryArrayOutputWithContext(ctx context.Context) OSPolicyAssignmentInstanceFilterInventoryArrayOutput

type OSPolicyAssignmentInstanceFilterInventoryArrayInput added in v0.8.0

type OSPolicyAssignmentInstanceFilterInventoryArrayInput interface {
	pulumi.Input

	ToOSPolicyAssignmentInstanceFilterInventoryArrayOutput() OSPolicyAssignmentInstanceFilterInventoryArrayOutput
	ToOSPolicyAssignmentInstanceFilterInventoryArrayOutputWithContext(context.Context) OSPolicyAssignmentInstanceFilterInventoryArrayOutput
}

OSPolicyAssignmentInstanceFilterInventoryArrayInput is an input type that accepts OSPolicyAssignmentInstanceFilterInventoryArray and OSPolicyAssignmentInstanceFilterInventoryArrayOutput values. You can construct a concrete instance of `OSPolicyAssignmentInstanceFilterInventoryArrayInput` via:

OSPolicyAssignmentInstanceFilterInventoryArray{ OSPolicyAssignmentInstanceFilterInventoryArgs{...} }

type OSPolicyAssignmentInstanceFilterInventoryArrayOutput added in v0.8.0

type OSPolicyAssignmentInstanceFilterInventoryArrayOutput struct{ *pulumi.OutputState }

func (OSPolicyAssignmentInstanceFilterInventoryArrayOutput) ElementType added in v0.8.0

func (OSPolicyAssignmentInstanceFilterInventoryArrayOutput) Index added in v0.8.0

func (OSPolicyAssignmentInstanceFilterInventoryArrayOutput) ToOSPolicyAssignmentInstanceFilterInventoryArrayOutput added in v0.8.0

func (OSPolicyAssignmentInstanceFilterInventoryArrayOutput) ToOSPolicyAssignmentInstanceFilterInventoryArrayOutputWithContext added in v0.8.0

func (o OSPolicyAssignmentInstanceFilterInventoryArrayOutput) ToOSPolicyAssignmentInstanceFilterInventoryArrayOutputWithContext(ctx context.Context) OSPolicyAssignmentInstanceFilterInventoryArrayOutput

type OSPolicyAssignmentInstanceFilterInventoryInput added in v0.8.0

type OSPolicyAssignmentInstanceFilterInventoryInput interface {
	pulumi.Input

	ToOSPolicyAssignmentInstanceFilterInventoryOutput() OSPolicyAssignmentInstanceFilterInventoryOutput
	ToOSPolicyAssignmentInstanceFilterInventoryOutputWithContext(context.Context) OSPolicyAssignmentInstanceFilterInventoryOutput
}

OSPolicyAssignmentInstanceFilterInventoryInput is an input type that accepts OSPolicyAssignmentInstanceFilterInventoryArgs and OSPolicyAssignmentInstanceFilterInventoryOutput values. You can construct a concrete instance of `OSPolicyAssignmentInstanceFilterInventoryInput` via:

OSPolicyAssignmentInstanceFilterInventoryArgs{...}

type OSPolicyAssignmentInstanceFilterInventoryOutput added in v0.8.0

type OSPolicyAssignmentInstanceFilterInventoryOutput struct{ *pulumi.OutputState }

VM inventory details.

func (OSPolicyAssignmentInstanceFilterInventoryOutput) ElementType added in v0.8.0

func (OSPolicyAssignmentInstanceFilterInventoryOutput) OsShortName added in v0.8.0

The OS short name

func (OSPolicyAssignmentInstanceFilterInventoryOutput) OsVersion added in v0.8.0

The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*` An empty string matches all OS versions.

func (OSPolicyAssignmentInstanceFilterInventoryOutput) ToOSPolicyAssignmentInstanceFilterInventoryOutput added in v0.8.0

func (o OSPolicyAssignmentInstanceFilterInventoryOutput) ToOSPolicyAssignmentInstanceFilterInventoryOutput() OSPolicyAssignmentInstanceFilterInventoryOutput

func (OSPolicyAssignmentInstanceFilterInventoryOutput) ToOSPolicyAssignmentInstanceFilterInventoryOutputWithContext added in v0.8.0

func (o OSPolicyAssignmentInstanceFilterInventoryOutput) ToOSPolicyAssignmentInstanceFilterInventoryOutputWithContext(ctx context.Context) OSPolicyAssignmentInstanceFilterInventoryOutput

type OSPolicyAssignmentInstanceFilterInventoryResponse added in v0.8.0

type OSPolicyAssignmentInstanceFilterInventoryResponse struct {
	// The OS short name
	OsShortName string `pulumi:"osShortName"`
	// The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*` An empty string matches all OS versions.
	OsVersion string `pulumi:"osVersion"`
}

VM inventory details.

type OSPolicyAssignmentInstanceFilterInventoryResponseArrayOutput added in v0.8.0

type OSPolicyAssignmentInstanceFilterInventoryResponseArrayOutput struct{ *pulumi.OutputState }

func (OSPolicyAssignmentInstanceFilterInventoryResponseArrayOutput) ElementType added in v0.8.0

func (OSPolicyAssignmentInstanceFilterInventoryResponseArrayOutput) Index added in v0.8.0

func (OSPolicyAssignmentInstanceFilterInventoryResponseArrayOutput) ToOSPolicyAssignmentInstanceFilterInventoryResponseArrayOutput added in v0.8.0

func (OSPolicyAssignmentInstanceFilterInventoryResponseArrayOutput) ToOSPolicyAssignmentInstanceFilterInventoryResponseArrayOutputWithContext added in v0.8.0

func (o OSPolicyAssignmentInstanceFilterInventoryResponseArrayOutput) ToOSPolicyAssignmentInstanceFilterInventoryResponseArrayOutputWithContext(ctx context.Context) OSPolicyAssignmentInstanceFilterInventoryResponseArrayOutput

type OSPolicyAssignmentInstanceFilterInventoryResponseOutput added in v0.8.0

type OSPolicyAssignmentInstanceFilterInventoryResponseOutput struct{ *pulumi.OutputState }

VM inventory details.

func (OSPolicyAssignmentInstanceFilterInventoryResponseOutput) ElementType added in v0.8.0

func (OSPolicyAssignmentInstanceFilterInventoryResponseOutput) OsShortName added in v0.8.0

The OS short name

func (OSPolicyAssignmentInstanceFilterInventoryResponseOutput) OsVersion added in v0.8.0

The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*` An empty string matches all OS versions.

func (OSPolicyAssignmentInstanceFilterInventoryResponseOutput) ToOSPolicyAssignmentInstanceFilterInventoryResponseOutput added in v0.8.0

func (OSPolicyAssignmentInstanceFilterInventoryResponseOutput) ToOSPolicyAssignmentInstanceFilterInventoryResponseOutputWithContext added in v0.8.0

func (o OSPolicyAssignmentInstanceFilterInventoryResponseOutput) ToOSPolicyAssignmentInstanceFilterInventoryResponseOutputWithContext(ctx context.Context) OSPolicyAssignmentInstanceFilterInventoryResponseOutput

type OSPolicyAssignmentInstanceFilterOutput

type OSPolicyAssignmentInstanceFilterOutput struct{ *pulumi.OutputState }

Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them.

func (OSPolicyAssignmentInstanceFilterOutput) All

Target all VMs in the project. If true, no other criteria is permitted.

func (OSPolicyAssignmentInstanceFilterOutput) ElementType

func (OSPolicyAssignmentInstanceFilterOutput) ExclusionLabels

List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.

func (OSPolicyAssignmentInstanceFilterOutput) InclusionLabels

List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.

func (OSPolicyAssignmentInstanceFilterOutput) Inventories added in v0.8.0

List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.

func (OSPolicyAssignmentInstanceFilterOutput) OsShortNames deprecated

Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.

Deprecated: Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.

func (OSPolicyAssignmentInstanceFilterOutput) ToOSPolicyAssignmentInstanceFilterOutput

func (o OSPolicyAssignmentInstanceFilterOutput) ToOSPolicyAssignmentInstanceFilterOutput() OSPolicyAssignmentInstanceFilterOutput

func (OSPolicyAssignmentInstanceFilterOutput) ToOSPolicyAssignmentInstanceFilterOutputWithContext

func (o OSPolicyAssignmentInstanceFilterOutput) ToOSPolicyAssignmentInstanceFilterOutputWithContext(ctx context.Context) OSPolicyAssignmentInstanceFilterOutput

type OSPolicyAssignmentInstanceFilterResponse

type OSPolicyAssignmentInstanceFilterResponse struct {
	// Target all VMs in the project. If true, no other criteria is permitted.
	All bool `pulumi:"all"`
	// List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
	ExclusionLabels []OSPolicyAssignmentLabelSetResponse `pulumi:"exclusionLabels"`
	// List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
	InclusionLabels []OSPolicyAssignmentLabelSetResponse `pulumi:"inclusionLabels"`
	// List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
	Inventories []OSPolicyAssignmentInstanceFilterInventoryResponse `pulumi:"inventories"`
	// Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.
	//
	// Deprecated: Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.
	OsShortNames []string `pulumi:"osShortNames"`
}

Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them.

type OSPolicyAssignmentInstanceFilterResponseOutput

type OSPolicyAssignmentInstanceFilterResponseOutput struct{ *pulumi.OutputState }

Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them.

func (OSPolicyAssignmentInstanceFilterResponseOutput) All

Target all VMs in the project. If true, no other criteria is permitted.

func (OSPolicyAssignmentInstanceFilterResponseOutput) ElementType

func (OSPolicyAssignmentInstanceFilterResponseOutput) ExclusionLabels

List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.

func (OSPolicyAssignmentInstanceFilterResponseOutput) InclusionLabels

List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.

func (OSPolicyAssignmentInstanceFilterResponseOutput) Inventories added in v0.8.0

List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.

func (OSPolicyAssignmentInstanceFilterResponseOutput) OsShortNames deprecated

Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.

Deprecated: Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.

func (OSPolicyAssignmentInstanceFilterResponseOutput) ToOSPolicyAssignmentInstanceFilterResponseOutput

func (o OSPolicyAssignmentInstanceFilterResponseOutput) ToOSPolicyAssignmentInstanceFilterResponseOutput() OSPolicyAssignmentInstanceFilterResponseOutput

func (OSPolicyAssignmentInstanceFilterResponseOutput) ToOSPolicyAssignmentInstanceFilterResponseOutputWithContext

func (o OSPolicyAssignmentInstanceFilterResponseOutput) ToOSPolicyAssignmentInstanceFilterResponseOutputWithContext(ctx context.Context) OSPolicyAssignmentInstanceFilterResponseOutput

type OSPolicyAssignmentLabelSet

type OSPolicyAssignmentLabelSet struct {
	// Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.
	Labels map[string]string `pulumi:"labels"`
}

Message representing label set. * A label is a key value pair set for a VM. * A LabelSet is a set of labels. * Labels within a LabelSet are ANDed. In other words, a LabelSet is applicable for a VM only if it matches all the labels in the LabelSet. * Example: A LabelSet with 2 labels: `env=prod` and `type=webserver` will only be applicable for those VMs with both labels present.

type OSPolicyAssignmentLabelSetArgs

type OSPolicyAssignmentLabelSetArgs struct {
	// Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.
	Labels pulumi.StringMapInput `pulumi:"labels"`
}

Message representing label set. * A label is a key value pair set for a VM. * A LabelSet is a set of labels. * Labels within a LabelSet are ANDed. In other words, a LabelSet is applicable for a VM only if it matches all the labels in the LabelSet. * Example: A LabelSet with 2 labels: `env=prod` and `type=webserver` will only be applicable for those VMs with both labels present.

func (OSPolicyAssignmentLabelSetArgs) ElementType

func (OSPolicyAssignmentLabelSetArgs) ToOSPolicyAssignmentLabelSetOutput

func (i OSPolicyAssignmentLabelSetArgs) ToOSPolicyAssignmentLabelSetOutput() OSPolicyAssignmentLabelSetOutput

func (OSPolicyAssignmentLabelSetArgs) ToOSPolicyAssignmentLabelSetOutputWithContext

func (i OSPolicyAssignmentLabelSetArgs) ToOSPolicyAssignmentLabelSetOutputWithContext(ctx context.Context) OSPolicyAssignmentLabelSetOutput

type OSPolicyAssignmentLabelSetArray

type OSPolicyAssignmentLabelSetArray []OSPolicyAssignmentLabelSetInput

func (OSPolicyAssignmentLabelSetArray) ElementType

func (OSPolicyAssignmentLabelSetArray) ToOSPolicyAssignmentLabelSetArrayOutput

func (i OSPolicyAssignmentLabelSetArray) ToOSPolicyAssignmentLabelSetArrayOutput() OSPolicyAssignmentLabelSetArrayOutput

func (OSPolicyAssignmentLabelSetArray) ToOSPolicyAssignmentLabelSetArrayOutputWithContext

func (i OSPolicyAssignmentLabelSetArray) ToOSPolicyAssignmentLabelSetArrayOutputWithContext(ctx context.Context) OSPolicyAssignmentLabelSetArrayOutput

type OSPolicyAssignmentLabelSetArrayInput

type OSPolicyAssignmentLabelSetArrayInput interface {
	pulumi.Input

	ToOSPolicyAssignmentLabelSetArrayOutput() OSPolicyAssignmentLabelSetArrayOutput
	ToOSPolicyAssignmentLabelSetArrayOutputWithContext(context.Context) OSPolicyAssignmentLabelSetArrayOutput
}

OSPolicyAssignmentLabelSetArrayInput is an input type that accepts OSPolicyAssignmentLabelSetArray and OSPolicyAssignmentLabelSetArrayOutput values. You can construct a concrete instance of `OSPolicyAssignmentLabelSetArrayInput` via:

OSPolicyAssignmentLabelSetArray{ OSPolicyAssignmentLabelSetArgs{...} }

type OSPolicyAssignmentLabelSetArrayOutput

type OSPolicyAssignmentLabelSetArrayOutput struct{ *pulumi.OutputState }

func (OSPolicyAssignmentLabelSetArrayOutput) ElementType

func (OSPolicyAssignmentLabelSetArrayOutput) Index

func (OSPolicyAssignmentLabelSetArrayOutput) ToOSPolicyAssignmentLabelSetArrayOutput

func (o OSPolicyAssignmentLabelSetArrayOutput) ToOSPolicyAssignmentLabelSetArrayOutput() OSPolicyAssignmentLabelSetArrayOutput

func (OSPolicyAssignmentLabelSetArrayOutput) ToOSPolicyAssignmentLabelSetArrayOutputWithContext

func (o OSPolicyAssignmentLabelSetArrayOutput) ToOSPolicyAssignmentLabelSetArrayOutputWithContext(ctx context.Context) OSPolicyAssignmentLabelSetArrayOutput

type OSPolicyAssignmentLabelSetInput

type OSPolicyAssignmentLabelSetInput interface {
	pulumi.Input

	ToOSPolicyAssignmentLabelSetOutput() OSPolicyAssignmentLabelSetOutput
	ToOSPolicyAssignmentLabelSetOutputWithContext(context.Context) OSPolicyAssignmentLabelSetOutput
}

OSPolicyAssignmentLabelSetInput is an input type that accepts OSPolicyAssignmentLabelSetArgs and OSPolicyAssignmentLabelSetOutput values. You can construct a concrete instance of `OSPolicyAssignmentLabelSetInput` via:

OSPolicyAssignmentLabelSetArgs{...}

type OSPolicyAssignmentLabelSetOutput

type OSPolicyAssignmentLabelSetOutput struct{ *pulumi.OutputState }

Message representing label set. * A label is a key value pair set for a VM. * A LabelSet is a set of labels. * Labels within a LabelSet are ANDed. In other words, a LabelSet is applicable for a VM only if it matches all the labels in the LabelSet. * Example: A LabelSet with 2 labels: `env=prod` and `type=webserver` will only be applicable for those VMs with both labels present.

func (OSPolicyAssignmentLabelSetOutput) ElementType

func (OSPolicyAssignmentLabelSetOutput) Labels

Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.

func (OSPolicyAssignmentLabelSetOutput) ToOSPolicyAssignmentLabelSetOutput

func (o OSPolicyAssignmentLabelSetOutput) ToOSPolicyAssignmentLabelSetOutput() OSPolicyAssignmentLabelSetOutput

func (OSPolicyAssignmentLabelSetOutput) ToOSPolicyAssignmentLabelSetOutputWithContext

func (o OSPolicyAssignmentLabelSetOutput) ToOSPolicyAssignmentLabelSetOutputWithContext(ctx context.Context) OSPolicyAssignmentLabelSetOutput

type OSPolicyAssignmentLabelSetResponse

type OSPolicyAssignmentLabelSetResponse struct {
	// Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.
	Labels map[string]string `pulumi:"labels"`
}

Message representing label set. * A label is a key value pair set for a VM. * A LabelSet is a set of labels. * Labels within a LabelSet are ANDed. In other words, a LabelSet is applicable for a VM only if it matches all the labels in the LabelSet. * Example: A LabelSet with 2 labels: `env=prod` and `type=webserver` will only be applicable for those VMs with both labels present.

type OSPolicyAssignmentLabelSetResponseArrayOutput

type OSPolicyAssignmentLabelSetResponseArrayOutput struct{ *pulumi.OutputState }

func (OSPolicyAssignmentLabelSetResponseArrayOutput) ElementType

func (OSPolicyAssignmentLabelSetResponseArrayOutput) Index

func (OSPolicyAssignmentLabelSetResponseArrayOutput) ToOSPolicyAssignmentLabelSetResponseArrayOutput

func (o OSPolicyAssignmentLabelSetResponseArrayOutput) ToOSPolicyAssignmentLabelSetResponseArrayOutput() OSPolicyAssignmentLabelSetResponseArrayOutput

func (OSPolicyAssignmentLabelSetResponseArrayOutput) ToOSPolicyAssignmentLabelSetResponseArrayOutputWithContext

func (o OSPolicyAssignmentLabelSetResponseArrayOutput) ToOSPolicyAssignmentLabelSetResponseArrayOutputWithContext(ctx context.Context) OSPolicyAssignmentLabelSetResponseArrayOutput

type OSPolicyAssignmentLabelSetResponseOutput

type OSPolicyAssignmentLabelSetResponseOutput struct{ *pulumi.OutputState }

Message representing label set. * A label is a key value pair set for a VM. * A LabelSet is a set of labels. * Labels within a LabelSet are ANDed. In other words, a LabelSet is applicable for a VM only if it matches all the labels in the LabelSet. * Example: A LabelSet with 2 labels: `env=prod` and `type=webserver` will only be applicable for those VMs with both labels present.

func (OSPolicyAssignmentLabelSetResponseOutput) ElementType

func (OSPolicyAssignmentLabelSetResponseOutput) Labels

Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected.

func (OSPolicyAssignmentLabelSetResponseOutput) ToOSPolicyAssignmentLabelSetResponseOutput

func (o OSPolicyAssignmentLabelSetResponseOutput) ToOSPolicyAssignmentLabelSetResponseOutput() OSPolicyAssignmentLabelSetResponseOutput

func (OSPolicyAssignmentLabelSetResponseOutput) ToOSPolicyAssignmentLabelSetResponseOutputWithContext

func (o OSPolicyAssignmentLabelSetResponseOutput) ToOSPolicyAssignmentLabelSetResponseOutputWithContext(ctx context.Context) OSPolicyAssignmentLabelSetResponseOutput

type OSPolicyAssignmentRollout

type OSPolicyAssignmentRollout struct {
	// The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
	DisruptionBudget FixedOrPercent `pulumi:"disruptionBudget"`
	// This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied.
	MinWaitDuration string `pulumi:"minWaitDuration"`
}

Message to configure the rollout at the zonal level for the OS policy assignment.

type OSPolicyAssignmentRolloutArgs

type OSPolicyAssignmentRolloutArgs struct {
	// The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
	DisruptionBudget FixedOrPercentInput `pulumi:"disruptionBudget"`
	// This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied.
	MinWaitDuration pulumi.StringInput `pulumi:"minWaitDuration"`
}

Message to configure the rollout at the zonal level for the OS policy assignment.

func (OSPolicyAssignmentRolloutArgs) ElementType

func (OSPolicyAssignmentRolloutArgs) ToOSPolicyAssignmentRolloutOutput

func (i OSPolicyAssignmentRolloutArgs) ToOSPolicyAssignmentRolloutOutput() OSPolicyAssignmentRolloutOutput

func (OSPolicyAssignmentRolloutArgs) ToOSPolicyAssignmentRolloutOutputWithContext

func (i OSPolicyAssignmentRolloutArgs) ToOSPolicyAssignmentRolloutOutputWithContext(ctx context.Context) OSPolicyAssignmentRolloutOutput

type OSPolicyAssignmentRolloutInput

type OSPolicyAssignmentRolloutInput interface {
	pulumi.Input

	ToOSPolicyAssignmentRolloutOutput() OSPolicyAssignmentRolloutOutput
	ToOSPolicyAssignmentRolloutOutputWithContext(context.Context) OSPolicyAssignmentRolloutOutput
}

OSPolicyAssignmentRolloutInput is an input type that accepts OSPolicyAssignmentRolloutArgs and OSPolicyAssignmentRolloutOutput values. You can construct a concrete instance of `OSPolicyAssignmentRolloutInput` via:

OSPolicyAssignmentRolloutArgs{...}

type OSPolicyAssignmentRolloutOutput

type OSPolicyAssignmentRolloutOutput struct{ *pulumi.OutputState }

Message to configure the rollout at the zonal level for the OS policy assignment.

func (OSPolicyAssignmentRolloutOutput) DisruptionBudget

The maximum number (or percentage) of VMs per zone to disrupt at any given moment.

func (OSPolicyAssignmentRolloutOutput) ElementType

func (OSPolicyAssignmentRolloutOutput) MinWaitDuration

This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied.

func (OSPolicyAssignmentRolloutOutput) ToOSPolicyAssignmentRolloutOutput

func (o OSPolicyAssignmentRolloutOutput) ToOSPolicyAssignmentRolloutOutput() OSPolicyAssignmentRolloutOutput

func (OSPolicyAssignmentRolloutOutput) ToOSPolicyAssignmentRolloutOutputWithContext

func (o OSPolicyAssignmentRolloutOutput) ToOSPolicyAssignmentRolloutOutputWithContext(ctx context.Context) OSPolicyAssignmentRolloutOutput

type OSPolicyAssignmentRolloutResponse

type OSPolicyAssignmentRolloutResponse struct {
	// The maximum number (or percentage) of VMs per zone to disrupt at any given moment.
	DisruptionBudget FixedOrPercentResponse `pulumi:"disruptionBudget"`
	// This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied.
	MinWaitDuration string `pulumi:"minWaitDuration"`
}

Message to configure the rollout at the zonal level for the OS policy assignment.

type OSPolicyAssignmentRolloutResponseOutput

type OSPolicyAssignmentRolloutResponseOutput struct{ *pulumi.OutputState }

Message to configure the rollout at the zonal level for the OS policy assignment.

func (OSPolicyAssignmentRolloutResponseOutput) DisruptionBudget

The maximum number (or percentage) of VMs per zone to disrupt at any given moment.

func (OSPolicyAssignmentRolloutResponseOutput) ElementType

func (OSPolicyAssignmentRolloutResponseOutput) MinWaitDuration

This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied.

func (OSPolicyAssignmentRolloutResponseOutput) ToOSPolicyAssignmentRolloutResponseOutput

func (o OSPolicyAssignmentRolloutResponseOutput) ToOSPolicyAssignmentRolloutResponseOutput() OSPolicyAssignmentRolloutResponseOutput

func (OSPolicyAssignmentRolloutResponseOutput) ToOSPolicyAssignmentRolloutResponseOutputWithContext

func (o OSPolicyAssignmentRolloutResponseOutput) ToOSPolicyAssignmentRolloutResponseOutputWithContext(ctx context.Context) OSPolicyAssignmentRolloutResponseOutput

type OSPolicyInput

type OSPolicyInput interface {
	pulumi.Input

	ToOSPolicyOutput() OSPolicyOutput
	ToOSPolicyOutputWithContext(context.Context) OSPolicyOutput
}

OSPolicyInput is an input type that accepts OSPolicyArgs and OSPolicyOutput values. You can construct a concrete instance of `OSPolicyInput` via:

OSPolicyArgs{...}

type OSPolicyInventoryFilter added in v0.8.0

type OSPolicyInventoryFilter struct {
	// The OS short name
	OsShortName string `pulumi:"osShortName"`
	// The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*` An empty string matches all OS versions.
	OsVersion *string `pulumi:"osVersion"`
}

Filtering criteria to select VMs based on inventory details.

type OSPolicyInventoryFilterArgs added in v0.8.0

type OSPolicyInventoryFilterArgs struct {
	// The OS short name
	OsShortName pulumi.StringInput `pulumi:"osShortName"`
	// The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*` An empty string matches all OS versions.
	OsVersion pulumi.StringPtrInput `pulumi:"osVersion"`
}

Filtering criteria to select VMs based on inventory details.

func (OSPolicyInventoryFilterArgs) ElementType added in v0.8.0

func (OSPolicyInventoryFilterArgs) ToOSPolicyInventoryFilterOutput added in v0.8.0

func (i OSPolicyInventoryFilterArgs) ToOSPolicyInventoryFilterOutput() OSPolicyInventoryFilterOutput

func (OSPolicyInventoryFilterArgs) ToOSPolicyInventoryFilterOutputWithContext added in v0.8.0

func (i OSPolicyInventoryFilterArgs) ToOSPolicyInventoryFilterOutputWithContext(ctx context.Context) OSPolicyInventoryFilterOutput

type OSPolicyInventoryFilterArray added in v0.8.0

type OSPolicyInventoryFilterArray []OSPolicyInventoryFilterInput

func (OSPolicyInventoryFilterArray) ElementType added in v0.8.0

func (OSPolicyInventoryFilterArray) ToOSPolicyInventoryFilterArrayOutput added in v0.8.0

func (i OSPolicyInventoryFilterArray) ToOSPolicyInventoryFilterArrayOutput() OSPolicyInventoryFilterArrayOutput

func (OSPolicyInventoryFilterArray) ToOSPolicyInventoryFilterArrayOutputWithContext added in v0.8.0

func (i OSPolicyInventoryFilterArray) ToOSPolicyInventoryFilterArrayOutputWithContext(ctx context.Context) OSPolicyInventoryFilterArrayOutput

type OSPolicyInventoryFilterArrayInput added in v0.8.0

type OSPolicyInventoryFilterArrayInput interface {
	pulumi.Input

	ToOSPolicyInventoryFilterArrayOutput() OSPolicyInventoryFilterArrayOutput
	ToOSPolicyInventoryFilterArrayOutputWithContext(context.Context) OSPolicyInventoryFilterArrayOutput
}

OSPolicyInventoryFilterArrayInput is an input type that accepts OSPolicyInventoryFilterArray and OSPolicyInventoryFilterArrayOutput values. You can construct a concrete instance of `OSPolicyInventoryFilterArrayInput` via:

OSPolicyInventoryFilterArray{ OSPolicyInventoryFilterArgs{...} }

type OSPolicyInventoryFilterArrayOutput added in v0.8.0

type OSPolicyInventoryFilterArrayOutput struct{ *pulumi.OutputState }

func (OSPolicyInventoryFilterArrayOutput) ElementType added in v0.8.0

func (OSPolicyInventoryFilterArrayOutput) Index added in v0.8.0

func (OSPolicyInventoryFilterArrayOutput) ToOSPolicyInventoryFilterArrayOutput added in v0.8.0

func (o OSPolicyInventoryFilterArrayOutput) ToOSPolicyInventoryFilterArrayOutput() OSPolicyInventoryFilterArrayOutput

func (OSPolicyInventoryFilterArrayOutput) ToOSPolicyInventoryFilterArrayOutputWithContext added in v0.8.0

func (o OSPolicyInventoryFilterArrayOutput) ToOSPolicyInventoryFilterArrayOutputWithContext(ctx context.Context) OSPolicyInventoryFilterArrayOutput

type OSPolicyInventoryFilterInput added in v0.8.0

type OSPolicyInventoryFilterInput interface {
	pulumi.Input

	ToOSPolicyInventoryFilterOutput() OSPolicyInventoryFilterOutput
	ToOSPolicyInventoryFilterOutputWithContext(context.Context) OSPolicyInventoryFilterOutput
}

OSPolicyInventoryFilterInput is an input type that accepts OSPolicyInventoryFilterArgs and OSPolicyInventoryFilterOutput values. You can construct a concrete instance of `OSPolicyInventoryFilterInput` via:

OSPolicyInventoryFilterArgs{...}

type OSPolicyInventoryFilterOutput added in v0.8.0

type OSPolicyInventoryFilterOutput struct{ *pulumi.OutputState }

Filtering criteria to select VMs based on inventory details.

func (OSPolicyInventoryFilterOutput) ElementType added in v0.8.0

func (OSPolicyInventoryFilterOutput) OsShortName added in v0.8.0

The OS short name

func (OSPolicyInventoryFilterOutput) OsVersion added in v0.8.0

The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*` An empty string matches all OS versions.

func (OSPolicyInventoryFilterOutput) ToOSPolicyInventoryFilterOutput added in v0.8.0

func (o OSPolicyInventoryFilterOutput) ToOSPolicyInventoryFilterOutput() OSPolicyInventoryFilterOutput

func (OSPolicyInventoryFilterOutput) ToOSPolicyInventoryFilterOutputWithContext added in v0.8.0

func (o OSPolicyInventoryFilterOutput) ToOSPolicyInventoryFilterOutputWithContext(ctx context.Context) OSPolicyInventoryFilterOutput

type OSPolicyInventoryFilterResponse added in v0.8.0

type OSPolicyInventoryFilterResponse struct {
	// The OS short name
	OsShortName string `pulumi:"osShortName"`
	// The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*` An empty string matches all OS versions.
	OsVersion string `pulumi:"osVersion"`
}

Filtering criteria to select VMs based on inventory details.

type OSPolicyInventoryFilterResponseArrayOutput added in v0.8.0

type OSPolicyInventoryFilterResponseArrayOutput struct{ *pulumi.OutputState }

func (OSPolicyInventoryFilterResponseArrayOutput) ElementType added in v0.8.0

func (OSPolicyInventoryFilterResponseArrayOutput) Index added in v0.8.0

func (OSPolicyInventoryFilterResponseArrayOutput) ToOSPolicyInventoryFilterResponseArrayOutput added in v0.8.0

func (o OSPolicyInventoryFilterResponseArrayOutput) ToOSPolicyInventoryFilterResponseArrayOutput() OSPolicyInventoryFilterResponseArrayOutput

func (OSPolicyInventoryFilterResponseArrayOutput) ToOSPolicyInventoryFilterResponseArrayOutputWithContext added in v0.8.0

func (o OSPolicyInventoryFilterResponseArrayOutput) ToOSPolicyInventoryFilterResponseArrayOutputWithContext(ctx context.Context) OSPolicyInventoryFilterResponseArrayOutput

type OSPolicyInventoryFilterResponseOutput added in v0.8.0

type OSPolicyInventoryFilterResponseOutput struct{ *pulumi.OutputState }

Filtering criteria to select VMs based on inventory details.

func (OSPolicyInventoryFilterResponseOutput) ElementType added in v0.8.0

func (OSPolicyInventoryFilterResponseOutput) OsShortName added in v0.8.0

The OS short name

func (OSPolicyInventoryFilterResponseOutput) OsVersion added in v0.8.0

The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*` An empty string matches all OS versions.

func (OSPolicyInventoryFilterResponseOutput) ToOSPolicyInventoryFilterResponseOutput added in v0.8.0

func (o OSPolicyInventoryFilterResponseOutput) ToOSPolicyInventoryFilterResponseOutput() OSPolicyInventoryFilterResponseOutput

func (OSPolicyInventoryFilterResponseOutput) ToOSPolicyInventoryFilterResponseOutputWithContext added in v0.8.0

func (o OSPolicyInventoryFilterResponseOutput) ToOSPolicyInventoryFilterResponseOutputWithContext(ctx context.Context) OSPolicyInventoryFilterResponseOutput

type OSPolicyMode

type OSPolicyMode string

Required. Policy mode

func (OSPolicyMode) ElementType

func (OSPolicyMode) ElementType() reflect.Type

func (OSPolicyMode) ToOSPolicyModeOutput added in v0.6.0

func (e OSPolicyMode) ToOSPolicyModeOutput() OSPolicyModeOutput

func (OSPolicyMode) ToOSPolicyModeOutputWithContext added in v0.6.0

func (e OSPolicyMode) ToOSPolicyModeOutputWithContext(ctx context.Context) OSPolicyModeOutput

func (OSPolicyMode) ToOSPolicyModePtrOutput added in v0.6.0

func (e OSPolicyMode) ToOSPolicyModePtrOutput() OSPolicyModePtrOutput

func (OSPolicyMode) ToOSPolicyModePtrOutputWithContext added in v0.6.0

func (e OSPolicyMode) ToOSPolicyModePtrOutputWithContext(ctx context.Context) OSPolicyModePtrOutput

func (OSPolicyMode) ToStringOutput

func (e OSPolicyMode) ToStringOutput() pulumi.StringOutput

func (OSPolicyMode) ToStringOutputWithContext

func (e OSPolicyMode) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (OSPolicyMode) ToStringPtrOutput

func (e OSPolicyMode) ToStringPtrOutput() pulumi.StringPtrOutput

func (OSPolicyMode) ToStringPtrOutputWithContext

func (e OSPolicyMode) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type OSPolicyModeInput added in v0.6.0

type OSPolicyModeInput interface {
	pulumi.Input

	ToOSPolicyModeOutput() OSPolicyModeOutput
	ToOSPolicyModeOutputWithContext(context.Context) OSPolicyModeOutput
}

OSPolicyModeInput is an input type that accepts OSPolicyModeArgs and OSPolicyModeOutput values. You can construct a concrete instance of `OSPolicyModeInput` via:

OSPolicyModeArgs{...}

type OSPolicyModeOutput added in v0.6.0

type OSPolicyModeOutput struct{ *pulumi.OutputState }

func (OSPolicyModeOutput) ElementType added in v0.6.0

func (OSPolicyModeOutput) ElementType() reflect.Type

func (OSPolicyModeOutput) ToOSPolicyModeOutput added in v0.6.0

func (o OSPolicyModeOutput) ToOSPolicyModeOutput() OSPolicyModeOutput

func (OSPolicyModeOutput) ToOSPolicyModeOutputWithContext added in v0.6.0

func (o OSPolicyModeOutput) ToOSPolicyModeOutputWithContext(ctx context.Context) OSPolicyModeOutput

func (OSPolicyModeOutput) ToOSPolicyModePtrOutput added in v0.6.0

func (o OSPolicyModeOutput) ToOSPolicyModePtrOutput() OSPolicyModePtrOutput

func (OSPolicyModeOutput) ToOSPolicyModePtrOutputWithContext added in v0.6.0

func (o OSPolicyModeOutput) ToOSPolicyModePtrOutputWithContext(ctx context.Context) OSPolicyModePtrOutput

func (OSPolicyModeOutput) ToStringOutput added in v0.6.0

func (o OSPolicyModeOutput) ToStringOutput() pulumi.StringOutput

func (OSPolicyModeOutput) ToStringOutputWithContext added in v0.6.0

func (o OSPolicyModeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (OSPolicyModeOutput) ToStringPtrOutput added in v0.6.0

func (o OSPolicyModeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (OSPolicyModeOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o OSPolicyModeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type OSPolicyModePtrInput added in v0.6.0

type OSPolicyModePtrInput interface {
	pulumi.Input

	ToOSPolicyModePtrOutput() OSPolicyModePtrOutput
	ToOSPolicyModePtrOutputWithContext(context.Context) OSPolicyModePtrOutput
}

func OSPolicyModePtr added in v0.6.0

func OSPolicyModePtr(v string) OSPolicyModePtrInput

type OSPolicyModePtrOutput added in v0.6.0

type OSPolicyModePtrOutput struct{ *pulumi.OutputState }

func (OSPolicyModePtrOutput) Elem added in v0.6.0

func (OSPolicyModePtrOutput) ElementType added in v0.6.0

func (OSPolicyModePtrOutput) ElementType() reflect.Type

func (OSPolicyModePtrOutput) ToOSPolicyModePtrOutput added in v0.6.0

func (o OSPolicyModePtrOutput) ToOSPolicyModePtrOutput() OSPolicyModePtrOutput

func (OSPolicyModePtrOutput) ToOSPolicyModePtrOutputWithContext added in v0.6.0

func (o OSPolicyModePtrOutput) ToOSPolicyModePtrOutputWithContext(ctx context.Context) OSPolicyModePtrOutput

func (OSPolicyModePtrOutput) ToStringPtrOutput added in v0.6.0

func (o OSPolicyModePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (OSPolicyModePtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o OSPolicyModePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type OSPolicyOSFilter

type OSPolicyOSFilter struct {
	// This should match OS short name emitted by the OS inventory agent. An empty value matches any OS.
	OsShortName *string `pulumi:"osShortName"`
	// This value should match the version emitted by the OS inventory agent. Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*`
	OsVersion *string `pulumi:"osVersion"`
}

Filtering criteria to select VMs based on OS details.

type OSPolicyOSFilterArgs

type OSPolicyOSFilterArgs struct {
	// This should match OS short name emitted by the OS inventory agent. An empty value matches any OS.
	OsShortName pulumi.StringPtrInput `pulumi:"osShortName"`
	// This value should match the version emitted by the OS inventory agent. Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*`
	OsVersion pulumi.StringPtrInput `pulumi:"osVersion"`
}

Filtering criteria to select VMs based on OS details.

func (OSPolicyOSFilterArgs) ElementType

func (OSPolicyOSFilterArgs) ElementType() reflect.Type

func (OSPolicyOSFilterArgs) ToOSPolicyOSFilterOutput

func (i OSPolicyOSFilterArgs) ToOSPolicyOSFilterOutput() OSPolicyOSFilterOutput

func (OSPolicyOSFilterArgs) ToOSPolicyOSFilterOutputWithContext

func (i OSPolicyOSFilterArgs) ToOSPolicyOSFilterOutputWithContext(ctx context.Context) OSPolicyOSFilterOutput

func (OSPolicyOSFilterArgs) ToOSPolicyOSFilterPtrOutput

func (i OSPolicyOSFilterArgs) ToOSPolicyOSFilterPtrOutput() OSPolicyOSFilterPtrOutput

func (OSPolicyOSFilterArgs) ToOSPolicyOSFilterPtrOutputWithContext

func (i OSPolicyOSFilterArgs) ToOSPolicyOSFilterPtrOutputWithContext(ctx context.Context) OSPolicyOSFilterPtrOutput

type OSPolicyOSFilterInput

type OSPolicyOSFilterInput interface {
	pulumi.Input

	ToOSPolicyOSFilterOutput() OSPolicyOSFilterOutput
	ToOSPolicyOSFilterOutputWithContext(context.Context) OSPolicyOSFilterOutput
}

OSPolicyOSFilterInput is an input type that accepts OSPolicyOSFilterArgs and OSPolicyOSFilterOutput values. You can construct a concrete instance of `OSPolicyOSFilterInput` via:

OSPolicyOSFilterArgs{...}

type OSPolicyOSFilterOutput

type OSPolicyOSFilterOutput struct{ *pulumi.OutputState }

Filtering criteria to select VMs based on OS details.

func (OSPolicyOSFilterOutput) ElementType

func (OSPolicyOSFilterOutput) ElementType() reflect.Type

func (OSPolicyOSFilterOutput) OsShortName

This should match OS short name emitted by the OS inventory agent. An empty value matches any OS.

func (OSPolicyOSFilterOutput) OsVersion

This value should match the version emitted by the OS inventory agent. Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*`

func (OSPolicyOSFilterOutput) ToOSPolicyOSFilterOutput

func (o OSPolicyOSFilterOutput) ToOSPolicyOSFilterOutput() OSPolicyOSFilterOutput

func (OSPolicyOSFilterOutput) ToOSPolicyOSFilterOutputWithContext

func (o OSPolicyOSFilterOutput) ToOSPolicyOSFilterOutputWithContext(ctx context.Context) OSPolicyOSFilterOutput

func (OSPolicyOSFilterOutput) ToOSPolicyOSFilterPtrOutput

func (o OSPolicyOSFilterOutput) ToOSPolicyOSFilterPtrOutput() OSPolicyOSFilterPtrOutput

func (OSPolicyOSFilterOutput) ToOSPolicyOSFilterPtrOutputWithContext

func (o OSPolicyOSFilterOutput) ToOSPolicyOSFilterPtrOutputWithContext(ctx context.Context) OSPolicyOSFilterPtrOutput

type OSPolicyOSFilterPtrInput

type OSPolicyOSFilterPtrInput interface {
	pulumi.Input

	ToOSPolicyOSFilterPtrOutput() OSPolicyOSFilterPtrOutput
	ToOSPolicyOSFilterPtrOutputWithContext(context.Context) OSPolicyOSFilterPtrOutput
}

OSPolicyOSFilterPtrInput is an input type that accepts OSPolicyOSFilterArgs, OSPolicyOSFilterPtr and OSPolicyOSFilterPtrOutput values. You can construct a concrete instance of `OSPolicyOSFilterPtrInput` via:

        OSPolicyOSFilterArgs{...}

or:

        nil

type OSPolicyOSFilterPtrOutput

type OSPolicyOSFilterPtrOutput struct{ *pulumi.OutputState }

func (OSPolicyOSFilterPtrOutput) Elem

func (OSPolicyOSFilterPtrOutput) ElementType

func (OSPolicyOSFilterPtrOutput) ElementType() reflect.Type

func (OSPolicyOSFilterPtrOutput) OsShortName

This should match OS short name emitted by the OS inventory agent. An empty value matches any OS.

func (OSPolicyOSFilterPtrOutput) OsVersion

This value should match the version emitted by the OS inventory agent. Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*`

func (OSPolicyOSFilterPtrOutput) ToOSPolicyOSFilterPtrOutput

func (o OSPolicyOSFilterPtrOutput) ToOSPolicyOSFilterPtrOutput() OSPolicyOSFilterPtrOutput

func (OSPolicyOSFilterPtrOutput) ToOSPolicyOSFilterPtrOutputWithContext

func (o OSPolicyOSFilterPtrOutput) ToOSPolicyOSFilterPtrOutputWithContext(ctx context.Context) OSPolicyOSFilterPtrOutput

type OSPolicyOSFilterResponse

type OSPolicyOSFilterResponse struct {
	// This should match OS short name emitted by the OS inventory agent. An empty value matches any OS.
	OsShortName string `pulumi:"osShortName"`
	// This value should match the version emitted by the OS inventory agent. Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*`
	OsVersion string `pulumi:"osVersion"`
}

Filtering criteria to select VMs based on OS details.

type OSPolicyOSFilterResponseOutput

type OSPolicyOSFilterResponseOutput struct{ *pulumi.OutputState }

Filtering criteria to select VMs based on OS details.

func (OSPolicyOSFilterResponseOutput) ElementType

func (OSPolicyOSFilterResponseOutput) OsShortName

This should match OS short name emitted by the OS inventory agent. An empty value matches any OS.

func (OSPolicyOSFilterResponseOutput) OsVersion

This value should match the version emitted by the OS inventory agent. Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*`

func (OSPolicyOSFilterResponseOutput) ToOSPolicyOSFilterResponseOutput

func (o OSPolicyOSFilterResponseOutput) ToOSPolicyOSFilterResponseOutput() OSPolicyOSFilterResponseOutput

func (OSPolicyOSFilterResponseOutput) ToOSPolicyOSFilterResponseOutputWithContext

func (o OSPolicyOSFilterResponseOutput) ToOSPolicyOSFilterResponseOutputWithContext(ctx context.Context) OSPolicyOSFilterResponseOutput

type OSPolicyOutput

type OSPolicyOutput struct{ *pulumi.OutputState }

An OS policy defines the desired state configuration for a VM.

func (OSPolicyOutput) AllowNoResourceGroupMatch

func (o OSPolicyOutput) AllowNoResourceGroupMatch() pulumi.BoolPtrOutput

This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce.

func (OSPolicyOutput) Description

func (o OSPolicyOutput) Description() pulumi.StringPtrOutput

Policy description. Length of the description is limited to 1024 characters.

func (OSPolicyOutput) ElementType

func (OSPolicyOutput) ElementType() reflect.Type

func (OSPolicyOutput) Id

The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.

func (OSPolicyOutput) Mode

Policy mode

func (OSPolicyOutput) ResourceGroups

List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`

func (OSPolicyOutput) ToOSPolicyOutput

func (o OSPolicyOutput) ToOSPolicyOutput() OSPolicyOutput

func (OSPolicyOutput) ToOSPolicyOutputWithContext

func (o OSPolicyOutput) ToOSPolicyOutputWithContext(ctx context.Context) OSPolicyOutput

type OSPolicyResource

type OSPolicyResource struct {
	// Exec resource
	Exec *OSPolicyResourceExecResource `pulumi:"exec"`
	// File resource
	File *OSPolicyResourceFileResource `pulumi:"file"`
	// The id of the resource with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the OS policy.
	Id string `pulumi:"id"`
	// Package resource
	Pkg *OSPolicyResourcePackageResource `pulumi:"pkg"`
	// Package repository resource
	Repository *OSPolicyResourceRepositoryResource `pulumi:"repository"`
}

An OS policy resource is used to define the desired state configuration and provides a specific functionality like installing/removing packages, executing a script etc. The system ensures that resources are always in their desired state by taking necessary actions if they have drifted from their desired state.

type OSPolicyResourceArgs

type OSPolicyResourceArgs struct {
	// Exec resource
	Exec OSPolicyResourceExecResourcePtrInput `pulumi:"exec"`
	// File resource
	File OSPolicyResourceFileResourcePtrInput `pulumi:"file"`
	// The id of the resource with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the OS policy.
	Id pulumi.StringInput `pulumi:"id"`
	// Package resource
	Pkg OSPolicyResourcePackageResourcePtrInput `pulumi:"pkg"`
	// Package repository resource
	Repository OSPolicyResourceRepositoryResourcePtrInput `pulumi:"repository"`
}

An OS policy resource is used to define the desired state configuration and provides a specific functionality like installing/removing packages, executing a script etc. The system ensures that resources are always in their desired state by taking necessary actions if they have drifted from their desired state.

func (OSPolicyResourceArgs) ElementType

func (OSPolicyResourceArgs) ElementType() reflect.Type

func (OSPolicyResourceArgs) ToOSPolicyResourceOutput

func (i OSPolicyResourceArgs) ToOSPolicyResourceOutput() OSPolicyResourceOutput

func (OSPolicyResourceArgs) ToOSPolicyResourceOutputWithContext

func (i OSPolicyResourceArgs) ToOSPolicyResourceOutputWithContext(ctx context.Context) OSPolicyResourceOutput

type OSPolicyResourceArray

type OSPolicyResourceArray []OSPolicyResourceInput

func (OSPolicyResourceArray) ElementType

func (OSPolicyResourceArray) ElementType() reflect.Type

func (OSPolicyResourceArray) ToOSPolicyResourceArrayOutput

func (i OSPolicyResourceArray) ToOSPolicyResourceArrayOutput() OSPolicyResourceArrayOutput

func (OSPolicyResourceArray) ToOSPolicyResourceArrayOutputWithContext

func (i OSPolicyResourceArray) ToOSPolicyResourceArrayOutputWithContext(ctx context.Context) OSPolicyResourceArrayOutput

type OSPolicyResourceArrayInput

type OSPolicyResourceArrayInput interface {
	pulumi.Input

	ToOSPolicyResourceArrayOutput() OSPolicyResourceArrayOutput
	ToOSPolicyResourceArrayOutputWithContext(context.Context) OSPolicyResourceArrayOutput
}

OSPolicyResourceArrayInput is an input type that accepts OSPolicyResourceArray and OSPolicyResourceArrayOutput values. You can construct a concrete instance of `OSPolicyResourceArrayInput` via:

OSPolicyResourceArray{ OSPolicyResourceArgs{...} }

type OSPolicyResourceArrayOutput

type OSPolicyResourceArrayOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceArrayOutput) ElementType

func (OSPolicyResourceArrayOutput) Index

func (OSPolicyResourceArrayOutput) ToOSPolicyResourceArrayOutput

func (o OSPolicyResourceArrayOutput) ToOSPolicyResourceArrayOutput() OSPolicyResourceArrayOutput

func (OSPolicyResourceArrayOutput) ToOSPolicyResourceArrayOutputWithContext

func (o OSPolicyResourceArrayOutput) ToOSPolicyResourceArrayOutputWithContext(ctx context.Context) OSPolicyResourceArrayOutput

type OSPolicyResourceExecResource

type OSPolicyResourceExecResource struct {
	// What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce.
	Enforce *OSPolicyResourceExecResourceExec `pulumi:"enforce"`
	// What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate.
	Validate OSPolicyResourceExecResourceExec `pulumi:"validate"`
}

A resource that allows executing scripts on the VM. The `ExecResource` has 2 stages: `validate` and `enforce` and both stages accept a script as an argument to execute. When the `ExecResource` is applied by the agent, it first executes the script in the `validate` stage. The `validate` stage can signal that the `ExecResource` is already in the desired state by returning an exit code of `100`. If the `ExecResource` is not in the desired state, it should return an exit code of `101`. Any other exit code returned by this stage is considered an error. If the `ExecResource` is not in the desired state based on the exit code from the `validate` stage, the agent proceeds to execute the script from the `enforce` stage. If the `ExecResource` is already in the desired state, the `enforce` stage will not be run. Similar to `validate` stage, the `enforce` stage should return an exit code of `100` to indicate that the resource in now in its desired state. Any other exit code is considered an error. NOTE: An exit code of `100` was chosen over `0` (and `101` vs `1`) to have an explicit indicator of `in desired state`, `not in desired state` and errors. Because, for example, Powershell will always return an exit code of `0` unless an `exit` statement is provided in the script. So, for reasons of consistency and being explicit, exit codes `100` and `101` were chosen.

type OSPolicyResourceExecResourceArgs

type OSPolicyResourceExecResourceArgs struct {
	// What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce.
	Enforce OSPolicyResourceExecResourceExecPtrInput `pulumi:"enforce"`
	// What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate.
	Validate OSPolicyResourceExecResourceExecInput `pulumi:"validate"`
}

A resource that allows executing scripts on the VM. The `ExecResource` has 2 stages: `validate` and `enforce` and both stages accept a script as an argument to execute. When the `ExecResource` is applied by the agent, it first executes the script in the `validate` stage. The `validate` stage can signal that the `ExecResource` is already in the desired state by returning an exit code of `100`. If the `ExecResource` is not in the desired state, it should return an exit code of `101`. Any other exit code returned by this stage is considered an error. If the `ExecResource` is not in the desired state based on the exit code from the `validate` stage, the agent proceeds to execute the script from the `enforce` stage. If the `ExecResource` is already in the desired state, the `enforce` stage will not be run. Similar to `validate` stage, the `enforce` stage should return an exit code of `100` to indicate that the resource in now in its desired state. Any other exit code is considered an error. NOTE: An exit code of `100` was chosen over `0` (and `101` vs `1`) to have an explicit indicator of `in desired state`, `not in desired state` and errors. Because, for example, Powershell will always return an exit code of `0` unless an `exit` statement is provided in the script. So, for reasons of consistency and being explicit, exit codes `100` and `101` were chosen.

func (OSPolicyResourceExecResourceArgs) ElementType

func (OSPolicyResourceExecResourceArgs) ToOSPolicyResourceExecResourceOutput

func (i OSPolicyResourceExecResourceArgs) ToOSPolicyResourceExecResourceOutput() OSPolicyResourceExecResourceOutput

func (OSPolicyResourceExecResourceArgs) ToOSPolicyResourceExecResourceOutputWithContext

func (i OSPolicyResourceExecResourceArgs) ToOSPolicyResourceExecResourceOutputWithContext(ctx context.Context) OSPolicyResourceExecResourceOutput

func (OSPolicyResourceExecResourceArgs) ToOSPolicyResourceExecResourcePtrOutput

func (i OSPolicyResourceExecResourceArgs) ToOSPolicyResourceExecResourcePtrOutput() OSPolicyResourceExecResourcePtrOutput

func (OSPolicyResourceExecResourceArgs) ToOSPolicyResourceExecResourcePtrOutputWithContext

func (i OSPolicyResourceExecResourceArgs) ToOSPolicyResourceExecResourcePtrOutputWithContext(ctx context.Context) OSPolicyResourceExecResourcePtrOutput

type OSPolicyResourceExecResourceExec

type OSPolicyResourceExecResourceExec struct {
	// Optional arguments to pass to the source during execution.
	Args []string `pulumi:"args"`
	// A remote or local file.
	File *OSPolicyResourceFile `pulumi:"file"`
	// The script interpreter to use.
	Interpreter OSPolicyResourceExecResourceExecInterpreter `pulumi:"interpreter"`
	// Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
	OutputFilePath *string `pulumi:"outputFilePath"`
	// An inline script. The size of the script is limited to 32KiB.
	Script *string `pulumi:"script"`
}

A file or script to execute.

type OSPolicyResourceExecResourceExecArgs

type OSPolicyResourceExecResourceExecArgs struct {
	// Optional arguments to pass to the source during execution.
	Args pulumi.StringArrayInput `pulumi:"args"`
	// A remote or local file.
	File OSPolicyResourceFilePtrInput `pulumi:"file"`
	// The script interpreter to use.
	Interpreter OSPolicyResourceExecResourceExecInterpreterInput `pulumi:"interpreter"`
	// Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
	OutputFilePath pulumi.StringPtrInput `pulumi:"outputFilePath"`
	// An inline script. The size of the script is limited to 32KiB.
	Script pulumi.StringPtrInput `pulumi:"script"`
}

A file or script to execute.

func (OSPolicyResourceExecResourceExecArgs) ElementType

func (OSPolicyResourceExecResourceExecArgs) ToOSPolicyResourceExecResourceExecOutput

func (i OSPolicyResourceExecResourceExecArgs) ToOSPolicyResourceExecResourceExecOutput() OSPolicyResourceExecResourceExecOutput

func (OSPolicyResourceExecResourceExecArgs) ToOSPolicyResourceExecResourceExecOutputWithContext

func (i OSPolicyResourceExecResourceExecArgs) ToOSPolicyResourceExecResourceExecOutputWithContext(ctx context.Context) OSPolicyResourceExecResourceExecOutput

func (OSPolicyResourceExecResourceExecArgs) ToOSPolicyResourceExecResourceExecPtrOutput

func (i OSPolicyResourceExecResourceExecArgs) ToOSPolicyResourceExecResourceExecPtrOutput() OSPolicyResourceExecResourceExecPtrOutput

func (OSPolicyResourceExecResourceExecArgs) ToOSPolicyResourceExecResourceExecPtrOutputWithContext

func (i OSPolicyResourceExecResourceExecArgs) ToOSPolicyResourceExecResourceExecPtrOutputWithContext(ctx context.Context) OSPolicyResourceExecResourceExecPtrOutput

type OSPolicyResourceExecResourceExecInput

type OSPolicyResourceExecResourceExecInput interface {
	pulumi.Input

	ToOSPolicyResourceExecResourceExecOutput() OSPolicyResourceExecResourceExecOutput
	ToOSPolicyResourceExecResourceExecOutputWithContext(context.Context) OSPolicyResourceExecResourceExecOutput
}

OSPolicyResourceExecResourceExecInput is an input type that accepts OSPolicyResourceExecResourceExecArgs and OSPolicyResourceExecResourceExecOutput values. You can construct a concrete instance of `OSPolicyResourceExecResourceExecInput` via:

OSPolicyResourceExecResourceExecArgs{...}

type OSPolicyResourceExecResourceExecInterpreter

type OSPolicyResourceExecResourceExecInterpreter string

Required. The script interpreter to use.

func (OSPolicyResourceExecResourceExecInterpreter) ElementType

func (OSPolicyResourceExecResourceExecInterpreter) ToOSPolicyResourceExecResourceExecInterpreterOutput added in v0.6.0

func (e OSPolicyResourceExecResourceExecInterpreter) ToOSPolicyResourceExecResourceExecInterpreterOutput() OSPolicyResourceExecResourceExecInterpreterOutput

func (OSPolicyResourceExecResourceExecInterpreter) ToOSPolicyResourceExecResourceExecInterpreterOutputWithContext added in v0.6.0

func (e OSPolicyResourceExecResourceExecInterpreter) ToOSPolicyResourceExecResourceExecInterpreterOutputWithContext(ctx context.Context) OSPolicyResourceExecResourceExecInterpreterOutput

func (OSPolicyResourceExecResourceExecInterpreter) ToOSPolicyResourceExecResourceExecInterpreterPtrOutput added in v0.6.0

func (e OSPolicyResourceExecResourceExecInterpreter) ToOSPolicyResourceExecResourceExecInterpreterPtrOutput() OSPolicyResourceExecResourceExecInterpreterPtrOutput

func (OSPolicyResourceExecResourceExecInterpreter) ToOSPolicyResourceExecResourceExecInterpreterPtrOutputWithContext added in v0.6.0

func (e OSPolicyResourceExecResourceExecInterpreter) ToOSPolicyResourceExecResourceExecInterpreterPtrOutputWithContext(ctx context.Context) OSPolicyResourceExecResourceExecInterpreterPtrOutput

func (OSPolicyResourceExecResourceExecInterpreter) ToStringOutput

func (OSPolicyResourceExecResourceExecInterpreter) ToStringOutputWithContext

func (OSPolicyResourceExecResourceExecInterpreter) ToStringPtrOutput

func (OSPolicyResourceExecResourceExecInterpreter) ToStringPtrOutputWithContext

type OSPolicyResourceExecResourceExecInterpreterInput added in v0.6.0

type OSPolicyResourceExecResourceExecInterpreterInput interface {
	pulumi.Input

	ToOSPolicyResourceExecResourceExecInterpreterOutput() OSPolicyResourceExecResourceExecInterpreterOutput
	ToOSPolicyResourceExecResourceExecInterpreterOutputWithContext(context.Context) OSPolicyResourceExecResourceExecInterpreterOutput
}

OSPolicyResourceExecResourceExecInterpreterInput is an input type that accepts OSPolicyResourceExecResourceExecInterpreterArgs and OSPolicyResourceExecResourceExecInterpreterOutput values. You can construct a concrete instance of `OSPolicyResourceExecResourceExecInterpreterInput` via:

OSPolicyResourceExecResourceExecInterpreterArgs{...}

type OSPolicyResourceExecResourceExecInterpreterOutput added in v0.6.0

type OSPolicyResourceExecResourceExecInterpreterOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceExecResourceExecInterpreterOutput) ElementType added in v0.6.0

func (OSPolicyResourceExecResourceExecInterpreterOutput) ToOSPolicyResourceExecResourceExecInterpreterOutput added in v0.6.0

func (o OSPolicyResourceExecResourceExecInterpreterOutput) ToOSPolicyResourceExecResourceExecInterpreterOutput() OSPolicyResourceExecResourceExecInterpreterOutput

func (OSPolicyResourceExecResourceExecInterpreterOutput) ToOSPolicyResourceExecResourceExecInterpreterOutputWithContext added in v0.6.0

func (o OSPolicyResourceExecResourceExecInterpreterOutput) ToOSPolicyResourceExecResourceExecInterpreterOutputWithContext(ctx context.Context) OSPolicyResourceExecResourceExecInterpreterOutput

func (OSPolicyResourceExecResourceExecInterpreterOutput) ToOSPolicyResourceExecResourceExecInterpreterPtrOutput added in v0.6.0

func (o OSPolicyResourceExecResourceExecInterpreterOutput) ToOSPolicyResourceExecResourceExecInterpreterPtrOutput() OSPolicyResourceExecResourceExecInterpreterPtrOutput

func (OSPolicyResourceExecResourceExecInterpreterOutput) ToOSPolicyResourceExecResourceExecInterpreterPtrOutputWithContext added in v0.6.0

func (o OSPolicyResourceExecResourceExecInterpreterOutput) ToOSPolicyResourceExecResourceExecInterpreterPtrOutputWithContext(ctx context.Context) OSPolicyResourceExecResourceExecInterpreterPtrOutput

func (OSPolicyResourceExecResourceExecInterpreterOutput) ToStringOutput added in v0.6.0

func (OSPolicyResourceExecResourceExecInterpreterOutput) ToStringOutputWithContext added in v0.6.0

func (OSPolicyResourceExecResourceExecInterpreterOutput) ToStringPtrOutput added in v0.6.0

func (OSPolicyResourceExecResourceExecInterpreterOutput) ToStringPtrOutputWithContext added in v0.6.0

type OSPolicyResourceExecResourceExecInterpreterPtrInput added in v0.6.0

type OSPolicyResourceExecResourceExecInterpreterPtrInput interface {
	pulumi.Input

	ToOSPolicyResourceExecResourceExecInterpreterPtrOutput() OSPolicyResourceExecResourceExecInterpreterPtrOutput
	ToOSPolicyResourceExecResourceExecInterpreterPtrOutputWithContext(context.Context) OSPolicyResourceExecResourceExecInterpreterPtrOutput
}

func OSPolicyResourceExecResourceExecInterpreterPtr added in v0.6.0

func OSPolicyResourceExecResourceExecInterpreterPtr(v string) OSPolicyResourceExecResourceExecInterpreterPtrInput

type OSPolicyResourceExecResourceExecInterpreterPtrOutput added in v0.6.0

type OSPolicyResourceExecResourceExecInterpreterPtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceExecResourceExecInterpreterPtrOutput) Elem added in v0.6.0

func (OSPolicyResourceExecResourceExecInterpreterPtrOutput) ElementType added in v0.6.0

func (OSPolicyResourceExecResourceExecInterpreterPtrOutput) ToOSPolicyResourceExecResourceExecInterpreterPtrOutput added in v0.6.0

func (OSPolicyResourceExecResourceExecInterpreterPtrOutput) ToOSPolicyResourceExecResourceExecInterpreterPtrOutputWithContext added in v0.6.0

func (o OSPolicyResourceExecResourceExecInterpreterPtrOutput) ToOSPolicyResourceExecResourceExecInterpreterPtrOutputWithContext(ctx context.Context) OSPolicyResourceExecResourceExecInterpreterPtrOutput

func (OSPolicyResourceExecResourceExecInterpreterPtrOutput) ToStringPtrOutput added in v0.6.0

func (OSPolicyResourceExecResourceExecInterpreterPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

type OSPolicyResourceExecResourceExecOutput

type OSPolicyResourceExecResourceExecOutput struct{ *pulumi.OutputState }

A file or script to execute.

func (OSPolicyResourceExecResourceExecOutput) Args

Optional arguments to pass to the source during execution.

func (OSPolicyResourceExecResourceExecOutput) ElementType

func (OSPolicyResourceExecResourceExecOutput) File

A remote or local file.

func (OSPolicyResourceExecResourceExecOutput) Interpreter

The script interpreter to use.

func (OSPolicyResourceExecResourceExecOutput) OutputFilePath

Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.

func (OSPolicyResourceExecResourceExecOutput) Script

An inline script. The size of the script is limited to 32KiB.

func (OSPolicyResourceExecResourceExecOutput) ToOSPolicyResourceExecResourceExecOutput

func (o OSPolicyResourceExecResourceExecOutput) ToOSPolicyResourceExecResourceExecOutput() OSPolicyResourceExecResourceExecOutput

func (OSPolicyResourceExecResourceExecOutput) ToOSPolicyResourceExecResourceExecOutputWithContext

func (o OSPolicyResourceExecResourceExecOutput) ToOSPolicyResourceExecResourceExecOutputWithContext(ctx context.Context) OSPolicyResourceExecResourceExecOutput

func (OSPolicyResourceExecResourceExecOutput) ToOSPolicyResourceExecResourceExecPtrOutput

func (o OSPolicyResourceExecResourceExecOutput) ToOSPolicyResourceExecResourceExecPtrOutput() OSPolicyResourceExecResourceExecPtrOutput

func (OSPolicyResourceExecResourceExecOutput) ToOSPolicyResourceExecResourceExecPtrOutputWithContext

func (o OSPolicyResourceExecResourceExecOutput) ToOSPolicyResourceExecResourceExecPtrOutputWithContext(ctx context.Context) OSPolicyResourceExecResourceExecPtrOutput

type OSPolicyResourceExecResourceExecPtrInput

type OSPolicyResourceExecResourceExecPtrInput interface {
	pulumi.Input

	ToOSPolicyResourceExecResourceExecPtrOutput() OSPolicyResourceExecResourceExecPtrOutput
	ToOSPolicyResourceExecResourceExecPtrOutputWithContext(context.Context) OSPolicyResourceExecResourceExecPtrOutput
}

OSPolicyResourceExecResourceExecPtrInput is an input type that accepts OSPolicyResourceExecResourceExecArgs, OSPolicyResourceExecResourceExecPtr and OSPolicyResourceExecResourceExecPtrOutput values. You can construct a concrete instance of `OSPolicyResourceExecResourceExecPtrInput` via:

        OSPolicyResourceExecResourceExecArgs{...}

or:

        nil

type OSPolicyResourceExecResourceExecPtrOutput

type OSPolicyResourceExecResourceExecPtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceExecResourceExecPtrOutput) Args

Optional arguments to pass to the source during execution.

func (OSPolicyResourceExecResourceExecPtrOutput) Elem

func (OSPolicyResourceExecResourceExecPtrOutput) ElementType

func (OSPolicyResourceExecResourceExecPtrOutput) File

A remote or local file.

func (OSPolicyResourceExecResourceExecPtrOutput) Interpreter

The script interpreter to use.

func (OSPolicyResourceExecResourceExecPtrOutput) OutputFilePath

Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.

func (OSPolicyResourceExecResourceExecPtrOutput) Script

An inline script. The size of the script is limited to 32KiB.

func (OSPolicyResourceExecResourceExecPtrOutput) ToOSPolicyResourceExecResourceExecPtrOutput

func (o OSPolicyResourceExecResourceExecPtrOutput) ToOSPolicyResourceExecResourceExecPtrOutput() OSPolicyResourceExecResourceExecPtrOutput

func (OSPolicyResourceExecResourceExecPtrOutput) ToOSPolicyResourceExecResourceExecPtrOutputWithContext

func (o OSPolicyResourceExecResourceExecPtrOutput) ToOSPolicyResourceExecResourceExecPtrOutputWithContext(ctx context.Context) OSPolicyResourceExecResourceExecPtrOutput

type OSPolicyResourceExecResourceExecResponse

type OSPolicyResourceExecResourceExecResponse struct {
	// Optional arguments to pass to the source during execution.
	Args []string `pulumi:"args"`
	// A remote or local file.
	File OSPolicyResourceFileResponse `pulumi:"file"`
	// The script interpreter to use.
	Interpreter string `pulumi:"interpreter"`
	// Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
	OutputFilePath string `pulumi:"outputFilePath"`
	// An inline script. The size of the script is limited to 32KiB.
	Script string `pulumi:"script"`
}

A file or script to execute.

type OSPolicyResourceExecResourceExecResponseOutput

type OSPolicyResourceExecResourceExecResponseOutput struct{ *pulumi.OutputState }

A file or script to execute.

func (OSPolicyResourceExecResourceExecResponseOutput) Args

Optional arguments to pass to the source during execution.

func (OSPolicyResourceExecResourceExecResponseOutput) ElementType

func (OSPolicyResourceExecResourceExecResponseOutput) File

A remote or local file.

func (OSPolicyResourceExecResourceExecResponseOutput) Interpreter

The script interpreter to use.

func (OSPolicyResourceExecResourceExecResponseOutput) OutputFilePath

Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.

func (OSPolicyResourceExecResourceExecResponseOutput) Script

An inline script. The size of the script is limited to 32KiB.

func (OSPolicyResourceExecResourceExecResponseOutput) ToOSPolicyResourceExecResourceExecResponseOutput

func (o OSPolicyResourceExecResourceExecResponseOutput) ToOSPolicyResourceExecResourceExecResponseOutput() OSPolicyResourceExecResourceExecResponseOutput

func (OSPolicyResourceExecResourceExecResponseOutput) ToOSPolicyResourceExecResourceExecResponseOutputWithContext

func (o OSPolicyResourceExecResourceExecResponseOutput) ToOSPolicyResourceExecResourceExecResponseOutputWithContext(ctx context.Context) OSPolicyResourceExecResourceExecResponseOutput

type OSPolicyResourceExecResourceInput

type OSPolicyResourceExecResourceInput interface {
	pulumi.Input

	ToOSPolicyResourceExecResourceOutput() OSPolicyResourceExecResourceOutput
	ToOSPolicyResourceExecResourceOutputWithContext(context.Context) OSPolicyResourceExecResourceOutput
}

OSPolicyResourceExecResourceInput is an input type that accepts OSPolicyResourceExecResourceArgs and OSPolicyResourceExecResourceOutput values. You can construct a concrete instance of `OSPolicyResourceExecResourceInput` via:

OSPolicyResourceExecResourceArgs{...}

type OSPolicyResourceExecResourceOutput

type OSPolicyResourceExecResourceOutput struct{ *pulumi.OutputState }

A resource that allows executing scripts on the VM. The `ExecResource` has 2 stages: `validate` and `enforce` and both stages accept a script as an argument to execute. When the `ExecResource` is applied by the agent, it first executes the script in the `validate` stage. The `validate` stage can signal that the `ExecResource` is already in the desired state by returning an exit code of `100`. If the `ExecResource` is not in the desired state, it should return an exit code of `101`. Any other exit code returned by this stage is considered an error. If the `ExecResource` is not in the desired state based on the exit code from the `validate` stage, the agent proceeds to execute the script from the `enforce` stage. If the `ExecResource` is already in the desired state, the `enforce` stage will not be run. Similar to `validate` stage, the `enforce` stage should return an exit code of `100` to indicate that the resource in now in its desired state. Any other exit code is considered an error. NOTE: An exit code of `100` was chosen over `0` (and `101` vs `1`) to have an explicit indicator of `in desired state`, `not in desired state` and errors. Because, for example, Powershell will always return an exit code of `0` unless an `exit` statement is provided in the script. So, for reasons of consistency and being explicit, exit codes `100` and `101` were chosen.

func (OSPolicyResourceExecResourceOutput) ElementType

func (OSPolicyResourceExecResourceOutput) Enforce

What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce.

func (OSPolicyResourceExecResourceOutput) ToOSPolicyResourceExecResourceOutput

func (o OSPolicyResourceExecResourceOutput) ToOSPolicyResourceExecResourceOutput() OSPolicyResourceExecResourceOutput

func (OSPolicyResourceExecResourceOutput) ToOSPolicyResourceExecResourceOutputWithContext

func (o OSPolicyResourceExecResourceOutput) ToOSPolicyResourceExecResourceOutputWithContext(ctx context.Context) OSPolicyResourceExecResourceOutput

func (OSPolicyResourceExecResourceOutput) ToOSPolicyResourceExecResourcePtrOutput

func (o OSPolicyResourceExecResourceOutput) ToOSPolicyResourceExecResourcePtrOutput() OSPolicyResourceExecResourcePtrOutput

func (OSPolicyResourceExecResourceOutput) ToOSPolicyResourceExecResourcePtrOutputWithContext

func (o OSPolicyResourceExecResourceOutput) ToOSPolicyResourceExecResourcePtrOutputWithContext(ctx context.Context) OSPolicyResourceExecResourcePtrOutput

func (OSPolicyResourceExecResourceOutput) Validate

What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate.

type OSPolicyResourceExecResourcePtrInput

type OSPolicyResourceExecResourcePtrInput interface {
	pulumi.Input

	ToOSPolicyResourceExecResourcePtrOutput() OSPolicyResourceExecResourcePtrOutput
	ToOSPolicyResourceExecResourcePtrOutputWithContext(context.Context) OSPolicyResourceExecResourcePtrOutput
}

OSPolicyResourceExecResourcePtrInput is an input type that accepts OSPolicyResourceExecResourceArgs, OSPolicyResourceExecResourcePtr and OSPolicyResourceExecResourcePtrOutput values. You can construct a concrete instance of `OSPolicyResourceExecResourcePtrInput` via:

        OSPolicyResourceExecResourceArgs{...}

or:

        nil

type OSPolicyResourceExecResourcePtrOutput

type OSPolicyResourceExecResourcePtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceExecResourcePtrOutput) Elem

func (OSPolicyResourceExecResourcePtrOutput) ElementType

func (OSPolicyResourceExecResourcePtrOutput) Enforce

What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce.

func (OSPolicyResourceExecResourcePtrOutput) ToOSPolicyResourceExecResourcePtrOutput

func (o OSPolicyResourceExecResourcePtrOutput) ToOSPolicyResourceExecResourcePtrOutput() OSPolicyResourceExecResourcePtrOutput

func (OSPolicyResourceExecResourcePtrOutput) ToOSPolicyResourceExecResourcePtrOutputWithContext

func (o OSPolicyResourceExecResourcePtrOutput) ToOSPolicyResourceExecResourcePtrOutputWithContext(ctx context.Context) OSPolicyResourceExecResourcePtrOutput

func (OSPolicyResourceExecResourcePtrOutput) Validate

What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate.

type OSPolicyResourceExecResourceResponse

type OSPolicyResourceExecResourceResponse struct {
	// What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce.
	Enforce OSPolicyResourceExecResourceExecResponse `pulumi:"enforce"`
	// What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate.
	Validate OSPolicyResourceExecResourceExecResponse `pulumi:"validate"`
}

A resource that allows executing scripts on the VM. The `ExecResource` has 2 stages: `validate` and `enforce` and both stages accept a script as an argument to execute. When the `ExecResource` is applied by the agent, it first executes the script in the `validate` stage. The `validate` stage can signal that the `ExecResource` is already in the desired state by returning an exit code of `100`. If the `ExecResource` is not in the desired state, it should return an exit code of `101`. Any other exit code returned by this stage is considered an error. If the `ExecResource` is not in the desired state based on the exit code from the `validate` stage, the agent proceeds to execute the script from the `enforce` stage. If the `ExecResource` is already in the desired state, the `enforce` stage will not be run. Similar to `validate` stage, the `enforce` stage should return an exit code of `100` to indicate that the resource in now in its desired state. Any other exit code is considered an error. NOTE: An exit code of `100` was chosen over `0` (and `101` vs `1`) to have an explicit indicator of `in desired state`, `not in desired state` and errors. Because, for example, Powershell will always return an exit code of `0` unless an `exit` statement is provided in the script. So, for reasons of consistency and being explicit, exit codes `100` and `101` were chosen.

type OSPolicyResourceExecResourceResponseOutput

type OSPolicyResourceExecResourceResponseOutput struct{ *pulumi.OutputState }

A resource that allows executing scripts on the VM. The `ExecResource` has 2 stages: `validate` and `enforce` and both stages accept a script as an argument to execute. When the `ExecResource` is applied by the agent, it first executes the script in the `validate` stage. The `validate` stage can signal that the `ExecResource` is already in the desired state by returning an exit code of `100`. If the `ExecResource` is not in the desired state, it should return an exit code of `101`. Any other exit code returned by this stage is considered an error. If the `ExecResource` is not in the desired state based on the exit code from the `validate` stage, the agent proceeds to execute the script from the `enforce` stage. If the `ExecResource` is already in the desired state, the `enforce` stage will not be run. Similar to `validate` stage, the `enforce` stage should return an exit code of `100` to indicate that the resource in now in its desired state. Any other exit code is considered an error. NOTE: An exit code of `100` was chosen over `0` (and `101` vs `1`) to have an explicit indicator of `in desired state`, `not in desired state` and errors. Because, for example, Powershell will always return an exit code of `0` unless an `exit` statement is provided in the script. So, for reasons of consistency and being explicit, exit codes `100` and `101` were chosen.

func (OSPolicyResourceExecResourceResponseOutput) ElementType

func (OSPolicyResourceExecResourceResponseOutput) Enforce

What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce.

func (OSPolicyResourceExecResourceResponseOutput) ToOSPolicyResourceExecResourceResponseOutput

func (o OSPolicyResourceExecResourceResponseOutput) ToOSPolicyResourceExecResourceResponseOutput() OSPolicyResourceExecResourceResponseOutput

func (OSPolicyResourceExecResourceResponseOutput) ToOSPolicyResourceExecResourceResponseOutputWithContext

func (o OSPolicyResourceExecResourceResponseOutput) ToOSPolicyResourceExecResourceResponseOutputWithContext(ctx context.Context) OSPolicyResourceExecResourceResponseOutput

func (OSPolicyResourceExecResourceResponseOutput) Validate

What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate.

type OSPolicyResourceFile

type OSPolicyResourceFile struct {
	// Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.
	AllowInsecure *bool `pulumi:"allowInsecure"`
	// A Cloud Storage object.
	Gcs *OSPolicyResourceFileGcs `pulumi:"gcs"`
	// A local path within the VM to use.
	LocalPath *string `pulumi:"localPath"`
	// A generic remote file.
	Remote *OSPolicyResourceFileRemote `pulumi:"remote"`
}

A remote or local file.

type OSPolicyResourceFileArgs

type OSPolicyResourceFileArgs struct {
	// Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.
	AllowInsecure pulumi.BoolPtrInput `pulumi:"allowInsecure"`
	// A Cloud Storage object.
	Gcs OSPolicyResourceFileGcsPtrInput `pulumi:"gcs"`
	// A local path within the VM to use.
	LocalPath pulumi.StringPtrInput `pulumi:"localPath"`
	// A generic remote file.
	Remote OSPolicyResourceFileRemotePtrInput `pulumi:"remote"`
}

A remote or local file.

func (OSPolicyResourceFileArgs) ElementType

func (OSPolicyResourceFileArgs) ElementType() reflect.Type

func (OSPolicyResourceFileArgs) ToOSPolicyResourceFileOutput

func (i OSPolicyResourceFileArgs) ToOSPolicyResourceFileOutput() OSPolicyResourceFileOutput

func (OSPolicyResourceFileArgs) ToOSPolicyResourceFileOutputWithContext

func (i OSPolicyResourceFileArgs) ToOSPolicyResourceFileOutputWithContext(ctx context.Context) OSPolicyResourceFileOutput

func (OSPolicyResourceFileArgs) ToOSPolicyResourceFilePtrOutput

func (i OSPolicyResourceFileArgs) ToOSPolicyResourceFilePtrOutput() OSPolicyResourceFilePtrOutput

func (OSPolicyResourceFileArgs) ToOSPolicyResourceFilePtrOutputWithContext

func (i OSPolicyResourceFileArgs) ToOSPolicyResourceFilePtrOutputWithContext(ctx context.Context) OSPolicyResourceFilePtrOutput

type OSPolicyResourceFileGcs

type OSPolicyResourceFileGcs struct {
	// Bucket of the Cloud Storage object.
	Bucket string `pulumi:"bucket"`
	// Generation number of the Cloud Storage object.
	Generation *string `pulumi:"generation"`
	// Name of the Cloud Storage object.
	Object string `pulumi:"object"`
}

Specifies a file available as a Cloud Storage Object.

type OSPolicyResourceFileGcsArgs

type OSPolicyResourceFileGcsArgs struct {
	// Bucket of the Cloud Storage object.
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// Generation number of the Cloud Storage object.
	Generation pulumi.StringPtrInput `pulumi:"generation"`
	// Name of the Cloud Storage object.
	Object pulumi.StringInput `pulumi:"object"`
}

Specifies a file available as a Cloud Storage Object.

func (OSPolicyResourceFileGcsArgs) ElementType

func (OSPolicyResourceFileGcsArgs) ToOSPolicyResourceFileGcsOutput

func (i OSPolicyResourceFileGcsArgs) ToOSPolicyResourceFileGcsOutput() OSPolicyResourceFileGcsOutput

func (OSPolicyResourceFileGcsArgs) ToOSPolicyResourceFileGcsOutputWithContext

func (i OSPolicyResourceFileGcsArgs) ToOSPolicyResourceFileGcsOutputWithContext(ctx context.Context) OSPolicyResourceFileGcsOutput

func (OSPolicyResourceFileGcsArgs) ToOSPolicyResourceFileGcsPtrOutput

func (i OSPolicyResourceFileGcsArgs) ToOSPolicyResourceFileGcsPtrOutput() OSPolicyResourceFileGcsPtrOutput

func (OSPolicyResourceFileGcsArgs) ToOSPolicyResourceFileGcsPtrOutputWithContext

func (i OSPolicyResourceFileGcsArgs) ToOSPolicyResourceFileGcsPtrOutputWithContext(ctx context.Context) OSPolicyResourceFileGcsPtrOutput

type OSPolicyResourceFileGcsInput

type OSPolicyResourceFileGcsInput interface {
	pulumi.Input

	ToOSPolicyResourceFileGcsOutput() OSPolicyResourceFileGcsOutput
	ToOSPolicyResourceFileGcsOutputWithContext(context.Context) OSPolicyResourceFileGcsOutput
}

OSPolicyResourceFileGcsInput is an input type that accepts OSPolicyResourceFileGcsArgs and OSPolicyResourceFileGcsOutput values. You can construct a concrete instance of `OSPolicyResourceFileGcsInput` via:

OSPolicyResourceFileGcsArgs{...}

type OSPolicyResourceFileGcsOutput

type OSPolicyResourceFileGcsOutput struct{ *pulumi.OutputState }

Specifies a file available as a Cloud Storage Object.

func (OSPolicyResourceFileGcsOutput) Bucket

Bucket of the Cloud Storage object.

func (OSPolicyResourceFileGcsOutput) ElementType

func (OSPolicyResourceFileGcsOutput) Generation

Generation number of the Cloud Storage object.

func (OSPolicyResourceFileGcsOutput) Object

Name of the Cloud Storage object.

func (OSPolicyResourceFileGcsOutput) ToOSPolicyResourceFileGcsOutput

func (o OSPolicyResourceFileGcsOutput) ToOSPolicyResourceFileGcsOutput() OSPolicyResourceFileGcsOutput

func (OSPolicyResourceFileGcsOutput) ToOSPolicyResourceFileGcsOutputWithContext

func (o OSPolicyResourceFileGcsOutput) ToOSPolicyResourceFileGcsOutputWithContext(ctx context.Context) OSPolicyResourceFileGcsOutput

func (OSPolicyResourceFileGcsOutput) ToOSPolicyResourceFileGcsPtrOutput

func (o OSPolicyResourceFileGcsOutput) ToOSPolicyResourceFileGcsPtrOutput() OSPolicyResourceFileGcsPtrOutput

func (OSPolicyResourceFileGcsOutput) ToOSPolicyResourceFileGcsPtrOutputWithContext

func (o OSPolicyResourceFileGcsOutput) ToOSPolicyResourceFileGcsPtrOutputWithContext(ctx context.Context) OSPolicyResourceFileGcsPtrOutput

type OSPolicyResourceFileGcsPtrInput

type OSPolicyResourceFileGcsPtrInput interface {
	pulumi.Input

	ToOSPolicyResourceFileGcsPtrOutput() OSPolicyResourceFileGcsPtrOutput
	ToOSPolicyResourceFileGcsPtrOutputWithContext(context.Context) OSPolicyResourceFileGcsPtrOutput
}

OSPolicyResourceFileGcsPtrInput is an input type that accepts OSPolicyResourceFileGcsArgs, OSPolicyResourceFileGcsPtr and OSPolicyResourceFileGcsPtrOutput values. You can construct a concrete instance of `OSPolicyResourceFileGcsPtrInput` via:

        OSPolicyResourceFileGcsArgs{...}

or:

        nil

type OSPolicyResourceFileGcsPtrOutput

type OSPolicyResourceFileGcsPtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceFileGcsPtrOutput) Bucket

Bucket of the Cloud Storage object.

func (OSPolicyResourceFileGcsPtrOutput) Elem

func (OSPolicyResourceFileGcsPtrOutput) ElementType

func (OSPolicyResourceFileGcsPtrOutput) Generation

Generation number of the Cloud Storage object.

func (OSPolicyResourceFileGcsPtrOutput) Object

Name of the Cloud Storage object.

func (OSPolicyResourceFileGcsPtrOutput) ToOSPolicyResourceFileGcsPtrOutput

func (o OSPolicyResourceFileGcsPtrOutput) ToOSPolicyResourceFileGcsPtrOutput() OSPolicyResourceFileGcsPtrOutput

func (OSPolicyResourceFileGcsPtrOutput) ToOSPolicyResourceFileGcsPtrOutputWithContext

func (o OSPolicyResourceFileGcsPtrOutput) ToOSPolicyResourceFileGcsPtrOutputWithContext(ctx context.Context) OSPolicyResourceFileGcsPtrOutput

type OSPolicyResourceFileGcsResponse

type OSPolicyResourceFileGcsResponse struct {
	// Bucket of the Cloud Storage object.
	Bucket string `pulumi:"bucket"`
	// Generation number of the Cloud Storage object.
	Generation string `pulumi:"generation"`
	// Name of the Cloud Storage object.
	Object string `pulumi:"object"`
}

Specifies a file available as a Cloud Storage Object.

type OSPolicyResourceFileGcsResponseOutput

type OSPolicyResourceFileGcsResponseOutput struct{ *pulumi.OutputState }

Specifies a file available as a Cloud Storage Object.

func (OSPolicyResourceFileGcsResponseOutput) Bucket

Bucket of the Cloud Storage object.

func (OSPolicyResourceFileGcsResponseOutput) ElementType

func (OSPolicyResourceFileGcsResponseOutput) Generation

Generation number of the Cloud Storage object.

func (OSPolicyResourceFileGcsResponseOutput) Object

Name of the Cloud Storage object.

func (OSPolicyResourceFileGcsResponseOutput) ToOSPolicyResourceFileGcsResponseOutput

func (o OSPolicyResourceFileGcsResponseOutput) ToOSPolicyResourceFileGcsResponseOutput() OSPolicyResourceFileGcsResponseOutput

func (OSPolicyResourceFileGcsResponseOutput) ToOSPolicyResourceFileGcsResponseOutputWithContext

func (o OSPolicyResourceFileGcsResponseOutput) ToOSPolicyResourceFileGcsResponseOutputWithContext(ctx context.Context) OSPolicyResourceFileGcsResponseOutput

type OSPolicyResourceFileInput

type OSPolicyResourceFileInput interface {
	pulumi.Input

	ToOSPolicyResourceFileOutput() OSPolicyResourceFileOutput
	ToOSPolicyResourceFileOutputWithContext(context.Context) OSPolicyResourceFileOutput
}

OSPolicyResourceFileInput is an input type that accepts OSPolicyResourceFileArgs and OSPolicyResourceFileOutput values. You can construct a concrete instance of `OSPolicyResourceFileInput` via:

OSPolicyResourceFileArgs{...}

type OSPolicyResourceFileOutput

type OSPolicyResourceFileOutput struct{ *pulumi.OutputState }

A remote or local file.

func (OSPolicyResourceFileOutput) AllowInsecure

Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.

func (OSPolicyResourceFileOutput) ElementType

func (OSPolicyResourceFileOutput) ElementType() reflect.Type

func (OSPolicyResourceFileOutput) Gcs

A Cloud Storage object.

func (OSPolicyResourceFileOutput) LocalPath

A local path within the VM to use.

func (OSPolicyResourceFileOutput) Remote

A generic remote file.

func (OSPolicyResourceFileOutput) ToOSPolicyResourceFileOutput

func (o OSPolicyResourceFileOutput) ToOSPolicyResourceFileOutput() OSPolicyResourceFileOutput

func (OSPolicyResourceFileOutput) ToOSPolicyResourceFileOutputWithContext

func (o OSPolicyResourceFileOutput) ToOSPolicyResourceFileOutputWithContext(ctx context.Context) OSPolicyResourceFileOutput

func (OSPolicyResourceFileOutput) ToOSPolicyResourceFilePtrOutput

func (o OSPolicyResourceFileOutput) ToOSPolicyResourceFilePtrOutput() OSPolicyResourceFilePtrOutput

func (OSPolicyResourceFileOutput) ToOSPolicyResourceFilePtrOutputWithContext

func (o OSPolicyResourceFileOutput) ToOSPolicyResourceFilePtrOutputWithContext(ctx context.Context) OSPolicyResourceFilePtrOutput

type OSPolicyResourceFilePtrInput

type OSPolicyResourceFilePtrInput interface {
	pulumi.Input

	ToOSPolicyResourceFilePtrOutput() OSPolicyResourceFilePtrOutput
	ToOSPolicyResourceFilePtrOutputWithContext(context.Context) OSPolicyResourceFilePtrOutput
}

OSPolicyResourceFilePtrInput is an input type that accepts OSPolicyResourceFileArgs, OSPolicyResourceFilePtr and OSPolicyResourceFilePtrOutput values. You can construct a concrete instance of `OSPolicyResourceFilePtrInput` via:

        OSPolicyResourceFileArgs{...}

or:

        nil

type OSPolicyResourceFilePtrOutput

type OSPolicyResourceFilePtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceFilePtrOutput) AllowInsecure

Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.

func (OSPolicyResourceFilePtrOutput) Elem

func (OSPolicyResourceFilePtrOutput) ElementType

func (OSPolicyResourceFilePtrOutput) Gcs

A Cloud Storage object.

func (OSPolicyResourceFilePtrOutput) LocalPath

A local path within the VM to use.

func (OSPolicyResourceFilePtrOutput) Remote

A generic remote file.

func (OSPolicyResourceFilePtrOutput) ToOSPolicyResourceFilePtrOutput

func (o OSPolicyResourceFilePtrOutput) ToOSPolicyResourceFilePtrOutput() OSPolicyResourceFilePtrOutput

func (OSPolicyResourceFilePtrOutput) ToOSPolicyResourceFilePtrOutputWithContext

func (o OSPolicyResourceFilePtrOutput) ToOSPolicyResourceFilePtrOutputWithContext(ctx context.Context) OSPolicyResourceFilePtrOutput

type OSPolicyResourceFileRemote

type OSPolicyResourceFileRemote struct {
	// SHA256 checksum of the remote file.
	Sha256Checksum *string `pulumi:"sha256Checksum"`
	// URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
	Uri string `pulumi:"uri"`
}

Specifies a file available via some URI.

type OSPolicyResourceFileRemoteArgs

type OSPolicyResourceFileRemoteArgs struct {
	// SHA256 checksum of the remote file.
	Sha256Checksum pulumi.StringPtrInput `pulumi:"sha256Checksum"`
	// URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
	Uri pulumi.StringInput `pulumi:"uri"`
}

Specifies a file available via some URI.

func (OSPolicyResourceFileRemoteArgs) ElementType

func (OSPolicyResourceFileRemoteArgs) ToOSPolicyResourceFileRemoteOutput

func (i OSPolicyResourceFileRemoteArgs) ToOSPolicyResourceFileRemoteOutput() OSPolicyResourceFileRemoteOutput

func (OSPolicyResourceFileRemoteArgs) ToOSPolicyResourceFileRemoteOutputWithContext

func (i OSPolicyResourceFileRemoteArgs) ToOSPolicyResourceFileRemoteOutputWithContext(ctx context.Context) OSPolicyResourceFileRemoteOutput

func (OSPolicyResourceFileRemoteArgs) ToOSPolicyResourceFileRemotePtrOutput

func (i OSPolicyResourceFileRemoteArgs) ToOSPolicyResourceFileRemotePtrOutput() OSPolicyResourceFileRemotePtrOutput

func (OSPolicyResourceFileRemoteArgs) ToOSPolicyResourceFileRemotePtrOutputWithContext

func (i OSPolicyResourceFileRemoteArgs) ToOSPolicyResourceFileRemotePtrOutputWithContext(ctx context.Context) OSPolicyResourceFileRemotePtrOutput

type OSPolicyResourceFileRemoteInput

type OSPolicyResourceFileRemoteInput interface {
	pulumi.Input

	ToOSPolicyResourceFileRemoteOutput() OSPolicyResourceFileRemoteOutput
	ToOSPolicyResourceFileRemoteOutputWithContext(context.Context) OSPolicyResourceFileRemoteOutput
}

OSPolicyResourceFileRemoteInput is an input type that accepts OSPolicyResourceFileRemoteArgs and OSPolicyResourceFileRemoteOutput values. You can construct a concrete instance of `OSPolicyResourceFileRemoteInput` via:

OSPolicyResourceFileRemoteArgs{...}

type OSPolicyResourceFileRemoteOutput

type OSPolicyResourceFileRemoteOutput struct{ *pulumi.OutputState }

Specifies a file available via some URI.

func (OSPolicyResourceFileRemoteOutput) ElementType

func (OSPolicyResourceFileRemoteOutput) Sha256Checksum

SHA256 checksum of the remote file.

func (OSPolicyResourceFileRemoteOutput) ToOSPolicyResourceFileRemoteOutput

func (o OSPolicyResourceFileRemoteOutput) ToOSPolicyResourceFileRemoteOutput() OSPolicyResourceFileRemoteOutput

func (OSPolicyResourceFileRemoteOutput) ToOSPolicyResourceFileRemoteOutputWithContext

func (o OSPolicyResourceFileRemoteOutput) ToOSPolicyResourceFileRemoteOutputWithContext(ctx context.Context) OSPolicyResourceFileRemoteOutput

func (OSPolicyResourceFileRemoteOutput) ToOSPolicyResourceFileRemotePtrOutput

func (o OSPolicyResourceFileRemoteOutput) ToOSPolicyResourceFileRemotePtrOutput() OSPolicyResourceFileRemotePtrOutput

func (OSPolicyResourceFileRemoteOutput) ToOSPolicyResourceFileRemotePtrOutputWithContext

func (o OSPolicyResourceFileRemoteOutput) ToOSPolicyResourceFileRemotePtrOutputWithContext(ctx context.Context) OSPolicyResourceFileRemotePtrOutput

func (OSPolicyResourceFileRemoteOutput) Uri

URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.

type OSPolicyResourceFileRemotePtrInput

type OSPolicyResourceFileRemotePtrInput interface {
	pulumi.Input

	ToOSPolicyResourceFileRemotePtrOutput() OSPolicyResourceFileRemotePtrOutput
	ToOSPolicyResourceFileRemotePtrOutputWithContext(context.Context) OSPolicyResourceFileRemotePtrOutput
}

OSPolicyResourceFileRemotePtrInput is an input type that accepts OSPolicyResourceFileRemoteArgs, OSPolicyResourceFileRemotePtr and OSPolicyResourceFileRemotePtrOutput values. You can construct a concrete instance of `OSPolicyResourceFileRemotePtrInput` via:

        OSPolicyResourceFileRemoteArgs{...}

or:

        nil

type OSPolicyResourceFileRemotePtrOutput

type OSPolicyResourceFileRemotePtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceFileRemotePtrOutput) Elem

func (OSPolicyResourceFileRemotePtrOutput) ElementType

func (OSPolicyResourceFileRemotePtrOutput) Sha256Checksum

SHA256 checksum of the remote file.

func (OSPolicyResourceFileRemotePtrOutput) ToOSPolicyResourceFileRemotePtrOutput

func (o OSPolicyResourceFileRemotePtrOutput) ToOSPolicyResourceFileRemotePtrOutput() OSPolicyResourceFileRemotePtrOutput

func (OSPolicyResourceFileRemotePtrOutput) ToOSPolicyResourceFileRemotePtrOutputWithContext

func (o OSPolicyResourceFileRemotePtrOutput) ToOSPolicyResourceFileRemotePtrOutputWithContext(ctx context.Context) OSPolicyResourceFileRemotePtrOutput

func (OSPolicyResourceFileRemotePtrOutput) Uri

URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.

type OSPolicyResourceFileRemoteResponse

type OSPolicyResourceFileRemoteResponse struct {
	// SHA256 checksum of the remote file.
	Sha256Checksum string `pulumi:"sha256Checksum"`
	// URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.
	Uri string `pulumi:"uri"`
}

Specifies a file available via some URI.

type OSPolicyResourceFileRemoteResponseOutput

type OSPolicyResourceFileRemoteResponseOutput struct{ *pulumi.OutputState }

Specifies a file available via some URI.

func (OSPolicyResourceFileRemoteResponseOutput) ElementType

func (OSPolicyResourceFileRemoteResponseOutput) Sha256Checksum

SHA256 checksum of the remote file.

func (OSPolicyResourceFileRemoteResponseOutput) ToOSPolicyResourceFileRemoteResponseOutput

func (o OSPolicyResourceFileRemoteResponseOutput) ToOSPolicyResourceFileRemoteResponseOutput() OSPolicyResourceFileRemoteResponseOutput

func (OSPolicyResourceFileRemoteResponseOutput) ToOSPolicyResourceFileRemoteResponseOutputWithContext

func (o OSPolicyResourceFileRemoteResponseOutput) ToOSPolicyResourceFileRemoteResponseOutputWithContext(ctx context.Context) OSPolicyResourceFileRemoteResponseOutput

func (OSPolicyResourceFileRemoteResponseOutput) Uri

URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`.

type OSPolicyResourceFileResource

type OSPolicyResourceFileResource struct {
	// A a file with this content. The size of the content is limited to 32KiB.
	Content *string `pulumi:"content"`
	// A remote or local source.
	File *OSPolicyResourceFile `pulumi:"file"`
	// The absolute path of the file within the VM.
	Path string `pulumi:"path"`
	// 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
	Permissions *string `pulumi:"permissions"`
	// Desired state of the file.
	State OSPolicyResourceFileResourceState `pulumi:"state"`
}

A resource that manages the state of a file.

type OSPolicyResourceFileResourceArgs

type OSPolicyResourceFileResourceArgs struct {
	// A a file with this content. The size of the content is limited to 32KiB.
	Content pulumi.StringPtrInput `pulumi:"content"`
	// A remote or local source.
	File OSPolicyResourceFilePtrInput `pulumi:"file"`
	// The absolute path of the file within the VM.
	Path pulumi.StringInput `pulumi:"path"`
	// 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
	Permissions pulumi.StringPtrInput `pulumi:"permissions"`
	// Desired state of the file.
	State OSPolicyResourceFileResourceStateInput `pulumi:"state"`
}

A resource that manages the state of a file.

func (OSPolicyResourceFileResourceArgs) ElementType

func (OSPolicyResourceFileResourceArgs) ToOSPolicyResourceFileResourceOutput

func (i OSPolicyResourceFileResourceArgs) ToOSPolicyResourceFileResourceOutput() OSPolicyResourceFileResourceOutput

func (OSPolicyResourceFileResourceArgs) ToOSPolicyResourceFileResourceOutputWithContext

func (i OSPolicyResourceFileResourceArgs) ToOSPolicyResourceFileResourceOutputWithContext(ctx context.Context) OSPolicyResourceFileResourceOutput

func (OSPolicyResourceFileResourceArgs) ToOSPolicyResourceFileResourcePtrOutput

func (i OSPolicyResourceFileResourceArgs) ToOSPolicyResourceFileResourcePtrOutput() OSPolicyResourceFileResourcePtrOutput

func (OSPolicyResourceFileResourceArgs) ToOSPolicyResourceFileResourcePtrOutputWithContext

func (i OSPolicyResourceFileResourceArgs) ToOSPolicyResourceFileResourcePtrOutputWithContext(ctx context.Context) OSPolicyResourceFileResourcePtrOutput

type OSPolicyResourceFileResourceInput

type OSPolicyResourceFileResourceInput interface {
	pulumi.Input

	ToOSPolicyResourceFileResourceOutput() OSPolicyResourceFileResourceOutput
	ToOSPolicyResourceFileResourceOutputWithContext(context.Context) OSPolicyResourceFileResourceOutput
}

OSPolicyResourceFileResourceInput is an input type that accepts OSPolicyResourceFileResourceArgs and OSPolicyResourceFileResourceOutput values. You can construct a concrete instance of `OSPolicyResourceFileResourceInput` via:

OSPolicyResourceFileResourceArgs{...}

type OSPolicyResourceFileResourceOutput

type OSPolicyResourceFileResourceOutput struct{ *pulumi.OutputState }

A resource that manages the state of a file.

func (OSPolicyResourceFileResourceOutput) Content

A a file with this content. The size of the content is limited to 32KiB.

func (OSPolicyResourceFileResourceOutput) ElementType

func (OSPolicyResourceFileResourceOutput) File

A remote or local source.

func (OSPolicyResourceFileResourceOutput) Path

The absolute path of the file within the VM.

func (OSPolicyResourceFileResourceOutput) Permissions

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

func (OSPolicyResourceFileResourceOutput) State

Desired state of the file.

func (OSPolicyResourceFileResourceOutput) ToOSPolicyResourceFileResourceOutput

func (o OSPolicyResourceFileResourceOutput) ToOSPolicyResourceFileResourceOutput() OSPolicyResourceFileResourceOutput

func (OSPolicyResourceFileResourceOutput) ToOSPolicyResourceFileResourceOutputWithContext

func (o OSPolicyResourceFileResourceOutput) ToOSPolicyResourceFileResourceOutputWithContext(ctx context.Context) OSPolicyResourceFileResourceOutput

func (OSPolicyResourceFileResourceOutput) ToOSPolicyResourceFileResourcePtrOutput

func (o OSPolicyResourceFileResourceOutput) ToOSPolicyResourceFileResourcePtrOutput() OSPolicyResourceFileResourcePtrOutput

func (OSPolicyResourceFileResourceOutput) ToOSPolicyResourceFileResourcePtrOutputWithContext

func (o OSPolicyResourceFileResourceOutput) ToOSPolicyResourceFileResourcePtrOutputWithContext(ctx context.Context) OSPolicyResourceFileResourcePtrOutput

type OSPolicyResourceFileResourcePtrInput

type OSPolicyResourceFileResourcePtrInput interface {
	pulumi.Input

	ToOSPolicyResourceFileResourcePtrOutput() OSPolicyResourceFileResourcePtrOutput
	ToOSPolicyResourceFileResourcePtrOutputWithContext(context.Context) OSPolicyResourceFileResourcePtrOutput
}

OSPolicyResourceFileResourcePtrInput is an input type that accepts OSPolicyResourceFileResourceArgs, OSPolicyResourceFileResourcePtr and OSPolicyResourceFileResourcePtrOutput values. You can construct a concrete instance of `OSPolicyResourceFileResourcePtrInput` via:

        OSPolicyResourceFileResourceArgs{...}

or:

        nil

type OSPolicyResourceFileResourcePtrOutput

type OSPolicyResourceFileResourcePtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceFileResourcePtrOutput) Content

A a file with this content. The size of the content is limited to 32KiB.

func (OSPolicyResourceFileResourcePtrOutput) Elem

func (OSPolicyResourceFileResourcePtrOutput) ElementType

func (OSPolicyResourceFileResourcePtrOutput) File

A remote or local source.

func (OSPolicyResourceFileResourcePtrOutput) Path

The absolute path of the file within the VM.

func (OSPolicyResourceFileResourcePtrOutput) Permissions

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

func (OSPolicyResourceFileResourcePtrOutput) State

Desired state of the file.

func (OSPolicyResourceFileResourcePtrOutput) ToOSPolicyResourceFileResourcePtrOutput

func (o OSPolicyResourceFileResourcePtrOutput) ToOSPolicyResourceFileResourcePtrOutput() OSPolicyResourceFileResourcePtrOutput

func (OSPolicyResourceFileResourcePtrOutput) ToOSPolicyResourceFileResourcePtrOutputWithContext

func (o OSPolicyResourceFileResourcePtrOutput) ToOSPolicyResourceFileResourcePtrOutputWithContext(ctx context.Context) OSPolicyResourceFileResourcePtrOutput

type OSPolicyResourceFileResourceResponse

type OSPolicyResourceFileResourceResponse struct {
	// A a file with this content. The size of the content is limited to 32KiB.
	Content string `pulumi:"content"`
	// A remote or local source.
	File OSPolicyResourceFileResponse `pulumi:"file"`
	// The absolute path of the file within the VM.
	Path string `pulumi:"path"`
	// 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
	Permissions string `pulumi:"permissions"`
	// Desired state of the file.
	State string `pulumi:"state"`
}

A resource that manages the state of a file.

type OSPolicyResourceFileResourceResponseOutput

type OSPolicyResourceFileResourceResponseOutput struct{ *pulumi.OutputState }

A resource that manages the state of a file.

func (OSPolicyResourceFileResourceResponseOutput) Content

A a file with this content. The size of the content is limited to 32KiB.

func (OSPolicyResourceFileResourceResponseOutput) ElementType

func (OSPolicyResourceFileResourceResponseOutput) File

A remote or local source.

func (OSPolicyResourceFileResourceResponseOutput) Path

The absolute path of the file within the VM.

func (OSPolicyResourceFileResourceResponseOutput) Permissions

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

func (OSPolicyResourceFileResourceResponseOutput) State

Desired state of the file.

func (OSPolicyResourceFileResourceResponseOutput) ToOSPolicyResourceFileResourceResponseOutput

func (o OSPolicyResourceFileResourceResponseOutput) ToOSPolicyResourceFileResourceResponseOutput() OSPolicyResourceFileResourceResponseOutput

func (OSPolicyResourceFileResourceResponseOutput) ToOSPolicyResourceFileResourceResponseOutputWithContext

func (o OSPolicyResourceFileResourceResponseOutput) ToOSPolicyResourceFileResourceResponseOutputWithContext(ctx context.Context) OSPolicyResourceFileResourceResponseOutput

type OSPolicyResourceFileResourceState

type OSPolicyResourceFileResourceState string

Required. Desired state of the file.

func (OSPolicyResourceFileResourceState) ElementType

func (OSPolicyResourceFileResourceState) ToOSPolicyResourceFileResourceStateOutput added in v0.6.0

func (e OSPolicyResourceFileResourceState) ToOSPolicyResourceFileResourceStateOutput() OSPolicyResourceFileResourceStateOutput

func (OSPolicyResourceFileResourceState) ToOSPolicyResourceFileResourceStateOutputWithContext added in v0.6.0

func (e OSPolicyResourceFileResourceState) ToOSPolicyResourceFileResourceStateOutputWithContext(ctx context.Context) OSPolicyResourceFileResourceStateOutput

func (OSPolicyResourceFileResourceState) ToOSPolicyResourceFileResourceStatePtrOutput added in v0.6.0

func (e OSPolicyResourceFileResourceState) ToOSPolicyResourceFileResourceStatePtrOutput() OSPolicyResourceFileResourceStatePtrOutput

func (OSPolicyResourceFileResourceState) ToOSPolicyResourceFileResourceStatePtrOutputWithContext added in v0.6.0

func (e OSPolicyResourceFileResourceState) ToOSPolicyResourceFileResourceStatePtrOutputWithContext(ctx context.Context) OSPolicyResourceFileResourceStatePtrOutput

func (OSPolicyResourceFileResourceState) ToStringOutput

func (OSPolicyResourceFileResourceState) ToStringOutputWithContext

func (e OSPolicyResourceFileResourceState) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (OSPolicyResourceFileResourceState) ToStringPtrOutput

func (OSPolicyResourceFileResourceState) ToStringPtrOutputWithContext

func (e OSPolicyResourceFileResourceState) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type OSPolicyResourceFileResourceStateInput added in v0.6.0

type OSPolicyResourceFileResourceStateInput interface {
	pulumi.Input

	ToOSPolicyResourceFileResourceStateOutput() OSPolicyResourceFileResourceStateOutput
	ToOSPolicyResourceFileResourceStateOutputWithContext(context.Context) OSPolicyResourceFileResourceStateOutput
}

OSPolicyResourceFileResourceStateInput is an input type that accepts OSPolicyResourceFileResourceStateArgs and OSPolicyResourceFileResourceStateOutput values. You can construct a concrete instance of `OSPolicyResourceFileResourceStateInput` via:

OSPolicyResourceFileResourceStateArgs{...}

type OSPolicyResourceFileResourceStateOutput added in v0.6.0

type OSPolicyResourceFileResourceStateOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceFileResourceStateOutput) ElementType added in v0.6.0

func (OSPolicyResourceFileResourceStateOutput) ToOSPolicyResourceFileResourceStateOutput added in v0.6.0

func (o OSPolicyResourceFileResourceStateOutput) ToOSPolicyResourceFileResourceStateOutput() OSPolicyResourceFileResourceStateOutput

func (OSPolicyResourceFileResourceStateOutput) ToOSPolicyResourceFileResourceStateOutputWithContext added in v0.6.0

func (o OSPolicyResourceFileResourceStateOutput) ToOSPolicyResourceFileResourceStateOutputWithContext(ctx context.Context) OSPolicyResourceFileResourceStateOutput

func (OSPolicyResourceFileResourceStateOutput) ToOSPolicyResourceFileResourceStatePtrOutput added in v0.6.0

func (o OSPolicyResourceFileResourceStateOutput) ToOSPolicyResourceFileResourceStatePtrOutput() OSPolicyResourceFileResourceStatePtrOutput

func (OSPolicyResourceFileResourceStateOutput) ToOSPolicyResourceFileResourceStatePtrOutputWithContext added in v0.6.0

func (o OSPolicyResourceFileResourceStateOutput) ToOSPolicyResourceFileResourceStatePtrOutputWithContext(ctx context.Context) OSPolicyResourceFileResourceStatePtrOutput

func (OSPolicyResourceFileResourceStateOutput) ToStringOutput added in v0.6.0

func (OSPolicyResourceFileResourceStateOutput) ToStringOutputWithContext added in v0.6.0

func (OSPolicyResourceFileResourceStateOutput) ToStringPtrOutput added in v0.6.0

func (OSPolicyResourceFileResourceStateOutput) ToStringPtrOutputWithContext added in v0.6.0

type OSPolicyResourceFileResourceStatePtrInput added in v0.6.0

type OSPolicyResourceFileResourceStatePtrInput interface {
	pulumi.Input

	ToOSPolicyResourceFileResourceStatePtrOutput() OSPolicyResourceFileResourceStatePtrOutput
	ToOSPolicyResourceFileResourceStatePtrOutputWithContext(context.Context) OSPolicyResourceFileResourceStatePtrOutput
}

func OSPolicyResourceFileResourceStatePtr added in v0.6.0

func OSPolicyResourceFileResourceStatePtr(v string) OSPolicyResourceFileResourceStatePtrInput

type OSPolicyResourceFileResourceStatePtrOutput added in v0.6.0

type OSPolicyResourceFileResourceStatePtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceFileResourceStatePtrOutput) Elem added in v0.6.0

func (OSPolicyResourceFileResourceStatePtrOutput) ElementType added in v0.6.0

func (OSPolicyResourceFileResourceStatePtrOutput) ToOSPolicyResourceFileResourceStatePtrOutput added in v0.6.0

func (o OSPolicyResourceFileResourceStatePtrOutput) ToOSPolicyResourceFileResourceStatePtrOutput() OSPolicyResourceFileResourceStatePtrOutput

func (OSPolicyResourceFileResourceStatePtrOutput) ToOSPolicyResourceFileResourceStatePtrOutputWithContext added in v0.6.0

func (o OSPolicyResourceFileResourceStatePtrOutput) ToOSPolicyResourceFileResourceStatePtrOutputWithContext(ctx context.Context) OSPolicyResourceFileResourceStatePtrOutput

func (OSPolicyResourceFileResourceStatePtrOutput) ToStringPtrOutput added in v0.6.0

func (OSPolicyResourceFileResourceStatePtrOutput) ToStringPtrOutputWithContext added in v0.6.0

type OSPolicyResourceFileResponse

type OSPolicyResourceFileResponse struct {
	// Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.
	AllowInsecure bool `pulumi:"allowInsecure"`
	// A Cloud Storage object.
	Gcs OSPolicyResourceFileGcsResponse `pulumi:"gcs"`
	// A local path within the VM to use.
	LocalPath string `pulumi:"localPath"`
	// A generic remote file.
	Remote OSPolicyResourceFileRemoteResponse `pulumi:"remote"`
}

A remote or local file.

type OSPolicyResourceFileResponseOutput

type OSPolicyResourceFileResponseOutput struct{ *pulumi.OutputState }

A remote or local file.

func (OSPolicyResourceFileResponseOutput) AllowInsecure

Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.

func (OSPolicyResourceFileResponseOutput) ElementType

func (OSPolicyResourceFileResponseOutput) Gcs

A Cloud Storage object.

func (OSPolicyResourceFileResponseOutput) LocalPath

A local path within the VM to use.

func (OSPolicyResourceFileResponseOutput) Remote

A generic remote file.

func (OSPolicyResourceFileResponseOutput) ToOSPolicyResourceFileResponseOutput

func (o OSPolicyResourceFileResponseOutput) ToOSPolicyResourceFileResponseOutput() OSPolicyResourceFileResponseOutput

func (OSPolicyResourceFileResponseOutput) ToOSPolicyResourceFileResponseOutputWithContext

func (o OSPolicyResourceFileResponseOutput) ToOSPolicyResourceFileResponseOutputWithContext(ctx context.Context) OSPolicyResourceFileResponseOutput

type OSPolicyResourceGroup

type OSPolicyResourceGroup struct {
	// List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
	InventoryFilters []OSPolicyInventoryFilter `pulumi:"inventoryFilters"`
	// Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group
	//
	// Deprecated: Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group
	OsFilter *OSPolicyOSFilter `pulumi:"osFilter"`
	// List of resources configured for this resource group. The resources are executed in the exact order specified here.
	Resources []OSPolicyResource `pulumi:"resources"`
}

Resource groups provide a mechanism to group OS policy resources. Resource groups enable OS policy authors to create a single OS policy to be applied to VMs running different operating Systems. When the OS policy is applied to a target VM, the appropriate resource group within the OS policy is selected based on the `OSFilter` specified within the resource group.

type OSPolicyResourceGroupArgs

type OSPolicyResourceGroupArgs struct {
	// List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
	InventoryFilters OSPolicyInventoryFilterArrayInput `pulumi:"inventoryFilters"`
	// Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group
	//
	// Deprecated: Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group
	OsFilter OSPolicyOSFilterPtrInput `pulumi:"osFilter"`
	// List of resources configured for this resource group. The resources are executed in the exact order specified here.
	Resources OSPolicyResourceArrayInput `pulumi:"resources"`
}

Resource groups provide a mechanism to group OS policy resources. Resource groups enable OS policy authors to create a single OS policy to be applied to VMs running different operating Systems. When the OS policy is applied to a target VM, the appropriate resource group within the OS policy is selected based on the `OSFilter` specified within the resource group.

func (OSPolicyResourceGroupArgs) ElementType

func (OSPolicyResourceGroupArgs) ElementType() reflect.Type

func (OSPolicyResourceGroupArgs) ToOSPolicyResourceGroupOutput

func (i OSPolicyResourceGroupArgs) ToOSPolicyResourceGroupOutput() OSPolicyResourceGroupOutput

func (OSPolicyResourceGroupArgs) ToOSPolicyResourceGroupOutputWithContext

func (i OSPolicyResourceGroupArgs) ToOSPolicyResourceGroupOutputWithContext(ctx context.Context) OSPolicyResourceGroupOutput

type OSPolicyResourceGroupArray

type OSPolicyResourceGroupArray []OSPolicyResourceGroupInput

func (OSPolicyResourceGroupArray) ElementType

func (OSPolicyResourceGroupArray) ElementType() reflect.Type

func (OSPolicyResourceGroupArray) ToOSPolicyResourceGroupArrayOutput

func (i OSPolicyResourceGroupArray) ToOSPolicyResourceGroupArrayOutput() OSPolicyResourceGroupArrayOutput

func (OSPolicyResourceGroupArray) ToOSPolicyResourceGroupArrayOutputWithContext

func (i OSPolicyResourceGroupArray) ToOSPolicyResourceGroupArrayOutputWithContext(ctx context.Context) OSPolicyResourceGroupArrayOutput

type OSPolicyResourceGroupArrayInput

type OSPolicyResourceGroupArrayInput interface {
	pulumi.Input

	ToOSPolicyResourceGroupArrayOutput() OSPolicyResourceGroupArrayOutput
	ToOSPolicyResourceGroupArrayOutputWithContext(context.Context) OSPolicyResourceGroupArrayOutput
}

OSPolicyResourceGroupArrayInput is an input type that accepts OSPolicyResourceGroupArray and OSPolicyResourceGroupArrayOutput values. You can construct a concrete instance of `OSPolicyResourceGroupArrayInput` via:

OSPolicyResourceGroupArray{ OSPolicyResourceGroupArgs{...} }

type OSPolicyResourceGroupArrayOutput

type OSPolicyResourceGroupArrayOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceGroupArrayOutput) ElementType

func (OSPolicyResourceGroupArrayOutput) Index

func (OSPolicyResourceGroupArrayOutput) ToOSPolicyResourceGroupArrayOutput

func (o OSPolicyResourceGroupArrayOutput) ToOSPolicyResourceGroupArrayOutput() OSPolicyResourceGroupArrayOutput

func (OSPolicyResourceGroupArrayOutput) ToOSPolicyResourceGroupArrayOutputWithContext

func (o OSPolicyResourceGroupArrayOutput) ToOSPolicyResourceGroupArrayOutputWithContext(ctx context.Context) OSPolicyResourceGroupArrayOutput

type OSPolicyResourceGroupInput

type OSPolicyResourceGroupInput interface {
	pulumi.Input

	ToOSPolicyResourceGroupOutput() OSPolicyResourceGroupOutput
	ToOSPolicyResourceGroupOutputWithContext(context.Context) OSPolicyResourceGroupOutput
}

OSPolicyResourceGroupInput is an input type that accepts OSPolicyResourceGroupArgs and OSPolicyResourceGroupOutput values. You can construct a concrete instance of `OSPolicyResourceGroupInput` via:

OSPolicyResourceGroupArgs{...}

type OSPolicyResourceGroupOutput

type OSPolicyResourceGroupOutput struct{ *pulumi.OutputState }

Resource groups provide a mechanism to group OS policy resources. Resource groups enable OS policy authors to create a single OS policy to be applied to VMs running different operating Systems. When the OS policy is applied to a target VM, the appropriate resource group within the OS policy is selected based on the `OSFilter` specified within the resource group.

func (OSPolicyResourceGroupOutput) ElementType

func (OSPolicyResourceGroupOutput) InventoryFilters added in v0.8.0

List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.

func (OSPolicyResourceGroupOutput) OsFilter deprecated

Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group

Deprecated: Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group

func (OSPolicyResourceGroupOutput) Resources

List of resources configured for this resource group. The resources are executed in the exact order specified here.

func (OSPolicyResourceGroupOutput) ToOSPolicyResourceGroupOutput

func (o OSPolicyResourceGroupOutput) ToOSPolicyResourceGroupOutput() OSPolicyResourceGroupOutput

func (OSPolicyResourceGroupOutput) ToOSPolicyResourceGroupOutputWithContext

func (o OSPolicyResourceGroupOutput) ToOSPolicyResourceGroupOutputWithContext(ctx context.Context) OSPolicyResourceGroupOutput

type OSPolicyResourceGroupResponse

type OSPolicyResourceGroupResponse struct {
	// List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
	InventoryFilters []OSPolicyInventoryFilterResponse `pulumi:"inventoryFilters"`
	// Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group
	//
	// Deprecated: Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group
	OsFilter OSPolicyOSFilterResponse `pulumi:"osFilter"`
	// List of resources configured for this resource group. The resources are executed in the exact order specified here.
	Resources []OSPolicyResourceResponse `pulumi:"resources"`
}

Resource groups provide a mechanism to group OS policy resources. Resource groups enable OS policy authors to create a single OS policy to be applied to VMs running different operating Systems. When the OS policy is applied to a target VM, the appropriate resource group within the OS policy is selected based on the `OSFilter` specified within the resource group.

type OSPolicyResourceGroupResponseArrayOutput

type OSPolicyResourceGroupResponseArrayOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceGroupResponseArrayOutput) ElementType

func (OSPolicyResourceGroupResponseArrayOutput) Index

func (OSPolicyResourceGroupResponseArrayOutput) ToOSPolicyResourceGroupResponseArrayOutput

func (o OSPolicyResourceGroupResponseArrayOutput) ToOSPolicyResourceGroupResponseArrayOutput() OSPolicyResourceGroupResponseArrayOutput

func (OSPolicyResourceGroupResponseArrayOutput) ToOSPolicyResourceGroupResponseArrayOutputWithContext

func (o OSPolicyResourceGroupResponseArrayOutput) ToOSPolicyResourceGroupResponseArrayOutputWithContext(ctx context.Context) OSPolicyResourceGroupResponseArrayOutput

type OSPolicyResourceGroupResponseOutput

type OSPolicyResourceGroupResponseOutput struct{ *pulumi.OutputState }

Resource groups provide a mechanism to group OS policy resources. Resource groups enable OS policy authors to create a single OS policy to be applied to VMs running different operating Systems. When the OS policy is applied to a target VM, the appropriate resource group within the OS policy is selected based on the `OSFilter` specified within the resource group.

func (OSPolicyResourceGroupResponseOutput) ElementType

func (OSPolicyResourceGroupResponseOutput) InventoryFilters added in v0.8.0

List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.

func (OSPolicyResourceGroupResponseOutput) OsFilter deprecated

Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group

Deprecated: Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group

func (OSPolicyResourceGroupResponseOutput) Resources

List of resources configured for this resource group. The resources are executed in the exact order specified here.

func (OSPolicyResourceGroupResponseOutput) ToOSPolicyResourceGroupResponseOutput

func (o OSPolicyResourceGroupResponseOutput) ToOSPolicyResourceGroupResponseOutput() OSPolicyResourceGroupResponseOutput

func (OSPolicyResourceGroupResponseOutput) ToOSPolicyResourceGroupResponseOutputWithContext

func (o OSPolicyResourceGroupResponseOutput) ToOSPolicyResourceGroupResponseOutputWithContext(ctx context.Context) OSPolicyResourceGroupResponseOutput

type OSPolicyResourceInput

type OSPolicyResourceInput interface {
	pulumi.Input

	ToOSPolicyResourceOutput() OSPolicyResourceOutput
	ToOSPolicyResourceOutputWithContext(context.Context) OSPolicyResourceOutput
}

OSPolicyResourceInput is an input type that accepts OSPolicyResourceArgs and OSPolicyResourceOutput values. You can construct a concrete instance of `OSPolicyResourceInput` via:

OSPolicyResourceArgs{...}

type OSPolicyResourceOutput

type OSPolicyResourceOutput struct{ *pulumi.OutputState }

An OS policy resource is used to define the desired state configuration and provides a specific functionality like installing/removing packages, executing a script etc. The system ensures that resources are always in their desired state by taking necessary actions if they have drifted from their desired state.

func (OSPolicyResourceOutput) ElementType

func (OSPolicyResourceOutput) ElementType() reflect.Type

func (OSPolicyResourceOutput) Exec

Exec resource

func (OSPolicyResourceOutput) File

File resource

func (OSPolicyResourceOutput) Id

The id of the resource with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the OS policy.

func (OSPolicyResourceOutput) Pkg

Package resource

func (OSPolicyResourceOutput) Repository

Package repository resource

func (OSPolicyResourceOutput) ToOSPolicyResourceOutput

func (o OSPolicyResourceOutput) ToOSPolicyResourceOutput() OSPolicyResourceOutput

func (OSPolicyResourceOutput) ToOSPolicyResourceOutputWithContext

func (o OSPolicyResourceOutput) ToOSPolicyResourceOutputWithContext(ctx context.Context) OSPolicyResourceOutput

type OSPolicyResourcePackageResource

type OSPolicyResourcePackageResource struct {
	// A package managed by Apt.
	Apt *OSPolicyResourcePackageResourceAPT `pulumi:"apt"`
	// A deb package file.
	Deb *OSPolicyResourcePackageResourceDeb `pulumi:"deb"`
	// The desired state the agent should maintain for this package.
	DesiredState OSPolicyResourcePackageResourceDesiredState `pulumi:"desiredState"`
	// A package managed by GooGet.
	Googet *OSPolicyResourcePackageResourceGooGet `pulumi:"googet"`
	// An MSI package.
	Msi *OSPolicyResourcePackageResourceMSI `pulumi:"msi"`
	// An rpm package file.
	Rpm *OSPolicyResourcePackageResourceRPM `pulumi:"rpm"`
	// A package managed by YUM.
	Yum *OSPolicyResourcePackageResourceYUM `pulumi:"yum"`
	// A package managed by Zypper.
	Zypper *OSPolicyResourcePackageResourceZypper `pulumi:"zypper"`
}

A resource that manages a system package.

type OSPolicyResourcePackageResourceAPT

type OSPolicyResourcePackageResourceAPT struct {
	// Package name.
	Name string `pulumi:"name"`
}

A package managed by APT. - install: `apt-get update && apt-get -y install [name]` - remove: `apt-get -y remove [name]`

type OSPolicyResourcePackageResourceAPTArgs

type OSPolicyResourcePackageResourceAPTArgs struct {
	// Package name.
	Name pulumi.StringInput `pulumi:"name"`
}

A package managed by APT. - install: `apt-get update && apt-get -y install [name]` - remove: `apt-get -y remove [name]`

func (OSPolicyResourcePackageResourceAPTArgs) ElementType

func (OSPolicyResourcePackageResourceAPTArgs) ToOSPolicyResourcePackageResourceAPTOutput

func (i OSPolicyResourcePackageResourceAPTArgs) ToOSPolicyResourcePackageResourceAPTOutput() OSPolicyResourcePackageResourceAPTOutput

func (OSPolicyResourcePackageResourceAPTArgs) ToOSPolicyResourcePackageResourceAPTOutputWithContext

func (i OSPolicyResourcePackageResourceAPTArgs) ToOSPolicyResourcePackageResourceAPTOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceAPTOutput

func (OSPolicyResourcePackageResourceAPTArgs) ToOSPolicyResourcePackageResourceAPTPtrOutput

func (i OSPolicyResourcePackageResourceAPTArgs) ToOSPolicyResourcePackageResourceAPTPtrOutput() OSPolicyResourcePackageResourceAPTPtrOutput

func (OSPolicyResourcePackageResourceAPTArgs) ToOSPolicyResourcePackageResourceAPTPtrOutputWithContext

func (i OSPolicyResourcePackageResourceAPTArgs) ToOSPolicyResourcePackageResourceAPTPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceAPTPtrOutput

type OSPolicyResourcePackageResourceAPTInput

type OSPolicyResourcePackageResourceAPTInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourceAPTOutput() OSPolicyResourcePackageResourceAPTOutput
	ToOSPolicyResourcePackageResourceAPTOutputWithContext(context.Context) OSPolicyResourcePackageResourceAPTOutput
}

OSPolicyResourcePackageResourceAPTInput is an input type that accepts OSPolicyResourcePackageResourceAPTArgs and OSPolicyResourcePackageResourceAPTOutput values. You can construct a concrete instance of `OSPolicyResourcePackageResourceAPTInput` via:

OSPolicyResourcePackageResourceAPTArgs{...}

type OSPolicyResourcePackageResourceAPTOutput

type OSPolicyResourcePackageResourceAPTOutput struct{ *pulumi.OutputState }

A package managed by APT. - install: `apt-get update && apt-get -y install [name]` - remove: `apt-get -y remove [name]`

func (OSPolicyResourcePackageResourceAPTOutput) ElementType

func (OSPolicyResourcePackageResourceAPTOutput) Name

Package name.

func (OSPolicyResourcePackageResourceAPTOutput) ToOSPolicyResourcePackageResourceAPTOutput

func (o OSPolicyResourcePackageResourceAPTOutput) ToOSPolicyResourcePackageResourceAPTOutput() OSPolicyResourcePackageResourceAPTOutput

func (OSPolicyResourcePackageResourceAPTOutput) ToOSPolicyResourcePackageResourceAPTOutputWithContext

func (o OSPolicyResourcePackageResourceAPTOutput) ToOSPolicyResourcePackageResourceAPTOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceAPTOutput

func (OSPolicyResourcePackageResourceAPTOutput) ToOSPolicyResourcePackageResourceAPTPtrOutput

func (o OSPolicyResourcePackageResourceAPTOutput) ToOSPolicyResourcePackageResourceAPTPtrOutput() OSPolicyResourcePackageResourceAPTPtrOutput

func (OSPolicyResourcePackageResourceAPTOutput) ToOSPolicyResourcePackageResourceAPTPtrOutputWithContext

func (o OSPolicyResourcePackageResourceAPTOutput) ToOSPolicyResourcePackageResourceAPTPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceAPTPtrOutput

type OSPolicyResourcePackageResourceAPTPtrInput

type OSPolicyResourcePackageResourceAPTPtrInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourceAPTPtrOutput() OSPolicyResourcePackageResourceAPTPtrOutput
	ToOSPolicyResourcePackageResourceAPTPtrOutputWithContext(context.Context) OSPolicyResourcePackageResourceAPTPtrOutput
}

OSPolicyResourcePackageResourceAPTPtrInput is an input type that accepts OSPolicyResourcePackageResourceAPTArgs, OSPolicyResourcePackageResourceAPTPtr and OSPolicyResourcePackageResourceAPTPtrOutput values. You can construct a concrete instance of `OSPolicyResourcePackageResourceAPTPtrInput` via:

        OSPolicyResourcePackageResourceAPTArgs{...}

or:

        nil

type OSPolicyResourcePackageResourceAPTPtrOutput

type OSPolicyResourcePackageResourceAPTPtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourcePackageResourceAPTPtrOutput) Elem

func (OSPolicyResourcePackageResourceAPTPtrOutput) ElementType

func (OSPolicyResourcePackageResourceAPTPtrOutput) Name

Package name.

func (OSPolicyResourcePackageResourceAPTPtrOutput) ToOSPolicyResourcePackageResourceAPTPtrOutput

func (o OSPolicyResourcePackageResourceAPTPtrOutput) ToOSPolicyResourcePackageResourceAPTPtrOutput() OSPolicyResourcePackageResourceAPTPtrOutput

func (OSPolicyResourcePackageResourceAPTPtrOutput) ToOSPolicyResourcePackageResourceAPTPtrOutputWithContext

func (o OSPolicyResourcePackageResourceAPTPtrOutput) ToOSPolicyResourcePackageResourceAPTPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceAPTPtrOutput

type OSPolicyResourcePackageResourceAPTResponse

type OSPolicyResourcePackageResourceAPTResponse struct {
	// Package name.
	Name string `pulumi:"name"`
}

A package managed by APT. - install: `apt-get update && apt-get -y install [name]` - remove: `apt-get -y remove [name]`

type OSPolicyResourcePackageResourceAPTResponseOutput

type OSPolicyResourcePackageResourceAPTResponseOutput struct{ *pulumi.OutputState }

A package managed by APT. - install: `apt-get update && apt-get -y install [name]` - remove: `apt-get -y remove [name]`

func (OSPolicyResourcePackageResourceAPTResponseOutput) ElementType

func (OSPolicyResourcePackageResourceAPTResponseOutput) Name

Package name.

func (OSPolicyResourcePackageResourceAPTResponseOutput) ToOSPolicyResourcePackageResourceAPTResponseOutput

func (o OSPolicyResourcePackageResourceAPTResponseOutput) ToOSPolicyResourcePackageResourceAPTResponseOutput() OSPolicyResourcePackageResourceAPTResponseOutput

func (OSPolicyResourcePackageResourceAPTResponseOutput) ToOSPolicyResourcePackageResourceAPTResponseOutputWithContext

func (o OSPolicyResourcePackageResourceAPTResponseOutput) ToOSPolicyResourcePackageResourceAPTResponseOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceAPTResponseOutput

type OSPolicyResourcePackageResourceArgs

type OSPolicyResourcePackageResourceArgs struct {
	// A package managed by Apt.
	Apt OSPolicyResourcePackageResourceAPTPtrInput `pulumi:"apt"`
	// A deb package file.
	Deb OSPolicyResourcePackageResourceDebPtrInput `pulumi:"deb"`
	// The desired state the agent should maintain for this package.
	DesiredState OSPolicyResourcePackageResourceDesiredStateInput `pulumi:"desiredState"`
	// A package managed by GooGet.
	Googet OSPolicyResourcePackageResourceGooGetPtrInput `pulumi:"googet"`
	// An MSI package.
	Msi OSPolicyResourcePackageResourceMSIPtrInput `pulumi:"msi"`
	// An rpm package file.
	Rpm OSPolicyResourcePackageResourceRPMPtrInput `pulumi:"rpm"`
	// A package managed by YUM.
	Yum OSPolicyResourcePackageResourceYUMPtrInput `pulumi:"yum"`
	// A package managed by Zypper.
	Zypper OSPolicyResourcePackageResourceZypperPtrInput `pulumi:"zypper"`
}

A resource that manages a system package.

func (OSPolicyResourcePackageResourceArgs) ElementType

func (OSPolicyResourcePackageResourceArgs) ToOSPolicyResourcePackageResourceOutput

func (i OSPolicyResourcePackageResourceArgs) ToOSPolicyResourcePackageResourceOutput() OSPolicyResourcePackageResourceOutput

func (OSPolicyResourcePackageResourceArgs) ToOSPolicyResourcePackageResourceOutputWithContext

func (i OSPolicyResourcePackageResourceArgs) ToOSPolicyResourcePackageResourceOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceOutput

func (OSPolicyResourcePackageResourceArgs) ToOSPolicyResourcePackageResourcePtrOutput

func (i OSPolicyResourcePackageResourceArgs) ToOSPolicyResourcePackageResourcePtrOutput() OSPolicyResourcePackageResourcePtrOutput

func (OSPolicyResourcePackageResourceArgs) ToOSPolicyResourcePackageResourcePtrOutputWithContext

func (i OSPolicyResourcePackageResourceArgs) ToOSPolicyResourcePackageResourcePtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourcePtrOutput

type OSPolicyResourcePackageResourceDeb

type OSPolicyResourcePackageResourceDeb struct {
	// Whether dependencies should also be installed. - install when false: `dpkg -i package` - install when true: `apt-get update && apt-get -y install package.deb`
	PullDeps *bool `pulumi:"pullDeps"`
	// A deb package.
	Source OSPolicyResourceFile `pulumi:"source"`
}

A deb package file. dpkg packages only support INSTALLED state.

type OSPolicyResourcePackageResourceDebArgs

type OSPolicyResourcePackageResourceDebArgs struct {
	// Whether dependencies should also be installed. - install when false: `dpkg -i package` - install when true: `apt-get update && apt-get -y install package.deb`
	PullDeps pulumi.BoolPtrInput `pulumi:"pullDeps"`
	// A deb package.
	Source OSPolicyResourceFileInput `pulumi:"source"`
}

A deb package file. dpkg packages only support INSTALLED state.

func (OSPolicyResourcePackageResourceDebArgs) ElementType

func (OSPolicyResourcePackageResourceDebArgs) ToOSPolicyResourcePackageResourceDebOutput

func (i OSPolicyResourcePackageResourceDebArgs) ToOSPolicyResourcePackageResourceDebOutput() OSPolicyResourcePackageResourceDebOutput

func (OSPolicyResourcePackageResourceDebArgs) ToOSPolicyResourcePackageResourceDebOutputWithContext

func (i OSPolicyResourcePackageResourceDebArgs) ToOSPolicyResourcePackageResourceDebOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceDebOutput

func (OSPolicyResourcePackageResourceDebArgs) ToOSPolicyResourcePackageResourceDebPtrOutput

func (i OSPolicyResourcePackageResourceDebArgs) ToOSPolicyResourcePackageResourceDebPtrOutput() OSPolicyResourcePackageResourceDebPtrOutput

func (OSPolicyResourcePackageResourceDebArgs) ToOSPolicyResourcePackageResourceDebPtrOutputWithContext

func (i OSPolicyResourcePackageResourceDebArgs) ToOSPolicyResourcePackageResourceDebPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceDebPtrOutput

type OSPolicyResourcePackageResourceDebInput

type OSPolicyResourcePackageResourceDebInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourceDebOutput() OSPolicyResourcePackageResourceDebOutput
	ToOSPolicyResourcePackageResourceDebOutputWithContext(context.Context) OSPolicyResourcePackageResourceDebOutput
}

OSPolicyResourcePackageResourceDebInput is an input type that accepts OSPolicyResourcePackageResourceDebArgs and OSPolicyResourcePackageResourceDebOutput values. You can construct a concrete instance of `OSPolicyResourcePackageResourceDebInput` via:

OSPolicyResourcePackageResourceDebArgs{...}

type OSPolicyResourcePackageResourceDebOutput

type OSPolicyResourcePackageResourceDebOutput struct{ *pulumi.OutputState }

A deb package file. dpkg packages only support INSTALLED state.

func (OSPolicyResourcePackageResourceDebOutput) ElementType

func (OSPolicyResourcePackageResourceDebOutput) PullDeps

Whether dependencies should also be installed. - install when false: `dpkg -i package` - install when true: `apt-get update && apt-get -y install package.deb`

func (OSPolicyResourcePackageResourceDebOutput) Source

A deb package.

func (OSPolicyResourcePackageResourceDebOutput) ToOSPolicyResourcePackageResourceDebOutput

func (o OSPolicyResourcePackageResourceDebOutput) ToOSPolicyResourcePackageResourceDebOutput() OSPolicyResourcePackageResourceDebOutput

func (OSPolicyResourcePackageResourceDebOutput) ToOSPolicyResourcePackageResourceDebOutputWithContext

func (o OSPolicyResourcePackageResourceDebOutput) ToOSPolicyResourcePackageResourceDebOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceDebOutput

func (OSPolicyResourcePackageResourceDebOutput) ToOSPolicyResourcePackageResourceDebPtrOutput

func (o OSPolicyResourcePackageResourceDebOutput) ToOSPolicyResourcePackageResourceDebPtrOutput() OSPolicyResourcePackageResourceDebPtrOutput

func (OSPolicyResourcePackageResourceDebOutput) ToOSPolicyResourcePackageResourceDebPtrOutputWithContext

func (o OSPolicyResourcePackageResourceDebOutput) ToOSPolicyResourcePackageResourceDebPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceDebPtrOutput

type OSPolicyResourcePackageResourceDebPtrInput

type OSPolicyResourcePackageResourceDebPtrInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourceDebPtrOutput() OSPolicyResourcePackageResourceDebPtrOutput
	ToOSPolicyResourcePackageResourceDebPtrOutputWithContext(context.Context) OSPolicyResourcePackageResourceDebPtrOutput
}

OSPolicyResourcePackageResourceDebPtrInput is an input type that accepts OSPolicyResourcePackageResourceDebArgs, OSPolicyResourcePackageResourceDebPtr and OSPolicyResourcePackageResourceDebPtrOutput values. You can construct a concrete instance of `OSPolicyResourcePackageResourceDebPtrInput` via:

        OSPolicyResourcePackageResourceDebArgs{...}

or:

        nil

type OSPolicyResourcePackageResourceDebPtrOutput

type OSPolicyResourcePackageResourceDebPtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourcePackageResourceDebPtrOutput) Elem

func (OSPolicyResourcePackageResourceDebPtrOutput) ElementType

func (OSPolicyResourcePackageResourceDebPtrOutput) PullDeps

Whether dependencies should also be installed. - install when false: `dpkg -i package` - install when true: `apt-get update && apt-get -y install package.deb`

func (OSPolicyResourcePackageResourceDebPtrOutput) Source

A deb package.

func (OSPolicyResourcePackageResourceDebPtrOutput) ToOSPolicyResourcePackageResourceDebPtrOutput

func (o OSPolicyResourcePackageResourceDebPtrOutput) ToOSPolicyResourcePackageResourceDebPtrOutput() OSPolicyResourcePackageResourceDebPtrOutput

func (OSPolicyResourcePackageResourceDebPtrOutput) ToOSPolicyResourcePackageResourceDebPtrOutputWithContext

func (o OSPolicyResourcePackageResourceDebPtrOutput) ToOSPolicyResourcePackageResourceDebPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceDebPtrOutput

type OSPolicyResourcePackageResourceDebResponse

type OSPolicyResourcePackageResourceDebResponse struct {
	// Whether dependencies should also be installed. - install when false: `dpkg -i package` - install when true: `apt-get update && apt-get -y install package.deb`
	PullDeps bool `pulumi:"pullDeps"`
	// A deb package.
	Source OSPolicyResourceFileResponse `pulumi:"source"`
}

A deb package file. dpkg packages only support INSTALLED state.

type OSPolicyResourcePackageResourceDebResponseOutput

type OSPolicyResourcePackageResourceDebResponseOutput struct{ *pulumi.OutputState }

A deb package file. dpkg packages only support INSTALLED state.

func (OSPolicyResourcePackageResourceDebResponseOutput) ElementType

func (OSPolicyResourcePackageResourceDebResponseOutput) PullDeps

Whether dependencies should also be installed. - install when false: `dpkg -i package` - install when true: `apt-get update && apt-get -y install package.deb`

func (OSPolicyResourcePackageResourceDebResponseOutput) Source

A deb package.

func (OSPolicyResourcePackageResourceDebResponseOutput) ToOSPolicyResourcePackageResourceDebResponseOutput

func (o OSPolicyResourcePackageResourceDebResponseOutput) ToOSPolicyResourcePackageResourceDebResponseOutput() OSPolicyResourcePackageResourceDebResponseOutput

func (OSPolicyResourcePackageResourceDebResponseOutput) ToOSPolicyResourcePackageResourceDebResponseOutputWithContext

func (o OSPolicyResourcePackageResourceDebResponseOutput) ToOSPolicyResourcePackageResourceDebResponseOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceDebResponseOutput

type OSPolicyResourcePackageResourceDesiredState

type OSPolicyResourcePackageResourceDesiredState string

Required. The desired state the agent should maintain for this package.

func (OSPolicyResourcePackageResourceDesiredState) ElementType

func (OSPolicyResourcePackageResourceDesiredState) ToOSPolicyResourcePackageResourceDesiredStateOutput added in v0.6.0

func (e OSPolicyResourcePackageResourceDesiredState) ToOSPolicyResourcePackageResourceDesiredStateOutput() OSPolicyResourcePackageResourceDesiredStateOutput

func (OSPolicyResourcePackageResourceDesiredState) ToOSPolicyResourcePackageResourceDesiredStateOutputWithContext added in v0.6.0

func (e OSPolicyResourcePackageResourceDesiredState) ToOSPolicyResourcePackageResourceDesiredStateOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceDesiredStateOutput

func (OSPolicyResourcePackageResourceDesiredState) ToOSPolicyResourcePackageResourceDesiredStatePtrOutput added in v0.6.0

func (e OSPolicyResourcePackageResourceDesiredState) ToOSPolicyResourcePackageResourceDesiredStatePtrOutput() OSPolicyResourcePackageResourceDesiredStatePtrOutput

func (OSPolicyResourcePackageResourceDesiredState) ToOSPolicyResourcePackageResourceDesiredStatePtrOutputWithContext added in v0.6.0

func (e OSPolicyResourcePackageResourceDesiredState) ToOSPolicyResourcePackageResourceDesiredStatePtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceDesiredStatePtrOutput

func (OSPolicyResourcePackageResourceDesiredState) ToStringOutput

func (OSPolicyResourcePackageResourceDesiredState) ToStringOutputWithContext

func (OSPolicyResourcePackageResourceDesiredState) ToStringPtrOutput

func (OSPolicyResourcePackageResourceDesiredState) ToStringPtrOutputWithContext

type OSPolicyResourcePackageResourceDesiredStateInput added in v0.6.0

type OSPolicyResourcePackageResourceDesiredStateInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourceDesiredStateOutput() OSPolicyResourcePackageResourceDesiredStateOutput
	ToOSPolicyResourcePackageResourceDesiredStateOutputWithContext(context.Context) OSPolicyResourcePackageResourceDesiredStateOutput
}

OSPolicyResourcePackageResourceDesiredStateInput is an input type that accepts OSPolicyResourcePackageResourceDesiredStateArgs and OSPolicyResourcePackageResourceDesiredStateOutput values. You can construct a concrete instance of `OSPolicyResourcePackageResourceDesiredStateInput` via:

OSPolicyResourcePackageResourceDesiredStateArgs{...}

type OSPolicyResourcePackageResourceDesiredStateOutput added in v0.6.0

type OSPolicyResourcePackageResourceDesiredStateOutput struct{ *pulumi.OutputState }

func (OSPolicyResourcePackageResourceDesiredStateOutput) ElementType added in v0.6.0

func (OSPolicyResourcePackageResourceDesiredStateOutput) ToOSPolicyResourcePackageResourceDesiredStateOutput added in v0.6.0

func (o OSPolicyResourcePackageResourceDesiredStateOutput) ToOSPolicyResourcePackageResourceDesiredStateOutput() OSPolicyResourcePackageResourceDesiredStateOutput

func (OSPolicyResourcePackageResourceDesiredStateOutput) ToOSPolicyResourcePackageResourceDesiredStateOutputWithContext added in v0.6.0

func (o OSPolicyResourcePackageResourceDesiredStateOutput) ToOSPolicyResourcePackageResourceDesiredStateOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceDesiredStateOutput

func (OSPolicyResourcePackageResourceDesiredStateOutput) ToOSPolicyResourcePackageResourceDesiredStatePtrOutput added in v0.6.0

func (o OSPolicyResourcePackageResourceDesiredStateOutput) ToOSPolicyResourcePackageResourceDesiredStatePtrOutput() OSPolicyResourcePackageResourceDesiredStatePtrOutput

func (OSPolicyResourcePackageResourceDesiredStateOutput) ToOSPolicyResourcePackageResourceDesiredStatePtrOutputWithContext added in v0.6.0

func (o OSPolicyResourcePackageResourceDesiredStateOutput) ToOSPolicyResourcePackageResourceDesiredStatePtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceDesiredStatePtrOutput

func (OSPolicyResourcePackageResourceDesiredStateOutput) ToStringOutput added in v0.6.0

func (OSPolicyResourcePackageResourceDesiredStateOutput) ToStringOutputWithContext added in v0.6.0

func (OSPolicyResourcePackageResourceDesiredStateOutput) ToStringPtrOutput added in v0.6.0

func (OSPolicyResourcePackageResourceDesiredStateOutput) ToStringPtrOutputWithContext added in v0.6.0

type OSPolicyResourcePackageResourceDesiredStatePtrInput added in v0.6.0

type OSPolicyResourcePackageResourceDesiredStatePtrInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourceDesiredStatePtrOutput() OSPolicyResourcePackageResourceDesiredStatePtrOutput
	ToOSPolicyResourcePackageResourceDesiredStatePtrOutputWithContext(context.Context) OSPolicyResourcePackageResourceDesiredStatePtrOutput
}

func OSPolicyResourcePackageResourceDesiredStatePtr added in v0.6.0

func OSPolicyResourcePackageResourceDesiredStatePtr(v string) OSPolicyResourcePackageResourceDesiredStatePtrInput

type OSPolicyResourcePackageResourceDesiredStatePtrOutput added in v0.6.0

type OSPolicyResourcePackageResourceDesiredStatePtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourcePackageResourceDesiredStatePtrOutput) Elem added in v0.6.0

func (OSPolicyResourcePackageResourceDesiredStatePtrOutput) ElementType added in v0.6.0

func (OSPolicyResourcePackageResourceDesiredStatePtrOutput) ToOSPolicyResourcePackageResourceDesiredStatePtrOutput added in v0.6.0

func (OSPolicyResourcePackageResourceDesiredStatePtrOutput) ToOSPolicyResourcePackageResourceDesiredStatePtrOutputWithContext added in v0.6.0

func (o OSPolicyResourcePackageResourceDesiredStatePtrOutput) ToOSPolicyResourcePackageResourceDesiredStatePtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceDesiredStatePtrOutput

func (OSPolicyResourcePackageResourceDesiredStatePtrOutput) ToStringPtrOutput added in v0.6.0

func (OSPolicyResourcePackageResourceDesiredStatePtrOutput) ToStringPtrOutputWithContext added in v0.6.0

type OSPolicyResourcePackageResourceGooGet

type OSPolicyResourcePackageResourceGooGet struct {
	// Package name.
	Name string `pulumi:"name"`
}

A package managed by GooGet. - install: `googet -noconfirm install package` - remove: `googet -noconfirm remove package`

type OSPolicyResourcePackageResourceGooGetArgs

type OSPolicyResourcePackageResourceGooGetArgs struct {
	// Package name.
	Name pulumi.StringInput `pulumi:"name"`
}

A package managed by GooGet. - install: `googet -noconfirm install package` - remove: `googet -noconfirm remove package`

func (OSPolicyResourcePackageResourceGooGetArgs) ElementType

func (OSPolicyResourcePackageResourceGooGetArgs) ToOSPolicyResourcePackageResourceGooGetOutput

func (i OSPolicyResourcePackageResourceGooGetArgs) ToOSPolicyResourcePackageResourceGooGetOutput() OSPolicyResourcePackageResourceGooGetOutput

func (OSPolicyResourcePackageResourceGooGetArgs) ToOSPolicyResourcePackageResourceGooGetOutputWithContext

func (i OSPolicyResourcePackageResourceGooGetArgs) ToOSPolicyResourcePackageResourceGooGetOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceGooGetOutput

func (OSPolicyResourcePackageResourceGooGetArgs) ToOSPolicyResourcePackageResourceGooGetPtrOutput

func (i OSPolicyResourcePackageResourceGooGetArgs) ToOSPolicyResourcePackageResourceGooGetPtrOutput() OSPolicyResourcePackageResourceGooGetPtrOutput

func (OSPolicyResourcePackageResourceGooGetArgs) ToOSPolicyResourcePackageResourceGooGetPtrOutputWithContext

func (i OSPolicyResourcePackageResourceGooGetArgs) ToOSPolicyResourcePackageResourceGooGetPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceGooGetPtrOutput

type OSPolicyResourcePackageResourceGooGetInput

type OSPolicyResourcePackageResourceGooGetInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourceGooGetOutput() OSPolicyResourcePackageResourceGooGetOutput
	ToOSPolicyResourcePackageResourceGooGetOutputWithContext(context.Context) OSPolicyResourcePackageResourceGooGetOutput
}

OSPolicyResourcePackageResourceGooGetInput is an input type that accepts OSPolicyResourcePackageResourceGooGetArgs and OSPolicyResourcePackageResourceGooGetOutput values. You can construct a concrete instance of `OSPolicyResourcePackageResourceGooGetInput` via:

OSPolicyResourcePackageResourceGooGetArgs{...}

type OSPolicyResourcePackageResourceGooGetOutput

type OSPolicyResourcePackageResourceGooGetOutput struct{ *pulumi.OutputState }

A package managed by GooGet. - install: `googet -noconfirm install package` - remove: `googet -noconfirm remove package`

func (OSPolicyResourcePackageResourceGooGetOutput) ElementType

func (OSPolicyResourcePackageResourceGooGetOutput) Name

Package name.

func (OSPolicyResourcePackageResourceGooGetOutput) ToOSPolicyResourcePackageResourceGooGetOutput

func (o OSPolicyResourcePackageResourceGooGetOutput) ToOSPolicyResourcePackageResourceGooGetOutput() OSPolicyResourcePackageResourceGooGetOutput

func (OSPolicyResourcePackageResourceGooGetOutput) ToOSPolicyResourcePackageResourceGooGetOutputWithContext

func (o OSPolicyResourcePackageResourceGooGetOutput) ToOSPolicyResourcePackageResourceGooGetOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceGooGetOutput

func (OSPolicyResourcePackageResourceGooGetOutput) ToOSPolicyResourcePackageResourceGooGetPtrOutput

func (o OSPolicyResourcePackageResourceGooGetOutput) ToOSPolicyResourcePackageResourceGooGetPtrOutput() OSPolicyResourcePackageResourceGooGetPtrOutput

func (OSPolicyResourcePackageResourceGooGetOutput) ToOSPolicyResourcePackageResourceGooGetPtrOutputWithContext

func (o OSPolicyResourcePackageResourceGooGetOutput) ToOSPolicyResourcePackageResourceGooGetPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceGooGetPtrOutput

type OSPolicyResourcePackageResourceGooGetPtrInput

type OSPolicyResourcePackageResourceGooGetPtrInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourceGooGetPtrOutput() OSPolicyResourcePackageResourceGooGetPtrOutput
	ToOSPolicyResourcePackageResourceGooGetPtrOutputWithContext(context.Context) OSPolicyResourcePackageResourceGooGetPtrOutput
}

OSPolicyResourcePackageResourceGooGetPtrInput is an input type that accepts OSPolicyResourcePackageResourceGooGetArgs, OSPolicyResourcePackageResourceGooGetPtr and OSPolicyResourcePackageResourceGooGetPtrOutput values. You can construct a concrete instance of `OSPolicyResourcePackageResourceGooGetPtrInput` via:

        OSPolicyResourcePackageResourceGooGetArgs{...}

or:

        nil

type OSPolicyResourcePackageResourceGooGetPtrOutput

type OSPolicyResourcePackageResourceGooGetPtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourcePackageResourceGooGetPtrOutput) Elem

func (OSPolicyResourcePackageResourceGooGetPtrOutput) ElementType

func (OSPolicyResourcePackageResourceGooGetPtrOutput) Name

Package name.

func (OSPolicyResourcePackageResourceGooGetPtrOutput) ToOSPolicyResourcePackageResourceGooGetPtrOutput

func (o OSPolicyResourcePackageResourceGooGetPtrOutput) ToOSPolicyResourcePackageResourceGooGetPtrOutput() OSPolicyResourcePackageResourceGooGetPtrOutput

func (OSPolicyResourcePackageResourceGooGetPtrOutput) ToOSPolicyResourcePackageResourceGooGetPtrOutputWithContext

func (o OSPolicyResourcePackageResourceGooGetPtrOutput) ToOSPolicyResourcePackageResourceGooGetPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceGooGetPtrOutput

type OSPolicyResourcePackageResourceGooGetResponse

type OSPolicyResourcePackageResourceGooGetResponse struct {
	// Package name.
	Name string `pulumi:"name"`
}

A package managed by GooGet. - install: `googet -noconfirm install package` - remove: `googet -noconfirm remove package`

type OSPolicyResourcePackageResourceGooGetResponseOutput

type OSPolicyResourcePackageResourceGooGetResponseOutput struct{ *pulumi.OutputState }

A package managed by GooGet. - install: `googet -noconfirm install package` - remove: `googet -noconfirm remove package`

func (OSPolicyResourcePackageResourceGooGetResponseOutput) ElementType

func (OSPolicyResourcePackageResourceGooGetResponseOutput) Name

Package name.

func (OSPolicyResourcePackageResourceGooGetResponseOutput) ToOSPolicyResourcePackageResourceGooGetResponseOutput

func (o OSPolicyResourcePackageResourceGooGetResponseOutput) ToOSPolicyResourcePackageResourceGooGetResponseOutput() OSPolicyResourcePackageResourceGooGetResponseOutput

func (OSPolicyResourcePackageResourceGooGetResponseOutput) ToOSPolicyResourcePackageResourceGooGetResponseOutputWithContext

func (o OSPolicyResourcePackageResourceGooGetResponseOutput) ToOSPolicyResourcePackageResourceGooGetResponseOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceGooGetResponseOutput

type OSPolicyResourcePackageResourceInput

type OSPolicyResourcePackageResourceInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourceOutput() OSPolicyResourcePackageResourceOutput
	ToOSPolicyResourcePackageResourceOutputWithContext(context.Context) OSPolicyResourcePackageResourceOutput
}

OSPolicyResourcePackageResourceInput is an input type that accepts OSPolicyResourcePackageResourceArgs and OSPolicyResourcePackageResourceOutput values. You can construct a concrete instance of `OSPolicyResourcePackageResourceInput` via:

OSPolicyResourcePackageResourceArgs{...}

type OSPolicyResourcePackageResourceMSI

type OSPolicyResourcePackageResourceMSI struct {
	// Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of `ACTION=INSTALL REBOOT=ReallySuppress`.
	Properties []string `pulumi:"properties"`
	// The MSI package.
	Source OSPolicyResourceFile `pulumi:"source"`
}

An MSI package. MSI packages only support INSTALLED state.

type OSPolicyResourcePackageResourceMSIArgs

type OSPolicyResourcePackageResourceMSIArgs struct {
	// Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of `ACTION=INSTALL REBOOT=ReallySuppress`.
	Properties pulumi.StringArrayInput `pulumi:"properties"`
	// The MSI package.
	Source OSPolicyResourceFileInput `pulumi:"source"`
}

An MSI package. MSI packages only support INSTALLED state.

func (OSPolicyResourcePackageResourceMSIArgs) ElementType

func (OSPolicyResourcePackageResourceMSIArgs) ToOSPolicyResourcePackageResourceMSIOutput

func (i OSPolicyResourcePackageResourceMSIArgs) ToOSPolicyResourcePackageResourceMSIOutput() OSPolicyResourcePackageResourceMSIOutput

func (OSPolicyResourcePackageResourceMSIArgs) ToOSPolicyResourcePackageResourceMSIOutputWithContext

func (i OSPolicyResourcePackageResourceMSIArgs) ToOSPolicyResourcePackageResourceMSIOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceMSIOutput

func (OSPolicyResourcePackageResourceMSIArgs) ToOSPolicyResourcePackageResourceMSIPtrOutput

func (i OSPolicyResourcePackageResourceMSIArgs) ToOSPolicyResourcePackageResourceMSIPtrOutput() OSPolicyResourcePackageResourceMSIPtrOutput

func (OSPolicyResourcePackageResourceMSIArgs) ToOSPolicyResourcePackageResourceMSIPtrOutputWithContext

func (i OSPolicyResourcePackageResourceMSIArgs) ToOSPolicyResourcePackageResourceMSIPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceMSIPtrOutput

type OSPolicyResourcePackageResourceMSIInput

type OSPolicyResourcePackageResourceMSIInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourceMSIOutput() OSPolicyResourcePackageResourceMSIOutput
	ToOSPolicyResourcePackageResourceMSIOutputWithContext(context.Context) OSPolicyResourcePackageResourceMSIOutput
}

OSPolicyResourcePackageResourceMSIInput is an input type that accepts OSPolicyResourcePackageResourceMSIArgs and OSPolicyResourcePackageResourceMSIOutput values. You can construct a concrete instance of `OSPolicyResourcePackageResourceMSIInput` via:

OSPolicyResourcePackageResourceMSIArgs{...}

type OSPolicyResourcePackageResourceMSIOutput

type OSPolicyResourcePackageResourceMSIOutput struct{ *pulumi.OutputState }

An MSI package. MSI packages only support INSTALLED state.

func (OSPolicyResourcePackageResourceMSIOutput) ElementType

func (OSPolicyResourcePackageResourceMSIOutput) Properties

Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of `ACTION=INSTALL REBOOT=ReallySuppress`.

func (OSPolicyResourcePackageResourceMSIOutput) Source

The MSI package.

func (OSPolicyResourcePackageResourceMSIOutput) ToOSPolicyResourcePackageResourceMSIOutput

func (o OSPolicyResourcePackageResourceMSIOutput) ToOSPolicyResourcePackageResourceMSIOutput() OSPolicyResourcePackageResourceMSIOutput

func (OSPolicyResourcePackageResourceMSIOutput) ToOSPolicyResourcePackageResourceMSIOutputWithContext

func (o OSPolicyResourcePackageResourceMSIOutput) ToOSPolicyResourcePackageResourceMSIOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceMSIOutput

func (OSPolicyResourcePackageResourceMSIOutput) ToOSPolicyResourcePackageResourceMSIPtrOutput

func (o OSPolicyResourcePackageResourceMSIOutput) ToOSPolicyResourcePackageResourceMSIPtrOutput() OSPolicyResourcePackageResourceMSIPtrOutput

func (OSPolicyResourcePackageResourceMSIOutput) ToOSPolicyResourcePackageResourceMSIPtrOutputWithContext

func (o OSPolicyResourcePackageResourceMSIOutput) ToOSPolicyResourcePackageResourceMSIPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceMSIPtrOutput

type OSPolicyResourcePackageResourceMSIPtrInput

type OSPolicyResourcePackageResourceMSIPtrInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourceMSIPtrOutput() OSPolicyResourcePackageResourceMSIPtrOutput
	ToOSPolicyResourcePackageResourceMSIPtrOutputWithContext(context.Context) OSPolicyResourcePackageResourceMSIPtrOutput
}

OSPolicyResourcePackageResourceMSIPtrInput is an input type that accepts OSPolicyResourcePackageResourceMSIArgs, OSPolicyResourcePackageResourceMSIPtr and OSPolicyResourcePackageResourceMSIPtrOutput values. You can construct a concrete instance of `OSPolicyResourcePackageResourceMSIPtrInput` via:

        OSPolicyResourcePackageResourceMSIArgs{...}

or:

        nil

type OSPolicyResourcePackageResourceMSIPtrOutput

type OSPolicyResourcePackageResourceMSIPtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourcePackageResourceMSIPtrOutput) Elem

func (OSPolicyResourcePackageResourceMSIPtrOutput) ElementType

func (OSPolicyResourcePackageResourceMSIPtrOutput) Properties

Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of `ACTION=INSTALL REBOOT=ReallySuppress`.

func (OSPolicyResourcePackageResourceMSIPtrOutput) Source

The MSI package.

func (OSPolicyResourcePackageResourceMSIPtrOutput) ToOSPolicyResourcePackageResourceMSIPtrOutput

func (o OSPolicyResourcePackageResourceMSIPtrOutput) ToOSPolicyResourcePackageResourceMSIPtrOutput() OSPolicyResourcePackageResourceMSIPtrOutput

func (OSPolicyResourcePackageResourceMSIPtrOutput) ToOSPolicyResourcePackageResourceMSIPtrOutputWithContext

func (o OSPolicyResourcePackageResourceMSIPtrOutput) ToOSPolicyResourcePackageResourceMSIPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceMSIPtrOutput

type OSPolicyResourcePackageResourceMSIResponse

type OSPolicyResourcePackageResourceMSIResponse struct {
	// Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of `ACTION=INSTALL REBOOT=ReallySuppress`.
	Properties []string `pulumi:"properties"`
	// The MSI package.
	Source OSPolicyResourceFileResponse `pulumi:"source"`
}

An MSI package. MSI packages only support INSTALLED state.

type OSPolicyResourcePackageResourceMSIResponseOutput

type OSPolicyResourcePackageResourceMSIResponseOutput struct{ *pulumi.OutputState }

An MSI package. MSI packages only support INSTALLED state.

func (OSPolicyResourcePackageResourceMSIResponseOutput) ElementType

func (OSPolicyResourcePackageResourceMSIResponseOutput) Properties

Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of `ACTION=INSTALL REBOOT=ReallySuppress`.

func (OSPolicyResourcePackageResourceMSIResponseOutput) Source

The MSI package.

func (OSPolicyResourcePackageResourceMSIResponseOutput) ToOSPolicyResourcePackageResourceMSIResponseOutput

func (o OSPolicyResourcePackageResourceMSIResponseOutput) ToOSPolicyResourcePackageResourceMSIResponseOutput() OSPolicyResourcePackageResourceMSIResponseOutput

func (OSPolicyResourcePackageResourceMSIResponseOutput) ToOSPolicyResourcePackageResourceMSIResponseOutputWithContext

func (o OSPolicyResourcePackageResourceMSIResponseOutput) ToOSPolicyResourcePackageResourceMSIResponseOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceMSIResponseOutput

type OSPolicyResourcePackageResourceOutput

type OSPolicyResourcePackageResourceOutput struct{ *pulumi.OutputState }

A resource that manages a system package.

func (OSPolicyResourcePackageResourceOutput) Apt

A package managed by Apt.

func (OSPolicyResourcePackageResourceOutput) Deb

A deb package file.

func (OSPolicyResourcePackageResourceOutput) DesiredState

The desired state the agent should maintain for this package.

func (OSPolicyResourcePackageResourceOutput) ElementType

func (OSPolicyResourcePackageResourceOutput) Googet

A package managed by GooGet.

func (OSPolicyResourcePackageResourceOutput) Msi

An MSI package.

func (OSPolicyResourcePackageResourceOutput) Rpm

An rpm package file.

func (OSPolicyResourcePackageResourceOutput) ToOSPolicyResourcePackageResourceOutput

func (o OSPolicyResourcePackageResourceOutput) ToOSPolicyResourcePackageResourceOutput() OSPolicyResourcePackageResourceOutput

func (OSPolicyResourcePackageResourceOutput) ToOSPolicyResourcePackageResourceOutputWithContext

func (o OSPolicyResourcePackageResourceOutput) ToOSPolicyResourcePackageResourceOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceOutput

func (OSPolicyResourcePackageResourceOutput) ToOSPolicyResourcePackageResourcePtrOutput

func (o OSPolicyResourcePackageResourceOutput) ToOSPolicyResourcePackageResourcePtrOutput() OSPolicyResourcePackageResourcePtrOutput

func (OSPolicyResourcePackageResourceOutput) ToOSPolicyResourcePackageResourcePtrOutputWithContext

func (o OSPolicyResourcePackageResourceOutput) ToOSPolicyResourcePackageResourcePtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourcePtrOutput

func (OSPolicyResourcePackageResourceOutput) Yum

A package managed by YUM.

func (OSPolicyResourcePackageResourceOutput) Zypper

A package managed by Zypper.

type OSPolicyResourcePackageResourcePtrInput

type OSPolicyResourcePackageResourcePtrInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourcePtrOutput() OSPolicyResourcePackageResourcePtrOutput
	ToOSPolicyResourcePackageResourcePtrOutputWithContext(context.Context) OSPolicyResourcePackageResourcePtrOutput
}

OSPolicyResourcePackageResourcePtrInput is an input type that accepts OSPolicyResourcePackageResourceArgs, OSPolicyResourcePackageResourcePtr and OSPolicyResourcePackageResourcePtrOutput values. You can construct a concrete instance of `OSPolicyResourcePackageResourcePtrInput` via:

        OSPolicyResourcePackageResourceArgs{...}

or:

        nil

type OSPolicyResourcePackageResourcePtrOutput

type OSPolicyResourcePackageResourcePtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourcePackageResourcePtrOutput) Apt

A package managed by Apt.

func (OSPolicyResourcePackageResourcePtrOutput) Deb

A deb package file.

func (OSPolicyResourcePackageResourcePtrOutput) DesiredState

The desired state the agent should maintain for this package.

func (OSPolicyResourcePackageResourcePtrOutput) Elem

func (OSPolicyResourcePackageResourcePtrOutput) ElementType

func (OSPolicyResourcePackageResourcePtrOutput) Googet

A package managed by GooGet.

func (OSPolicyResourcePackageResourcePtrOutput) Msi

An MSI package.

func (OSPolicyResourcePackageResourcePtrOutput) Rpm

An rpm package file.

func (OSPolicyResourcePackageResourcePtrOutput) ToOSPolicyResourcePackageResourcePtrOutput

func (o OSPolicyResourcePackageResourcePtrOutput) ToOSPolicyResourcePackageResourcePtrOutput() OSPolicyResourcePackageResourcePtrOutput

func (OSPolicyResourcePackageResourcePtrOutput) ToOSPolicyResourcePackageResourcePtrOutputWithContext

func (o OSPolicyResourcePackageResourcePtrOutput) ToOSPolicyResourcePackageResourcePtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourcePtrOutput

func (OSPolicyResourcePackageResourcePtrOutput) Yum

A package managed by YUM.

func (OSPolicyResourcePackageResourcePtrOutput) Zypper

A package managed by Zypper.

type OSPolicyResourcePackageResourceRPM

type OSPolicyResourcePackageResourceRPM struct {
	// Whether dependencies should also be installed. - install when false: `rpm --upgrade --replacepkgs package.rpm` - install when true: `yum -y install package.rpm` or `zypper -y install package.rpm`
	PullDeps *bool `pulumi:"pullDeps"`
	// An rpm package.
	Source OSPolicyResourceFile `pulumi:"source"`
}

An RPM package file. RPM packages only support INSTALLED state.

type OSPolicyResourcePackageResourceRPMArgs

type OSPolicyResourcePackageResourceRPMArgs struct {
	// Whether dependencies should also be installed. - install when false: `rpm --upgrade --replacepkgs package.rpm` - install when true: `yum -y install package.rpm` or `zypper -y install package.rpm`
	PullDeps pulumi.BoolPtrInput `pulumi:"pullDeps"`
	// An rpm package.
	Source OSPolicyResourceFileInput `pulumi:"source"`
}

An RPM package file. RPM packages only support INSTALLED state.

func (OSPolicyResourcePackageResourceRPMArgs) ElementType

func (OSPolicyResourcePackageResourceRPMArgs) ToOSPolicyResourcePackageResourceRPMOutput

func (i OSPolicyResourcePackageResourceRPMArgs) ToOSPolicyResourcePackageResourceRPMOutput() OSPolicyResourcePackageResourceRPMOutput

func (OSPolicyResourcePackageResourceRPMArgs) ToOSPolicyResourcePackageResourceRPMOutputWithContext

func (i OSPolicyResourcePackageResourceRPMArgs) ToOSPolicyResourcePackageResourceRPMOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceRPMOutput

func (OSPolicyResourcePackageResourceRPMArgs) ToOSPolicyResourcePackageResourceRPMPtrOutput

func (i OSPolicyResourcePackageResourceRPMArgs) ToOSPolicyResourcePackageResourceRPMPtrOutput() OSPolicyResourcePackageResourceRPMPtrOutput

func (OSPolicyResourcePackageResourceRPMArgs) ToOSPolicyResourcePackageResourceRPMPtrOutputWithContext

func (i OSPolicyResourcePackageResourceRPMArgs) ToOSPolicyResourcePackageResourceRPMPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceRPMPtrOutput

type OSPolicyResourcePackageResourceRPMInput

type OSPolicyResourcePackageResourceRPMInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourceRPMOutput() OSPolicyResourcePackageResourceRPMOutput
	ToOSPolicyResourcePackageResourceRPMOutputWithContext(context.Context) OSPolicyResourcePackageResourceRPMOutput
}

OSPolicyResourcePackageResourceRPMInput is an input type that accepts OSPolicyResourcePackageResourceRPMArgs and OSPolicyResourcePackageResourceRPMOutput values. You can construct a concrete instance of `OSPolicyResourcePackageResourceRPMInput` via:

OSPolicyResourcePackageResourceRPMArgs{...}

type OSPolicyResourcePackageResourceRPMOutput

type OSPolicyResourcePackageResourceRPMOutput struct{ *pulumi.OutputState }

An RPM package file. RPM packages only support INSTALLED state.

func (OSPolicyResourcePackageResourceRPMOutput) ElementType

func (OSPolicyResourcePackageResourceRPMOutput) PullDeps

Whether dependencies should also be installed. - install when false: `rpm --upgrade --replacepkgs package.rpm` - install when true: `yum -y install package.rpm` or `zypper -y install package.rpm`

func (OSPolicyResourcePackageResourceRPMOutput) Source

An rpm package.

func (OSPolicyResourcePackageResourceRPMOutput) ToOSPolicyResourcePackageResourceRPMOutput

func (o OSPolicyResourcePackageResourceRPMOutput) ToOSPolicyResourcePackageResourceRPMOutput() OSPolicyResourcePackageResourceRPMOutput

func (OSPolicyResourcePackageResourceRPMOutput) ToOSPolicyResourcePackageResourceRPMOutputWithContext

func (o OSPolicyResourcePackageResourceRPMOutput) ToOSPolicyResourcePackageResourceRPMOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceRPMOutput

func (OSPolicyResourcePackageResourceRPMOutput) ToOSPolicyResourcePackageResourceRPMPtrOutput

func (o OSPolicyResourcePackageResourceRPMOutput) ToOSPolicyResourcePackageResourceRPMPtrOutput() OSPolicyResourcePackageResourceRPMPtrOutput

func (OSPolicyResourcePackageResourceRPMOutput) ToOSPolicyResourcePackageResourceRPMPtrOutputWithContext

func (o OSPolicyResourcePackageResourceRPMOutput) ToOSPolicyResourcePackageResourceRPMPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceRPMPtrOutput

type OSPolicyResourcePackageResourceRPMPtrInput

type OSPolicyResourcePackageResourceRPMPtrInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourceRPMPtrOutput() OSPolicyResourcePackageResourceRPMPtrOutput
	ToOSPolicyResourcePackageResourceRPMPtrOutputWithContext(context.Context) OSPolicyResourcePackageResourceRPMPtrOutput
}

OSPolicyResourcePackageResourceRPMPtrInput is an input type that accepts OSPolicyResourcePackageResourceRPMArgs, OSPolicyResourcePackageResourceRPMPtr and OSPolicyResourcePackageResourceRPMPtrOutput values. You can construct a concrete instance of `OSPolicyResourcePackageResourceRPMPtrInput` via:

        OSPolicyResourcePackageResourceRPMArgs{...}

or:

        nil

type OSPolicyResourcePackageResourceRPMPtrOutput

type OSPolicyResourcePackageResourceRPMPtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourcePackageResourceRPMPtrOutput) Elem

func (OSPolicyResourcePackageResourceRPMPtrOutput) ElementType

func (OSPolicyResourcePackageResourceRPMPtrOutput) PullDeps

Whether dependencies should also be installed. - install when false: `rpm --upgrade --replacepkgs package.rpm` - install when true: `yum -y install package.rpm` or `zypper -y install package.rpm`

func (OSPolicyResourcePackageResourceRPMPtrOutput) Source

An rpm package.

func (OSPolicyResourcePackageResourceRPMPtrOutput) ToOSPolicyResourcePackageResourceRPMPtrOutput

func (o OSPolicyResourcePackageResourceRPMPtrOutput) ToOSPolicyResourcePackageResourceRPMPtrOutput() OSPolicyResourcePackageResourceRPMPtrOutput

func (OSPolicyResourcePackageResourceRPMPtrOutput) ToOSPolicyResourcePackageResourceRPMPtrOutputWithContext

func (o OSPolicyResourcePackageResourceRPMPtrOutput) ToOSPolicyResourcePackageResourceRPMPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceRPMPtrOutput

type OSPolicyResourcePackageResourceRPMResponse

type OSPolicyResourcePackageResourceRPMResponse struct {
	// Whether dependencies should also be installed. - install when false: `rpm --upgrade --replacepkgs package.rpm` - install when true: `yum -y install package.rpm` or `zypper -y install package.rpm`
	PullDeps bool `pulumi:"pullDeps"`
	// An rpm package.
	Source OSPolicyResourceFileResponse `pulumi:"source"`
}

An RPM package file. RPM packages only support INSTALLED state.

type OSPolicyResourcePackageResourceRPMResponseOutput

type OSPolicyResourcePackageResourceRPMResponseOutput struct{ *pulumi.OutputState }

An RPM package file. RPM packages only support INSTALLED state.

func (OSPolicyResourcePackageResourceRPMResponseOutput) ElementType

func (OSPolicyResourcePackageResourceRPMResponseOutput) PullDeps

Whether dependencies should also be installed. - install when false: `rpm --upgrade --replacepkgs package.rpm` - install when true: `yum -y install package.rpm` or `zypper -y install package.rpm`

func (OSPolicyResourcePackageResourceRPMResponseOutput) Source

An rpm package.

func (OSPolicyResourcePackageResourceRPMResponseOutput) ToOSPolicyResourcePackageResourceRPMResponseOutput

func (o OSPolicyResourcePackageResourceRPMResponseOutput) ToOSPolicyResourcePackageResourceRPMResponseOutput() OSPolicyResourcePackageResourceRPMResponseOutput

func (OSPolicyResourcePackageResourceRPMResponseOutput) ToOSPolicyResourcePackageResourceRPMResponseOutputWithContext

func (o OSPolicyResourcePackageResourceRPMResponseOutput) ToOSPolicyResourcePackageResourceRPMResponseOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceRPMResponseOutput

type OSPolicyResourcePackageResourceResponse

type OSPolicyResourcePackageResourceResponse struct {
	// A package managed by Apt.
	Apt OSPolicyResourcePackageResourceAPTResponse `pulumi:"apt"`
	// A deb package file.
	Deb OSPolicyResourcePackageResourceDebResponse `pulumi:"deb"`
	// The desired state the agent should maintain for this package.
	DesiredState string `pulumi:"desiredState"`
	// A package managed by GooGet.
	Googet OSPolicyResourcePackageResourceGooGetResponse `pulumi:"googet"`
	// An MSI package.
	Msi OSPolicyResourcePackageResourceMSIResponse `pulumi:"msi"`
	// An rpm package file.
	Rpm OSPolicyResourcePackageResourceRPMResponse `pulumi:"rpm"`
	// A package managed by YUM.
	Yum OSPolicyResourcePackageResourceYUMResponse `pulumi:"yum"`
	// A package managed by Zypper.
	Zypper OSPolicyResourcePackageResourceZypperResponse `pulumi:"zypper"`
}

A resource that manages a system package.

type OSPolicyResourcePackageResourceResponseOutput

type OSPolicyResourcePackageResourceResponseOutput struct{ *pulumi.OutputState }

A resource that manages a system package.

func (OSPolicyResourcePackageResourceResponseOutput) Apt

A package managed by Apt.

func (OSPolicyResourcePackageResourceResponseOutput) Deb

A deb package file.

func (OSPolicyResourcePackageResourceResponseOutput) DesiredState

The desired state the agent should maintain for this package.

func (OSPolicyResourcePackageResourceResponseOutput) ElementType

func (OSPolicyResourcePackageResourceResponseOutput) Googet

A package managed by GooGet.

func (OSPolicyResourcePackageResourceResponseOutput) Msi

An MSI package.

func (OSPolicyResourcePackageResourceResponseOutput) Rpm

An rpm package file.

func (OSPolicyResourcePackageResourceResponseOutput) ToOSPolicyResourcePackageResourceResponseOutput

func (o OSPolicyResourcePackageResourceResponseOutput) ToOSPolicyResourcePackageResourceResponseOutput() OSPolicyResourcePackageResourceResponseOutput

func (OSPolicyResourcePackageResourceResponseOutput) ToOSPolicyResourcePackageResourceResponseOutputWithContext

func (o OSPolicyResourcePackageResourceResponseOutput) ToOSPolicyResourcePackageResourceResponseOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceResponseOutput

func (OSPolicyResourcePackageResourceResponseOutput) Yum

A package managed by YUM.

func (OSPolicyResourcePackageResourceResponseOutput) Zypper

A package managed by Zypper.

type OSPolicyResourcePackageResourceYUM

type OSPolicyResourcePackageResourceYUM struct {
	// Package name.
	Name string `pulumi:"name"`
}

A package managed by YUM. - install: `yum -y install package` - remove: `yum -y remove package`

type OSPolicyResourcePackageResourceYUMArgs

type OSPolicyResourcePackageResourceYUMArgs struct {
	// Package name.
	Name pulumi.StringInput `pulumi:"name"`
}

A package managed by YUM. - install: `yum -y install package` - remove: `yum -y remove package`

func (OSPolicyResourcePackageResourceYUMArgs) ElementType

func (OSPolicyResourcePackageResourceYUMArgs) ToOSPolicyResourcePackageResourceYUMOutput

func (i OSPolicyResourcePackageResourceYUMArgs) ToOSPolicyResourcePackageResourceYUMOutput() OSPolicyResourcePackageResourceYUMOutput

func (OSPolicyResourcePackageResourceYUMArgs) ToOSPolicyResourcePackageResourceYUMOutputWithContext

func (i OSPolicyResourcePackageResourceYUMArgs) ToOSPolicyResourcePackageResourceYUMOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceYUMOutput

func (OSPolicyResourcePackageResourceYUMArgs) ToOSPolicyResourcePackageResourceYUMPtrOutput

func (i OSPolicyResourcePackageResourceYUMArgs) ToOSPolicyResourcePackageResourceYUMPtrOutput() OSPolicyResourcePackageResourceYUMPtrOutput

func (OSPolicyResourcePackageResourceYUMArgs) ToOSPolicyResourcePackageResourceYUMPtrOutputWithContext

func (i OSPolicyResourcePackageResourceYUMArgs) ToOSPolicyResourcePackageResourceYUMPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceYUMPtrOutput

type OSPolicyResourcePackageResourceYUMInput

type OSPolicyResourcePackageResourceYUMInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourceYUMOutput() OSPolicyResourcePackageResourceYUMOutput
	ToOSPolicyResourcePackageResourceYUMOutputWithContext(context.Context) OSPolicyResourcePackageResourceYUMOutput
}

OSPolicyResourcePackageResourceYUMInput is an input type that accepts OSPolicyResourcePackageResourceYUMArgs and OSPolicyResourcePackageResourceYUMOutput values. You can construct a concrete instance of `OSPolicyResourcePackageResourceYUMInput` via:

OSPolicyResourcePackageResourceYUMArgs{...}

type OSPolicyResourcePackageResourceYUMOutput

type OSPolicyResourcePackageResourceYUMOutput struct{ *pulumi.OutputState }

A package managed by YUM. - install: `yum -y install package` - remove: `yum -y remove package`

func (OSPolicyResourcePackageResourceYUMOutput) ElementType

func (OSPolicyResourcePackageResourceYUMOutput) Name

Package name.

func (OSPolicyResourcePackageResourceYUMOutput) ToOSPolicyResourcePackageResourceYUMOutput

func (o OSPolicyResourcePackageResourceYUMOutput) ToOSPolicyResourcePackageResourceYUMOutput() OSPolicyResourcePackageResourceYUMOutput

func (OSPolicyResourcePackageResourceYUMOutput) ToOSPolicyResourcePackageResourceYUMOutputWithContext

func (o OSPolicyResourcePackageResourceYUMOutput) ToOSPolicyResourcePackageResourceYUMOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceYUMOutput

func (OSPolicyResourcePackageResourceYUMOutput) ToOSPolicyResourcePackageResourceYUMPtrOutput

func (o OSPolicyResourcePackageResourceYUMOutput) ToOSPolicyResourcePackageResourceYUMPtrOutput() OSPolicyResourcePackageResourceYUMPtrOutput

func (OSPolicyResourcePackageResourceYUMOutput) ToOSPolicyResourcePackageResourceYUMPtrOutputWithContext

func (o OSPolicyResourcePackageResourceYUMOutput) ToOSPolicyResourcePackageResourceYUMPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceYUMPtrOutput

type OSPolicyResourcePackageResourceYUMPtrInput

type OSPolicyResourcePackageResourceYUMPtrInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourceYUMPtrOutput() OSPolicyResourcePackageResourceYUMPtrOutput
	ToOSPolicyResourcePackageResourceYUMPtrOutputWithContext(context.Context) OSPolicyResourcePackageResourceYUMPtrOutput
}

OSPolicyResourcePackageResourceYUMPtrInput is an input type that accepts OSPolicyResourcePackageResourceYUMArgs, OSPolicyResourcePackageResourceYUMPtr and OSPolicyResourcePackageResourceYUMPtrOutput values. You can construct a concrete instance of `OSPolicyResourcePackageResourceYUMPtrInput` via:

        OSPolicyResourcePackageResourceYUMArgs{...}

or:

        nil

type OSPolicyResourcePackageResourceYUMPtrOutput

type OSPolicyResourcePackageResourceYUMPtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourcePackageResourceYUMPtrOutput) Elem

func (OSPolicyResourcePackageResourceYUMPtrOutput) ElementType

func (OSPolicyResourcePackageResourceYUMPtrOutput) Name

Package name.

func (OSPolicyResourcePackageResourceYUMPtrOutput) ToOSPolicyResourcePackageResourceYUMPtrOutput

func (o OSPolicyResourcePackageResourceYUMPtrOutput) ToOSPolicyResourcePackageResourceYUMPtrOutput() OSPolicyResourcePackageResourceYUMPtrOutput

func (OSPolicyResourcePackageResourceYUMPtrOutput) ToOSPolicyResourcePackageResourceYUMPtrOutputWithContext

func (o OSPolicyResourcePackageResourceYUMPtrOutput) ToOSPolicyResourcePackageResourceYUMPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceYUMPtrOutput

type OSPolicyResourcePackageResourceYUMResponse

type OSPolicyResourcePackageResourceYUMResponse struct {
	// Package name.
	Name string `pulumi:"name"`
}

A package managed by YUM. - install: `yum -y install package` - remove: `yum -y remove package`

type OSPolicyResourcePackageResourceYUMResponseOutput

type OSPolicyResourcePackageResourceYUMResponseOutput struct{ *pulumi.OutputState }

A package managed by YUM. - install: `yum -y install package` - remove: `yum -y remove package`

func (OSPolicyResourcePackageResourceYUMResponseOutput) ElementType

func (OSPolicyResourcePackageResourceYUMResponseOutput) Name

Package name.

func (OSPolicyResourcePackageResourceYUMResponseOutput) ToOSPolicyResourcePackageResourceYUMResponseOutput

func (o OSPolicyResourcePackageResourceYUMResponseOutput) ToOSPolicyResourcePackageResourceYUMResponseOutput() OSPolicyResourcePackageResourceYUMResponseOutput

func (OSPolicyResourcePackageResourceYUMResponseOutput) ToOSPolicyResourcePackageResourceYUMResponseOutputWithContext

func (o OSPolicyResourcePackageResourceYUMResponseOutput) ToOSPolicyResourcePackageResourceYUMResponseOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceYUMResponseOutput

type OSPolicyResourcePackageResourceZypper

type OSPolicyResourcePackageResourceZypper struct {
	// Package name.
	Name string `pulumi:"name"`
}

A package managed by Zypper. - install: `zypper -y install package` - remove: `zypper -y rm package`

type OSPolicyResourcePackageResourceZypperArgs

type OSPolicyResourcePackageResourceZypperArgs struct {
	// Package name.
	Name pulumi.StringInput `pulumi:"name"`
}

A package managed by Zypper. - install: `zypper -y install package` - remove: `zypper -y rm package`

func (OSPolicyResourcePackageResourceZypperArgs) ElementType

func (OSPolicyResourcePackageResourceZypperArgs) ToOSPolicyResourcePackageResourceZypperOutput

func (i OSPolicyResourcePackageResourceZypperArgs) ToOSPolicyResourcePackageResourceZypperOutput() OSPolicyResourcePackageResourceZypperOutput

func (OSPolicyResourcePackageResourceZypperArgs) ToOSPolicyResourcePackageResourceZypperOutputWithContext

func (i OSPolicyResourcePackageResourceZypperArgs) ToOSPolicyResourcePackageResourceZypperOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceZypperOutput

func (OSPolicyResourcePackageResourceZypperArgs) ToOSPolicyResourcePackageResourceZypperPtrOutput

func (i OSPolicyResourcePackageResourceZypperArgs) ToOSPolicyResourcePackageResourceZypperPtrOutput() OSPolicyResourcePackageResourceZypperPtrOutput

func (OSPolicyResourcePackageResourceZypperArgs) ToOSPolicyResourcePackageResourceZypperPtrOutputWithContext

func (i OSPolicyResourcePackageResourceZypperArgs) ToOSPolicyResourcePackageResourceZypperPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceZypperPtrOutput

type OSPolicyResourcePackageResourceZypperInput

type OSPolicyResourcePackageResourceZypperInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourceZypperOutput() OSPolicyResourcePackageResourceZypperOutput
	ToOSPolicyResourcePackageResourceZypperOutputWithContext(context.Context) OSPolicyResourcePackageResourceZypperOutput
}

OSPolicyResourcePackageResourceZypperInput is an input type that accepts OSPolicyResourcePackageResourceZypperArgs and OSPolicyResourcePackageResourceZypperOutput values. You can construct a concrete instance of `OSPolicyResourcePackageResourceZypperInput` via:

OSPolicyResourcePackageResourceZypperArgs{...}

type OSPolicyResourcePackageResourceZypperOutput

type OSPolicyResourcePackageResourceZypperOutput struct{ *pulumi.OutputState }

A package managed by Zypper. - install: `zypper -y install package` - remove: `zypper -y rm package`

func (OSPolicyResourcePackageResourceZypperOutput) ElementType

func (OSPolicyResourcePackageResourceZypperOutput) Name

Package name.

func (OSPolicyResourcePackageResourceZypperOutput) ToOSPolicyResourcePackageResourceZypperOutput

func (o OSPolicyResourcePackageResourceZypperOutput) ToOSPolicyResourcePackageResourceZypperOutput() OSPolicyResourcePackageResourceZypperOutput

func (OSPolicyResourcePackageResourceZypperOutput) ToOSPolicyResourcePackageResourceZypperOutputWithContext

func (o OSPolicyResourcePackageResourceZypperOutput) ToOSPolicyResourcePackageResourceZypperOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceZypperOutput

func (OSPolicyResourcePackageResourceZypperOutput) ToOSPolicyResourcePackageResourceZypperPtrOutput

func (o OSPolicyResourcePackageResourceZypperOutput) ToOSPolicyResourcePackageResourceZypperPtrOutput() OSPolicyResourcePackageResourceZypperPtrOutput

func (OSPolicyResourcePackageResourceZypperOutput) ToOSPolicyResourcePackageResourceZypperPtrOutputWithContext

func (o OSPolicyResourcePackageResourceZypperOutput) ToOSPolicyResourcePackageResourceZypperPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceZypperPtrOutput

type OSPolicyResourcePackageResourceZypperPtrInput

type OSPolicyResourcePackageResourceZypperPtrInput interface {
	pulumi.Input

	ToOSPolicyResourcePackageResourceZypperPtrOutput() OSPolicyResourcePackageResourceZypperPtrOutput
	ToOSPolicyResourcePackageResourceZypperPtrOutputWithContext(context.Context) OSPolicyResourcePackageResourceZypperPtrOutput
}

OSPolicyResourcePackageResourceZypperPtrInput is an input type that accepts OSPolicyResourcePackageResourceZypperArgs, OSPolicyResourcePackageResourceZypperPtr and OSPolicyResourcePackageResourceZypperPtrOutput values. You can construct a concrete instance of `OSPolicyResourcePackageResourceZypperPtrInput` via:

        OSPolicyResourcePackageResourceZypperArgs{...}

or:

        nil

type OSPolicyResourcePackageResourceZypperPtrOutput

type OSPolicyResourcePackageResourceZypperPtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourcePackageResourceZypperPtrOutput) Elem

func (OSPolicyResourcePackageResourceZypperPtrOutput) ElementType

func (OSPolicyResourcePackageResourceZypperPtrOutput) Name

Package name.

func (OSPolicyResourcePackageResourceZypperPtrOutput) ToOSPolicyResourcePackageResourceZypperPtrOutput

func (o OSPolicyResourcePackageResourceZypperPtrOutput) ToOSPolicyResourcePackageResourceZypperPtrOutput() OSPolicyResourcePackageResourceZypperPtrOutput

func (OSPolicyResourcePackageResourceZypperPtrOutput) ToOSPolicyResourcePackageResourceZypperPtrOutputWithContext

func (o OSPolicyResourcePackageResourceZypperPtrOutput) ToOSPolicyResourcePackageResourceZypperPtrOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceZypperPtrOutput

type OSPolicyResourcePackageResourceZypperResponse

type OSPolicyResourcePackageResourceZypperResponse struct {
	// Package name.
	Name string `pulumi:"name"`
}

A package managed by Zypper. - install: `zypper -y install package` - remove: `zypper -y rm package`

type OSPolicyResourcePackageResourceZypperResponseOutput

type OSPolicyResourcePackageResourceZypperResponseOutput struct{ *pulumi.OutputState }

A package managed by Zypper. - install: `zypper -y install package` - remove: `zypper -y rm package`

func (OSPolicyResourcePackageResourceZypperResponseOutput) ElementType

func (OSPolicyResourcePackageResourceZypperResponseOutput) Name

Package name.

func (OSPolicyResourcePackageResourceZypperResponseOutput) ToOSPolicyResourcePackageResourceZypperResponseOutput

func (o OSPolicyResourcePackageResourceZypperResponseOutput) ToOSPolicyResourcePackageResourceZypperResponseOutput() OSPolicyResourcePackageResourceZypperResponseOutput

func (OSPolicyResourcePackageResourceZypperResponseOutput) ToOSPolicyResourcePackageResourceZypperResponseOutputWithContext

func (o OSPolicyResourcePackageResourceZypperResponseOutput) ToOSPolicyResourcePackageResourceZypperResponseOutputWithContext(ctx context.Context) OSPolicyResourcePackageResourceZypperResponseOutput

type OSPolicyResourceRepositoryResource

type OSPolicyResourceRepositoryResource struct {
	// An Apt Repository.
	Apt *OSPolicyResourceRepositoryResourceAptRepository `pulumi:"apt"`
	// A Goo Repository.
	Goo *OSPolicyResourceRepositoryResourceGooRepository `pulumi:"goo"`
	// A Yum Repository.
	Yum *OSPolicyResourceRepositoryResourceYumRepository `pulumi:"yum"`
	// A Zypper Repository.
	Zypper *OSPolicyResourceRepositoryResourceZypperRepository `pulumi:"zypper"`
}

A resource that manages a package repository.

type OSPolicyResourceRepositoryResourceAptRepository

type OSPolicyResourceRepositoryResourceAptRepository struct {
	// Type of archive files in this repository.
	ArchiveType OSPolicyResourceRepositoryResourceAptRepositoryArchiveType `pulumi:"archiveType"`
	// List of components for this repository. Must contain at least one item.
	Components []string `pulumi:"components"`
	// Distribution of this repository.
	Distribution string `pulumi:"distribution"`
	// URI of the key file for this repository. The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
	GpgKey *string `pulumi:"gpgKey"`
	// URI for this repository.
	Uri string `pulumi:"uri"`
}

Represents a single apt package repository. These will be added to a repo file that will be managed at `/etc/apt/sources.list.d/google_osconfig.list`.

type OSPolicyResourceRepositoryResourceAptRepositoryArchiveType

type OSPolicyResourceRepositoryResourceAptRepositoryArchiveType string

Required. Type of archive files in this repository.

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveType) ElementType

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveType) ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput added in v0.6.0

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveType) ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutputWithContext added in v0.6.0

func (e OSPolicyResourceRepositoryResourceAptRepositoryArchiveType) ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveType) ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput added in v0.6.0

func (e OSPolicyResourceRepositoryResourceAptRepositoryArchiveType) ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput() OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveType) ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutputWithContext added in v0.6.0

func (e OSPolicyResourceRepositoryResourceAptRepositoryArchiveType) ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveType) ToStringOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveType) ToStringOutputWithContext

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveType) ToStringPtrOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveType) ToStringPtrOutputWithContext

type OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeInput added in v0.6.0

type OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeInput interface {
	pulumi.Input

	ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput() OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput
	ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutputWithContext(context.Context) OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput
}

OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeInput is an input type that accepts OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeArgs and OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput values. You can construct a concrete instance of `OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeInput` via:

OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeArgs{...}

type OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput added in v0.6.0

type OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput) ElementType added in v0.6.0

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput added in v0.6.0

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutputWithContext added in v0.6.0

func (o OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput added in v0.6.0

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutputWithContext added in v0.6.0

func (o OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput) ToStringOutput added in v0.6.0

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput) ToStringOutputWithContext added in v0.6.0

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput) ToStringPtrOutput added in v0.6.0

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput) ToStringPtrOutputWithContext added in v0.6.0

type OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrInput added in v0.6.0

type OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrInput interface {
	pulumi.Input

	ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput() OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput
	ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutputWithContext(context.Context) OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput
}

func OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtr added in v0.6.0

func OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtr(v string) OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrInput

type OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput added in v0.6.0

type OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput) Elem added in v0.6.0

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput) ElementType added in v0.6.0

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput added in v0.6.0

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutputWithContext added in v0.6.0

func (o OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput) ToStringPtrOutput added in v0.6.0

func (OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput) ToStringPtrOutputWithContext added in v0.6.0

type OSPolicyResourceRepositoryResourceAptRepositoryArgs

type OSPolicyResourceRepositoryResourceAptRepositoryArgs struct {
	// Type of archive files in this repository.
	ArchiveType OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeInput `pulumi:"archiveType"`
	// List of components for this repository. Must contain at least one item.
	Components pulumi.StringArrayInput `pulumi:"components"`
	// Distribution of this repository.
	Distribution pulumi.StringInput `pulumi:"distribution"`
	// URI of the key file for this repository. The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
	GpgKey pulumi.StringPtrInput `pulumi:"gpgKey"`
	// URI for this repository.
	Uri pulumi.StringInput `pulumi:"uri"`
}

Represents a single apt package repository. These will be added to a repo file that will be managed at `/etc/apt/sources.list.d/google_osconfig.list`.

func (OSPolicyResourceRepositoryResourceAptRepositoryArgs) ElementType

func (OSPolicyResourceRepositoryResourceAptRepositoryArgs) ToOSPolicyResourceRepositoryResourceAptRepositoryOutput

func (i OSPolicyResourceRepositoryResourceAptRepositoryArgs) ToOSPolicyResourceRepositoryResourceAptRepositoryOutput() OSPolicyResourceRepositoryResourceAptRepositoryOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryArgs) ToOSPolicyResourceRepositoryResourceAptRepositoryOutputWithContext

func (i OSPolicyResourceRepositoryResourceAptRepositoryArgs) ToOSPolicyResourceRepositoryResourceAptRepositoryOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceAptRepositoryOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryArgs) ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutput

func (i OSPolicyResourceRepositoryResourceAptRepositoryArgs) ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutput() OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryArgs) ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutputWithContext

func (i OSPolicyResourceRepositoryResourceAptRepositoryArgs) ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput

type OSPolicyResourceRepositoryResourceAptRepositoryInput

type OSPolicyResourceRepositoryResourceAptRepositoryInput interface {
	pulumi.Input

	ToOSPolicyResourceRepositoryResourceAptRepositoryOutput() OSPolicyResourceRepositoryResourceAptRepositoryOutput
	ToOSPolicyResourceRepositoryResourceAptRepositoryOutputWithContext(context.Context) OSPolicyResourceRepositoryResourceAptRepositoryOutput
}

OSPolicyResourceRepositoryResourceAptRepositoryInput is an input type that accepts OSPolicyResourceRepositoryResourceAptRepositoryArgs and OSPolicyResourceRepositoryResourceAptRepositoryOutput values. You can construct a concrete instance of `OSPolicyResourceRepositoryResourceAptRepositoryInput` via:

OSPolicyResourceRepositoryResourceAptRepositoryArgs{...}

type OSPolicyResourceRepositoryResourceAptRepositoryOutput

type OSPolicyResourceRepositoryResourceAptRepositoryOutput struct{ *pulumi.OutputState }

Represents a single apt package repository. These will be added to a repo file that will be managed at `/etc/apt/sources.list.d/google_osconfig.list`.

func (OSPolicyResourceRepositoryResourceAptRepositoryOutput) ArchiveType

Type of archive files in this repository.

func (OSPolicyResourceRepositoryResourceAptRepositoryOutput) Components

List of components for this repository. Must contain at least one item.

func (OSPolicyResourceRepositoryResourceAptRepositoryOutput) Distribution

Distribution of this repository.

func (OSPolicyResourceRepositoryResourceAptRepositoryOutput) ElementType

func (OSPolicyResourceRepositoryResourceAptRepositoryOutput) GpgKey

URI of the key file for this repository. The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.

func (OSPolicyResourceRepositoryResourceAptRepositoryOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryOutputWithContext

func (o OSPolicyResourceRepositoryResourceAptRepositoryOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceAptRepositoryOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutput

func (o OSPolicyResourceRepositoryResourceAptRepositoryOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutput() OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutputWithContext

func (o OSPolicyResourceRepositoryResourceAptRepositoryOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryOutput) Uri

URI for this repository.

type OSPolicyResourceRepositoryResourceAptRepositoryPtrInput

type OSPolicyResourceRepositoryResourceAptRepositoryPtrInput interface {
	pulumi.Input

	ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutput() OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput
	ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutputWithContext(context.Context) OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput
}

OSPolicyResourceRepositoryResourceAptRepositoryPtrInput is an input type that accepts OSPolicyResourceRepositoryResourceAptRepositoryArgs, OSPolicyResourceRepositoryResourceAptRepositoryPtr and OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput values. You can construct a concrete instance of `OSPolicyResourceRepositoryResourceAptRepositoryPtrInput` via:

        OSPolicyResourceRepositoryResourceAptRepositoryArgs{...}

or:

        nil

type OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput

type OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) ArchiveType

Type of archive files in this repository.

func (OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) Components

List of components for this repository. Must contain at least one item.

func (OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) Distribution

Distribution of this repository.

func (OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) Elem

func (OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) ElementType

func (OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) GpgKey

URI of the key file for this repository. The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.

func (OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutputWithContext

func (o OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) Uri

URI for this repository.

type OSPolicyResourceRepositoryResourceAptRepositoryResponse

type OSPolicyResourceRepositoryResourceAptRepositoryResponse struct {
	// Type of archive files in this repository.
	ArchiveType string `pulumi:"archiveType"`
	// List of components for this repository. Must contain at least one item.
	Components []string `pulumi:"components"`
	// Distribution of this repository.
	Distribution string `pulumi:"distribution"`
	// URI of the key file for this repository. The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
	GpgKey string `pulumi:"gpgKey"`
	// URI for this repository.
	Uri string `pulumi:"uri"`
}

Represents a single apt package repository. These will be added to a repo file that will be managed at `/etc/apt/sources.list.d/google_osconfig.list`.

type OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput

type OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput struct{ *pulumi.OutputState }

Represents a single apt package repository. These will be added to a repo file that will be managed at `/etc/apt/sources.list.d/google_osconfig.list`.

func (OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput) ArchiveType

Type of archive files in this repository.

func (OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput) Components

List of components for this repository. Must contain at least one item.

func (OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput) Distribution

Distribution of this repository.

func (OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput) ElementType

func (OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput) GpgKey

URI of the key file for this repository. The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.

func (OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryResponseOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryResponseOutputWithContext

func (o OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput) ToOSPolicyResourceRepositoryResourceAptRepositoryResponseOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput

func (OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput) Uri

URI for this repository.

type OSPolicyResourceRepositoryResourceArgs

type OSPolicyResourceRepositoryResourceArgs struct {
	// An Apt Repository.
	Apt OSPolicyResourceRepositoryResourceAptRepositoryPtrInput `pulumi:"apt"`
	// A Goo Repository.
	Goo OSPolicyResourceRepositoryResourceGooRepositoryPtrInput `pulumi:"goo"`
	// A Yum Repository.
	Yum OSPolicyResourceRepositoryResourceYumRepositoryPtrInput `pulumi:"yum"`
	// A Zypper Repository.
	Zypper OSPolicyResourceRepositoryResourceZypperRepositoryPtrInput `pulumi:"zypper"`
}

A resource that manages a package repository.

func (OSPolicyResourceRepositoryResourceArgs) ElementType

func (OSPolicyResourceRepositoryResourceArgs) ToOSPolicyResourceRepositoryResourceOutput

func (i OSPolicyResourceRepositoryResourceArgs) ToOSPolicyResourceRepositoryResourceOutput() OSPolicyResourceRepositoryResourceOutput

func (OSPolicyResourceRepositoryResourceArgs) ToOSPolicyResourceRepositoryResourceOutputWithContext

func (i OSPolicyResourceRepositoryResourceArgs) ToOSPolicyResourceRepositoryResourceOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceOutput

func (OSPolicyResourceRepositoryResourceArgs) ToOSPolicyResourceRepositoryResourcePtrOutput

func (i OSPolicyResourceRepositoryResourceArgs) ToOSPolicyResourceRepositoryResourcePtrOutput() OSPolicyResourceRepositoryResourcePtrOutput

func (OSPolicyResourceRepositoryResourceArgs) ToOSPolicyResourceRepositoryResourcePtrOutputWithContext

func (i OSPolicyResourceRepositoryResourceArgs) ToOSPolicyResourceRepositoryResourcePtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourcePtrOutput

type OSPolicyResourceRepositoryResourceGooRepository

type OSPolicyResourceRepositoryResourceGooRepository struct {
	// The name of the repository.
	Name string `pulumi:"name"`
	// The url of the repository.
	Url string `pulumi:"url"`
}

Represents a Goo package repository. These are added to a repo file that is managed at `C:/ProgramData/GooGet/repos/google_osconfig.repo`.

type OSPolicyResourceRepositoryResourceGooRepositoryArgs

type OSPolicyResourceRepositoryResourceGooRepositoryArgs struct {
	// The name of the repository.
	Name pulumi.StringInput `pulumi:"name"`
	// The url of the repository.
	Url pulumi.StringInput `pulumi:"url"`
}

Represents a Goo package repository. These are added to a repo file that is managed at `C:/ProgramData/GooGet/repos/google_osconfig.repo`.

func (OSPolicyResourceRepositoryResourceGooRepositoryArgs) ElementType

func (OSPolicyResourceRepositoryResourceGooRepositoryArgs) ToOSPolicyResourceRepositoryResourceGooRepositoryOutput

func (i OSPolicyResourceRepositoryResourceGooRepositoryArgs) ToOSPolicyResourceRepositoryResourceGooRepositoryOutput() OSPolicyResourceRepositoryResourceGooRepositoryOutput

func (OSPolicyResourceRepositoryResourceGooRepositoryArgs) ToOSPolicyResourceRepositoryResourceGooRepositoryOutputWithContext

func (i OSPolicyResourceRepositoryResourceGooRepositoryArgs) ToOSPolicyResourceRepositoryResourceGooRepositoryOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceGooRepositoryOutput

func (OSPolicyResourceRepositoryResourceGooRepositoryArgs) ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutput

func (i OSPolicyResourceRepositoryResourceGooRepositoryArgs) ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutput() OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput

func (OSPolicyResourceRepositoryResourceGooRepositoryArgs) ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutputWithContext

func (i OSPolicyResourceRepositoryResourceGooRepositoryArgs) ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput

type OSPolicyResourceRepositoryResourceGooRepositoryInput

type OSPolicyResourceRepositoryResourceGooRepositoryInput interface {
	pulumi.Input

	ToOSPolicyResourceRepositoryResourceGooRepositoryOutput() OSPolicyResourceRepositoryResourceGooRepositoryOutput
	ToOSPolicyResourceRepositoryResourceGooRepositoryOutputWithContext(context.Context) OSPolicyResourceRepositoryResourceGooRepositoryOutput
}

OSPolicyResourceRepositoryResourceGooRepositoryInput is an input type that accepts OSPolicyResourceRepositoryResourceGooRepositoryArgs and OSPolicyResourceRepositoryResourceGooRepositoryOutput values. You can construct a concrete instance of `OSPolicyResourceRepositoryResourceGooRepositoryInput` via:

OSPolicyResourceRepositoryResourceGooRepositoryArgs{...}

type OSPolicyResourceRepositoryResourceGooRepositoryOutput

type OSPolicyResourceRepositoryResourceGooRepositoryOutput struct{ *pulumi.OutputState }

Represents a Goo package repository. These are added to a repo file that is managed at `C:/ProgramData/GooGet/repos/google_osconfig.repo`.

func (OSPolicyResourceRepositoryResourceGooRepositoryOutput) ElementType

func (OSPolicyResourceRepositoryResourceGooRepositoryOutput) Name

The name of the repository.

func (OSPolicyResourceRepositoryResourceGooRepositoryOutput) ToOSPolicyResourceRepositoryResourceGooRepositoryOutput

func (OSPolicyResourceRepositoryResourceGooRepositoryOutput) ToOSPolicyResourceRepositoryResourceGooRepositoryOutputWithContext

func (o OSPolicyResourceRepositoryResourceGooRepositoryOutput) ToOSPolicyResourceRepositoryResourceGooRepositoryOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceGooRepositoryOutput

func (OSPolicyResourceRepositoryResourceGooRepositoryOutput) ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutput

func (o OSPolicyResourceRepositoryResourceGooRepositoryOutput) ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutput() OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput

func (OSPolicyResourceRepositoryResourceGooRepositoryOutput) ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutputWithContext

func (o OSPolicyResourceRepositoryResourceGooRepositoryOutput) ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput

func (OSPolicyResourceRepositoryResourceGooRepositoryOutput) Url

The url of the repository.

type OSPolicyResourceRepositoryResourceGooRepositoryPtrInput

type OSPolicyResourceRepositoryResourceGooRepositoryPtrInput interface {
	pulumi.Input

	ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutput() OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput
	ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutputWithContext(context.Context) OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput
}

OSPolicyResourceRepositoryResourceGooRepositoryPtrInput is an input type that accepts OSPolicyResourceRepositoryResourceGooRepositoryArgs, OSPolicyResourceRepositoryResourceGooRepositoryPtr and OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput values. You can construct a concrete instance of `OSPolicyResourceRepositoryResourceGooRepositoryPtrInput` via:

        OSPolicyResourceRepositoryResourceGooRepositoryArgs{...}

or:

        nil

type OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput

type OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput) Elem

func (OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput) ElementType

func (OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput) Name

The name of the repository.

func (OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput) ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutput

func (OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput) ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutputWithContext

func (o OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput) ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput

func (OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput) Url

The url of the repository.

type OSPolicyResourceRepositoryResourceGooRepositoryResponse

type OSPolicyResourceRepositoryResourceGooRepositoryResponse struct {
	// The name of the repository.
	Name string `pulumi:"name"`
	// The url of the repository.
	Url string `pulumi:"url"`
}

Represents a Goo package repository. These are added to a repo file that is managed at `C:/ProgramData/GooGet/repos/google_osconfig.repo`.

type OSPolicyResourceRepositoryResourceGooRepositoryResponseOutput

type OSPolicyResourceRepositoryResourceGooRepositoryResponseOutput struct{ *pulumi.OutputState }

Represents a Goo package repository. These are added to a repo file that is managed at `C:/ProgramData/GooGet/repos/google_osconfig.repo`.

func (OSPolicyResourceRepositoryResourceGooRepositoryResponseOutput) ElementType

func (OSPolicyResourceRepositoryResourceGooRepositoryResponseOutput) Name

The name of the repository.

func (OSPolicyResourceRepositoryResourceGooRepositoryResponseOutput) ToOSPolicyResourceRepositoryResourceGooRepositoryResponseOutput

func (OSPolicyResourceRepositoryResourceGooRepositoryResponseOutput) ToOSPolicyResourceRepositoryResourceGooRepositoryResponseOutputWithContext

func (o OSPolicyResourceRepositoryResourceGooRepositoryResponseOutput) ToOSPolicyResourceRepositoryResourceGooRepositoryResponseOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceGooRepositoryResponseOutput

func (OSPolicyResourceRepositoryResourceGooRepositoryResponseOutput) Url

The url of the repository.

type OSPolicyResourceRepositoryResourceInput

type OSPolicyResourceRepositoryResourceInput interface {
	pulumi.Input

	ToOSPolicyResourceRepositoryResourceOutput() OSPolicyResourceRepositoryResourceOutput
	ToOSPolicyResourceRepositoryResourceOutputWithContext(context.Context) OSPolicyResourceRepositoryResourceOutput
}

OSPolicyResourceRepositoryResourceInput is an input type that accepts OSPolicyResourceRepositoryResourceArgs and OSPolicyResourceRepositoryResourceOutput values. You can construct a concrete instance of `OSPolicyResourceRepositoryResourceInput` via:

OSPolicyResourceRepositoryResourceArgs{...}

type OSPolicyResourceRepositoryResourceOutput

type OSPolicyResourceRepositoryResourceOutput struct{ *pulumi.OutputState }

A resource that manages a package repository.

func (OSPolicyResourceRepositoryResourceOutput) Apt

An Apt Repository.

func (OSPolicyResourceRepositoryResourceOutput) ElementType

func (OSPolicyResourceRepositoryResourceOutput) Goo

A Goo Repository.

func (OSPolicyResourceRepositoryResourceOutput) ToOSPolicyResourceRepositoryResourceOutput

func (o OSPolicyResourceRepositoryResourceOutput) ToOSPolicyResourceRepositoryResourceOutput() OSPolicyResourceRepositoryResourceOutput

func (OSPolicyResourceRepositoryResourceOutput) ToOSPolicyResourceRepositoryResourceOutputWithContext

func (o OSPolicyResourceRepositoryResourceOutput) ToOSPolicyResourceRepositoryResourceOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceOutput

func (OSPolicyResourceRepositoryResourceOutput) ToOSPolicyResourceRepositoryResourcePtrOutput

func (o OSPolicyResourceRepositoryResourceOutput) ToOSPolicyResourceRepositoryResourcePtrOutput() OSPolicyResourceRepositoryResourcePtrOutput

func (OSPolicyResourceRepositoryResourceOutput) ToOSPolicyResourceRepositoryResourcePtrOutputWithContext

func (o OSPolicyResourceRepositoryResourceOutput) ToOSPolicyResourceRepositoryResourcePtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourcePtrOutput

func (OSPolicyResourceRepositoryResourceOutput) Yum

A Yum Repository.

func (OSPolicyResourceRepositoryResourceOutput) Zypper

A Zypper Repository.

type OSPolicyResourceRepositoryResourcePtrInput

type OSPolicyResourceRepositoryResourcePtrInput interface {
	pulumi.Input

	ToOSPolicyResourceRepositoryResourcePtrOutput() OSPolicyResourceRepositoryResourcePtrOutput
	ToOSPolicyResourceRepositoryResourcePtrOutputWithContext(context.Context) OSPolicyResourceRepositoryResourcePtrOutput
}

OSPolicyResourceRepositoryResourcePtrInput is an input type that accepts OSPolicyResourceRepositoryResourceArgs, OSPolicyResourceRepositoryResourcePtr and OSPolicyResourceRepositoryResourcePtrOutput values. You can construct a concrete instance of `OSPolicyResourceRepositoryResourcePtrInput` via:

        OSPolicyResourceRepositoryResourceArgs{...}

or:

        nil

type OSPolicyResourceRepositoryResourcePtrOutput

type OSPolicyResourceRepositoryResourcePtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceRepositoryResourcePtrOutput) Apt

An Apt Repository.

func (OSPolicyResourceRepositoryResourcePtrOutput) Elem

func (OSPolicyResourceRepositoryResourcePtrOutput) ElementType

func (OSPolicyResourceRepositoryResourcePtrOutput) Goo

A Goo Repository.

func (OSPolicyResourceRepositoryResourcePtrOutput) ToOSPolicyResourceRepositoryResourcePtrOutput

func (o OSPolicyResourceRepositoryResourcePtrOutput) ToOSPolicyResourceRepositoryResourcePtrOutput() OSPolicyResourceRepositoryResourcePtrOutput

func (OSPolicyResourceRepositoryResourcePtrOutput) ToOSPolicyResourceRepositoryResourcePtrOutputWithContext

func (o OSPolicyResourceRepositoryResourcePtrOutput) ToOSPolicyResourceRepositoryResourcePtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourcePtrOutput

func (OSPolicyResourceRepositoryResourcePtrOutput) Yum

A Yum Repository.

func (OSPolicyResourceRepositoryResourcePtrOutput) Zypper

A Zypper Repository.

type OSPolicyResourceRepositoryResourceResponse

type OSPolicyResourceRepositoryResourceResponse struct {
	// An Apt Repository.
	Apt OSPolicyResourceRepositoryResourceAptRepositoryResponse `pulumi:"apt"`
	// A Goo Repository.
	Goo OSPolicyResourceRepositoryResourceGooRepositoryResponse `pulumi:"goo"`
	// A Yum Repository.
	Yum OSPolicyResourceRepositoryResourceYumRepositoryResponse `pulumi:"yum"`
	// A Zypper Repository.
	Zypper OSPolicyResourceRepositoryResourceZypperRepositoryResponse `pulumi:"zypper"`
}

A resource that manages a package repository.

type OSPolicyResourceRepositoryResourceResponseOutput

type OSPolicyResourceRepositoryResourceResponseOutput struct{ *pulumi.OutputState }

A resource that manages a package repository.

func (OSPolicyResourceRepositoryResourceResponseOutput) Apt

An Apt Repository.

func (OSPolicyResourceRepositoryResourceResponseOutput) ElementType

func (OSPolicyResourceRepositoryResourceResponseOutput) Goo

A Goo Repository.

func (OSPolicyResourceRepositoryResourceResponseOutput) ToOSPolicyResourceRepositoryResourceResponseOutput

func (o OSPolicyResourceRepositoryResourceResponseOutput) ToOSPolicyResourceRepositoryResourceResponseOutput() OSPolicyResourceRepositoryResourceResponseOutput

func (OSPolicyResourceRepositoryResourceResponseOutput) ToOSPolicyResourceRepositoryResourceResponseOutputWithContext

func (o OSPolicyResourceRepositoryResourceResponseOutput) ToOSPolicyResourceRepositoryResourceResponseOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceResponseOutput

func (OSPolicyResourceRepositoryResourceResponseOutput) Yum

A Yum Repository.

func (OSPolicyResourceRepositoryResourceResponseOutput) Zypper

A Zypper Repository.

type OSPolicyResourceRepositoryResourceYumRepository

type OSPolicyResourceRepositoryResourceYumRepository struct {
	// The location of the repository directory.
	BaseUrl string `pulumi:"baseUrl"`
	// The display name of the repository.
	DisplayName *string `pulumi:"displayName"`
	// URIs of GPG keys.
	GpgKeys []string `pulumi:"gpgKeys"`
	// A one word, unique name for this repository. This is the `repo id` in the yum config file and also the `display_name` if `display_name` is omitted. This id is also used as the unique identifier when checking for resource conflicts.
	Id string `pulumi:"id"`
}

Represents a single yum package repository. These are added to a repo file that is managed at `/etc/yum.repos.d/google_osconfig.repo`.

type OSPolicyResourceRepositoryResourceYumRepositoryArgs

type OSPolicyResourceRepositoryResourceYumRepositoryArgs struct {
	// The location of the repository directory.
	BaseUrl pulumi.StringInput `pulumi:"baseUrl"`
	// The display name of the repository.
	DisplayName pulumi.StringPtrInput `pulumi:"displayName"`
	// URIs of GPG keys.
	GpgKeys pulumi.StringArrayInput `pulumi:"gpgKeys"`
	// A one word, unique name for this repository. This is the `repo id` in the yum config file and also the `display_name` if `display_name` is omitted. This id is also used as the unique identifier when checking for resource conflicts.
	Id pulumi.StringInput `pulumi:"id"`
}

Represents a single yum package repository. These are added to a repo file that is managed at `/etc/yum.repos.d/google_osconfig.repo`.

func (OSPolicyResourceRepositoryResourceYumRepositoryArgs) ElementType

func (OSPolicyResourceRepositoryResourceYumRepositoryArgs) ToOSPolicyResourceRepositoryResourceYumRepositoryOutput

func (i OSPolicyResourceRepositoryResourceYumRepositoryArgs) ToOSPolicyResourceRepositoryResourceYumRepositoryOutput() OSPolicyResourceRepositoryResourceYumRepositoryOutput

func (OSPolicyResourceRepositoryResourceYumRepositoryArgs) ToOSPolicyResourceRepositoryResourceYumRepositoryOutputWithContext

func (i OSPolicyResourceRepositoryResourceYumRepositoryArgs) ToOSPolicyResourceRepositoryResourceYumRepositoryOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceYumRepositoryOutput

func (OSPolicyResourceRepositoryResourceYumRepositoryArgs) ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutput

func (i OSPolicyResourceRepositoryResourceYumRepositoryArgs) ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutput() OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput

func (OSPolicyResourceRepositoryResourceYumRepositoryArgs) ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutputWithContext

func (i OSPolicyResourceRepositoryResourceYumRepositoryArgs) ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput

type OSPolicyResourceRepositoryResourceYumRepositoryInput

type OSPolicyResourceRepositoryResourceYumRepositoryInput interface {
	pulumi.Input

	ToOSPolicyResourceRepositoryResourceYumRepositoryOutput() OSPolicyResourceRepositoryResourceYumRepositoryOutput
	ToOSPolicyResourceRepositoryResourceYumRepositoryOutputWithContext(context.Context) OSPolicyResourceRepositoryResourceYumRepositoryOutput
}

OSPolicyResourceRepositoryResourceYumRepositoryInput is an input type that accepts OSPolicyResourceRepositoryResourceYumRepositoryArgs and OSPolicyResourceRepositoryResourceYumRepositoryOutput values. You can construct a concrete instance of `OSPolicyResourceRepositoryResourceYumRepositoryInput` via:

OSPolicyResourceRepositoryResourceYumRepositoryArgs{...}

type OSPolicyResourceRepositoryResourceYumRepositoryOutput

type OSPolicyResourceRepositoryResourceYumRepositoryOutput struct{ *pulumi.OutputState }

Represents a single yum package repository. These are added to a repo file that is managed at `/etc/yum.repos.d/google_osconfig.repo`.

func (OSPolicyResourceRepositoryResourceYumRepositoryOutput) BaseUrl

The location of the repository directory.

func (OSPolicyResourceRepositoryResourceYumRepositoryOutput) DisplayName

The display name of the repository.

func (OSPolicyResourceRepositoryResourceYumRepositoryOutput) ElementType

func (OSPolicyResourceRepositoryResourceYumRepositoryOutput) GpgKeys

URIs of GPG keys.

func (OSPolicyResourceRepositoryResourceYumRepositoryOutput) Id

A one word, unique name for this repository. This is the `repo id` in the yum config file and also the `display_name` if `display_name` is omitted. This id is also used as the unique identifier when checking for resource conflicts.

func (OSPolicyResourceRepositoryResourceYumRepositoryOutput) ToOSPolicyResourceRepositoryResourceYumRepositoryOutput

func (OSPolicyResourceRepositoryResourceYumRepositoryOutput) ToOSPolicyResourceRepositoryResourceYumRepositoryOutputWithContext

func (o OSPolicyResourceRepositoryResourceYumRepositoryOutput) ToOSPolicyResourceRepositoryResourceYumRepositoryOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceYumRepositoryOutput

func (OSPolicyResourceRepositoryResourceYumRepositoryOutput) ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutput

func (o OSPolicyResourceRepositoryResourceYumRepositoryOutput) ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutput() OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput

func (OSPolicyResourceRepositoryResourceYumRepositoryOutput) ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutputWithContext

func (o OSPolicyResourceRepositoryResourceYumRepositoryOutput) ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput

type OSPolicyResourceRepositoryResourceYumRepositoryPtrInput

type OSPolicyResourceRepositoryResourceYumRepositoryPtrInput interface {
	pulumi.Input

	ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutput() OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput
	ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutputWithContext(context.Context) OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput
}

OSPolicyResourceRepositoryResourceYumRepositoryPtrInput is an input type that accepts OSPolicyResourceRepositoryResourceYumRepositoryArgs, OSPolicyResourceRepositoryResourceYumRepositoryPtr and OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput values. You can construct a concrete instance of `OSPolicyResourceRepositoryResourceYumRepositoryPtrInput` via:

        OSPolicyResourceRepositoryResourceYumRepositoryArgs{...}

or:

        nil

type OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput

type OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) BaseUrl

The location of the repository directory.

func (OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) DisplayName

The display name of the repository.

func (OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) Elem

func (OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) ElementType

func (OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) GpgKeys

URIs of GPG keys.

func (OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) Id

A one word, unique name for this repository. This is the `repo id` in the yum config file and also the `display_name` if `display_name` is omitted. This id is also used as the unique identifier when checking for resource conflicts.

func (OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutput

func (OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutputWithContext

func (o OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput

type OSPolicyResourceRepositoryResourceYumRepositoryResponse

type OSPolicyResourceRepositoryResourceYumRepositoryResponse struct {
	// The location of the repository directory.
	BaseUrl string `pulumi:"baseUrl"`
	// The display name of the repository.
	DisplayName string `pulumi:"displayName"`
	// URIs of GPG keys.
	GpgKeys []string `pulumi:"gpgKeys"`
}

Represents a single yum package repository. These are added to a repo file that is managed at `/etc/yum.repos.d/google_osconfig.repo`.

type OSPolicyResourceRepositoryResourceYumRepositoryResponseOutput

type OSPolicyResourceRepositoryResourceYumRepositoryResponseOutput struct{ *pulumi.OutputState }

Represents a single yum package repository. These are added to a repo file that is managed at `/etc/yum.repos.d/google_osconfig.repo`.

func (OSPolicyResourceRepositoryResourceYumRepositoryResponseOutput) BaseUrl

The location of the repository directory.

func (OSPolicyResourceRepositoryResourceYumRepositoryResponseOutput) DisplayName

The display name of the repository.

func (OSPolicyResourceRepositoryResourceYumRepositoryResponseOutput) ElementType

func (OSPolicyResourceRepositoryResourceYumRepositoryResponseOutput) GpgKeys

URIs of GPG keys.

func (OSPolicyResourceRepositoryResourceYumRepositoryResponseOutput) ToOSPolicyResourceRepositoryResourceYumRepositoryResponseOutput

func (OSPolicyResourceRepositoryResourceYumRepositoryResponseOutput) ToOSPolicyResourceRepositoryResourceYumRepositoryResponseOutputWithContext

func (o OSPolicyResourceRepositoryResourceYumRepositoryResponseOutput) ToOSPolicyResourceRepositoryResourceYumRepositoryResponseOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceYumRepositoryResponseOutput

type OSPolicyResourceRepositoryResourceZypperRepository

type OSPolicyResourceRepositoryResourceZypperRepository struct {
	// The location of the repository directory.
	BaseUrl string `pulumi:"baseUrl"`
	// The display name of the repository.
	DisplayName *string `pulumi:"displayName"`
	// URIs of GPG keys.
	GpgKeys []string `pulumi:"gpgKeys"`
	// A one word, unique name for this repository. This is the `repo id` in the zypper config file and also the `display_name` if `display_name` is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts.
	Id string `pulumi:"id"`
}

Represents a single zypper package repository. These are added to a repo file that is managed at `/etc/zypp/repos.d/google_osconfig.repo`.

type OSPolicyResourceRepositoryResourceZypperRepositoryArgs

type OSPolicyResourceRepositoryResourceZypperRepositoryArgs struct {
	// The location of the repository directory.
	BaseUrl pulumi.StringInput `pulumi:"baseUrl"`
	// The display name of the repository.
	DisplayName pulumi.StringPtrInput `pulumi:"displayName"`
	// URIs of GPG keys.
	GpgKeys pulumi.StringArrayInput `pulumi:"gpgKeys"`
	// A one word, unique name for this repository. This is the `repo id` in the zypper config file and also the `display_name` if `display_name` is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts.
	Id pulumi.StringInput `pulumi:"id"`
}

Represents a single zypper package repository. These are added to a repo file that is managed at `/etc/zypp/repos.d/google_osconfig.repo`.

func (OSPolicyResourceRepositoryResourceZypperRepositoryArgs) ElementType

func (OSPolicyResourceRepositoryResourceZypperRepositoryArgs) ToOSPolicyResourceRepositoryResourceZypperRepositoryOutput

func (OSPolicyResourceRepositoryResourceZypperRepositoryArgs) ToOSPolicyResourceRepositoryResourceZypperRepositoryOutputWithContext

func (i OSPolicyResourceRepositoryResourceZypperRepositoryArgs) ToOSPolicyResourceRepositoryResourceZypperRepositoryOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceZypperRepositoryOutput

func (OSPolicyResourceRepositoryResourceZypperRepositoryArgs) ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput

func (i OSPolicyResourceRepositoryResourceZypperRepositoryArgs) ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput() OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput

func (OSPolicyResourceRepositoryResourceZypperRepositoryArgs) ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutputWithContext

func (i OSPolicyResourceRepositoryResourceZypperRepositoryArgs) ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput

type OSPolicyResourceRepositoryResourceZypperRepositoryInput

type OSPolicyResourceRepositoryResourceZypperRepositoryInput interface {
	pulumi.Input

	ToOSPolicyResourceRepositoryResourceZypperRepositoryOutput() OSPolicyResourceRepositoryResourceZypperRepositoryOutput
	ToOSPolicyResourceRepositoryResourceZypperRepositoryOutputWithContext(context.Context) OSPolicyResourceRepositoryResourceZypperRepositoryOutput
}

OSPolicyResourceRepositoryResourceZypperRepositoryInput is an input type that accepts OSPolicyResourceRepositoryResourceZypperRepositoryArgs and OSPolicyResourceRepositoryResourceZypperRepositoryOutput values. You can construct a concrete instance of `OSPolicyResourceRepositoryResourceZypperRepositoryInput` via:

OSPolicyResourceRepositoryResourceZypperRepositoryArgs{...}

type OSPolicyResourceRepositoryResourceZypperRepositoryOutput

type OSPolicyResourceRepositoryResourceZypperRepositoryOutput struct{ *pulumi.OutputState }

Represents a single zypper package repository. These are added to a repo file that is managed at `/etc/zypp/repos.d/google_osconfig.repo`.

func (OSPolicyResourceRepositoryResourceZypperRepositoryOutput) BaseUrl

The location of the repository directory.

func (OSPolicyResourceRepositoryResourceZypperRepositoryOutput) DisplayName

The display name of the repository.

func (OSPolicyResourceRepositoryResourceZypperRepositoryOutput) ElementType

func (OSPolicyResourceRepositoryResourceZypperRepositoryOutput) GpgKeys

URIs of GPG keys.

func (OSPolicyResourceRepositoryResourceZypperRepositoryOutput) Id

A one word, unique name for this repository. This is the `repo id` in the zypper config file and also the `display_name` if `display_name` is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts.

func (OSPolicyResourceRepositoryResourceZypperRepositoryOutput) ToOSPolicyResourceRepositoryResourceZypperRepositoryOutput

func (OSPolicyResourceRepositoryResourceZypperRepositoryOutput) ToOSPolicyResourceRepositoryResourceZypperRepositoryOutputWithContext

func (o OSPolicyResourceRepositoryResourceZypperRepositoryOutput) ToOSPolicyResourceRepositoryResourceZypperRepositoryOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceZypperRepositoryOutput

func (OSPolicyResourceRepositoryResourceZypperRepositoryOutput) ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput

func (OSPolicyResourceRepositoryResourceZypperRepositoryOutput) ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutputWithContext

func (o OSPolicyResourceRepositoryResourceZypperRepositoryOutput) ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput

type OSPolicyResourceRepositoryResourceZypperRepositoryPtrInput

type OSPolicyResourceRepositoryResourceZypperRepositoryPtrInput interface {
	pulumi.Input

	ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput() OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput
	ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutputWithContext(context.Context) OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput
}

OSPolicyResourceRepositoryResourceZypperRepositoryPtrInput is an input type that accepts OSPolicyResourceRepositoryResourceZypperRepositoryArgs, OSPolicyResourceRepositoryResourceZypperRepositoryPtr and OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput values. You can construct a concrete instance of `OSPolicyResourceRepositoryResourceZypperRepositoryPtrInput` via:

        OSPolicyResourceRepositoryResourceZypperRepositoryArgs{...}

or:

        nil

type OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput

type OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) BaseUrl

The location of the repository directory.

func (OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) DisplayName

The display name of the repository.

func (OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) Elem

func (OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) ElementType

func (OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) GpgKeys

URIs of GPG keys.

func (OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) Id

A one word, unique name for this repository. This is the `repo id` in the zypper config file and also the `display_name` if `display_name` is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts.

func (OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput

func (OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutputWithContext

func (o OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput

type OSPolicyResourceRepositoryResourceZypperRepositoryResponse

type OSPolicyResourceRepositoryResourceZypperRepositoryResponse struct {
	// The location of the repository directory.
	BaseUrl string `pulumi:"baseUrl"`
	// The display name of the repository.
	DisplayName string `pulumi:"displayName"`
	// URIs of GPG keys.
	GpgKeys []string `pulumi:"gpgKeys"`
}

Represents a single zypper package repository. These are added to a repo file that is managed at `/etc/zypp/repos.d/google_osconfig.repo`.

type OSPolicyResourceRepositoryResourceZypperRepositoryResponseOutput

type OSPolicyResourceRepositoryResourceZypperRepositoryResponseOutput struct{ *pulumi.OutputState }

Represents a single zypper package repository. These are added to a repo file that is managed at `/etc/zypp/repos.d/google_osconfig.repo`.

func (OSPolicyResourceRepositoryResourceZypperRepositoryResponseOutput) BaseUrl

The location of the repository directory.

func (OSPolicyResourceRepositoryResourceZypperRepositoryResponseOutput) DisplayName

The display name of the repository.

func (OSPolicyResourceRepositoryResourceZypperRepositoryResponseOutput) ElementType

func (OSPolicyResourceRepositoryResourceZypperRepositoryResponseOutput) GpgKeys

URIs of GPG keys.

func (OSPolicyResourceRepositoryResourceZypperRepositoryResponseOutput) ToOSPolicyResourceRepositoryResourceZypperRepositoryResponseOutput

func (OSPolicyResourceRepositoryResourceZypperRepositoryResponseOutput) ToOSPolicyResourceRepositoryResourceZypperRepositoryResponseOutputWithContext

func (o OSPolicyResourceRepositoryResourceZypperRepositoryResponseOutput) ToOSPolicyResourceRepositoryResourceZypperRepositoryResponseOutputWithContext(ctx context.Context) OSPolicyResourceRepositoryResourceZypperRepositoryResponseOutput

type OSPolicyResourceResponse

type OSPolicyResourceResponse struct {
	// Exec resource
	Exec OSPolicyResourceExecResourceResponse `pulumi:"exec"`
	// File resource
	File OSPolicyResourceFileResourceResponse `pulumi:"file"`
	// Package resource
	Pkg OSPolicyResourcePackageResourceResponse `pulumi:"pkg"`
	// Package repository resource
	Repository OSPolicyResourceRepositoryResourceResponse `pulumi:"repository"`
}

An OS policy resource is used to define the desired state configuration and provides a specific functionality like installing/removing packages, executing a script etc. The system ensures that resources are always in their desired state by taking necessary actions if they have drifted from their desired state.

type OSPolicyResourceResponseArrayOutput

type OSPolicyResourceResponseArrayOutput struct{ *pulumi.OutputState }

func (OSPolicyResourceResponseArrayOutput) ElementType

func (OSPolicyResourceResponseArrayOutput) Index

func (OSPolicyResourceResponseArrayOutput) ToOSPolicyResourceResponseArrayOutput

func (o OSPolicyResourceResponseArrayOutput) ToOSPolicyResourceResponseArrayOutput() OSPolicyResourceResponseArrayOutput

func (OSPolicyResourceResponseArrayOutput) ToOSPolicyResourceResponseArrayOutputWithContext

func (o OSPolicyResourceResponseArrayOutput) ToOSPolicyResourceResponseArrayOutputWithContext(ctx context.Context) OSPolicyResourceResponseArrayOutput

type OSPolicyResourceResponseOutput

type OSPolicyResourceResponseOutput struct{ *pulumi.OutputState }

An OS policy resource is used to define the desired state configuration and provides a specific functionality like installing/removing packages, executing a script etc. The system ensures that resources are always in their desired state by taking necessary actions if they have drifted from their desired state.

func (OSPolicyResourceResponseOutput) ElementType

func (OSPolicyResourceResponseOutput) Exec

Exec resource

func (OSPolicyResourceResponseOutput) File

File resource

func (OSPolicyResourceResponseOutput) Pkg

Package resource

func (OSPolicyResourceResponseOutput) Repository

Package repository resource

func (OSPolicyResourceResponseOutput) ToOSPolicyResourceResponseOutput

func (o OSPolicyResourceResponseOutput) ToOSPolicyResourceResponseOutput() OSPolicyResourceResponseOutput

func (OSPolicyResourceResponseOutput) ToOSPolicyResourceResponseOutputWithContext

func (o OSPolicyResourceResponseOutput) ToOSPolicyResourceResponseOutputWithContext(ctx context.Context) OSPolicyResourceResponseOutput

type OSPolicyResponse

type OSPolicyResponse struct {
	// This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce.
	AllowNoResourceGroupMatch bool `pulumi:"allowNoResourceGroupMatch"`
	// Policy description. Length of the description is limited to 1024 characters.
	Description string `pulumi:"description"`
	// Policy mode
	Mode string `pulumi:"mode"`
	// List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
	ResourceGroups []OSPolicyResourceGroupResponse `pulumi:"resourceGroups"`
}

An OS policy defines the desired state configuration for a VM.

type OSPolicyResponseArrayOutput

type OSPolicyResponseArrayOutput struct{ *pulumi.OutputState }

func (OSPolicyResponseArrayOutput) ElementType

func (OSPolicyResponseArrayOutput) Index

func (OSPolicyResponseArrayOutput) ToOSPolicyResponseArrayOutput

func (o OSPolicyResponseArrayOutput) ToOSPolicyResponseArrayOutput() OSPolicyResponseArrayOutput

func (OSPolicyResponseArrayOutput) ToOSPolicyResponseArrayOutputWithContext

func (o OSPolicyResponseArrayOutput) ToOSPolicyResponseArrayOutputWithContext(ctx context.Context) OSPolicyResponseArrayOutput

type OSPolicyResponseOutput

type OSPolicyResponseOutput struct{ *pulumi.OutputState }

An OS policy defines the desired state configuration for a VM.

func (OSPolicyResponseOutput) AllowNoResourceGroupMatch

func (o OSPolicyResponseOutput) AllowNoResourceGroupMatch() pulumi.BoolOutput

This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce.

func (OSPolicyResponseOutput) Description

func (o OSPolicyResponseOutput) Description() pulumi.StringOutput

Policy description. Length of the description is limited to 1024 characters.

func (OSPolicyResponseOutput) ElementType

func (OSPolicyResponseOutput) ElementType() reflect.Type

func (OSPolicyResponseOutput) Mode

Policy mode

func (OSPolicyResponseOutput) ResourceGroups

List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`

func (OSPolicyResponseOutput) ToOSPolicyResponseOutput

func (o OSPolicyResponseOutput) ToOSPolicyResponseOutput() OSPolicyResponseOutput

func (OSPolicyResponseOutput) ToOSPolicyResponseOutputWithContext

func (o OSPolicyResponseOutput) ToOSPolicyResponseOutputWithContext(ctx context.Context) OSPolicyResponseOutput

type OsPolicyAssignment

type OsPolicyAssignment struct {
	pulumi.CustomResourceState

	// Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of `true` for this field.
	Baseline pulumi.BoolOutput `pulumi:"baseline"`
	// Indicates that this revision deletes the OS policy assignment.
	Deleted pulumi.BoolOutput `pulumi:"deleted"`
	// OS policy assignment description. Length of the description is limited to 1024 characters.
	Description pulumi.StringOutput `pulumi:"description"`
	// The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Filter to select VMs.
	InstanceFilter OSPolicyAssignmentInstanceFilterResponseOutput `pulumi:"instanceFilter"`
	Location       pulumi.StringOutput                            `pulumi:"location"`
	// Resource name. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored when you create an OS policy assignment.
	Name pulumi.StringOutput `pulumi:"name"`
	// List of OS policies to be applied to the VMs.
	OsPolicies OSPolicyResponseArrayOutput `pulumi:"osPolicies"`
	// Required. The logical name of the OS policy assignment in the project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project.
	OsPolicyAssignmentId pulumi.StringOutput `pulumi:"osPolicyAssignmentId"`
	Project              pulumi.StringOutput `pulumi:"project"`
	// Indicates that reconciliation is in progress for the revision. This value is `true` when the `rollout_state` is one of: * IN_PROGRESS * CANCELLING
	Reconciling pulumi.BoolOutput `pulumi:"reconciling"`
	// The timestamp that the revision was created.
	RevisionCreateTime pulumi.StringOutput `pulumi:"revisionCreateTime"`
	// The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
	RevisionId pulumi.StringOutput `pulumi:"revisionId"`
	// Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
	Rollout OSPolicyAssignmentRolloutResponseOutput `pulumi:"rollout"`
	// OS policy assignment rollout state
	RolloutState pulumi.StringOutput `pulumi:"rolloutState"`
	// Server generated unique id for the OS policy assignment resource.
	Uid pulumi.StringOutput `pulumi:"uid"`
}

Create an OS policy assignment. This method also creates the first revision of the OS policy assignment. This method returns a long running operation (LRO) that contains the rollout details. The rollout can be cancelled by cancelling the LRO. For more information, see [Method: projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).

func GetOsPolicyAssignment

func GetOsPolicyAssignment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OsPolicyAssignmentState, opts ...pulumi.ResourceOption) (*OsPolicyAssignment, error)

GetOsPolicyAssignment gets an existing OsPolicyAssignment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewOsPolicyAssignment

func NewOsPolicyAssignment(ctx *pulumi.Context,
	name string, args *OsPolicyAssignmentArgs, opts ...pulumi.ResourceOption) (*OsPolicyAssignment, error)

NewOsPolicyAssignment registers a new resource with the given unique name, arguments, and options.

func (*OsPolicyAssignment) ElementType

func (*OsPolicyAssignment) ElementType() reflect.Type

func (*OsPolicyAssignment) ToOsPolicyAssignmentOutput

func (i *OsPolicyAssignment) ToOsPolicyAssignmentOutput() OsPolicyAssignmentOutput

func (*OsPolicyAssignment) ToOsPolicyAssignmentOutputWithContext

func (i *OsPolicyAssignment) ToOsPolicyAssignmentOutputWithContext(ctx context.Context) OsPolicyAssignmentOutput

type OsPolicyAssignmentArgs

type OsPolicyAssignmentArgs struct {
	// OS policy assignment description. Length of the description is limited to 1024 characters.
	Description pulumi.StringPtrInput
	// The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
	Etag pulumi.StringPtrInput
	// Filter to select VMs.
	InstanceFilter OSPolicyAssignmentInstanceFilterInput
	Location       pulumi.StringPtrInput
	// Resource name. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored when you create an OS policy assignment.
	Name pulumi.StringPtrInput
	// List of OS policies to be applied to the VMs.
	OsPolicies OSPolicyArrayInput
	// Required. The logical name of the OS policy assignment in the project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project.
	OsPolicyAssignmentId pulumi.StringInput
	Project              pulumi.StringPtrInput
	// Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
	Rollout OSPolicyAssignmentRolloutInput
}

The set of arguments for constructing a OsPolicyAssignment resource.

func (OsPolicyAssignmentArgs) ElementType

func (OsPolicyAssignmentArgs) ElementType() reflect.Type

type OsPolicyAssignmentInput

type OsPolicyAssignmentInput interface {
	pulumi.Input

	ToOsPolicyAssignmentOutput() OsPolicyAssignmentOutput
	ToOsPolicyAssignmentOutputWithContext(ctx context.Context) OsPolicyAssignmentOutput
}

type OsPolicyAssignmentOutput

type OsPolicyAssignmentOutput struct{ *pulumi.OutputState }

func (OsPolicyAssignmentOutput) Baseline added in v0.19.0

Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of `true` for this field.

func (OsPolicyAssignmentOutput) Deleted added in v0.19.0

Indicates that this revision deletes the OS policy assignment.

func (OsPolicyAssignmentOutput) Description added in v0.19.0

OS policy assignment description. Length of the description is limited to 1024 characters.

func (OsPolicyAssignmentOutput) ElementType

func (OsPolicyAssignmentOutput) ElementType() reflect.Type

func (OsPolicyAssignmentOutput) Etag added in v0.19.0

The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.

func (OsPolicyAssignmentOutput) InstanceFilter added in v0.19.0

Filter to select VMs.

func (OsPolicyAssignmentOutput) Location added in v0.21.0

func (OsPolicyAssignmentOutput) Name added in v0.19.0

Resource name. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored when you create an OS policy assignment.

func (OsPolicyAssignmentOutput) OsPolicies added in v0.19.0

List of OS policies to be applied to the VMs.

func (OsPolicyAssignmentOutput) OsPolicyAssignmentId added in v0.21.0

func (o OsPolicyAssignmentOutput) OsPolicyAssignmentId() pulumi.StringOutput

Required. The logical name of the OS policy assignment in the project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project.

func (OsPolicyAssignmentOutput) Project added in v0.21.0

func (OsPolicyAssignmentOutput) Reconciling added in v0.19.0

func (o OsPolicyAssignmentOutput) Reconciling() pulumi.BoolOutput

Indicates that reconciliation is in progress for the revision. This value is `true` when the `rollout_state` is one of: * IN_PROGRESS * CANCELLING

func (OsPolicyAssignmentOutput) RevisionCreateTime added in v0.19.0

func (o OsPolicyAssignmentOutput) RevisionCreateTime() pulumi.StringOutput

The timestamp that the revision was created.

func (OsPolicyAssignmentOutput) RevisionId added in v0.19.0

The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment

func (OsPolicyAssignmentOutput) Rollout added in v0.19.0

Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.

func (OsPolicyAssignmentOutput) RolloutState added in v0.19.0

func (o OsPolicyAssignmentOutput) RolloutState() pulumi.StringOutput

OS policy assignment rollout state

func (OsPolicyAssignmentOutput) ToOsPolicyAssignmentOutput

func (o OsPolicyAssignmentOutput) ToOsPolicyAssignmentOutput() OsPolicyAssignmentOutput

func (OsPolicyAssignmentOutput) ToOsPolicyAssignmentOutputWithContext

func (o OsPolicyAssignmentOutput) ToOsPolicyAssignmentOutputWithContext(ctx context.Context) OsPolicyAssignmentOutput

func (OsPolicyAssignmentOutput) Uid added in v0.19.0

Server generated unique id for the OS policy assignment resource.

type OsPolicyAssignmentState

type OsPolicyAssignmentState struct {
}

func (OsPolicyAssignmentState) ElementType

func (OsPolicyAssignmentState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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