1. Packages
  2. Google Cloud Native
  3. API Docs
  4. workloadmanager
  5. workloadmanager/v1
  6. getEvaluation

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-native logo

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:

    EvaluationId string
    Location string
    Project string
    EvaluationId string
    Location string
    Project string
    evaluationId String
    location String
    project String
    evaluationId string
    location string
    project string
    evaluationId String
    location String
    project String

    getEvaluation Result

    The following output properties are available:

    CreateTime string
    [Output only] Create time stamp
    CustomRulesBucket string
    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}'
    ResourceFilter Pulumi.GoogleNative.WorkloadManager.V1.Outputs.ResourceFilterResponse
    annotations as key value pairs
    ResourceStatus Pulumi.GoogleNative.WorkloadManager.V1.Outputs.ResourceStatusResponse
    [Output only] The updated rule ids if exist.
    RuleNames List<string>
    the name of the rule
    RuleVersions 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 * *",
    UpdateTime string
    [Output only] Update time stamp
    CreateTime string
    [Output only] Create time stamp
    CustomRulesBucket string
    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}'
    ResourceFilter ResourceFilterResponse
    annotations as key value pairs
    ResourceStatus ResourceStatusResponse
    [Output only] The updated rule ids if exist.
    RuleNames []string
    the name of the rule
    RuleVersions []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 * *",
    UpdateTime string
    [Output only] Update time stamp
    createTime String
    [Output only] Create time stamp
    customRulesBucket String
    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}'
    resourceFilter ResourceFilterResponse
    annotations as key value pairs
    resourceStatus ResourceStatusResponse
    [Output only] The updated rule ids if exist.
    ruleNames List<String>
    the name of the rule
    ruleVersions 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 * *",
    updateTime String
    [Output only] Update time stamp
    createTime string
    [Output only] Create time stamp
    customRulesBucket string
    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}'
    resourceFilter ResourceFilterResponse
    annotations as key value pairs
    resourceStatus ResourceStatusResponse
    [Output only] The updated rule ids if exist.
    ruleNames string[]
    the name of the rule
    ruleVersions 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 * *",
    updateTime string
    [Output only] Update time stamp
    create_time str
    [Output only] Create time stamp
    custom_rules_bucket str
    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 ResourceFilterResponse
    annotations as key value pairs
    resource_status ResourceStatusResponse
    [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
    createTime String
    [Output only] Create time stamp
    customRulesBucket String
    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}'
    resourceFilter Property Map
    annotations as key value pairs
    resourceStatus Property Map
    [Output only] The updated rule ids if exist.
    ruleNames List<String>
    the name of the rule
    ruleVersions 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 * *",
    updateTime String
    [Output only] Update time stamp

    Supporting Types

    GceInstanceFilterResponse

    ServiceAccounts List<string>
    Service account of compute engine
    ServiceAccounts []string
    Service account of compute engine
    serviceAccounts List<String>
    Service account of compute engine
    serviceAccounts string[]
    Service account of compute engine
    service_accounts Sequence[str]
    Service account of compute engine
    serviceAccounts List<String>
    Service account of compute engine

    ResourceFilterResponse

    GceInstanceFilter Pulumi.GoogleNative.WorkloadManager.V1.Inputs.GceInstanceFilterResponse
    Filter compute engine resource
    InclusionLabels Dictionary<string, string>
    The label used for filter resource
    ResourceIdPatterns List<string>
    The id pattern for filter resource
    Scopes List<string>
    The scopes of evaluation resource
    GceInstanceFilter GceInstanceFilterResponse
    Filter compute engine resource
    InclusionLabels map[string]string
    The label used for filter resource
    ResourceIdPatterns []string
    The id pattern for filter resource
    Scopes []string
    The scopes of evaluation resource
    gceInstanceFilter GceInstanceFilterResponse
    Filter compute engine resource
    inclusionLabels Map<String,String>
    The label used for filter resource
    resourceIdPatterns List<String>
    The id pattern for filter resource
    scopes List<String>
    The scopes of evaluation resource
    gceInstanceFilter GceInstanceFilterResponse
    Filter compute engine resource
    inclusionLabels {[key: string]: string}
    The label used for filter resource
    resourceIdPatterns string[]
    The id pattern for filter resource
    scopes string[]
    The scopes of evaluation resource
    gce_instance_filter GceInstanceFilterResponse
    Filter compute engine resource
    inclusion_labels Mapping[str, str]
    The label used for filter resource
    resource_id_patterns Sequence[str]
    The id pattern for filter resource
    scopes Sequence[str]
    The scopes of evaluation resource
    gceInstanceFilter Property Map
    Filter compute engine resource
    inclusionLabels Map<String>
    The label used for filter resource
    resourceIdPatterns List<String>
    The id pattern for filter resource
    scopes List<String>
    The scopes of evaluation resource

    ResourceStatusResponse

    RulesNewerVersions List<string>
    Historical: Used before 2023-05-22 the new version of rule id if exists
    State string
    State of the resource
    RulesNewerVersions []string
    Historical: Used before 2023-05-22 the new version of rule id if exists
    State string
    State of the resource
    rulesNewerVersions List<String>
    Historical: Used before 2023-05-22 the new version of rule id if exists
    state String
    State of the resource
    rulesNewerVersions string[]
    Historical: Used before 2023-05-22 the new version of rule id if exists
    state string
    State of the resource
    rules_newer_versions Sequence[str]
    Historical: Used before 2023-05-22 the new version of rule id if exists
    state str
    State of the resource
    rulesNewerVersions List<String>
    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-native logo

    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