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 (
	// An unspecified log source. If the log source is unspecified, the Replay defaults to using `RECENT_ACCESSES`.
	GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceLogSourceUnspecified = GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource("LOG_SOURCE_UNSPECIFIED")
	// All access logs from the last 90 days. These logs may not include logs from the most recent 7 days.
	GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceRecentAccesses = GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource("RECENT_ACCESSES")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FolderReplay

type FolderReplay struct {
	pulumi.CustomResourceState

	// The configuration used for the `Replay`.
	Config   GoogleCloudPolicysimulatorV1alphaReplayConfigResponseOutput `pulumi:"config"`
	FolderId pulumi.StringOutput                                         `pulumi:"folderId"`
	Location pulumi.StringOutput                                         `pulumi:"location"`
	// The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`
	Name pulumi.StringOutput `pulumi:"name"`
	// Summary statistics about the replayed log entries.
	ResultsSummary GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutput `pulumi:"resultsSummary"`
	// The current state of the `Replay`.
	State pulumi.StringOutput `pulumi:"state"`
}

Creates and starts a Replay using the given ReplayConfig. Auto-naming is currently not supported for this resource. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

func GetFolderReplay

func GetFolderReplay(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FolderReplayState, opts ...pulumi.ResourceOption) (*FolderReplay, error)

GetFolderReplay gets an existing FolderReplay 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 NewFolderReplay

func NewFolderReplay(ctx *pulumi.Context,
	name string, args *FolderReplayArgs, opts ...pulumi.ResourceOption) (*FolderReplay, error)

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

func (*FolderReplay) ElementType

func (*FolderReplay) ElementType() reflect.Type

func (*FolderReplay) ToFolderReplayOutput

func (i *FolderReplay) ToFolderReplayOutput() FolderReplayOutput

func (*FolderReplay) ToFolderReplayOutputWithContext

func (i *FolderReplay) ToFolderReplayOutputWithContext(ctx context.Context) FolderReplayOutput

type FolderReplayArgs

type FolderReplayArgs struct {
	// The configuration used for the `Replay`.
	Config   GoogleCloudPolicysimulatorV1alphaReplayConfigInput
	FolderId pulumi.StringInput
	Location pulumi.StringPtrInput
}

The set of arguments for constructing a FolderReplay resource.

func (FolderReplayArgs) ElementType

func (FolderReplayArgs) ElementType() reflect.Type

type FolderReplayInput

type FolderReplayInput interface {
	pulumi.Input

	ToFolderReplayOutput() FolderReplayOutput
	ToFolderReplayOutputWithContext(ctx context.Context) FolderReplayOutput
}

type FolderReplayOutput

type FolderReplayOutput struct{ *pulumi.OutputState }

func (FolderReplayOutput) Config

The configuration used for the `Replay`.

func (FolderReplayOutput) ElementType

func (FolderReplayOutput) ElementType() reflect.Type

func (FolderReplayOutput) FolderId

func (o FolderReplayOutput) FolderId() pulumi.StringOutput

func (FolderReplayOutput) Location

func (o FolderReplayOutput) Location() pulumi.StringOutput

func (FolderReplayOutput) Name

The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`

func (FolderReplayOutput) ResultsSummary

Summary statistics about the replayed log entries.

func (FolderReplayOutput) State

The current state of the `Replay`.

func (FolderReplayOutput) ToFolderReplayOutput

func (o FolderReplayOutput) ToFolderReplayOutput() FolderReplayOutput

func (FolderReplayOutput) ToFolderReplayOutputWithContext

func (o FolderReplayOutput) ToFolderReplayOutputWithContext(ctx context.Context) FolderReplayOutput

type FolderReplayState

type FolderReplayState struct {
}

func (FolderReplayState) ElementType

func (FolderReplayState) ElementType() reflect.Type

type GoogleCloudPolicysimulatorV1alphaReplayConfig

type GoogleCloudPolicysimulatorV1alphaReplayConfig struct {
	// The logs to use as input for the Replay.
	LogSource *GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource `pulumi:"logSource"`
	// A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, `//cloudresourcemanager.googleapis.com/projects/my-project`. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.
	PolicyOverlay map[string]string `pulumi:"policyOverlay"`
}

The configuration used for a Replay.

type GoogleCloudPolicysimulatorV1alphaReplayConfigArgs

