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

Contact

Adds a new contact for a resource. Auto-naming is currently not supported for this resource.

Create a Contact Resource

new Contact(name: string, args: ContactArgs, opts?: CustomResourceOptions);
@overload
def Contact(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            email: Optional[str] = None,
            language_tag: Optional[str] = None,
            name: Optional[str] = None,
            notification_category_subscriptions: Optional[Sequence[ContactNotificationCategorySubscriptionsItem]] = None,
            project: Optional[str] = None,
            validate_time: Optional[str] = None,
            validation_state: Optional[ContactValidationState] = None)
@overload
def Contact(resource_name: str,
            args: ContactArgs,
            opts: Optional[ResourceOptions] = None)
func NewContact(ctx *Context, name string, args ContactArgs, opts ...ResourceOption) (*Contact, error)
public Contact(string name, ContactArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ContactArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ContactArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ContactArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ContactArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Contact Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Contact resource accepts the following input properties:

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<Pulumi.GoogleNative.EssentialContacts.V1.ContactNotificationCategorySubscriptionsItem>
The categories of notifications that the contact will receive communications for.
Project string
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 Pulumi.GoogleNative.EssentialContacts.V1.ContactValidationState
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 []ContactNotificationCategorySubscriptionsItem
The categories of notifications that the contact will receive communications for.
Project string
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 ContactValidationState
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 ContactNotificationCategorySubscriptionsItem[]
The categories of notifications that the contact will receive communications for.
project string
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 ContactValidationState
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[ContactNotificationCategorySubscriptionsItem]
The categories of notifications that the contact will receive communications for.
project str
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 ContactValidationState
The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the Contact resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Supporting Types

ContactNotificationCategorySubscriptionsItem

NotificationCategoryUnspecified
NOTIFICATION_CATEGORY_UNSPECIFIEDNotification category is unrecognized or unspecified.
All
ALLAll notifications related to the resource, including notifications pertaining to categories added in the future.
Suspension
SUSPENSIONNotifications related to imminent account suspension.
Security
SECURITYNotifications related to security/privacy incidents, notifications, and vulnerabilities.
Technical
TECHNICALNotifications related to technical events and issues such as outages, errors, or bugs.
Billing
BILLINGNotifications related to billing and payments notifications, price updates, errors, or credits.
Legal
LEGALNotifications related to enforcement actions, regulatory compliance, or government notices.
ProductUpdates
PRODUCT_UPDATESNotifications related to new versions, product terms updates, or deprecations.
TechnicalIncidents
TECHNICAL_INCIDENTSChild category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.
ContactNotificationCategorySubscriptionsItemNotificationCategoryUnspecified
NOTIFICATION_CATEGORY_UNSPECIFIEDNotification category is unrecognized or unspecified.
ContactNotificationCategorySubscriptionsItemAll
ALLAll notifications related to the resource, including notifications pertaining to categories added in the future.
ContactNotificationCategorySubscriptionsItemSuspension
SUSPENSIONNotifications related to imminent account suspension.
ContactNotificationCategorySubscriptionsItemSecurity
SECURITYNotifications related to security/privacy incidents, notifications, and vulnerabilities.
ContactNotificationCategorySubscriptionsItemTechnical
TECHNICALNotifications related to technical events and issues such as outages, errors, or bugs.
ContactNotificationCategorySubscriptionsItemBilling
BILLINGNotifications related to billing and payments notifications, price updates, errors, or credits.
ContactNotificationCategorySubscriptionsItemLegal
LEGALNotifications related to enforcement actions, regulatory compliance, or government notices.
ContactNotificationCategorySubscriptionsItemProductUpdates
PRODUCT_UPDATESNotifications related to new versions, product terms updates, or deprecations.
ContactNotificationCategorySubscriptionsItemTechnicalIncidents
TECHNICAL_INCIDENTSChild category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.
NotificationCategoryUnspecified
NOTIFICATION_CATEGORY_UNSPECIFIEDNotification category is unrecognized or unspecified.
All
ALLAll notifications related to the resource, including notifications pertaining to categories added in the future.
Suspension
SUSPENSIONNotifications related to imminent account suspension.
Security
SECURITYNotifications related to security/privacy incidents, notifications, and vulnerabilities.
Technical
TECHNICALNotifications related to technical events and issues such as outages, errors, or bugs.
Billing
BILLINGNotifications related to billing and payments notifications, price updates, errors, or credits.
Legal
LEGALNotifications related to enforcement actions, regulatory compliance, or government notices.
ProductUpdates
PRODUCT_UPDATESNotifications related to new versions, product terms updates, or deprecations.
TechnicalIncidents
TECHNICAL_INCIDENTSChild category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.
NOTIFICATION_CATEGORY_UNSPECIFIED
NOTIFICATION_CATEGORY_UNSPECIFIEDNotification category is unrecognized or unspecified.
ALL
ALLAll notifications related to the resource, including notifications pertaining to categories added in the future.
SUSPENSION
SUSPENSIONNotifications related to imminent account suspension.
SECURITY
SECURITYNotifications related to security/privacy incidents, notifications, and vulnerabilities.
TECHNICAL
TECHNICALNotifications related to technical events and issues such as outages, errors, or bugs.
BILLING
BILLINGNotifications related to billing and payments notifications, price updates, errors, or credits.
LEGAL
LEGALNotifications related to enforcement actions, regulatory compliance, or government notices.
PRODUCT_UPDATES
PRODUCT_UPDATESNotifications related to new versions, product terms updates, or deprecations.
TECHNICAL_INCIDENTS
TECHNICAL_INCIDENTSChild category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.

ContactValidationState

ValidationStateUnspecified
VALIDATION_STATE_UNSPECIFIEDThe validation state is unknown or unspecified.
Valid
VALIDThe contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.
Invalid
INVALIDThe contact is considered invalid. This may become the state if the contact’s email is found to be unreachable.
ContactValidationStateValidationStateUnspecified
VALIDATION_STATE_UNSPECIFIEDThe validation state is unknown or unspecified.
ContactValidationStateValid
VALIDThe contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.
ContactValidationStateInvalid
INVALIDThe contact is considered invalid. This may become the state if the contact’s email is found to be unreachable.
ValidationStateUnspecified
VALIDATION_STATE_UNSPECIFIEDThe validation state is unknown or unspecified.
Valid
VALIDThe contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.
Invalid
INVALIDThe contact is considered invalid. This may become the state if the contact’s email is found to be unreachable.
VALIDATION_STATE_UNSPECIFIED
VALIDATION_STATE_UNSPECIFIEDThe validation state is unknown or unspecified.
VALID
VALIDThe contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.
INVALID
INVALIDThe contact is considered invalid. This may become the state if the contact’s email is found to be unreachable.

Package Details

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