Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.apigee/v1.CanaryEvaluation
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new canary evaluation for an organization. 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.
Create CanaryEvaluation Resource
new CanaryEvaluation(name: string, args: CanaryEvaluationArgs, opts?: CustomResourceOptions);
@overload
def CanaryEvaluation(resource_name: str,
opts: Optional[ResourceOptions] = None,
control: Optional[str] = None,
end_time: Optional[str] = None,
instance_id: Optional[str] = None,
metric_labels: Optional[GoogleCloudApigeeV1CanaryEvaluationMetricLabelsArgs] = None,
organization_id: Optional[str] = None,
start_time: Optional[str] = None,
treatment: Optional[str] = None)
@overload
def CanaryEvaluation(resource_name: str,
args: CanaryEvaluationArgs,
opts: Optional[ResourceOptions] = None)
func NewCanaryEvaluation(ctx *Context, name string, args CanaryEvaluationArgs, opts ...ResourceOption) (*CanaryEvaluation, error)
public CanaryEvaluation(string name, CanaryEvaluationArgs args, CustomResourceOptions? opts = null)
public CanaryEvaluation(String name, CanaryEvaluationArgs args)
public CanaryEvaluation(String name, CanaryEvaluationArgs args, CustomResourceOptions options)
type: google-native:apigee/v1:CanaryEvaluation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CanaryEvaluationArgs
- 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 CanaryEvaluationArgs
- 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 CanaryEvaluationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CanaryEvaluationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CanaryEvaluationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CanaryEvaluation 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 CanaryEvaluation resource accepts the following input properties:
- Control string
The stable version that is serving requests.
- End
Time string End time for the evaluation's analysis.
- Instance
Id string - Metric
Labels Pulumi.Google Native. Apigee. V1. Inputs. Google Cloud Apigee V1Canary Evaluation Metric Labels Labels used to filter the metrics used for a canary evaluation.
- Organization
Id string - Start
Time string Start time for the canary evaluation's analysis.
- Treatment string
The newer version that is serving requests.
- Control string
The stable version that is serving requests.
- End
Time string End time for the evaluation's analysis.
- Instance
Id string - Metric
Labels GoogleCloud Apigee V1Canary Evaluation Metric Labels Args Labels used to filter the metrics used for a canary evaluation.
- Organization
Id string - Start
Time string Start time for the canary evaluation's analysis.
- Treatment string
The newer version that is serving requests.
- control String
The stable version that is serving requests.
- end
Time String End time for the evaluation's analysis.
- instance
Id String - metric
Labels GoogleCloud Apigee V1Canary Evaluation Metric Labels Labels used to filter the metrics used for a canary evaluation.
- organization
Id String - start
Time String Start time for the canary evaluation's analysis.
- treatment String
The newer version that is serving requests.
- control string
The stable version that is serving requests.
- end
Time string End time for the evaluation's analysis.
- instance
Id string - metric
Labels GoogleCloud Apigee V1Canary Evaluation Metric Labels Labels used to filter the metrics used for a canary evaluation.
- organization
Id string - start
Time string Start time for the canary evaluation's analysis.
- treatment string
The newer version that is serving requests.
- control str
The stable version that is serving requests.
- end_
time str End time for the evaluation's analysis.
- instance_
id str - metric_
labels GoogleCloud Apigee V1Canary Evaluation Metric Labels Args Labels used to filter the metrics used for a canary evaluation.
- organization_
id str - start_
time str Start time for the canary evaluation's analysis.
- treatment str
The newer version that is serving requests.
- control String
The stable version that is serving requests.
- end
Time String End time for the evaluation's analysis.
- instance
Id String - metric
Labels Property Map Labels used to filter the metrics used for a canary evaluation.
- organization
Id String - start
Time String Start time for the canary evaluation's analysis.
- treatment String
The newer version that is serving requests.
Outputs
All input properties are implicitly available as output properties. Additionally, the CanaryEvaluation resource produces the following output properties:
- Create
Time string Create time of the canary evaluation.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
Name of the canary evalution.
- State string
The current state of the canary evaluation.
- Verdict string
The resulting verdict of the canary evaluations: NONE, PASS, or FAIL.
- Create
Time string Create time of the canary evaluation.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
Name of the canary evalution.
- State string
The current state of the canary evaluation.
- Verdict string
The resulting verdict of the canary evaluations: NONE, PASS, or FAIL.
- create
Time String Create time of the canary evaluation.
- id String
The provider-assigned unique ID for this managed resource.
- name String
Name of the canary evalution.
- state String
The current state of the canary evaluation.
- verdict String
The resulting verdict of the canary evaluations: NONE, PASS, or FAIL.
- create
Time string Create time of the canary evaluation.
- id string
The provider-assigned unique ID for this managed resource.
- name string
Name of the canary evalution.
- state string
The current state of the canary evaluation.
- verdict string
The resulting verdict of the canary evaluations: NONE, PASS, or FAIL.
- create_
time str Create time of the canary evaluation.
- id str
The provider-assigned unique ID for this managed resource.
- name str
Name of the canary evalution.
- state str
The current state of the canary evaluation.
- verdict str
The resulting verdict of the canary evaluations: NONE, PASS, or FAIL.
- create
Time String Create time of the canary evaluation.
- id String
The provider-assigned unique ID for this managed resource.
- name String
Name of the canary evalution.
- state String
The current state of the canary evaluation.
- verdict String
The resulting verdict of the canary evaluations: NONE, PASS, or FAIL.
Supporting Types
GoogleCloudApigeeV1CanaryEvaluationMetricLabels, GoogleCloudApigeeV1CanaryEvaluationMetricLabelsArgs
- Instance
Id string The instance ID associated with the metrics. In Apigee Hybrid, the value is configured during installation.
- Location string
The location associated with the metrics.
- Env string
The environment ID associated with the metrics.
- Instance
Id string The instance ID associated with the metrics. In Apigee Hybrid, the value is configured during installation.
- Location string
The location associated with the metrics.
- Env string
The environment ID associated with the metrics.
- instance
Id String The instance ID associated with the metrics. In Apigee Hybrid, the value is configured during installation.
- location String
The location associated with the metrics.
- env String
The environment ID associated with the metrics.
- instance
Id string The instance ID associated with the metrics. In Apigee Hybrid, the value is configured during installation.
- location string
The location associated with the metrics.
- env string
The environment ID associated with the metrics.
- instance_
id str The instance ID associated with the metrics. In Apigee Hybrid, the value is configured during installation.
- location str
The location associated with the metrics.
- env str
The environment ID associated with the metrics.
- instance
Id String The instance ID associated with the metrics. In Apigee Hybrid, the value is configured during installation.
- location String
The location associated with the metrics.
- env String
The environment ID associated with the metrics.
GoogleCloudApigeeV1CanaryEvaluationMetricLabelsResponse, GoogleCloudApigeeV1CanaryEvaluationMetricLabelsResponseArgs
- Env string
The environment ID associated with the metrics.
- Instance
Id string The instance ID associated with the metrics. In Apigee Hybrid, the value is configured during installation.
- Location string
The location associated with the metrics.
- Env string
The environment ID associated with the metrics.
- Instance
Id string The instance ID associated with the metrics. In Apigee Hybrid, the value is configured during installation.
- Location string
The location associated with the metrics.
- env String
The environment ID associated with the metrics.
- instance
Id String The instance ID associated with the metrics. In Apigee Hybrid, the value is configured during installation.
- location String
The location associated with the metrics.
- env string
The environment ID associated with the metrics.
- instance
Id string The instance ID associated with the metrics. In Apigee Hybrid, the value is configured during installation.
- location string
The location associated with the metrics.
- env str
The environment ID associated with the metrics.
- instance_
id str The instance ID associated with the metrics. In Apigee Hybrid, the value is configured during installation.
- location str
The location associated with the metrics.
- env String
The environment ID associated with the metrics.
- instance
Id String The instance ID associated with the metrics. In Apigee Hybrid, the value is configured during installation.
- location String
The location associated with the metrics.
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.