type GoogleCloudPolicysimulatorV1alphaReplayConfigArgs struct {
	// The logs to use as input for the Replay.
	LogSource GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrInput `pulumi:"logSource"`
	// A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, `//cloudresourcemanager.googleapis.com/projects/my-project`. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.
	PolicyOverlay pulumi.StringMapInput `pulumi:"policyOverlay"`
}

The configuration used for a Replay.

func (GoogleCloudPolicysimulatorV1alphaReplayConfigArgs) ElementType

func (GoogleCloudPolicysimulatorV1alphaReplayConfigArgs) ToGoogleCloudPolicysimulatorV1alphaReplayConfigOutput

func (i GoogleCloudPolicysimulatorV1alphaReplayConfigArgs) ToGoogleCloudPolicysimulatorV1alphaReplayConfigOutput() GoogleCloudPolicysimulatorV1alphaReplayConfigOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigArgs) ToGoogleCloudPolicysimulatorV1alphaReplayConfigOutputWithContext

func (i GoogleCloudPolicysimulatorV1alphaReplayConfigArgs) ToGoogleCloudPolicysimulatorV1alphaReplayConfigOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1alphaReplayConfigOutput

type GoogleCloudPolicysimulatorV1alphaReplayConfigInput

type GoogleCloudPolicysimulatorV1alphaReplayConfigInput interface {
	pulumi.Input

	ToGoogleCloudPolicysimulatorV1alphaReplayConfigOutput() GoogleCloudPolicysimulatorV1alphaReplayConfigOutput
	ToGoogleCloudPolicysimulatorV1alphaReplayConfigOutputWithContext(context.Context) GoogleCloudPolicysimulatorV1alphaReplayConfigOutput
}

GoogleCloudPolicysimulatorV1alphaReplayConfigInput is an input type that accepts GoogleCloudPolicysimulatorV1alphaReplayConfigArgs and GoogleCloudPolicysimulatorV1alphaReplayConfigOutput values. You can construct a concrete instance of `GoogleCloudPolicysimulatorV1alphaReplayConfigInput` via:

GoogleCloudPolicysimulatorV1alphaReplayConfigArgs{...}

type GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource

type GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource string

The logs to use as input for the Replay.

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource) ElementType

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput

func (e GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput() GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutputWithContext

func (e GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput

func (e GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput() GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutputWithContext

func (e GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource) ToStringOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource) ToStringOutputWithContext

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource) ToStringPtrOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSource) ToStringPtrOutputWithContext

type GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceInput

type GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceInput interface {
	pulumi.Input

	ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput() GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput
	ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutputWithContext(context.Context) GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput
}

GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceInput is an input type that accepts GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceArgs and GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput values. You can construct a concrete instance of `GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceInput` via:

GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceArgs{...}

type GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput

type GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput struct{ *pulumi.OutputState }

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput) ElementType

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutputWithContext

func (o GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutputWithContext

func (o GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput) ToStringOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput) ToStringOutputWithContext

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput) ToStringPtrOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourceOutput) ToStringPtrOutputWithContext

type GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrInput

type GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrInput interface {
	pulumi.Input

	ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput() GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput
	ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutputWithContext(context.Context) GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput
}

type GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput

type GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput) Elem

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput) ElementType

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput) ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput) ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutputWithContext

func (o GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput) ToGoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput) ToStringPtrOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigLogSourcePtrOutput) ToStringPtrOutputWithContext

type GoogleCloudPolicysimulatorV1alphaReplayConfigOutput

type GoogleCloudPolicysimulatorV1alphaReplayConfigOutput struct{ *pulumi.OutputState }

The configuration used for a Replay.

func (GoogleCloudPolicysimulatorV1alphaReplayConfigOutput) ElementType

func (GoogleCloudPolicysimulatorV1alphaReplayConfigOutput) LogSource

The logs to use as input for the Replay.

func (GoogleCloudPolicysimulatorV1alphaReplayConfigOutput) PolicyOverlay

A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, `//cloudresourcemanager.googleapis.com/projects/my-project`. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.

func (GoogleCloudPolicysimulatorV1alphaReplayConfigOutput) ToGoogleCloudPolicysimulatorV1alphaReplayConfigOutput

func (o GoogleCloudPolicysimulatorV1alphaReplayConfigOutput) ToGoogleCloudPolicysimulatorV1alphaReplayConfigOutput() GoogleCloudPolicysimulatorV1alphaReplayConfigOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigOutput) ToGoogleCloudPolicysimulatorV1alphaReplayConfigOutputWithContext

func (o GoogleCloudPolicysimulatorV1alphaReplayConfigOutput) ToGoogleCloudPolicysimulatorV1alphaReplayConfigOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1alphaReplayConfigOutput

