ServiceState constructor
- Input<
List< ? apis,ServiceApi> ?> - Input<
String?> ? configId, - Input<
String?> ? deletionPolicy, - Input<
String?> ? dnsAddress, - Input<
List< ? endpoints,ServiceEndpoint> ?> - Input<
String?> ? grpcConfig, - Input<
String?> ? openapiConfig, - Input<
String?> ? project, - Input<
String?> ? protocOutputBase64, - Input<
String?> ? serviceName,
Creates a new ServiceState.
apis A list of API objects; structure is documented below.
configId The autogenerated ID for the configuration that is rolled out as part of the creation of this resource. Must be provided to compute engine instances as a tag.
deletionPolicy Whether Terraform will be prevented from destroying the instance. Defaults to "DELETE".
dnsAddress The address at which the service can be found - usually the same as the service name.
endpoints A list of Endpoint objects; structure is documented below.
grpcConfig The full text of the Service Config YAML file (Example located here).
openapiConfig The full text of the OpenAPI YAML configuration as described here.
project The project ID that the service belongs to. If not provided, provider project is used.
protocOutputBase64 The full contents of the Service Descriptor File generated by protoc. This should be a compiled .pb file, base64-encoded.
serviceName The name of the service. Usually of the form $apiname.endpoints.$projectid.cloud.goog.
Implementation
const ServiceState({
this.apis,
this.configId,
this.deletionPolicy,
this.dnsAddress,
this.endpoints,
this.grpcConfig,
this.openapiConfig,
this.project,
this.protocOutputBase64,
this.serviceName,
});