Class Service
This resource creates and rolls out a Cloud Endpoints service using OpenAPI or gRPC. View the relevant docs for OpenAPI and gRPC.
Inherited Members
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 SourceService(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 SourceApis
Declaration
public Output<ImmutableArray<ServiceApi>> Apis { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ServiceApi>> |
ConfigId
Declaration
public Output<string> ConfigId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DnsAddress
Declaration
public Output<string> DnsAddress { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Endpoints
Declaration
public Output<ImmutableArray<ServiceEndpoint>> Endpoints { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ServiceEndpoint>> |
GrpcConfig
Declaration
public Output<string> GrpcConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
OpenapiConfig
Declaration
public Output<string> OpenapiConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Project
Declaration
public Output<string> Project { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ProtocOutputBase64
Declaration
public Output<string> ProtocOutputBase64 { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ServiceName
Declaration
public Output<string> ServiceName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(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 |