type GoogleCloudPolicysimulatorV1alphaReplayConfigResponse

type GoogleCloudPolicysimulatorV1alphaReplayConfigResponse struct {
	// The logs to use as input for the Replay.
	LogSource string `pulumi:"logSource"`
	// A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, `//cloudresourcemanager.googleapis.com/projects/my-project`. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.
	PolicyOverlay map[string]string `pulumi:"policyOverlay"`
}

The configuration used for a Replay.

type GoogleCloudPolicysimulatorV1alphaReplayConfigResponseOutput

type GoogleCloudPolicysimulatorV1alphaReplayConfigResponseOutput struct{ *pulumi.OutputState }

The configuration used for a Replay.

func (GoogleCloudPolicysimulatorV1alphaReplayConfigResponseOutput) ElementType

func (GoogleCloudPolicysimulatorV1alphaReplayConfigResponseOutput) LogSource

The logs to use as input for the Replay.

func (GoogleCloudPolicysimulatorV1alphaReplayConfigResponseOutput) PolicyOverlay

A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, `//cloudresourcemanager.googleapis.com/projects/my-project`. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.

func (GoogleCloudPolicysimulatorV1alphaReplayConfigResponseOutput) ToGoogleCloudPolicysimulatorV1alphaReplayConfigResponseOutput

func (GoogleCloudPolicysimulatorV1alphaReplayConfigResponseOutput) ToGoogleCloudPolicysimulatorV1alphaReplayConfigResponseOutputWithContext

func (o GoogleCloudPolicysimulatorV1alphaReplayConfigResponseOutput) ToGoogleCloudPolicysimulatorV1alphaReplayConfigResponseOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1alphaReplayConfigResponseOutput

type GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponse

type GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponse struct {
	// The number of replayed log entries with a difference between baseline and simulated policies.
	DifferenceCount int `pulumi:"differenceCount"`
	// The number of log entries that could not be replayed.
	ErrorCount int `pulumi:"errorCount"`
	// The total number of log entries replayed.
	LogCount int `pulumi:"logCount"`
	// The date of the newest log entry replayed.
	NewestDate GoogleTypeDateResponse `pulumi:"newestDate"`
	// The date of the oldest log entry replayed.
	OldestDate GoogleTypeDateResponse `pulumi:"oldestDate"`
	// The number of replayed log entries with no difference between baseline and simulated policies.
	UnchangedCount int `pulumi:"unchangedCount"`
}

Summary statistics about the replayed log entries.

type GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutput

type GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutput struct{ *pulumi.OutputState }

Summary statistics about the replayed log entries.

func (GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutput) DifferenceCount

The number of replayed log entries with a difference between baseline and simulated policies.

func (GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutput) ElementType

func (GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutput) ErrorCount

The number of log entries that could not be replayed.

func (GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutput) LogCount

The total number of log entries replayed.

func (GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutput) NewestDate

The date of the newest log entry replayed.

func (GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutput) OldestDate

The date of the oldest log entry replayed.

func (GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutput) ToGoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutput

func (GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutput) ToGoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutputWithContext

func (o GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutput) ToGoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutput

func (GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutput) UnchangedCount

The number of replayed log entries with no difference between baseline and simulated policies.

type GoogleTypeDateResponse

type GoogleTypeDateResponse struct {
	// Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
	Day int `pulumi:"day"`
	// Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
	Month int `pulumi:"month"`
	// Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
	Year int `pulumi:"year"`
}

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

type GoogleTypeDateResponseOutput

type GoogleTypeDateResponseOutput struct{ *pulumi.OutputState }

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

func (GoogleTypeDateResponseOutput) Day

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

func (GoogleTypeDateResponseOutput) ElementType

func (GoogleTypeDateResponseOutput) Month

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

func (GoogleTypeDateResponseOutput) ToGoogleTypeDateResponseOutput

func (o GoogleTypeDateResponseOutput) ToGoogleTypeDateResponseOutput() GoogleTypeDateResponseOutput

func (GoogleTypeDateResponseOutput) ToGoogleTypeDateResponseOutputWithContext

func (o GoogleTypeDateResponseOutput) ToGoogleTypeDateResponseOutputWithContext(ctx context.Context) GoogleTypeDateResponseOutput

func (GoogleTypeDateResponseOutput) Year

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

type LookupFolderReplayArgs

