Show / Hide Table of Contents

Class Service

This resource creates and rolls out a Cloud Endpoints service using OpenAPI or gRPC. View the relevant docs for OpenAPI and gRPC.

Inheritance
System.Object
Resource
CustomResource
Service
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Endpoints
Assembly: Pulumi.Gcp.dll
Syntax
public class Service : CustomResource

Constructors

View Source

Service(String, ServiceArgs, CustomResourceOptions)

Create a Service resource with the given unique name, arguments, and options.

Declaration
public Service(string name, ServiceArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ServiceArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Apis

Declaration
public Output<ImmutableArray<ServiceApi>> Apis { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<ServiceApi>>
View Source

ConfigId

Declaration
public Output<string> ConfigId { get; }
Property Value
Type Description
Output<System.String>
View Source

DnsAddress

Declaration
public Output<string> DnsAddress { get; }
Property Value
Type Description
Output<System.String>
View Source

Endpoints

Declaration
public Output<ImmutableArray<ServiceEndpoint>> Endpoints { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<ServiceEndpoint>>
View Source

GrpcConfig

Declaration
public Output<string> GrpcConfig { get; }
Property Value
Type Description
Output<System.String>
View Source

OpenapiConfig

Declaration
public Output<string> OpenapiConfig { get; }
Property Value
Type Description
Output<System.String>
View Source

Project

Declaration
public Output<string> Project { get; }
Property Value
Type Description
Output<System.String>
View Source

ProtocOutputBase64

Declaration
public Output<string> ProtocOutputBase64 { get; }
Property Value
Type Description
Output<System.String>
View Source

ServiceName

Declaration
public Output<string> ServiceName { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, ServiceState, CustomResourceOptions)

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

Declaration
public static Service Get(string name, Input<string> id, ServiceState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ServiceState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Service
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.