Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.essentialcontacts/v1.Contact
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Adds a new contact for a resource. Auto-naming is currently not supported for this resource.
Create 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,
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)
public Contact(String name, ContactArgs args)
public Contact(String name, ContactArgs args, CustomResourceOptions options)
type: google-native:essentialcontacts/v1:Contact
properties: # The arguments to resource properties.
options: # 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.
- 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.
- name String
- The unique name of the resource.
- args ContactArgs
- The arguments to resource properties.
- options 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. The email address does not need to be a Google Account.
- Language
Tag string The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
- Notification
Category List<Pulumi.Subscriptions Google Native. Essential Contacts. V1. Contact Notification Category Subscriptions Item> The categories of notifications that the contact will receive communications for.
- Project string
- Validate
Time 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.
- Validation
State Pulumi.Google Native. Essential Contacts. V1. Contact Validation State 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. The email address does not need to be a Google Account.
- Language
Tag string The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
- Notification
Category []ContactSubscriptions Notification Category Subscriptions Item The categories of notifications that the contact will receive communications for.
- Project string
- Validate
Time 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.
- Validation
State ContactValidation State 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. The email address does not need to be a Google Account.
- language
Tag String The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
- notification
Category List<ContactSubscriptions Notification Category Subscriptions Item> The categories of notifications that the contact will receive communications for.
- project String
- validate
Time 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.
- validation
State ContactValidation State 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. The email address does not need to be a Google Account.
- language
Tag string The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
- notification
Category ContactSubscriptions Notification Category Subscriptions Item[] The categories of notifications that the contact will receive communications for.
- project string
- validate
Time 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.
- validation
State ContactValidation State 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. The email address 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.
- notification_
category_ Sequence[Contactsubscriptions Notification Category Subscriptions Item] 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 ContactValidation State 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. The email address does not need to be a Google Account.
- language
Tag String The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
- notification
Category List<"NOTIFICATION_CATEGORY_UNSPECIFIED" | "ALL" | "SUSPENSION" | "SECURITY" | "TECHNICAL" | "BILLING" | "LEGAL" | "PRODUCT_UPDATES" | "TECHNICAL_INCIDENTS">Subscriptions The categories of notifications that the contact will receive communications for.
- project String
- validate
Time 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.
- validation
State "VALIDATION_STATE_UNSPECIFIED" | "VALID" | "INVALID" 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:
Supporting Types
ContactNotificationCategorySubscriptionsItem, ContactNotificationCategorySubscriptionsItemArgs
- Notification
Category Unspecified - NOTIFICATION_CATEGORY_UNSPECIFIED
Notification category is unrecognized or unspecified.
- All
- ALL
All notifications related to the resource, including notifications pertaining to categories added in the future.
- Suspension
- SUSPENSION
Notifications related to imminent account suspension.
- Security
- SECURITY
Notifications related to security/privacy incidents, notifications, and vulnerabilities.
- Technical
- TECHNICAL
Notifications related to technical events and issues such as outages, errors, or bugs.
- Billing
- BILLING
Notifications related to billing and payments notifications, price updates, errors, or credits.
- Legal
- LEGAL
Notifications related to enforcement actions, regulatory compliance, or government notices.
- Product
Updates - PRODUCT_UPDATES
Notifications related to new versions, product terms updates, or deprecations.
- Technical
Incidents - TECHNICAL_INCIDENTS
Child category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.
- Contact
Notification Category Subscriptions Item Notification Category Unspecified - NOTIFICATION_CATEGORY_UNSPECIFIED
Notification category is unrecognized or unspecified.
- Contact
Notification Category Subscriptions Item All - ALL
All notifications related to the resource, including notifications pertaining to categories added in the future.
- Contact
Notification Category Subscriptions Item Suspension - SUSPENSION
Notifications related to imminent account suspension.
- Contact
Notification Category Subscriptions Item Security - SECURITY
Notifications related to security/privacy incidents, notifications, and vulnerabilities.
- Contact
Notification Category Subscriptions Item Technical - TECHNICAL
Notifications related to technical events and issues such as outages, errors, or bugs.
- Contact
Notification Category Subscriptions Item Billing - BILLING
Notifications related to billing and payments notifications, price updates, errors, or credits.
- Contact
Notification Category Subscriptions Item Legal - LEGAL
Notifications related to enforcement actions, regulatory compliance, or government notices.
- Contact
Notification Category Subscriptions Item Product Updates - PRODUCT_UPDATES
Notifications related to new versions, product terms updates, or deprecations.
- Contact
Notification Category Subscriptions Item Technical Incidents - TECHNICAL_INCIDENTS
Child category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.
- Notification
Category Unspecified - NOTIFICATION_CATEGORY_UNSPECIFIED
Notification category is unrecognized or unspecified.
- All
- ALL
All notifications related to the resource, including notifications pertaining to categories added in the future.
- Suspension
- SUSPENSION
Notifications related to imminent account suspension.
- Security
- SECURITY
Notifications related to security/privacy incidents, notifications, and vulnerabilities.
- Technical
- TECHNICAL
Notifications related to technical events and issues such as outages, errors, or bugs.
- Billing
- BILLING
Notifications related to billing and payments notifications, price updates, errors, or credits.
- Legal
- LEGAL
Notifications related to enforcement actions, regulatory compliance, or government notices.
- Product
Updates - PRODUCT_UPDATES
Notifications related to new versions, product terms updates, or deprecations.
- Technical
Incidents - TECHNICAL_INCIDENTS
Child category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.
- Notification
Category Unspecified - NOTIFICATION_CATEGORY_UNSPECIFIED
Notification category is unrecognized or unspecified.
- All
- ALL
All notifications related to the resource, including notifications pertaining to categories added in the future.
- Suspension
- SUSPENSION
Notifications related to imminent account suspension.
- Security
- SECURITY
Notifications related to security/privacy incidents, notifications, and vulnerabilities.
- Technical
- TECHNICAL
Notifications related to technical events and issues such as outages, errors, or bugs.
- Billing
- BILLING
Notifications related to billing and payments notifications, price updates, errors, or credits.
- Legal
- LEGAL
Notifications related to enforcement actions, regulatory compliance, or government notices.
- Product
Updates - PRODUCT_UPDATES
Notifications related to new versions, product terms updates, or deprecations.
- Technical
Incidents - TECHNICAL_INCIDENTS
Child category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.
- NOTIFICATION_CATEGORY_UNSPECIFIED
- NOTIFICATION_CATEGORY_UNSPECIFIED
Notification category is unrecognized or unspecified.
- ALL
- ALL
All notifications related to the resource, including notifications pertaining to categories added in the future.
- SUSPENSION
- SUSPENSION
Notifications related to imminent account suspension.
- SECURITY
- SECURITY
Notifications related to security/privacy incidents, notifications, and vulnerabilities.
- TECHNICAL
- TECHNICAL
Notifications related to technical events and issues such as outages, errors, or bugs.
- BILLING
- BILLING
Notifications related to billing and payments notifications, price updates, errors, or credits.
- LEGAL
- LEGAL
Notifications related to enforcement actions, regulatory compliance, or government notices.
- PRODUCT_UPDATES
- PRODUCT_UPDATES
Notifications related to new versions, product terms updates, or deprecations.
- TECHNICAL_INCIDENTS
- TECHNICAL_INCIDENTS
Child category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.
- "NOTIFICATION_CATEGORY_UNSPECIFIED"
- NOTIFICATION_CATEGORY_UNSPECIFIED
Notification category is unrecognized or unspecified.
- "ALL"
- ALL
All notifications related to the resource, including notifications pertaining to categories added in the future.
- "SUSPENSION"
- SUSPENSION
Notifications related to imminent account suspension.
- "SECURITY"
- SECURITY
Notifications related to security/privacy incidents, notifications, and vulnerabilities.
- "TECHNICAL"
- TECHNICAL
Notifications related to technical events and issues such as outages, errors, or bugs.
- "BILLING"
- BILLING
Notifications related to billing and payments notifications, price updates, errors, or credits.
- "LEGAL"
- LEGAL
Notifications related to enforcement actions, regulatory compliance, or government notices.
- "PRODUCT_UPDATES"
- PRODUCT_UPDATES
Notifications related to new versions, product terms updates, or deprecations.
- "TECHNICAL_INCIDENTS"
- TECHNICAL_INCIDENTS
Child category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL.
ContactValidationState, ContactValidationStateArgs
- Validation
State Unspecified - VALIDATION_STATE_UNSPECIFIED
The validation state is unknown or unspecified.
- Valid
- VALID
The contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.
- Invalid
- INVALID
The contact is considered invalid. This may become the state if the contact's email is found to be unreachable.
- Contact
Validation State Validation State Unspecified - VALIDATION_STATE_UNSPECIFIED
The validation state is unknown or unspecified.
- Contact
Validation State Valid - VALID
The contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.
- Contact
Validation State Invalid - INVALID
The contact is considered invalid. This may become the state if the contact's email is found to be unreachable.
- Validation
State Unspecified - VALIDATION_STATE_UNSPECIFIED
The validation state is unknown or unspecified.
- Valid
- VALID
The contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.
- Invalid
- INVALID
The contact is considered invalid. This may become the state if the contact's email is found to be unreachable.
- Validation
State Unspecified - VALIDATION_STATE_UNSPECIFIED
The validation state is unknown or unspecified.
- Valid
- VALID
The contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.
- Invalid
- INVALID
The contact is considered invalid. This may become the state if the contact's email is found to be unreachable.
- VALIDATION_STATE_UNSPECIFIED
- VALIDATION_STATE_UNSPECIFIED
The validation state is unknown or unspecified.
- VALID
- VALID
The contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.
- INVALID
- INVALID
The contact is considered invalid. This may become the state if the contact's email is found to be unreachable.
- "VALIDATION_STATE_UNSPECIFIED"
- VALIDATION_STATE_UNSPECIFIED
The validation state is unknown or unspecified.
- "VALID"
- VALID
The contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.
- "INVALID"
- INVALID
The contact is considered invalid. This may become the state if the contact's email is found to be unreachable.
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.