type LookupFolderReplayArgs struct {
	FolderId string `pulumi:"folderId"`
	Location string `pulumi:"location"`
	ReplayId string `pulumi:"replayId"`
}

type LookupFolderReplayOutputArgs

type LookupFolderReplayOutputArgs struct {
	FolderId pulumi.StringInput `pulumi:"folderId"`
	Location pulumi.StringInput `pulumi:"location"`
	ReplayId pulumi.StringInput `pulumi:"replayId"`
}

func (LookupFolderReplayOutputArgs) ElementType

type LookupFolderReplayResult

type LookupFolderReplayResult struct {
	// The configuration used for the `Replay`.
	Config GoogleCloudPolicysimulatorV1alphaReplayConfigResponse `pulumi:"config"`
	// The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`
	Name string `pulumi:"name"`
	// Summary statistics about the replayed log entries.
	ResultsSummary GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponse `pulumi:"resultsSummary"`
	// The current state of the `Replay`.
	State string `pulumi:"state"`
}

func LookupFolderReplay

func LookupFolderReplay(ctx *pulumi.Context, args *LookupFolderReplayArgs, opts ...pulumi.InvokeOption) (*LookupFolderReplayResult, error)

Gets the specified Replay. Each `Replay` is available for at least 7 days.

type LookupFolderReplayResultOutput

type LookupFolderReplayResultOutput struct{ *pulumi.OutputState }

func (LookupFolderReplayResultOutput) Config

The configuration used for the `Replay`.

func (LookupFolderReplayResultOutput) ElementType

func (LookupFolderReplayResultOutput) Name

The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`

func (LookupFolderReplayResultOutput) ResultsSummary

Summary statistics about the replayed log entries.

func (LookupFolderReplayResultOutput) State

The current state of the `Replay`.

func (LookupFolderReplayResultOutput) ToLookupFolderReplayResultOutput

func (o LookupFolderReplayResultOutput) ToLookupFolderReplayResultOutput() LookupFolderReplayResultOutput

func (LookupFolderReplayResultOutput) ToLookupFolderReplayResultOutputWithContext

func (o LookupFolderReplayResultOutput) ToLookupFolderReplayResultOutputWithContext(ctx context.Context) LookupFolderReplayResultOutput

type LookupOrganizationReplayArgs

type LookupOrganizationReplayArgs struct {
	Location       string `pulumi:"location"`
	OrganizationId string `pulumi:"organizationId"`
	ReplayId       string `pulumi:"replayId"`
}

type LookupOrganizationReplayOutputArgs

type LookupOrganizationReplayOutputArgs struct {
	Location       pulumi.StringInput `pulumi:"location"`
	OrganizationId pulumi.StringInput `pulumi:"organizationId"`
	ReplayId       pulumi.StringInput `pulumi:"replayId"`
}

func (LookupOrganizationReplayOutputArgs) ElementType

type LookupOrganizationReplayResult

type LookupOrganizationReplayResult struct {
	// The configuration used for the `Replay`.
	Config GoogleCloudPolicysimulatorV1alphaReplayConfigResponse `pulumi:"config"`
	// The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`
	Name string `pulumi:"name"`
	// Summary statistics about the replayed log entries.
	ResultsSummary GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponse `pulumi:"resultsSummary"`
	// The current state of the `Replay`.
	State string `pulumi:"state"`
}

func LookupOrganizationReplay

func LookupOrganizationReplay(ctx *pulumi.Context, args *LookupOrganizationReplayArgs, opts ...pulumi.InvokeOption) (*LookupOrganizationReplayResult, error)

Gets the specified Replay. Each `Replay` is available for at least 7 days.

type LookupOrganizationReplayResultOutput

type LookupOrganizationReplayResultOutput struct{ *pulumi.OutputState }

func (LookupOrganizationReplayResultOutput) Config

The configuration used for the `Replay`.

func (LookupOrganizationReplayResultOutput) ElementType

func (LookupOrganizationReplayResultOutput) Name

The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`

func (LookupOrganizationReplayResultOutput) ResultsSummary

Summary statistics about the replayed log entries.

func (LookupOrganizationReplayResultOutput) State

The current state of the `Replay`.

func (LookupOrganizationReplayResultOutput) ToLookupOrganizationReplayResultOutput

func (o LookupOrganizationReplayResultOutput) ToLookupOrganizationReplayResultOutput() LookupOrganizationReplayResultOutput

func (LookupOrganizationReplayResultOutput) ToLookupOrganizationReplayResultOutputWithContext

func (o LookupOrganizationReplayResultOutput) ToLookupOrganizationReplayResultOutputWithContext(ctx context.Context) LookupOrganizationReplayResultOutput

type LookupReplayArgs

type LookupReplayArgs struct {
	Location string  `pulumi:"location"`
	Project  *string `pulumi:"project"`
	ReplayId string  `pulumi:"replayId"`
}

type LookupReplayOutputArgs

type LookupReplayOutputArgs struct {
	Location pulumi.StringInput    `pulumi:"location"`
	Project  pulumi.StringPtrInput `pulumi:"project"`
	ReplayId pulumi.StringInput    `pulumi:"replayId"`
}

func (LookupReplayOutputArgs) ElementType

func (LookupReplayOutputArgs) ElementType() reflect.Type

type LookupReplayResult

type LookupReplayResult struct {
	// The configuration used for the `Replay`.
	Config GoogleCloudPolicysimulatorV1alphaReplayConfigResponse `pulumi:"config"`
	// The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`
	Name string `pulumi:"name"`
	// Summary statistics about the replayed log entries.
	ResultsSummary GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponse `pulumi:"resultsSummary"`
	// The current state of the `Replay`.
	State string `pulumi:"state"`
}

func LookupReplay

func LookupReplay(ctx *pulumi.Context, args *LookupReplayArgs, opts ...pulumi.InvokeOption) (*LookupReplayResult, error)

Gets the specified Replay. Each `Replay` is available for at least 7 days.

type LookupReplayResultOutput

type LookupReplayResultOutput struct{ *pulumi.OutputState }

func (LookupReplayResultOutput) Config

The configuration used for the `Replay`.

func (LookupReplayResultOutput) ElementType

func (LookupReplayResultOutput) ElementType() reflect.Type

func (LookupReplayResultOutput) Name

The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`

func (LookupReplayResultOutput) ResultsSummary

Summary statistics about the replayed log entries.

func (LookupReplayResultOutput) State

The current state of the `Replay`.

func (LookupReplayResultOutput) ToLookupReplayResultOutput

func (o LookupReplayResultOutput) ToLookupReplayResultOutput() LookupReplayResultOutput

func (LookupReplayResultOutput) ToLookupReplayResultOutputWithContext

func (o LookupReplayResultOutput) ToLookupReplayResultOutputWithContext(ctx context.Context) LookupReplayResultOutput

type OrganizationReplay

type OrganizationReplay struct {
	pulumi.CustomResourceState

	// The configuration used for the `Replay`.
	Config   GoogleCloudPolicysimulatorV1alphaReplayConfigResponseOutput `pulumi:"config"`
	Location pulumi.StringOutput                                         `pulumi:"location"`
	// The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`
	Name           pulumi.StringOutput `pulumi:"name"`
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// Summary statistics about the replayed log entries.
	ResultsSummary GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutput `pulumi:"resultsSummary"`
	// The current state of the `Replay`.
	State pulumi.StringOutput `pulumi:"state"`
}

Creates and starts a Replay using the given ReplayConfig. Auto-naming is currently not supported for this resource. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

func GetOrganizationReplay

func GetOrganizationReplay(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OrganizationReplayState, opts ...pulumi.ResourceOption) (*OrganizationReplay, error)

GetOrganizationReplay gets an existing OrganizationReplay 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 NewOrganizationReplay

func NewOrganizationReplay(ctx *pulumi.Context,
	name string, args *OrganizationReplayArgs, opts ...pulumi.ResourceOption) (*OrganizationReplay, error)

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

func (*OrganizationReplay) ElementType

func (*OrganizationReplay) ElementType() reflect.Type

func (*OrganizationReplay) ToOrganizationReplayOutput

func (i *OrganizationReplay) ToOrganizationReplayOutput() OrganizationReplayOutput

func (*OrganizationReplay) ToOrganizationReplayOutputWithContext

func (i *OrganizationReplay) ToOrganizationReplayOutputWithContext(ctx context.Context) OrganizationReplayOutput

type OrganizationReplayArgs

type OrganizationReplayArgs struct {
	// The configuration used for the `Replay`.
	Config         GoogleCloudPolicysimulatorV1alphaReplayConfigInput
	Location       pulumi.StringPtrInput
	OrganizationId pulumi.StringInput
}

The set of arguments for constructing a OrganizationReplay resource.

func (OrganizationReplayArgs) ElementType

func (OrganizationReplayArgs) ElementType() reflect.Type

type OrganizationReplayInput

