layout | page_title | sidebar_current | description |
---|---|---|---|
gridscale |
gridscale: paas |
docs-gridscale-datasource-paas |
Gets the data of a PaaS based on given UUID. |
Get a PaaS resource based on given UUID.
Retrieving the PaaS datasource:
resource "gridscale_paas" "foo" {
name = "foo"
service_template_uuid = "f9625726-5ca8-4d5c-b9bd-3257e1e2211a"
}
data "gridscale_paas" "foo" {
resource_id = gridscale_paas.foo.id
}
The following arguments are supported:
resource_id
- (Required) The UUID of the PaaS service.
The following attributes are exported:
name
- The human-readable name of the object.username
- Username for PaaS service.password
- Password for PaaS service.listen_port
- Ports that PaaS service listens to.name
- Name of a port.listen_port
- Port number.
security_zone_uuid
- The UUID of the security zone that the service is attached to.network_uuid
- The UUID of the network that the service is attached to or network UUID containing security zone.service_template_uuid
- The template used to create the service.service_template_category
- The template service's category used to create the service.usage_in_minute
- Number of minutes that PaaS service is in use.current_price
- Current price of PaaS service.change_time
- Time of the last change.create_time
- Time of the creation.status
- Current status of PaaS service.parameter
- Contains the service parameters for the service.param
- Name of parameter.value
- Value of the corresponding parameter.type
- Primitive type of the parameter.
resource_limit
- A list of service resource limits.resource
- The name of the resource you would like to cap.limit
- The maximum number of the specific resource your service can use.
labels
- List of labels in the format [ "label1", "label2" ].