CustomService

A Service is a discrete, autonomous, and network-accessible unit, designed to solve an individual concern (Wikipedia). In Cloud Monitoring, a Service acts as the root resource under which operational aspects of the service are accessible

To get more information about Service, see:

Create a CustomService Resource

def CustomService(resource_name, opts=None, display_name=None, project=None, service_id=None, telemetry=None, __props__=None);
public CustomService(string name, CustomServiceArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args CustomServiceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args CustomServiceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CustomServiceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

CustomService Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The CustomService resource accepts the following input properties:

DisplayName string

Name used for UI elements listing this Service.

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

ServiceId string

An optional service ID to use. If not given, the server will generate a service ID.

Telemetry CustomServiceTelemetryArgs

Configuration for how to query telemetry on a Service. Structure is documented below.

DisplayName string

Name used for UI elements listing this Service.

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

ServiceId string

An optional service ID to use. If not given, the server will generate a service ID.

Telemetry CustomServiceTelemetry

Configuration for how to query telemetry on a Service. Structure is documented below.

displayName string

Name used for UI elements listing this Service.

project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

serviceId string

An optional service ID to use. If not given, the server will generate a service ID.

telemetry CustomServiceTelemetry

Configuration for how to query telemetry on a Service. Structure is documented below.

display_name str

Name used for UI elements listing this Service.

project str

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

service_id str

An optional service ID to use. If not given, the server will generate a service ID.

telemetry Dict[CustomServiceTelemetry]

Configuration for how to query telemetry on a Service. Structure is documented below.

Outputs

All input properties are implicitly available as output properties. Additionally, the CustomService resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string

The full resource name for this service. The syntax is: projects/[PROJECT_ID]/services/[SERVICE_ID].

Id string
The provider-assigned unique ID for this managed resource.
Name string

The full resource name for this service. The syntax is: projects/[PROJECT_ID]/services/[SERVICE_ID].

id string
The provider-assigned unique ID for this managed resource.
name string

The full resource name for this service. The syntax is: projects/[PROJECT_ID]/services/[SERVICE_ID].

id str
The provider-assigned unique ID for this managed resource.
name str

The full resource name for this service. The syntax is: projects/[PROJECT_ID]/services/[SERVICE_ID].

Look up an Existing CustomService Resource

Get an existing CustomService resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: CustomServiceState, opts?: CustomResourceOptions): CustomService
static get(resource_name, id, opts=None, display_name=None, name=None, project=None, service_id=None, telemetry=None, __props__=None);
func GetCustomService(ctx *Context, name string, id IDInput, state *CustomServiceState, opts ...ResourceOption) (*CustomService, error)
public static CustomService Get(string name, Input<string> id, CustomServiceState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

DisplayName string

Name used for UI elements listing this Service.

Name string

The full resource name for this service. The syntax is: projects/[PROJECT_ID]/services/[SERVICE_ID].

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

ServiceId string

An optional service ID to use. If not given, the server will generate a service ID.

Telemetry CustomServiceTelemetryArgs

Configuration for how to query telemetry on a Service. Structure is documented below.

DisplayName string

Name used for UI elements listing this Service.

Name string

The full resource name for this service. The syntax is: projects/[PROJECT_ID]/services/[SERVICE_ID].

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

ServiceId string

An optional service ID to use. If not given, the server will generate a service ID.

Telemetry CustomServiceTelemetry

Configuration for how to query telemetry on a Service. Structure is documented below.

displayName string

Name used for UI elements listing this Service.

name string

The full resource name for this service. The syntax is: projects/[PROJECT_ID]/services/[SERVICE_ID].

project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

serviceId string

An optional service ID to use. If not given, the server will generate a service ID.

telemetry CustomServiceTelemetry

Configuration for how to query telemetry on a Service. Structure is documented below.

display_name str

Name used for UI elements listing this Service.

name str

The full resource name for this service. The syntax is: projects/[PROJECT_ID]/services/[SERVICE_ID].

project str

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

service_id str

An optional service ID to use. If not given, the server will generate a service ID.

telemetry Dict[CustomServiceTelemetry]

Configuration for how to query telemetry on a Service. Structure is documented below.

Supporting Types

CustomServiceTelemetry

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ResourceName string

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names.

ResourceName string

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names.

resourceName string

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names.

resourceName str

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names.

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.