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.workloadmanager/v1.getEvaluation
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 details of a single Evaluation.
Using getEvaluation
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 getEvaluation(args: GetEvaluationArgs, opts?: InvokeOptions): Promise<GetEvaluationResult>
function getEvaluationOutput(args: GetEvaluationOutputArgs, opts?: InvokeOptions): Output<GetEvaluationResult>
def get_evaluation(evaluation_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEvaluationResult
def get_evaluation_output(evaluation_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEvaluationResult]
func LookupEvaluation(ctx *Context, args *LookupEvaluationArgs, opts ...InvokeOption) (*LookupEvaluationResult, error)
func LookupEvaluationOutput(ctx *Context, args *LookupEvaluationOutputArgs, opts ...InvokeOption) LookupEvaluationResultOutput
> Note: This function is named LookupEvaluation
in the Go SDK.
public static class GetEvaluation
{
public static Task<GetEvaluationResult> InvokeAsync(GetEvaluationArgs args, InvokeOptions? opts = null)
public static Output<GetEvaluationResult> Invoke(GetEvaluationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEvaluationResult> getEvaluation(GetEvaluationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:workloadmanager/v1:getEvaluation
arguments:
# arguments dictionary
The following arguments are supported:
- Evaluation
Id string - Location string
- Project string
- Evaluation
Id string - Location string
- Project string
- evaluation
Id String - location String
- project String
- evaluation
Id string - location string
- project string
- evaluation_
id str - location str
- project str
- evaluation
Id String - location String
- project String
getEvaluation Result
The following output properties are available:
- Create
Time string - [Output only] Create time stamp
- Custom
Rules stringBucket - The Cloud Storage bucket name for custom rules.
- Description string
- Description of the Evaluation
- Labels Dictionary<string, string>
- Labels as key value pairs
- Name string
- name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}'
- Resource
Filter Pulumi.Google Native. Workload Manager. V1. Outputs. Resource Filter Response - annotations as key value pairs
- Resource
Status Pulumi.Google Native. Workload Manager. V1. Outputs. Resource Status Response - [Output only] The updated rule ids if exist.
- Rule
Names List<string> - the name of the rule
- Rule
Versions List<string> - [Output only] The updated rule ids if exist.
- Schedule string
- crontab format schedule for scheduled evaluation, currently only support the following schedule: "0 */1 * * *", "0 */6 * * *", "0 */12 * * *", "0 0 */1 * *", "0 0 */7 * *",
- Update
Time string - [Output only] Update time stamp
- Create
Time string - [Output only] Create time stamp
- Custom
Rules stringBucket - The Cloud Storage bucket name for custom rules.
- Description string
- Description of the Evaluation
- Labels map[string]string
- Labels as key value pairs
- Name string
- name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}'
- Resource
Filter ResourceFilter Response - annotations as key value pairs
- Resource
Status ResourceStatus Response - [Output only] The updated rule ids if exist.
- Rule
Names []string - the name of the rule
- Rule
Versions []string - [Output only] The updated rule ids if exist.
- Schedule string
- crontab format schedule for scheduled evaluation, currently only support the following schedule: "0 */1 * * *", "0 */6 * * *", "0 */12 * * *", "0 0 */1 * *", "0 0 */7 * *",
- Update
Time string - [Output only] Update time stamp
- create
Time String - [Output only] Create time stamp
- custom
Rules StringBucket - The Cloud Storage bucket name for custom rules.
- description String
- Description of the Evaluation
- labels Map<String,String>
- Labels as key value pairs
- name String
- name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}'
- resource
Filter ResourceFilter Response - annotations as key value pairs
- resource
Status ResourceStatus Response - [Output only] The updated rule ids if exist.
- rule
Names List<String> - the name of the rule
- rule
Versions List<String> - [Output only] The updated rule ids if exist.
- schedule String
- crontab format schedule for scheduled evaluation, currently only support the following schedule: "0 */1 * * *", "0 */6 * * *", "0 */12 * * *", "0 0 */1 * *", "0 0 */7 * *",
- update
Time String - [Output only] Update time stamp
- create
Time string - [Output only] Create time stamp
- custom
Rules stringBucket - The Cloud Storage bucket name for custom rules.
- description string
- Description of the Evaluation
- labels {[key: string]: string}
- Labels as key value pairs
- name string
- name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}'
- resource
Filter ResourceFilter Response - annotations as key value pairs
- resource
Status ResourceStatus Response - [Output only] The updated rule ids if exist.
- rule
Names string[] - the name of the rule
- rule
Versions string[] - [Output only] The updated rule ids if exist.
- schedule string
- crontab format schedule for scheduled evaluation, currently only support the following schedule: "0 */1 * * *", "0 */6 * * *", "0 */12 * * *", "0 0 */1 * *", "0 0 */7 * *",
- update
Time string - [Output only] Update time stamp
- create_
time str - [Output only] Create time stamp
- custom_
rules_ strbucket - The Cloud Storage bucket name for custom rules.
- description str
- Description of the Evaluation
- labels Mapping[str, str]
- Labels as key value pairs
- name str
- name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}'
- resource_
filter ResourceFilter Response - annotations as key value pairs
- resource_
status ResourceStatus Response - [Output only] The updated rule ids if exist.
- rule_
names Sequence[str] - the name of the rule
- rule_
versions Sequence[str] - [Output only] The updated rule ids if exist.
- schedule str
- crontab format schedule for scheduled evaluation, currently only support the following schedule: "0 */1 * * *", "0 */6 * * *", "0 */12 * * *", "0 0 */1 * *", "0 0 */7 * *",
- update_
time str - [Output only] Update time stamp
- create
Time String - [Output only] Create time stamp
- custom
Rules StringBucket - The Cloud Storage bucket name for custom rules.
- description String
- Description of the Evaluation
- labels Map<String>
- Labels as key value pairs
- name String
- name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}'
- resource
Filter Property Map - annotations as key value pairs
- resource
Status Property Map - [Output only] The updated rule ids if exist.
- rule
Names List<String> - the name of the rule
- rule
Versions List<String> - [Output only] The updated rule ids if exist.
- schedule String
- crontab format schedule for scheduled evaluation, currently only support the following schedule: "0 */1 * * *", "0 */6 * * *", "0 */12 * * *", "0 0 */1 * *", "0 0 */7 * *",
- update
Time String - [Output only] Update time stamp
Supporting Types
GceInstanceFilterResponse
- Service
Accounts List<string> - Service account of compute engine
- Service
Accounts []string - Service account of compute engine
- service
Accounts List<String> - Service account of compute engine
- service
Accounts string[] - Service account of compute engine
- service_
accounts Sequence[str] - Service account of compute engine
- service
Accounts List<String> - Service account of compute engine
ResourceFilterResponse
- Gce
Instance Pulumi.Filter Google Native. Workload Manager. V1. Inputs. Gce Instance Filter Response - Filter compute engine resource
- Inclusion
Labels Dictionary<string, string> - The label used for filter resource
- Resource
Id List<string>Patterns - The id pattern for filter resource
- Scopes List<string>
- The scopes of evaluation resource
- Gce
Instance GceFilter Instance Filter Response - Filter compute engine resource
- Inclusion
Labels map[string]string - The label used for filter resource
- Resource
Id []stringPatterns - The id pattern for filter resource
- Scopes []string
- The scopes of evaluation resource
- gce
Instance GceFilter Instance Filter Response - Filter compute engine resource
- inclusion
Labels Map<String,String> - The label used for filter resource
- resource
Id List<String>Patterns - The id pattern for filter resource
- scopes List<String>
- The scopes of evaluation resource
- gce
Instance GceFilter Instance Filter Response - Filter compute engine resource
- inclusion
Labels {[key: string]: string} - The label used for filter resource
- resource
Id string[]Patterns - The id pattern for filter resource
- scopes string[]
- The scopes of evaluation resource
- gce_
instance_ Gcefilter Instance Filter Response - Filter compute engine resource
- inclusion_
labels Mapping[str, str] - The label used for filter resource
- resource_
id_ Sequence[str]patterns - The id pattern for filter resource
- scopes Sequence[str]
- The scopes of evaluation resource
- gce
Instance Property MapFilter - Filter compute engine resource
- inclusion
Labels Map<String> - The label used for filter resource
- resource
Id List<String>Patterns - The id pattern for filter resource
- scopes List<String>
- The scopes of evaluation resource
ResourceStatusResponse
- Rules
Newer List<string>Versions - Historical: Used before 2023-05-22 the new version of rule id if exists
- State string
- State of the resource
- Rules
Newer []stringVersions - Historical: Used before 2023-05-22 the new version of rule id if exists
- State string
- State of the resource
- rules
Newer List<String>Versions - Historical: Used before 2023-05-22 the new version of rule id if exists
- state String
- State of the resource
- rules
Newer string[]Versions - Historical: Used before 2023-05-22 the new version of rule id if exists
- state string
- State of the resource
- rules_
newer_ Sequence[str]versions - Historical: Used before 2023-05-22 the new version of rule id if exists
- state str
- State of the resource
- rules
Newer List<String>Versions - Historical: Used before 2023-05-22 the new version of rule id if exists
- state String
- State of the resource
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