type OrganizationReplayInput interface {
	pulumi.Input

	ToOrganizationReplayOutput() OrganizationReplayOutput
	ToOrganizationReplayOutputWithContext(ctx context.Context) OrganizationReplayOutput
}

type OrganizationReplayOutput

type OrganizationReplayOutput struct{ *pulumi.OutputState }

func (OrganizationReplayOutput) Config

The configuration used for the `Replay`.

func (OrganizationReplayOutput) ElementType

func (OrganizationReplayOutput) ElementType() reflect.Type

func (OrganizationReplayOutput) Location

func (OrganizationReplayOutput) Name

The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`

func (OrganizationReplayOutput) OrganizationId

func (o OrganizationReplayOutput) OrganizationId() pulumi.StringOutput

func (OrganizationReplayOutput) ResultsSummary

Summary statistics about the replayed log entries.

func (OrganizationReplayOutput) State

The current state of the `Replay`.

func (OrganizationReplayOutput) ToOrganizationReplayOutput

func (o OrganizationReplayOutput) ToOrganizationReplayOutput() OrganizationReplayOutput

func (OrganizationReplayOutput) ToOrganizationReplayOutputWithContext

func (o OrganizationReplayOutput) ToOrganizationReplayOutputWithContext(ctx context.Context) OrganizationReplayOutput

type OrganizationReplayState

type OrganizationReplayState struct {
}

func (OrganizationReplayState) ElementType

func (OrganizationReplayState) ElementType() reflect.Type

type Replay

type Replay struct {
	pulumi.CustomResourceState

	// The configuration used for the `Replay`.
	Config   GoogleCloudPolicysimulatorV1alphaReplayConfigResponseOutput `pulumi:"config"`
	Location pulumi.StringOutput                                         `pulumi:"location"`
	// The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// Summary statistics about the replayed log entries.
	ResultsSummary GoogleCloudPolicysimulatorV1alphaReplayResultsSummaryResponseOutput `pulumi:"resultsSummary"`
	// The current state of the `Replay`.
	State pulumi.StringOutput `pulumi:"state"`
}

Creates and starts a Replay using the given ReplayConfig. Auto-naming is currently not supported for this resource. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

func GetReplay

func GetReplay(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReplayState, opts ...pulumi.ResourceOption) (*Replay, error)

GetReplay gets an existing Replay 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 NewReplay

func NewReplay(ctx *pulumi.Context,
	name string, args *ReplayArgs, opts ...pulumi.ResourceOption) (*Replay, error)

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

func (*Replay) ElementType

func (*Replay) ElementType() reflect.Type

func (*Replay) ToReplayOutput

func (i *Replay) ToReplayOutput() ReplayOutput

func (*Replay) ToReplayOutputWithContext

func (i *Replay) ToReplayOutputWithContext(ctx context.Context) ReplayOutput

type ReplayArgs

type ReplayArgs struct {
	// The configuration used for the `Replay`.
	Config   GoogleCloudPolicysimulatorV1alphaReplayConfigInput
	Location pulumi.StringPtrInput
	Project  pulumi.StringPtrInput
}

The set of arguments for constructing a Replay resource.

func (ReplayArgs) ElementType

func (ReplayArgs) ElementType() reflect.Type

type ReplayInput

type ReplayInput interface {
	pulumi.Input

	ToReplayOutput() ReplayOutput
	ToReplayOutputWithContext(ctx context.Context) ReplayOutput
}

type ReplayOutput

type ReplayOutput struct{ *pulumi.OutputState }

func (ReplayOutput) Config

The configuration used for the `Replay`.

func (ReplayOutput) ElementType

func (ReplayOutput) ElementType() reflect.Type

func (ReplayOutput) Location

func (o ReplayOutput) Location() pulumi.StringOutput

func (ReplayOutput) Name

func (o ReplayOutput) Name() pulumi.StringOutput

The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`

func (ReplayOutput) Project

func (o ReplayOutput) Project() pulumi.StringOutput

func (ReplayOutput) ResultsSummary

Summary statistics about the replayed log entries.

func (ReplayOutput) State

func (o ReplayOutput) State() pulumi.StringOutput

The current state of the `Replay`.

func (ReplayOutput) ToReplayOutput

func (o ReplayOutput) ToReplayOutput() ReplayOutput

func (ReplayOutput) ToReplayOutputWithContext

func (o ReplayOutput) ToReplayOutputWithContext(ctx context.Context) ReplayOutput

type ReplayState

type ReplayState struct {
}

func (ReplayState) ElementType

func (ReplayState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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