Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Google Native

v0.9.0 published on Wednesday, Nov 24, 2021 by Pulumi

getContact

Gets a single contact.

Using getContact

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 getContact(args: GetContactArgs, opts?: InvokeOptions): Promise<GetContactResult>
function getContactOutput(args: GetContactOutputArgs, opts?: InvokeOptions): Output<GetContactResult>
def get_contact(contact_id: Optional[str] = None,
                project: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetContactResult
def get_contact_output(contact_id: Optional[pulumi.Input[str]] = None,
                project: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetContactResult]
func LookupContact(ctx *Context, args *LookupContactArgs, opts ...InvokeOption) (*LookupContactResult, error)
func LookupContactOutput(ctx *Context, args *LookupContactOutputArgs, opts ...InvokeOption) LookupContactResultOutput

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

public static class GetContact 
{
    public static Task<GetContactResult> InvokeAsync(GetContactArgs args, InvokeOptions? opts = null)
    public static Output<GetContactResult> Invoke(GetContactInvokeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ContactId string
Project string
ContactId string
Project string
contactId string
project string

getContact Result

The following output properties are available:

Email string
The email address to send notifications to. This does not need to be a Google account.
LanguageTag string
The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
Name string
The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}
NotificationCategorySubscriptions List<string>
The categories of notifications that the contact will receive communications for.
ValidateTime string
The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago.
ValidationState string
The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.
Email string
The email address to send notifications to. This does not need to be a Google account.
LanguageTag string
The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
Name string
The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}
NotificationCategorySubscriptions []string
The categories of notifications that the contact will receive communications for.
ValidateTime string
The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago.
ValidationState string
The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.
email string
The email address to send notifications to. This does not need to be a Google account.
languageTag string
The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
name string
The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}
notificationCategorySubscriptions string[]
The categories of notifications that the contact will receive communications for.
validateTime string
The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago.
validationState string
The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.
email str
The email address to send notifications to. This does not need to be a Google account.
language_tag str
The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
name str
The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}
notification_category_subscriptions Sequence[str]
The categories of notifications that the contact will receive communications for.
validate_time str
The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago.
validation_state str
The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0