Documentation ¶
Index ¶
- Constants
- type FolderReplay
- type FolderReplayArgs
- type FolderReplayInput
- type FolderReplayOutput
- func (o FolderReplayOutput) Config() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput
- func (FolderReplayOutput) ElementType() reflect.Type
- func (o FolderReplayOutput) FolderId() pulumi.StringOutput
- func (o FolderReplayOutput) Location() pulumi.StringOutput
- func (o FolderReplayOutput) Name() pulumi.StringOutput
- func (o FolderReplayOutput) ResultsSummary() GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput
- func (o FolderReplayOutput) State() pulumi.StringOutput
- func (o FolderReplayOutput) ToFolderReplayOutput() FolderReplayOutput
- func (o FolderReplayOutput) ToFolderReplayOutputWithContext(ctx context.Context) FolderReplayOutput
- type FolderReplayState
- type GoogleCloudPolicysimulatorV1ReplayConfig
- type GoogleCloudPolicysimulatorV1ReplayConfigArgs
- func (GoogleCloudPolicysimulatorV1ReplayConfigArgs) ElementType() reflect.Type
- func (i GoogleCloudPolicysimulatorV1ReplayConfigArgs) ToGoogleCloudPolicysimulatorV1ReplayConfigOutput() GoogleCloudPolicysimulatorV1ReplayConfigOutput
- func (i GoogleCloudPolicysimulatorV1ReplayConfigArgs) ToGoogleCloudPolicysimulatorV1ReplayConfigOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayConfigOutput
- type GoogleCloudPolicysimulatorV1ReplayConfigInput
- type GoogleCloudPolicysimulatorV1ReplayConfigLogSource
- func (GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ElementType() reflect.Type
- func (e GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput() GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput
- func (e GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput
- func (e GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput() GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput
- func (e GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput
- func (e GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToStringOutput() pulumi.StringOutput
- func (e GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type GoogleCloudPolicysimulatorV1ReplayConfigLogSourceInput
- type GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput
- func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ElementType() reflect.Type
- func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput() GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput
- func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput
- func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput() GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput
- func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput
- func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToStringOutput() pulumi.StringOutput
- func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrInput
- type GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput
- func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) Elem() GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput
- func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) ElementType() reflect.Type
- func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput() GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput
- func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput
- func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type GoogleCloudPolicysimulatorV1ReplayConfigOutput
- func (GoogleCloudPolicysimulatorV1ReplayConfigOutput) ElementType() reflect.Type
- func (o GoogleCloudPolicysimulatorV1ReplayConfigOutput) LogSource() GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput
- func (o GoogleCloudPolicysimulatorV1ReplayConfigOutput) PolicyOverlay() pulumi.StringMapOutput
- func (o GoogleCloudPolicysimulatorV1ReplayConfigOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigOutput() GoogleCloudPolicysimulatorV1ReplayConfigOutput
- func (o GoogleCloudPolicysimulatorV1ReplayConfigOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayConfigOutput
- type GoogleCloudPolicysimulatorV1ReplayConfigResponse
- type GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput
- func (GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) ElementType() reflect.Type
- func (o GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) LogSource() pulumi.StringOutput
- func (o GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) PolicyOverlay() pulumi.StringMapOutput
- func (o GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigResponseOutput() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput
- func (o GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigResponseOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput
- type GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponse
- type GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput
- func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) DifferenceCount() pulumi.IntOutput
- func (GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) ElementType() reflect.Type
- func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) ErrorCount() pulumi.IntOutput
- func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) LogCount() pulumi.IntOutput
- func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) NewestDate() GoogleTypeDateResponseOutput
- func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) OldestDate() GoogleTypeDateResponseOutput
- func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) ToGoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput() GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput
- func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) ToGoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput
- func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) UnchangedCount() pulumi.IntOutput
- type GoogleTypeDateResponse
- type GoogleTypeDateResponseOutput
- func (o GoogleTypeDateResponseOutput) Day() pulumi.IntOutput
- func (GoogleTypeDateResponseOutput) ElementType() reflect.Type
- func (o GoogleTypeDateResponseOutput) Month() pulumi.IntOutput
- func (o GoogleTypeDateResponseOutput) ToGoogleTypeDateResponseOutput() GoogleTypeDateResponseOutput
- func (o GoogleTypeDateResponseOutput) ToGoogleTypeDateResponseOutputWithContext(ctx context.Context) GoogleTypeDateResponseOutput
- func (o GoogleTypeDateResponseOutput) Year() pulumi.IntOutput
- type LookupFolderReplayArgs
- type LookupFolderReplayOutputArgs
- type LookupFolderReplayResult
- type LookupFolderReplayResultOutput
- func (o LookupFolderReplayResultOutput) Config() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput
- func (LookupFolderReplayResultOutput) ElementType() reflect.Type
- func (o LookupFolderReplayResultOutput) Name() pulumi.StringOutput
- func (o LookupFolderReplayResultOutput) ResultsSummary() GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput
- func (o LookupFolderReplayResultOutput) State() pulumi.StringOutput
- func (o LookupFolderReplayResultOutput) ToLookupFolderReplayResultOutput() LookupFolderReplayResultOutput
- func (o LookupFolderReplayResultOutput) ToLookupFolderReplayResultOutputWithContext(ctx context.Context) LookupFolderReplayResultOutput
- type LookupOrganizationReplayArgs
- type LookupOrganizationReplayOutputArgs
- type LookupOrganizationReplayResult
- type LookupOrganizationReplayResultOutput
- func (o LookupOrganizationReplayResultOutput) Config() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput
- func (LookupOrganizationReplayResultOutput) ElementType() reflect.Type
- func (o LookupOrganizationReplayResultOutput) Name() pulumi.StringOutput
- func (o LookupOrganizationReplayResultOutput) ResultsSummary() GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput
- func (o LookupOrganizationReplayResultOutput) State() pulumi.StringOutput
- func (o LookupOrganizationReplayResultOutput) ToLookupOrganizationReplayResultOutput() LookupOrganizationReplayResultOutput
- func (o LookupOrganizationReplayResultOutput) ToLookupOrganizationReplayResultOutputWithContext(ctx context.Context) LookupOrganizationReplayResultOutput
- type LookupReplayArgs
- type LookupReplayOutputArgs
- type LookupReplayResult
- type LookupReplayResultOutput
- func (o LookupReplayResultOutput) Config() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput
- func (LookupReplayResultOutput) ElementType() reflect.Type
- func (o LookupReplayResultOutput) Name() pulumi.StringOutput
- func (o LookupReplayResultOutput) ResultsSummary() GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput
- func (o LookupReplayResultOutput) State() pulumi.StringOutput
- func (o LookupReplayResultOutput) ToLookupReplayResultOutput() LookupReplayResultOutput
- func (o LookupReplayResultOutput) ToLookupReplayResultOutputWithContext(ctx context.Context) LookupReplayResultOutput
- type OrganizationReplay
- type OrganizationReplayArgs
- type OrganizationReplayInput
- type OrganizationReplayOutput
- func (o OrganizationReplayOutput) Config() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput
- func (OrganizationReplayOutput) ElementType() reflect.Type
- func (o OrganizationReplayOutput) Location() pulumi.StringOutput
- func (o OrganizationReplayOutput) Name() pulumi.StringOutput
- func (o OrganizationReplayOutput) OrganizationId() pulumi.StringOutput
- func (o OrganizationReplayOutput) ResultsSummary() GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput
- func (o OrganizationReplayOutput) State() pulumi.StringOutput
- func (o OrganizationReplayOutput) ToOrganizationReplayOutput() OrganizationReplayOutput
- func (o OrganizationReplayOutput) ToOrganizationReplayOutputWithContext(ctx context.Context) OrganizationReplayOutput
- type OrganizationReplayState
- type Replay
- type ReplayArgs
- type ReplayInput
- type ReplayOutput
- func (o ReplayOutput) Config() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput
- func (ReplayOutput) ElementType() reflect.Type
- func (o ReplayOutput) Location() pulumi.StringOutput
- func (o ReplayOutput) Name() pulumi.StringOutput
- func (o ReplayOutput) Project() pulumi.StringOutput
- func (o ReplayOutput) ResultsSummary() GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput
- func (o ReplayOutput) State() pulumi.StringOutput
- func (o ReplayOutput) ToReplayOutput() ReplayOutput
- func (o ReplayOutput) ToReplayOutputWithContext(ctx context.Context) ReplayOutput
- type ReplayState
Constants ¶
const ( // An unspecified log source. If the log source is unspecified, the Replay defaults to using `RECENT_ACCESSES`. GoogleCloudPolicysimulatorV1ReplayConfigLogSourceLogSourceUnspecified = GoogleCloudPolicysimulatorV1ReplayConfigLogSource("LOG_SOURCE_UNSPECIFIED") // All access logs from the last 90 days. These logs may not include logs from the most recent 7 days. GoogleCloudPolicysimulatorV1ReplayConfigLogSourceRecentAccesses = GoogleCloudPolicysimulatorV1ReplayConfigLogSource("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 GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput `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 GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput `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 GoogleCloudPolicysimulatorV1ReplayConfigInput 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 ¶ added in v0.19.0
func (o FolderReplayOutput) Config() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput
The configuration used for the `Replay`.
func (FolderReplayOutput) ElementType ¶
func (FolderReplayOutput) ElementType() reflect.Type
func (FolderReplayOutput) FolderId ¶ added in v0.21.0
func (o FolderReplayOutput) FolderId() pulumi.StringOutput
func (FolderReplayOutput) Location ¶ added in v0.21.0
func (o FolderReplayOutput) Location() pulumi.StringOutput
func (FolderReplayOutput) Name ¶ added in v0.19.0
func (o FolderReplayOutput) 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 (FolderReplayOutput) ResultsSummary ¶ added in v0.19.0
func (o FolderReplayOutput) ResultsSummary() GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput
Summary statistics about the replayed log entries.
func (FolderReplayOutput) State ¶ added in v0.19.0
func (o FolderReplayOutput) State() pulumi.StringOutput
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 GoogleCloudPolicysimulatorV1ReplayConfig ¶
type GoogleCloudPolicysimulatorV1ReplayConfig struct { // The logs to use as input for the Replay. LogSource *GoogleCloudPolicysimulatorV1ReplayConfigLogSource `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 GoogleCloudPolicysimulatorV1ReplayConfigArgs ¶
type GoogleCloudPolicysimulatorV1ReplayConfigArgs struct { // The logs to use as input for the Replay. LogSource GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrInput `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 (GoogleCloudPolicysimulatorV1ReplayConfigArgs) ElementType ¶
func (GoogleCloudPolicysimulatorV1ReplayConfigArgs) ElementType() reflect.Type
func (GoogleCloudPolicysimulatorV1ReplayConfigArgs) ToGoogleCloudPolicysimulatorV1ReplayConfigOutput ¶
func (i GoogleCloudPolicysimulatorV1ReplayConfigArgs) ToGoogleCloudPolicysimulatorV1ReplayConfigOutput() GoogleCloudPolicysimulatorV1ReplayConfigOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigArgs) ToGoogleCloudPolicysimulatorV1ReplayConfigOutputWithContext ¶
func (i GoogleCloudPolicysimulatorV1ReplayConfigArgs) ToGoogleCloudPolicysimulatorV1ReplayConfigOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayConfigOutput
type GoogleCloudPolicysimulatorV1ReplayConfigInput ¶
type GoogleCloudPolicysimulatorV1ReplayConfigInput interface { pulumi.Input ToGoogleCloudPolicysimulatorV1ReplayConfigOutput() GoogleCloudPolicysimulatorV1ReplayConfigOutput ToGoogleCloudPolicysimulatorV1ReplayConfigOutputWithContext(context.Context) GoogleCloudPolicysimulatorV1ReplayConfigOutput }
GoogleCloudPolicysimulatorV1ReplayConfigInput is an input type that accepts GoogleCloudPolicysimulatorV1ReplayConfigArgs and GoogleCloudPolicysimulatorV1ReplayConfigOutput values. You can construct a concrete instance of `GoogleCloudPolicysimulatorV1ReplayConfigInput` via:
GoogleCloudPolicysimulatorV1ReplayConfigArgs{...}
type GoogleCloudPolicysimulatorV1ReplayConfigLogSource ¶ added in v0.4.0
type GoogleCloudPolicysimulatorV1ReplayConfigLogSource string
The logs to use as input for the Replay.
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ElementType ¶ added in v0.4.0
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ElementType() reflect.Type
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput ¶ added in v0.6.0
func (e GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput() GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutputWithContext ¶ added in v0.6.0
func (e GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput ¶ added in v0.6.0
func (e GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput() GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutputWithContext ¶ added in v0.6.0
func (e GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToStringOutput ¶ added in v0.4.0
func (e GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToStringOutput() pulumi.StringOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToStringOutputWithContext ¶ added in v0.4.0
func (e GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToStringPtrOutput ¶ added in v0.4.0
func (e GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToStringPtrOutput() pulumi.StringPtrOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToStringPtrOutputWithContext ¶ added in v0.4.0
func (e GoogleCloudPolicysimulatorV1ReplayConfigLogSource) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type GoogleCloudPolicysimulatorV1ReplayConfigLogSourceInput ¶ added in v0.6.0
type GoogleCloudPolicysimulatorV1ReplayConfigLogSourceInput interface { pulumi.Input ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput() GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutputWithContext(context.Context) GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput }
GoogleCloudPolicysimulatorV1ReplayConfigLogSourceInput is an input type that accepts GoogleCloudPolicysimulatorV1ReplayConfigLogSourceArgs and GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput values. You can construct a concrete instance of `GoogleCloudPolicysimulatorV1ReplayConfigLogSourceInput` via:
GoogleCloudPolicysimulatorV1ReplayConfigLogSourceArgs{...}
type GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput ¶ added in v0.6.0
type GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput struct{ *pulumi.OutputState }
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ElementType ¶ added in v0.6.0
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ElementType() reflect.Type
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput ¶ added in v0.6.0
func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput() GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutputWithContext ¶ added in v0.6.0
func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput ¶ added in v0.6.0
func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput() GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutputWithContext ¶ added in v0.6.0
func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToStringOutput ¶ added in v0.6.0
func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToStringOutput() pulumi.StringOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToStringOutputWithContext ¶ added in v0.6.0
func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrInput ¶ added in v0.6.0
type GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrInput interface { pulumi.Input ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput() GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutputWithContext(context.Context) GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput }
func GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtr ¶ added in v0.6.0
func GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtr(v string) GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrInput
type GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput ¶ added in v0.6.0
type GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput struct{ *pulumi.OutputState }
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) ElementType ¶ added in v0.6.0
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) ElementType() reflect.Type
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput ¶ added in v0.6.0
func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput() GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutputWithContext ¶ added in v0.6.0
func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) ToStringPtrOutput ¶ added in v0.6.0
func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) ToStringPtrOutputWithContext ¶ added in v0.6.0
func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type GoogleCloudPolicysimulatorV1ReplayConfigOutput ¶
type GoogleCloudPolicysimulatorV1ReplayConfigOutput struct{ *pulumi.OutputState }
The configuration used for a Replay.
func (GoogleCloudPolicysimulatorV1ReplayConfigOutput) ElementType ¶
func (GoogleCloudPolicysimulatorV1ReplayConfigOutput) ElementType() reflect.Type
func (GoogleCloudPolicysimulatorV1ReplayConfigOutput) LogSource ¶
func (o GoogleCloudPolicysimulatorV1ReplayConfigOutput) LogSource() GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput
The logs to use as input for the Replay.
func (GoogleCloudPolicysimulatorV1ReplayConfigOutput) PolicyOverlay ¶
func (o GoogleCloudPolicysimulatorV1ReplayConfigOutput) PolicyOverlay() pulumi.StringMapOutput
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 (GoogleCloudPolicysimulatorV1ReplayConfigOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigOutput ¶
func (o GoogleCloudPolicysimulatorV1ReplayConfigOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigOutput() GoogleCloudPolicysimulatorV1ReplayConfigOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigOutputWithContext ¶
func (o GoogleCloudPolicysimulatorV1ReplayConfigOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayConfigOutput
type GoogleCloudPolicysimulatorV1ReplayConfigResponse ¶
type GoogleCloudPolicysimulatorV1ReplayConfigResponse 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 GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput ¶
type GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput struct{ *pulumi.OutputState }
The configuration used for a Replay.
func (GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) ElementType ¶
func (GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) ElementType() reflect.Type
func (GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) LogSource ¶
func (o GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) LogSource() pulumi.StringOutput
The logs to use as input for the Replay.
func (GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) PolicyOverlay ¶
func (o GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) PolicyOverlay() pulumi.StringMapOutput
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 (GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigResponseOutput ¶
func (o GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigResponseOutput() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput
func (GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigResponseOutputWithContext ¶
func (o GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) ToGoogleCloudPolicysimulatorV1ReplayConfigResponseOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput
type GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponse ¶
type GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponse 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 GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput ¶
type GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput struct{ *pulumi.OutputState }
Summary statistics about the replayed log entries.
func (GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) DifferenceCount ¶
func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) DifferenceCount() pulumi.IntOutput
The number of replayed log entries with a difference between baseline and simulated policies.
func (GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) ElementType ¶
func (GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) ElementType() reflect.Type
func (GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) ErrorCount ¶
func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) ErrorCount() pulumi.IntOutput
The number of log entries that could not be replayed.
func (GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) LogCount ¶
func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) LogCount() pulumi.IntOutput
The total number of log entries replayed.
func (GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) NewestDate ¶
func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) NewestDate() GoogleTypeDateResponseOutput
The date of the newest log entry replayed.
func (GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) OldestDate ¶
func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) OldestDate() GoogleTypeDateResponseOutput
The date of the oldest log entry replayed.
func (GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) ToGoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput ¶
func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) ToGoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput() GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput
func (GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) ToGoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutputWithContext ¶
func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) ToGoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutputWithContext(ctx context.Context) GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput
func (GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) UnchangedCount ¶
func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) UnchangedCount() pulumi.IntOutput
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 ¶
func (o GoogleTypeDateResponseOutput) Day() pulumi.IntOutput
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) ElementType() reflect.Type
func (GoogleTypeDateResponseOutput) Month ¶
func (o GoogleTypeDateResponseOutput) Month() pulumi.IntOutput
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 ¶
func (o GoogleTypeDateResponseOutput) Year() pulumi.IntOutput
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
type LookupFolderReplayArgs ¶ added in v0.4.0
type LookupFolderReplayOutputArgs ¶ added in v0.8.0
type LookupFolderReplayOutputArgs struct { FolderId pulumi.StringInput `pulumi:"folderId"` Location pulumi.StringInput `pulumi:"location"` ReplayId pulumi.StringInput `pulumi:"replayId"` }
func (LookupFolderReplayOutputArgs) ElementType ¶ added in v0.8.0
func (LookupFolderReplayOutputArgs) ElementType() reflect.Type
type LookupFolderReplayResult ¶ added in v0.4.0
type LookupFolderReplayResult struct { // The configuration used for the `Replay`. Config GoogleCloudPolicysimulatorV1ReplayConfigResponse `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 GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponse `pulumi:"resultsSummary"` // The current state of the `Replay`. State string `pulumi:"state"` }
func LookupFolderReplay ¶ added in v0.4.0
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 ¶ added in v0.8.0
type LookupFolderReplayResultOutput struct{ *pulumi.OutputState }
func LookupFolderReplayOutput ¶ added in v0.8.0
func LookupFolderReplayOutput(ctx *pulumi.Context, args LookupFolderReplayOutputArgs, opts ...pulumi.InvokeOption) LookupFolderReplayResultOutput
func (LookupFolderReplayResultOutput) Config ¶ added in v0.8.0
func (o LookupFolderReplayResultOutput) Config() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput
The configuration used for the `Replay`.
func (LookupFolderReplayResultOutput) ElementType ¶ added in v0.8.0
func (LookupFolderReplayResultOutput) ElementType() reflect.Type
func (LookupFolderReplayResultOutput) Name ¶ added in v0.8.0
func (o LookupFolderReplayResultOutput) 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 (LookupFolderReplayResultOutput) ResultsSummary ¶ added in v0.8.0
func (o LookupFolderReplayResultOutput) ResultsSummary() GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput
Summary statistics about the replayed log entries.
func (LookupFolderReplayResultOutput) State ¶ added in v0.8.0
func (o LookupFolderReplayResultOutput) State() pulumi.StringOutput
The current state of the `Replay`.
func (LookupFolderReplayResultOutput) ToLookupFolderReplayResultOutput ¶ added in v0.8.0
func (o LookupFolderReplayResultOutput) ToLookupFolderReplayResultOutput() LookupFolderReplayResultOutput
func (LookupFolderReplayResultOutput) ToLookupFolderReplayResultOutputWithContext ¶ added in v0.8.0
func (o LookupFolderReplayResultOutput) ToLookupFolderReplayResultOutputWithContext(ctx context.Context) LookupFolderReplayResultOutput
type LookupOrganizationReplayArgs ¶ added in v0.4.0
type LookupOrganizationReplayOutputArgs ¶ added in v0.8.0
type LookupOrganizationReplayOutputArgs struct { Location pulumi.StringInput `pulumi:"location"` OrganizationId pulumi.StringInput `pulumi:"organizationId"` ReplayId pulumi.StringInput `pulumi:"replayId"` }
func (LookupOrganizationReplayOutputArgs) ElementType ¶ added in v0.8.0
func (LookupOrganizationReplayOutputArgs) ElementType() reflect.Type
type LookupOrganizationReplayResult ¶ added in v0.4.0
type LookupOrganizationReplayResult struct { // The configuration used for the `Replay`. Config GoogleCloudPolicysimulatorV1ReplayConfigResponse `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 GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponse `pulumi:"resultsSummary"` // The current state of the `Replay`. State string `pulumi:"state"` }
func LookupOrganizationReplay ¶ added in v0.4.0
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 ¶ added in v0.8.0
type LookupOrganizationReplayResultOutput struct{ *pulumi.OutputState }
func LookupOrganizationReplayOutput ¶ added in v0.8.0
func LookupOrganizationReplayOutput(ctx *pulumi.Context, args LookupOrganizationReplayOutputArgs, opts ...pulumi.InvokeOption) LookupOrganizationReplayResultOutput
func (LookupOrganizationReplayResultOutput) Config ¶ added in v0.8.0
func (o LookupOrganizationReplayResultOutput) Config() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput
The configuration used for the `Replay`.
func (LookupOrganizationReplayResultOutput) ElementType ¶ added in v0.8.0
func (LookupOrganizationReplayResultOutput) ElementType() reflect.Type
func (LookupOrganizationReplayResultOutput) Name ¶ added in v0.8.0
func (o LookupOrganizationReplayResultOutput) 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 (LookupOrganizationReplayResultOutput) ResultsSummary ¶ added in v0.8.0
func (o LookupOrganizationReplayResultOutput) ResultsSummary() GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput
Summary statistics about the replayed log entries.
func (LookupOrganizationReplayResultOutput) State ¶ added in v0.8.0
func (o LookupOrganizationReplayResultOutput) State() pulumi.StringOutput
The current state of the `Replay`.
func (LookupOrganizationReplayResultOutput) ToLookupOrganizationReplayResultOutput ¶ added in v0.8.0
func (o LookupOrganizationReplayResultOutput) ToLookupOrganizationReplayResultOutput() LookupOrganizationReplayResultOutput
func (LookupOrganizationReplayResultOutput) ToLookupOrganizationReplayResultOutputWithContext ¶ added in v0.8.0
func (o LookupOrganizationReplayResultOutput) ToLookupOrganizationReplayResultOutputWithContext(ctx context.Context) LookupOrganizationReplayResultOutput
type LookupReplayArgs ¶ added in v0.4.0
type LookupReplayOutputArgs ¶ added in v0.8.0
type LookupReplayOutputArgs struct { Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` ReplayId pulumi.StringInput `pulumi:"replayId"` }
func (LookupReplayOutputArgs) ElementType ¶ added in v0.8.0
func (LookupReplayOutputArgs) ElementType() reflect.Type
type LookupReplayResult ¶ added in v0.4.0
type LookupReplayResult struct { // The configuration used for the `Replay`. Config GoogleCloudPolicysimulatorV1ReplayConfigResponse `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 GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponse `pulumi:"resultsSummary"` // The current state of the `Replay`. State string `pulumi:"state"` }
func LookupReplay ¶ added in v0.4.0
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 ¶ added in v0.8.0
type LookupReplayResultOutput struct{ *pulumi.OutputState }
func LookupReplayOutput ¶ added in v0.8.0
func LookupReplayOutput(ctx *pulumi.Context, args LookupReplayOutputArgs, opts ...pulumi.InvokeOption) LookupReplayResultOutput
func (LookupReplayResultOutput) ElementType ¶ added in v0.8.0
func (LookupReplayResultOutput) ElementType() reflect.Type
func (LookupReplayResultOutput) Name ¶ added in v0.8.0
func (o LookupReplayResultOutput) 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 (LookupReplayResultOutput) ResultsSummary ¶ added in v0.8.0
func (o LookupReplayResultOutput) ResultsSummary() GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput
Summary statistics about the replayed log entries.
func (LookupReplayResultOutput) State ¶ added in v0.8.0
func (o LookupReplayResultOutput) State() pulumi.StringOutput
The current state of the `Replay`.
func (LookupReplayResultOutput) ToLookupReplayResultOutput ¶ added in v0.8.0
func (o LookupReplayResultOutput) ToLookupReplayResultOutput() LookupReplayResultOutput
func (LookupReplayResultOutput) ToLookupReplayResultOutputWithContext ¶ added in v0.8.0
func (o LookupReplayResultOutput) ToLookupReplayResultOutputWithContext(ctx context.Context) LookupReplayResultOutput
type OrganizationReplay ¶
type OrganizationReplay struct { pulumi.CustomResourceState // The configuration used for the `Replay`. Config GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput `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 GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput `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 GoogleCloudPolicysimulatorV1ReplayConfigInput 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) ElementType ¶
func (OrganizationReplayOutput) ElementType() reflect.Type
func (OrganizationReplayOutput) Location ¶ added in v0.21.0
func (o OrganizationReplayOutput) Location() pulumi.StringOutput
func (OrganizationReplayOutput) Name ¶ added in v0.19.0
func (o OrganizationReplayOutput) 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 (OrganizationReplayOutput) OrganizationId ¶ added in v0.21.0
func (o OrganizationReplayOutput) OrganizationId() pulumi.StringOutput
func (OrganizationReplayOutput) ResultsSummary ¶ added in v0.19.0
func (o OrganizationReplayOutput) ResultsSummary() GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput
Summary statistics about the replayed log entries.
func (OrganizationReplayOutput) State ¶ added in v0.19.0
func (o OrganizationReplayOutput) State() pulumi.StringOutput
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 GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput `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 GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput `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) 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 GoogleCloudPolicysimulatorV1ReplayConfigInput 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 ¶ added in v0.19.0
func (o ReplayOutput) Config() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput
The configuration used for the `Replay`.
func (ReplayOutput) ElementType ¶
func (ReplayOutput) ElementType() reflect.Type
func (ReplayOutput) Location ¶ added in v0.21.0
func (o ReplayOutput) Location() pulumi.StringOutput
func (ReplayOutput) Name ¶ added in v0.19.0
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 ¶ added in v0.21.0
func (o ReplayOutput) Project() pulumi.StringOutput
func (ReplayOutput) ResultsSummary ¶ added in v0.19.0
func (o ReplayOutput) ResultsSummary() GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput
Summary statistics about the replayed log entries.
func (ReplayOutput) State ¶ added in v0.19.0
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