Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.compute/beta.getRegionNotificationEndpoint
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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>
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]
func LookupRegionNotificationEndpoint(ctx *Context, args *LookupRegionNotificationEndpointArgs, opts ...InvokeOption) (*LookupRegionNotificationEndpointResult, error)
func LookupRegionNotificationEndpointOutput(ctx *Context, args *LookupRegionNotificationEndpointOutputArgs, opts ...InvokeOption) LookupRegionNotificationEndpointResultOutput
> 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)
}
public static CompletableFuture<GetRegionNotificationEndpointResult> getRegionNotificationEndpoint(GetRegionNotificationEndpointArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:compute/beta:getRegionNotificationEndpoint
arguments:
# arguments dictionary
The following arguments are supported:
- Notification
Endpoint string - Region string
- Project string
- Notification
Endpoint string - Region string
- Project string
- notification
Endpoint String - region String
- project String
- notification
Endpoint string - region string
- project string
- notification_
endpoint str - region str
- project str
- notification
Endpoint String - region String
- project String
getRegionNotificationEndpoint Result
The following output properties are available:
- Creation
Timestamp string Creation timestamp in RFC3339 text format.
- Description string
An optional description of this resource. Provide this property when you create the resource.
- Grpc
Settings Pulumi.Google Native. Compute. Beta. Outputs. Notification Endpoint Grpc Settings Response 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.
- Self
Link string Server-defined URL for the resource.
- Creation
Timestamp string Creation timestamp in RFC3339 text format.
- Description string
An optional description of this resource. Provide this property when you create the resource.
- Grpc
Settings NotificationEndpoint Grpc Settings Response 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.
- Self
Link string Server-defined URL for the resource.
- creation
Timestamp String Creation timestamp in RFC3339 text format.
- description String
An optional description of this resource. Provide this property when you create the resource.
- grpc
Settings NotificationEndpoint Grpc Settings Response 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.
- self
Link String Server-defined URL for the resource.
- creation
Timestamp string Creation timestamp in RFC3339 text format.
- description string
An optional description of this resource. Provide this property when you create the resource.
- grpc
Settings NotificationEndpoint Grpc Settings Response 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.
- self
Link 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 NotificationEndpoint Grpc Settings Response 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.
- creation
Timestamp String Creation timestamp in RFC3339 text format.
- description String
An optional description of this resource. Provide this property when you create the resource.
- grpc
Settings 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.
- self
Link String Server-defined URL for the resource.
Supporting Types
DurationResponse
- Nanos 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 positivenanos
field. Must be from 0 to 999,999,999 inclusive.- Seconds 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 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 positivenanos
field. Must be from 0 to 999,999,999 inclusive.- Seconds 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 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 positivenanos
field. Must be from 0 to 999,999,999 inclusive.- seconds 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 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 positivenanos
field. Must be from 0 to 999,999,999 inclusive.- seconds 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 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 positivenanos
field. Must be from 0 to 999,999,999 inclusive.- seconds 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 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 positivenanos
field. Must be from 0 to 999,999,999 inclusive.- seconds 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
- 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 string
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
- Payload
Name string Optional. If specified, this field is used to populate the "name" field in gRPC requests.
- Resend
Interval Pulumi.Google Native. Compute. Beta. Inputs. Duration Response 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 intSec 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.
- 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 string
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
- Payload
Name string Optional. If specified, this field is used to populate the "name" field in gRPC requests.
- Resend
Interval 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 intSec 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.
- 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 String
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
- payload
Name String Optional. If specified, this field is used to populate the "name" field in gRPC requests.
- resend
Interval 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 IntegerSec 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.
- 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 string
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
- payload
Name string Optional. If specified, this field is used to populate the "name" field in gRPC requests.
- resend
Interval 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 numberSec 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.
- 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 str
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
- payload_
name str Optional. If specified, this field is used to populate the "name" field in gRPC requests.
- resend_
interval 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_ intsec 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.
- 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 String
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
- payload
Name String Optional. If specified, this field is used to populate the "name" field in gRPC requests.
- resend
Interval 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.
- retry
Duration NumberSec 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.