Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.workloadmanager/v1.Evaluation
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new Evaluation in a given project and location. 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.
Create Evaluation Resource
new Evaluation(name: string, args: EvaluationArgs, opts?: CustomResourceOptions);
@overload
def Evaluation(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
evaluation_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
request_id: Optional[str] = None,
resource_filter: Optional[ResourceFilterArgs] = None,
rule_names: Optional[Sequence[str]] = None,
schedule: Optional[str] = None)
@overload
def Evaluation(resource_name: str,
args: EvaluationArgs,
opts: Optional[ResourceOptions] = None)
func NewEvaluation(ctx *Context, name string, args EvaluationArgs, opts ...ResourceOption) (*Evaluation, error)
public Evaluation(string name, EvaluationArgs args, CustomResourceOptions? opts = null)
public Evaluation(String name, EvaluationArgs args)
public Evaluation(String name, EvaluationArgs args, CustomResourceOptions options)
type: google-native:workloadmanager/v1:Evaluation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EvaluationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EvaluationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EvaluationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EvaluationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EvaluationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Evaluation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Evaluation resource accepts the following input properties:
- Evaluation
Id string Required. Id of the requesting object
- Description string
Description of the Evaluation
- Labels Dictionary<string, string>
Labels as key value pairs
- Location string
- Name string
name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}'
- Project string
- Request
Id string Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- Resource
Filter Pulumi.Google Native. Workload Manager. V1. Inputs. Resource Filter annotations as key value pairs
- Rule
Names List<string> the name of the rule
- Schedule string
crontab format schedule for scheduled evaluation, example: 0 */3 * * *
- Evaluation
Id string Required. Id of the requesting object
- Description string
Description of the Evaluation
- Labels map[string]string
Labels as key value pairs
- Location string
- Name string
name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}'
- Project string
- Request
Id string Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- Resource
Filter ResourceFilter Args annotations as key value pairs
- Rule
Names []string the name of the rule
- Schedule string
crontab format schedule for scheduled evaluation, example: 0 */3 * * *
- evaluation
Id String Required. Id of the requesting object
- description String
Description of the Evaluation
- labels Map<String,String>
Labels as key value pairs
- location String
- name String
name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}'
- project String
- request
Id String Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- resource
Filter ResourceFilter annotations as key value pairs
- rule
Names List<String> the name of the rule
- schedule String
crontab format schedule for scheduled evaluation, example: 0 */3 * * *
- evaluation
Id string Required. Id of the requesting object
- description string
Description of the Evaluation
- labels {[key: string]: string}
Labels as key value pairs
- location string
- name string
name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}'
- project string
- request
Id string Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- resource
Filter ResourceFilter annotations as key value pairs
- rule
Names string[] the name of the rule
- schedule string
crontab format schedule for scheduled evaluation, example: 0 */3 * * *
- evaluation_
id str Required. Id of the requesting object
- description str
Description of the Evaluation
- labels Mapping[str, str]
Labels as key value pairs
- location str
- name str
name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}'
- project str
- request_
id str Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- resource_
filter ResourceFilter Args annotations as key value pairs
- rule_
names Sequence[str] the name of the rule
- schedule str
crontab format schedule for scheduled evaluation, example: 0 */3 * * *
- evaluation
Id String Required. Id of the requesting object
- description String
Description of the Evaluation
- labels Map<String>
Labels as key value pairs
- location String
- name String
name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}'
- project String
- request
Id String Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- resource
Filter Property Map annotations as key value pairs
- rule
Names List<String> the name of the rule
- schedule String
crontab format schedule for scheduled evaluation, example: 0 */3 * * *
Outputs
All input properties are implicitly available as output properties. Additionally, the Evaluation resource produces the following output properties:
- Create
Time string [Output only] Create time stamp
- Id string
The provider-assigned unique ID for this managed resource.
- Resource
Status Pulumi.Google Native. Workload Manager. V1. Outputs. Resource Status Response [Output only] The updated rule ids if exist.
- Rule
Versions List<string> [Output only] The updated rule ids if exist.
- Update
Time string [Output only] Update time stamp
- Create
Time string [Output only] Create time stamp
- Id string
The provider-assigned unique ID for this managed resource.
- Resource
Status ResourceStatus Response [Output only] The updated rule ids if exist.
- Rule
Versions []string [Output only] The updated rule ids if exist.
- Update
Time string [Output only] Update time stamp
- create
Time String [Output only] Create time stamp
- id String
The provider-assigned unique ID for this managed resource.
- resource
Status ResourceStatus Response [Output only] The updated rule ids if exist.
- rule
Versions List<String> [Output only] The updated rule ids if exist.
- update
Time String [Output only] Update time stamp
- create
Time string [Output only] Create time stamp
- id string
The provider-assigned unique ID for this managed resource.
- resource
Status ResourceStatus Response [Output only] The updated rule ids if exist.
- rule
Versions string[] [Output only] The updated rule ids if exist.
- update
Time string [Output only] Update time stamp
- create_
time str [Output only] Create time stamp
- id str
The provider-assigned unique ID for this managed resource.
- resource_
status ResourceStatus Response [Output only] The updated rule ids if exist.
- rule_
versions Sequence[str] [Output only] The updated rule ids if exist.
- update_
time str [Output only] Update time stamp
- create
Time String [Output only] Create time stamp
- id String
The provider-assigned unique ID for this managed resource.
- resource
Status Property Map [Output only] The updated rule ids if exist.
- rule
Versions List<String> [Output only] The updated rule ids if exist.
- update
Time String [Output only] Update time stamp
Supporting Types
GceInstanceFilter, GceInstanceFilterArgs
- 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
GceInstanceFilterResponse, GceInstanceFilterResponseArgs
- 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
ResourceFilter, ResourceFilterArgs
- Gce
Instance Pulumi.Filter Google Native. Workload Manager. V1. Inputs. Gce Instance Filter 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 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 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 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 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
ResourceFilterResponse, ResourceFilterResponseArgs
- 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, ResourceStatusResponseArgs
- Rules
Newer List<string>Versions the new version of rule id if exists
- State string
State of the resource
- Rules
Newer []stringVersions the new version of rule id if exists
- State string
State of the resource
- rules
Newer List<String>Versions the new version of rule id if exists
- state String
State of the resource
- rules
Newer string[]Versions the new version of rule id if exists
- state string
State of the resource
- rules_
newer_ Sequence[str]versions the new version of rule id if exists
- state str
State of the resource
- rules
Newer List<String>Versions 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.