1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/v1
  6. getRegionNotificationEndpoint

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.compute/v1.getRegionNotificationEndpoint

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Returns the specified NotificationEndpoint resource in the given region.

Using getRegionNotificationEndpoint

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getRegionNotificationEndpoint(args: GetRegionNotificationEndpointArgs, opts?: InvokeOptions): Promise<GetRegionNotificationEndpointResult>
function getRegionNotificationEndpointOutput(args: GetRegionNotificationEndpointOutputArgs, opts?: InvokeOptions): Output<GetRegionNotificationEndpointResult>
Copy
def get_region_notification_endpoint(notification_endpoint: Optional[str] = None,
                                     project: Optional[str] = None,
                                     region: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetRegionNotificationEndpointResult
def get_region_notification_endpoint_output(notification_endpoint: Optional[pulumi.Input[str]] = None,
                                     project: Optional[pulumi.Input[str]] = None,
                                     region: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetRegionNotificationEndpointResult]
Copy
func LookupRegionNotificationEndpoint(ctx *Context, args *LookupRegionNotificationEndpointArgs, opts ...InvokeOption) (*LookupRegionNotificationEndpointResult, error)
func LookupRegionNotificationEndpointOutput(ctx *Context, args *LookupRegionNotificationEndpointOutputArgs, opts ...InvokeOption) LookupRegionNotificationEndpointResultOutput
Copy

> Note: This function is named LookupRegionNotificationEndpoint in the Go SDK.

public static class GetRegionNotificationEndpoint 
{
    public static Task<GetRegionNotificationEndpointResult> InvokeAsync(GetRegionNotificationEndpointArgs args, InvokeOptions? opts = null)
    public static Output<GetRegionNotificationEndpointResult> Invoke(GetRegionNotificationEndpointInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRegionNotificationEndpointResult> getRegionNotificationEndpoint(GetRegionNotificationEndpointArgs args, InvokeOptions options)
public static Output<GetRegionNotificationEndpointResult> getRegionNotificationEndpoint(GetRegionNotificationEndpointArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:compute/v1:getRegionNotificationEndpoint
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

NotificationEndpoint This property is required. string
Region This property is required. string
Project string
NotificationEndpoint This property is required. string
Region This property is required. string
Project string
notificationEndpoint This property is required. String
region This property is required. String
project String
notificationEndpoint This property is required. string
region This property is required. string
project string
notification_endpoint This property is required. str
region This property is required. str
project str
notificationEndpoint This property is required. String
region This property is required. String
project String

getRegionNotificationEndpoint Result

The following output properties are available:

CreationTimestamp string
Creation timestamp in RFC3339 text format.
Description string
An optional description of this resource. Provide this property when you create the resource.
GrpcSettings Pulumi.GoogleNative.Compute.V1.Outputs.NotificationEndpointGrpcSettingsResponse
Settings of the gRPC notification endpoint including the endpoint URL and the retry duration.
Kind string
Type of the resource. Always compute#notificationEndpoint for notification endpoints.
Name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Region string
URL of the region where the notification endpoint resides. This field applies only to the regional resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
SelfLink string
Server-defined URL for the resource.
CreationTimestamp string
Creation timestamp in RFC3339 text format.
Description string
An optional description of this resource. Provide this property when you create the resource.
GrpcSettings NotificationEndpointGrpcSettingsResponse
Settings of the gRPC notification endpoint including the endpoint URL and the retry duration.
Kind string
Type of the resource. Always compute#notificationEndpoint for notification endpoints.
Name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Region string
URL of the region where the notification endpoint resides. This field applies only to the regional resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
SelfLink string
Server-defined URL for the resource.
creationTimestamp String
Creation timestamp in RFC3339 text format.
description String
An optional description of this resource. Provide this property when you create the resource.
grpcSettings NotificationEndpointGrpcSettingsResponse
Settings of the gRPC notification endpoint including the endpoint URL and the retry duration.
kind String
Type of the resource. Always compute#notificationEndpoint for notification endpoints.
name String
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
region String
URL of the region where the notification endpoint resides. This field applies only to the regional resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
selfLink String
Server-defined URL for the resource.
creationTimestamp string
Creation timestamp in RFC3339 text format.
description string
An optional description of this resource. Provide this property when you create the resource.
grpcSettings NotificationEndpointGrpcSettingsResponse
Settings of the gRPC notification endpoint including the endpoint URL and the retry duration.
kind string
Type of the resource. Always compute#notificationEndpoint for notification endpoints.
name string
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
region string
URL of the region where the notification endpoint resides. This field applies only to the regional resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
selfLink string
Server-defined URL for the resource.
creation_timestamp str
Creation timestamp in RFC3339 text format.
description str
An optional description of this resource. Provide this property when you create the resource.
grpc_settings NotificationEndpointGrpcSettingsResponse
Settings of the gRPC notification endpoint including the endpoint URL and the retry duration.
kind str
Type of the resource. Always compute#notificationEndpoint for notification endpoints.
name str
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
region str
URL of the region where the notification endpoint resides. This field applies only to the regional resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
self_link str
Server-defined URL for the resource.
creationTimestamp String
Creation timestamp in RFC3339 text format.
description String
An optional description of this resource. Provide this property when you create the resource.
grpcSettings Property Map
Settings of the gRPC notification endpoint including the endpoint URL and the retry duration.
kind String
Type of the resource. Always compute#notificationEndpoint for notification endpoints.
name String
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
region String
URL of the region where the notification endpoint resides. This field applies only to the regional resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
selfLink String
Server-defined URL for the resource.

Supporting Types

DurationResponse

Nanos This property is required. int
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
Seconds This property is required. string
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
Nanos This property is required. int
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
Seconds This property is required. string
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos This property is required. Integer
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds This property is required. String
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos This property is required. number
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds This property is required. string
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos This property is required. int
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds This property is required. str
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
nanos This property is required. Number
Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
seconds This property is required. String
Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years

NotificationEndpointGrpcSettingsResponse

Authority This property is required. string
Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3
Endpoint This property is required. string
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
PayloadName This property is required. string
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
ResendInterval This property is required. Pulumi.GoogleNative.Compute.V1.Inputs.DurationResponse
Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
RetryDurationSec This property is required. int
How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.
Authority This property is required. string
Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3
Endpoint This property is required. string
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
PayloadName This property is required. string
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
ResendInterval This property is required. DurationResponse
Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
RetryDurationSec This property is required. int
How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.
authority This property is required. String
Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3
endpoint This property is required. String
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
payloadName This property is required. String
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
resendInterval This property is required. DurationResponse
Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
retryDurationSec This property is required. Integer
How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.
authority This property is required. string
Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3
endpoint This property is required. string
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
payloadName This property is required. string
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
resendInterval This property is required. DurationResponse
Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
retryDurationSec This property is required. number
How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.
authority This property is required. str
Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3
endpoint This property is required. str
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
payload_name This property is required. str
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
resend_interval This property is required. DurationResponse
Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
retry_duration_sec This property is required. int
How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.
authority This property is required. String
Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3
endpoint This property is required. String
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
payloadName This property is required. String
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
resendInterval This property is required. Property Map
Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.
retryDurationSec This property is required. Number
How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi