Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.policysimulator/v1beta1.getReplay
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets the specified Replay. Each Replay
is available for at least 7 days.
Using getReplay
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getReplay(args: GetReplayArgs, opts?: InvokeOptions): Promise<GetReplayResult>
function getReplayOutput(args: GetReplayOutputArgs, opts?: InvokeOptions): Output<GetReplayResult>
def get_replay(location: Optional[str] = None,
project: Optional[str] = None,
replay_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetReplayResult
def get_replay_output(location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
replay_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetReplayResult]
func LookupReplay(ctx *Context, args *LookupReplayArgs, opts ...InvokeOption) (*LookupReplayResult, error)
func LookupReplayOutput(ctx *Context, args *LookupReplayOutputArgs, opts ...InvokeOption) LookupReplayResultOutput
> Note: This function is named LookupReplay
in the Go SDK.
public static class GetReplay
{
public static Task<GetReplayResult> InvokeAsync(GetReplayArgs args, InvokeOptions? opts = null)
public static Output<GetReplayResult> Invoke(GetReplayInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetReplayResult> getReplay(GetReplayArgs args, InvokeOptions options)
public static Output<GetReplayResult> getReplay(GetReplayArgs args, InvokeOptions options)
fn::invoke:
function: google-native:policysimulator/v1beta1:getReplay
arguments:
# arguments dictionary
The following arguments are supported:
getReplay Result
The following output properties are available:
- Config
Pulumi.
Google Native. Policy Simulator. V1Beta1. Outputs. Google Cloud Policysimulator V1beta1Replay Config Response - The configuration used for the
Replay
. - Name string
- 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
- Results
Summary Pulumi.Google Native. Policy Simulator. V1Beta1. Outputs. Google Cloud Policysimulator V1beta1Replay Results Summary Response - Summary statistics about the replayed log entries.
- State string
- The current state of the
Replay
.
- Config
Google
Cloud Policysimulator V1beta1Replay Config Response - The configuration used for the
Replay
. - Name string
- 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
- Results
Summary GoogleCloud Policysimulator V1beta1Replay Results Summary Response - Summary statistics about the replayed log entries.
- State string
- The current state of the
Replay
.
- config
Google
Cloud Policysimulator V1beta1Replay Config Response - The configuration used for the
Replay
. - name String
- 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
- results
Summary GoogleCloud Policysimulator V1beta1Replay Results Summary Response - Summary statistics about the replayed log entries.
- state String
- The current state of the
Replay
.
- config
Google
Cloud Policysimulator V1beta1Replay Config Response - The configuration used for the
Replay
. - name string
- 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
- results
Summary GoogleCloud Policysimulator V1beta1Replay Results Summary Response - Summary statistics about the replayed log entries.
- state string
- The current state of the
Replay
.
- config
Google
Cloud Policysimulator V1beta1Replay Config Response - The configuration used for the
Replay
. - name str
- 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
- results_
summary GoogleCloud Policysimulator V1beta1Replay Results Summary Response - Summary statistics about the replayed log entries.
- state str
- The current state of the
Replay
.
- config Property Map
- The configuration used for the
Replay
. - name String
- 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
- results
Summary Property Map - Summary statistics about the replayed log entries.
- state String
- The current state of the
Replay
.
Supporting Types
GoogleCloudPolicysimulatorV1beta1ReplayConfigResponse
- Log
Source This property is required. string - The logs to use as input for the Replay.
- Policy
Overlay This property is required. Dictionary<string, string> - 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.
- Log
Source This property is required. string - The logs to use as input for the Replay.
- Policy
Overlay This property is required. map[string]string - 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.
- log
Source This property is required. String - The logs to use as input for the Replay.
- policy
Overlay This property is required. Map<String,String> - 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.
- log
Source This property is required. string - The logs to use as input for the Replay.
- policy
Overlay This property is required. {[key: string]: string} - 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.
- log_
source This property is required. str - The logs to use as input for the Replay.
- policy_
overlay This property is required. Mapping[str, str] - 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.
- log
Source This property is required. String - The logs to use as input for the Replay.
- policy
Overlay This property is required. Map<String> - 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.
GoogleCloudPolicysimulatorV1beta1ReplayResultsSummaryResponse
- Difference
Count This property is required. int - The number of replayed log entries with a difference between baseline and simulated policies.
- Error
Count This property is required. int - The number of log entries that could not be replayed.
- Log
Count This property is required. int - The total number of log entries replayed.
- Newest
Date This property is required. Pulumi.Google Native. Policy Simulator. V1Beta1. Inputs. Google Type Date Response - The date of the newest log entry replayed.
- Oldest
Date This property is required. Pulumi.Google Native. Policy Simulator. V1Beta1. Inputs. Google Type Date Response - The date of the oldest log entry replayed.
- Unchanged
Count This property is required. int - The number of replayed log entries with no difference between baseline and simulated policies.
- Difference
Count This property is required. int - The number of replayed log entries with a difference between baseline and simulated policies.
- Error
Count This property is required. int - The number of log entries that could not be replayed.
- Log
Count This property is required. int - The total number of log entries replayed.
- Newest
Date This property is required. GoogleType Date Response - The date of the newest log entry replayed.
- Oldest
Date This property is required. GoogleType Date Response - The date of the oldest log entry replayed.
- Unchanged
Count This property is required. int - The number of replayed log entries with no difference between baseline and simulated policies.
- difference
Count This property is required. Integer - The number of replayed log entries with a difference between baseline and simulated policies.
- error
Count This property is required. Integer - The number of log entries that could not be replayed.
- log
Count This property is required. Integer - The total number of log entries replayed.
- newest
Date This property is required. GoogleType Date Response - The date of the newest log entry replayed.
- oldest
Date This property is required. GoogleType Date Response - The date of the oldest log entry replayed.
- unchanged
Count This property is required. Integer - The number of replayed log entries with no difference between baseline and simulated policies.
- difference
Count This property is required. number - The number of replayed log entries with a difference between baseline and simulated policies.
- error
Count This property is required. number - The number of log entries that could not be replayed.
- log
Count This property is required. number - The total number of log entries replayed.
- newest
Date This property is required. GoogleType Date Response - The date of the newest log entry replayed.
- oldest
Date This property is required. GoogleType Date Response - The date of the oldest log entry replayed.
- unchanged
Count This property is required. number - The number of replayed log entries with no difference between baseline and simulated policies.
- difference_
count This property is required. int - The number of replayed log entries with a difference between baseline and simulated policies.
- error_
count This property is required. int - The number of log entries that could not be replayed.
- log_
count This property is required. int - The total number of log entries replayed.
- newest_
date This property is required. GoogleType Date Response - The date of the newest log entry replayed.
- oldest_
date This property is required. GoogleType Date Response - The date of the oldest log entry replayed.
- unchanged_
count This property is required. int - The number of replayed log entries with no difference between baseline and simulated policies.
- difference
Count This property is required. Number - The number of replayed log entries with a difference between baseline and simulated policies.
- error
Count This property is required. Number - The number of log entries that could not be replayed.
- log
Count This property is required. Number - The total number of log entries replayed.
- newest
Date This property is required. Property Map - The date of the newest log entry replayed.
- oldest
Date This property is required. Property Map - The date of the oldest log entry replayed.
- unchanged
Count This property is required. Number - The number of replayed log entries with no difference between baseline and simulated policies.
GoogleTypeDateResponse
- Day
This property is required. int - 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.
- Month
This property is required. int - Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
- Year
This property is required. int - Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
- Day
This property is required. int - 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.
- Month
This property is required. int - Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
- Year
This property is required. int - Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
- day
This property is required. Integer - 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.
- month
This property is required. Integer - Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
- year
This property is required. Integer - Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
- day
This property is required. number - 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.
- month
This property is required. number - Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
- year
This property is required. number - Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
- day
This property is required. int - 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.
- month
This property is required. int - Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
- year
This property is required. int - Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
- day
This property is required. Number - 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.
- month
This property is required. Number - Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
- year
This property is required. Number - Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi