ServiceState class

Input properties used for looking up and filtering Service resources.

Constructors

ServiceState({Input<ServiceAgentSpec?>? agentSpec, Input<String?>? createTime, Input<String?>? deletionPolicy, Input<String?>? description, Input<String?>? displayName, Input<ServiceEndpointSpec?>? endpointSpec, Input<List<ServiceInterface>?>? interfaces, Input<String?>? location, Input<ServiceMcpServerSpec?>? mcpServerSpec, Input<String?>? name, Input<String?>? project, Input<String?>? registryResource, Input<String?>? serviceId, Input<String?>? updateTime})
Creates a new ServiceState. agentSpec The spec of the Agent. When set, the type of the Service is Agent. createTime The timestamp when the resource was created. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description The description of the Service. displayName User-defined display name for the Service. Can have a maximum length of 63 characters. endpointSpec The spec of the Endpoint. When set, the type of the Service is Endpoint. interfaces The connection details for the Service. location The location of the resource. mcpServerSpec The spec of the MCP Server. When set, the type of the Service is MCP Server. name The resource name of the Service. project The ID of the project in which the resource belongs. registryResource The resource name of the resulting Agent, MCP Server, or Endpoint. serviceId The name of the Service. updateTime The timestamp when the resource was updated.
const
ServiceState.fromMap(Map<String, dynamic> map)
factory

Properties

agentSpec → Input<ServiceAgentSpec?>?
The spec of the Agent. When set, the type of the Service is Agent. Structure is documented below.
final
createTime → Input<String?>?
The timestamp when the resource was created.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
The description of the Service.
final
displayName → Input<String?>?
User-defined display name for the Service. Can have a maximum length of 63 characters.
final
endpointSpec → Input<ServiceEndpointSpec?>?
The spec of the Endpoint. When set, the type of the Service is Endpoint. Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
interfaces → Input<List<ServiceInterface>?>?
The connection details for the Service. Structure is documented below.
final
location → Input<String?>?
The location of the resource.
final
mcpServerSpec → Input<ServiceMcpServerSpec?>?
The spec of the MCP Server. When set, the type of the Service is MCP Server. Structure is documented below.
final
name → Input<String?>?
The resource name of the Service.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
registryResource → Input<String?>?
The resource name of the resulting Agent, MCP Server, or Endpoint.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceId → Input<String?>?
The name of the Service.
final
updateTime → Input<String?>?
The timestamp when the resource was updated.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited