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

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.cloudiot/v1.Registry

Explore with Pulumi AI

google-native logo

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

    Creates a device registry that contains devices.

    Create Registry Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Registry(name: string, args?: RegistryArgs, opts?: CustomResourceOptions);
    @overload
    def Registry(resource_name: str,
                 args: Optional[RegistryArgs] = None,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Registry(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 credentials: Optional[Sequence[RegistryCredentialArgs]] = None,
                 event_notification_configs: Optional[Sequence[EventNotificationConfigArgs]] = None,
                 http_config: Optional[HttpConfigArgs] = None,
                 id: Optional[str] = None,
                 location: Optional[str] = None,
                 log_level: Optional[RegistryLogLevel] = None,
                 mqtt_config: Optional[MqttConfigArgs] = None,
                 name: Optional[str] = None,
                 project: Optional[str] = None,
                 state_notification_config: Optional[StateNotificationConfigArgs] = None)
    func NewRegistry(ctx *Context, name string, args *RegistryArgs, opts ...ResourceOption) (*Registry, error)
    public Registry(string name, RegistryArgs? args = null, CustomResourceOptions? opts = null)
    public Registry(String name, RegistryArgs args)
    public Registry(String name, RegistryArgs args, CustomResourceOptions options)
    
    type: google-native:cloudiot/v1:Registry
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RegistryArgs
    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 RegistryArgs
    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 RegistryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RegistryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RegistryArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var registryResource = new GoogleNative.CloudIoT.V1.Registry("registryResource", new()
    {
        Credentials = new[]
        {
            new GoogleNative.CloudIoT.V1.Inputs.RegistryCredentialArgs
            {
                PublicKeyCertificate = new GoogleNative.CloudIoT.V1.Inputs.PublicKeyCertificateArgs
                {
                    Certificate = "string",
                    Format = GoogleNative.CloudIoT.V1.PublicKeyCertificateFormat.UnspecifiedPublicKeyCertificateFormat,
                },
            },
        },
        EventNotificationConfigs = new[]
        {
            new GoogleNative.CloudIoT.V1.Inputs.EventNotificationConfigArgs
            {
                PubsubTopicName = "string",
                SubfolderMatches = "string",
            },
        },
        HttpConfig = new GoogleNative.CloudIoT.V1.Inputs.HttpConfigArgs
        {
            HttpEnabledState = GoogleNative.CloudIoT.V1.HttpConfigHttpEnabledState.HttpStateUnspecified,
        },
        Id = "string",
        Location = "string",
        LogLevel = GoogleNative.CloudIoT.V1.RegistryLogLevel.LogLevelUnspecified,
        MqttConfig = new GoogleNative.CloudIoT.V1.Inputs.MqttConfigArgs
        {
            MqttEnabledState = GoogleNative.CloudIoT.V1.MqttConfigMqttEnabledState.MqttStateUnspecified,
        },
        Name = "string",
        Project = "string",
        StateNotificationConfig = new GoogleNative.CloudIoT.V1.Inputs.StateNotificationConfigArgs
        {
            PubsubTopicName = "string",
        },
    });
    
    example, err := cloudiot.NewRegistry(ctx, "registryResource", &cloudiot.RegistryArgs{
    Credentials: cloudiot.RegistryCredentialArray{
    &cloudiot.RegistryCredentialArgs{
    PublicKeyCertificate: &cloudiot.PublicKeyCertificateArgs{
    Certificate: pulumi.String("string"),
    Format: cloudiot.PublicKeyCertificateFormatUnspecifiedPublicKeyCertificateFormat,
    },
    },
    },
    EventNotificationConfigs: cloudiot.EventNotificationConfigArray{
    &cloudiot.EventNotificationConfigArgs{
    PubsubTopicName: pulumi.String("string"),
    SubfolderMatches: pulumi.String("string"),
    },
    },
    HttpConfig: &cloudiot.HttpConfigArgs{
    HttpEnabledState: cloudiot.HttpConfigHttpEnabledStateHttpStateUnspecified,
    },
    Id: pulumi.String("string"),
    Location: pulumi.String("string"),
    LogLevel: cloudiot.RegistryLogLevelLogLevelUnspecified,
    MqttConfig: &cloudiot.MqttConfigArgs{
    MqttEnabledState: cloudiot.MqttConfigMqttEnabledStateMqttStateUnspecified,
    },
    Name: pulumi.String("string"),
    Project: pulumi.String("string"),
    StateNotificationConfig: &cloudiot.StateNotificationConfigArgs{
    PubsubTopicName: pulumi.String("string"),
    },
    })
    
    var registryResource = new Registry("registryResource", RegistryArgs.builder()        
        .credentials(RegistryCredentialArgs.builder()
            .publicKeyCertificate(PublicKeyCertificateArgs.builder()
                .certificate("string")
                .format("UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT")
                .build())
            .build())
        .eventNotificationConfigs(EventNotificationConfigArgs.builder()
            .pubsubTopicName("string")
            .subfolderMatches("string")
            .build())
        .httpConfig(HttpConfigArgs.builder()
            .httpEnabledState("HTTP_STATE_UNSPECIFIED")
            .build())
        .id("string")
        .location("string")
        .logLevel("LOG_LEVEL_UNSPECIFIED")
        .mqttConfig(MqttConfigArgs.builder()
            .mqttEnabledState("MQTT_STATE_UNSPECIFIED")
            .build())
        .name("string")
        .project("string")
        .stateNotificationConfig(StateNotificationConfigArgs.builder()
            .pubsubTopicName("string")
            .build())
        .build());
    
    registry_resource = google_native.cloudiot.v1.Registry("registryResource",
        credentials=[google_native.cloudiot.v1.RegistryCredentialArgs(
            public_key_certificate=google_native.cloudiot.v1.PublicKeyCertificateArgs(
                certificate="string",
                format=google_native.cloudiot.v1.PublicKeyCertificateFormat.UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT,
            ),
        )],
        event_notification_configs=[google_native.cloudiot.v1.EventNotificationConfigArgs(
            pubsub_topic_name="string",
            subfolder_matches="string",
        )],
        http_config=google_native.cloudiot.v1.HttpConfigArgs(
            http_enabled_state=google_native.cloudiot.v1.HttpConfigHttpEnabledState.HTTP_STATE_UNSPECIFIED,
        ),
        id="string",
        location="string",
        log_level=google_native.cloudiot.v1.RegistryLogLevel.LOG_LEVEL_UNSPECIFIED,
        mqtt_config=google_native.cloudiot.v1.MqttConfigArgs(
            mqtt_enabled_state=google_native.cloudiot.v1.MqttConfigMqttEnabledState.MQTT_STATE_UNSPECIFIED,
        ),
        name="string",
        project="string",
        state_notification_config=google_native.cloudiot.v1.StateNotificationConfigArgs(
            pubsub_topic_name="string",
        ))
    
    const registryResource = new google_native.cloudiot.v1.Registry("registryResource", {
        credentials: [{
            publicKeyCertificate: {
                certificate: "string",
                format: google_native.cloudiot.v1.PublicKeyCertificateFormat.UnspecifiedPublicKeyCertificateFormat,
            },
        }],
        eventNotificationConfigs: [{
            pubsubTopicName: "string",
            subfolderMatches: "string",
        }],
        httpConfig: {
            httpEnabledState: google_native.cloudiot.v1.HttpConfigHttpEnabledState.HttpStateUnspecified,
        },
        id: "string",
        location: "string",
        logLevel: google_native.cloudiot.v1.RegistryLogLevel.LogLevelUnspecified,
        mqttConfig: {
            mqttEnabledState: google_native.cloudiot.v1.MqttConfigMqttEnabledState.MqttStateUnspecified,
        },
        name: "string",
        project: "string",
        stateNotificationConfig: {
            pubsubTopicName: "string",
        },
    });
    
    type: google-native:cloudiot/v1:Registry
    properties:
        credentials:
            - publicKeyCertificate:
                certificate: string
                format: UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT
        eventNotificationConfigs:
            - pubsubTopicName: string
              subfolderMatches: string
        httpConfig:
            httpEnabledState: HTTP_STATE_UNSPECIFIED
        id: string
        location: string
        logLevel: LOG_LEVEL_UNSPECIFIED
        mqttConfig:
            mqttEnabledState: MQTT_STATE_UNSPECIFIED
        name: string
        project: string
        stateNotificationConfig:
            pubsubTopicName: string
    

    Registry 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 Registry resource accepts the following input properties:

    Credentials List<Pulumi.GoogleNative.CloudIoT.V1.Inputs.RegistryCredential>
    The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
    EventNotificationConfigs List<Pulumi.GoogleNative.CloudIoT.V1.Inputs.EventNotificationConfig>
    The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
    HttpConfig Pulumi.GoogleNative.CloudIoT.V1.Inputs.HttpConfig
    The DeviceService (HTTP) configuration for this device registry.
    Id string
    The identifier of this device registry. For example, myRegistry.
    Location string
    LogLevel Pulumi.GoogleNative.CloudIoT.V1.RegistryLogLevel
    Beta Feature The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.
    MqttConfig Pulumi.GoogleNative.CloudIoT.V1.Inputs.MqttConfig
    The MQTT configuration for this device registry.
    Name string
    The resource path name. For example, projects/example-project/locations/us-central1/registries/my-registry.
    Project string
    StateNotificationConfig Pulumi.GoogleNative.CloudIoT.V1.Inputs.StateNotificationConfig
    The configuration for notification of new states received from the device. State updates are guaranteed to be stored in the state history, but notifications to Cloud Pub/Sub are not guaranteed. For example, if permissions are misconfigured or the specified topic doesn't exist, no notification will be published but the state will still be stored in Cloud IoT Core.
    Credentials []RegistryCredentialArgs
    The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
    EventNotificationConfigs []EventNotificationConfigArgs
    The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
    HttpConfig HttpConfigArgs
    The DeviceService (HTTP) configuration for this device registry.
    Id string
    The identifier of this device registry. For example, myRegistry.
    Location string
    LogLevel RegistryLogLevel
    Beta Feature The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.
    MqttConfig MqttConfigArgs
    The MQTT configuration for this device registry.
    Name string
    The resource path name. For example, projects/example-project/locations/us-central1/registries/my-registry.
    Project string
    StateNotificationConfig StateNotificationConfigArgs
    The configuration for notification of new states received from the device. State updates are guaranteed to be stored in the state history, but notifications to Cloud Pub/Sub are not guaranteed. For example, if permissions are misconfigured or the specified topic doesn't exist, no notification will be published but the state will still be stored in Cloud IoT Core.
    credentials List<RegistryCredential>
    The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
    eventNotificationConfigs List<EventNotificationConfig>
    The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
    httpConfig HttpConfig
    The DeviceService (HTTP) configuration for this device registry.
    id String
    The identifier of this device registry. For example, myRegistry.
    location String
    logLevel RegistryLogLevel
    Beta Feature The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.
    mqttConfig MqttConfig
    The MQTT configuration for this device registry.
    name String
    The resource path name. For example, projects/example-project/locations/us-central1/registries/my-registry.
    project String
    stateNotificationConfig StateNotificationConfig
    The configuration for notification of new states received from the device. State updates are guaranteed to be stored in the state history, but notifications to Cloud Pub/Sub are not guaranteed. For example, if permissions are misconfigured or the specified topic doesn't exist, no notification will be published but the state will still be stored in Cloud IoT Core.
    credentials RegistryCredential[]
    The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
    eventNotificationConfigs EventNotificationConfig[]
    The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
    httpConfig HttpConfig
    The DeviceService (HTTP) configuration for this device registry.
    id string
    The identifier of this device registry. For example, myRegistry.
    location string
    logLevel RegistryLogLevel
    Beta Feature The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.
    mqttConfig MqttConfig
    The MQTT configuration for this device registry.
    name string
    The resource path name. For example, projects/example-project/locations/us-central1/registries/my-registry.
    project string
    stateNotificationConfig StateNotificationConfig
    The configuration for notification of new states received from the device. State updates are guaranteed to be stored in the state history, but notifications to Cloud Pub/Sub are not guaranteed. For example, if permissions are misconfigured or the specified topic doesn't exist, no notification will be published but the state will still be stored in Cloud IoT Core.
    credentials Sequence[RegistryCredentialArgs]
    The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
    event_notification_configs Sequence[EventNotificationConfigArgs]
    The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
    http_config HttpConfigArgs
    The DeviceService (HTTP) configuration for this device registry.
    id str
    The identifier of this device registry. For example, myRegistry.
    location str
    log_level RegistryLogLevel
    Beta Feature The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.
    mqtt_config MqttConfigArgs
    The MQTT configuration for this device registry.
    name str
    The resource path name. For example, projects/example-project/locations/us-central1/registries/my-registry.
    project str
    state_notification_config StateNotificationConfigArgs
    The configuration for notification of new states received from the device. State updates are guaranteed to be stored in the state history, but notifications to Cloud Pub/Sub are not guaranteed. For example, if permissions are misconfigured or the specified topic doesn't exist, no notification will be published but the state will still be stored in Cloud IoT Core.
    credentials List<Property Map>
    The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified.
    eventNotificationConfigs List<Property Map>
    The configuration for notification of telemetry events received from the device. All telemetry events that were successfully published by the device and acknowledged by Cloud IoT Core are guaranteed to be delivered to Cloud Pub/Sub. If multiple configurations match a message, only the first matching configuration is used. If you try to publish a device telemetry event using MQTT without specifying a Cloud Pub/Sub topic for the device's registry, the connection closes automatically. If you try to do so using an HTTP connection, an error is returned. Up to 10 configurations may be provided.
    httpConfig Property Map
    The DeviceService (HTTP) configuration for this device registry.
    id String
    The identifier of this device registry. For example, myRegistry.
    location String
    logLevel "LOG_LEVEL_UNSPECIFIED" | "NONE" | "ERROR" | "INFO" | "DEBUG"
    Beta Feature The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.
    mqttConfig Property Map
    The MQTT configuration for this device registry.
    name String
    The resource path name. For example, projects/example-project/locations/us-central1/registries/my-registry.
    project String
    stateNotificationConfig Property Map
    The configuration for notification of new states received from the device. State updates are guaranteed to be stored in the state history, but notifications to Cloud Pub/Sub are not guaranteed. For example, if permissions are misconfigured or the specified topic doesn't exist, no notification will be published but the state will still be stored in Cloud IoT Core.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Registry 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 string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    EventNotificationConfig, EventNotificationConfigArgs

    PubsubTopicName string
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    SubfolderMatches string
    If the subfolder name matches this string exactly, this configuration will be used. The string must not include the leading '/' character. If empty, all strings are matched. This field is used only for telemetry events; subfolders are not supported for state changes.
    PubsubTopicName string
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    SubfolderMatches string
    If the subfolder name matches this string exactly, this configuration will be used. The string must not include the leading '/' character. If empty, all strings are matched. This field is used only for telemetry events; subfolders are not supported for state changes.
    pubsubTopicName String
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    subfolderMatches String
    If the subfolder name matches this string exactly, this configuration will be used. The string must not include the leading '/' character. If empty, all strings are matched. This field is used only for telemetry events; subfolders are not supported for state changes.
    pubsubTopicName string
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    subfolderMatches string
    If the subfolder name matches this string exactly, this configuration will be used. The string must not include the leading '/' character. If empty, all strings are matched. This field is used only for telemetry events; subfolders are not supported for state changes.
    pubsub_topic_name str
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    subfolder_matches str
    If the subfolder name matches this string exactly, this configuration will be used. The string must not include the leading '/' character. If empty, all strings are matched. This field is used only for telemetry events; subfolders are not supported for state changes.
    pubsubTopicName String
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    subfolderMatches String
    If the subfolder name matches this string exactly, this configuration will be used. The string must not include the leading '/' character. If empty, all strings are matched. This field is used only for telemetry events; subfolders are not supported for state changes.

    EventNotificationConfigResponse, EventNotificationConfigResponseArgs

    PubsubTopicName string
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    SubfolderMatches string
    If the subfolder name matches this string exactly, this configuration will be used. The string must not include the leading '/' character. If empty, all strings are matched. This field is used only for telemetry events; subfolders are not supported for state changes.
    PubsubTopicName string
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    SubfolderMatches string
    If the subfolder name matches this string exactly, this configuration will be used. The string must not include the leading '/' character. If empty, all strings are matched. This field is used only for telemetry events; subfolders are not supported for state changes.
    pubsubTopicName String
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    subfolderMatches String
    If the subfolder name matches this string exactly, this configuration will be used. The string must not include the leading '/' character. If empty, all strings are matched. This field is used only for telemetry events; subfolders are not supported for state changes.
    pubsubTopicName string
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    subfolderMatches string
    If the subfolder name matches this string exactly, this configuration will be used. The string must not include the leading '/' character. If empty, all strings are matched. This field is used only for telemetry events; subfolders are not supported for state changes.
    pubsub_topic_name str
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    subfolder_matches str
    If the subfolder name matches this string exactly, this configuration will be used. The string must not include the leading '/' character. If empty, all strings are matched. This field is used only for telemetry events; subfolders are not supported for state changes.
    pubsubTopicName String
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    subfolderMatches String
    If the subfolder name matches this string exactly, this configuration will be used. The string must not include the leading '/' character. If empty, all strings are matched. This field is used only for telemetry events; subfolders are not supported for state changes.

    HttpConfig, HttpConfigArgs

    HttpEnabledState Pulumi.GoogleNative.CloudIoT.V1.HttpConfigHttpEnabledState
    If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.
    HttpEnabledState HttpConfigHttpEnabledState
    If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.
    httpEnabledState HttpConfigHttpEnabledState
    If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.
    httpEnabledState HttpConfigHttpEnabledState
    If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.
    http_enabled_state HttpConfigHttpEnabledState
    If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.
    httpEnabledState "HTTP_STATE_UNSPECIFIED" | "HTTP_ENABLED" | "HTTP_DISABLED"
    If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.

    HttpConfigHttpEnabledState, HttpConfigHttpEnabledStateArgs

    HttpStateUnspecified
    HTTP_STATE_UNSPECIFIEDNo HTTP state specified. If not specified, DeviceService will be enabled by default.
    HttpEnabled
    HTTP_ENABLEDEnables DeviceService (HTTP) service for the registry.
    HttpDisabled
    HTTP_DISABLEDDisables DeviceService (HTTP) service for the registry.
    HttpConfigHttpEnabledStateHttpStateUnspecified
    HTTP_STATE_UNSPECIFIEDNo HTTP state specified. If not specified, DeviceService will be enabled by default.
    HttpConfigHttpEnabledStateHttpEnabled
    HTTP_ENABLEDEnables DeviceService (HTTP) service for the registry.
    HttpConfigHttpEnabledStateHttpDisabled
    HTTP_DISABLEDDisables DeviceService (HTTP) service for the registry.
    HttpStateUnspecified
    HTTP_STATE_UNSPECIFIEDNo HTTP state specified. If not specified, DeviceService will be enabled by default.
    HttpEnabled
    HTTP_ENABLEDEnables DeviceService (HTTP) service for the registry.
    HttpDisabled
    HTTP_DISABLEDDisables DeviceService (HTTP) service for the registry.
    HttpStateUnspecified
    HTTP_STATE_UNSPECIFIEDNo HTTP state specified. If not specified, DeviceService will be enabled by default.
    HttpEnabled
    HTTP_ENABLEDEnables DeviceService (HTTP) service for the registry.
    HttpDisabled
    HTTP_DISABLEDDisables DeviceService (HTTP) service for the registry.
    HTTP_STATE_UNSPECIFIED
    HTTP_STATE_UNSPECIFIEDNo HTTP state specified. If not specified, DeviceService will be enabled by default.
    HTTP_ENABLED
    HTTP_ENABLEDEnables DeviceService (HTTP) service for the registry.
    HTTP_DISABLED
    HTTP_DISABLEDDisables DeviceService (HTTP) service for the registry.
    "HTTP_STATE_UNSPECIFIED"
    HTTP_STATE_UNSPECIFIEDNo HTTP state specified. If not specified, DeviceService will be enabled by default.
    "HTTP_ENABLED"
    HTTP_ENABLEDEnables DeviceService (HTTP) service for the registry.
    "HTTP_DISABLED"
    HTTP_DISABLEDDisables DeviceService (HTTP) service for the registry.

    HttpConfigResponse, HttpConfigResponseArgs

    HttpEnabledState string
    If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.
    HttpEnabledState string
    If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.
    httpEnabledState String
    If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.
    httpEnabledState string
    If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.
    http_enabled_state str
    If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.
    httpEnabledState String
    If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.

    MqttConfig, MqttConfigArgs

    MqttEnabledState Pulumi.GoogleNative.CloudIoT.V1.MqttConfigMqttEnabledState
    If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.
    MqttEnabledState MqttConfigMqttEnabledState
    If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.
    mqttEnabledState MqttConfigMqttEnabledState
    If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.
    mqttEnabledState MqttConfigMqttEnabledState
    If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.
    mqtt_enabled_state MqttConfigMqttEnabledState
    If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.
    mqttEnabledState "MQTT_STATE_UNSPECIFIED" | "MQTT_ENABLED" | "MQTT_DISABLED"
    If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.

    MqttConfigMqttEnabledState, MqttConfigMqttEnabledStateArgs

    MqttStateUnspecified
    MQTT_STATE_UNSPECIFIEDNo MQTT state specified. If not specified, MQTT will be enabled by default.
    MqttEnabled
    MQTT_ENABLEDEnables a MQTT connection.
    MqttDisabled
    MQTT_DISABLEDDisables a MQTT connection.
    MqttConfigMqttEnabledStateMqttStateUnspecified
    MQTT_STATE_UNSPECIFIEDNo MQTT state specified. If not specified, MQTT will be enabled by default.
    MqttConfigMqttEnabledStateMqttEnabled
    MQTT_ENABLEDEnables a MQTT connection.
    MqttConfigMqttEnabledStateMqttDisabled
    MQTT_DISABLEDDisables a MQTT connection.
    MqttStateUnspecified
    MQTT_STATE_UNSPECIFIEDNo MQTT state specified. If not specified, MQTT will be enabled by default.
    MqttEnabled
    MQTT_ENABLEDEnables a MQTT connection.
    MqttDisabled
    MQTT_DISABLEDDisables a MQTT connection.
    MqttStateUnspecified
    MQTT_STATE_UNSPECIFIEDNo MQTT state specified. If not specified, MQTT will be enabled by default.
    MqttEnabled
    MQTT_ENABLEDEnables a MQTT connection.
    MqttDisabled
    MQTT_DISABLEDDisables a MQTT connection.
    MQTT_STATE_UNSPECIFIED
    MQTT_STATE_UNSPECIFIEDNo MQTT state specified. If not specified, MQTT will be enabled by default.
    MQTT_ENABLED
    MQTT_ENABLEDEnables a MQTT connection.
    MQTT_DISABLED
    MQTT_DISABLEDDisables a MQTT connection.
    "MQTT_STATE_UNSPECIFIED"
    MQTT_STATE_UNSPECIFIEDNo MQTT state specified. If not specified, MQTT will be enabled by default.
    "MQTT_ENABLED"
    MQTT_ENABLEDEnables a MQTT connection.
    "MQTT_DISABLED"
    MQTT_DISABLEDDisables a MQTT connection.

    MqttConfigResponse, MqttConfigResponseArgs

    MqttEnabledState string
    If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.
    MqttEnabledState string
    If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.
    mqttEnabledState String
    If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.
    mqttEnabledState string
    If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.
    mqtt_enabled_state str
    If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.
    mqttEnabledState String
    If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.

    PublicKeyCertificate, PublicKeyCertificateArgs

    Certificate string
    The certificate data.
    Format Pulumi.GoogleNative.CloudIoT.V1.PublicKeyCertificateFormat
    The certificate format.
    Certificate string
    The certificate data.
    Format PublicKeyCertificateFormat
    The certificate format.
    certificate String
    The certificate data.
    format PublicKeyCertificateFormat
    The certificate format.
    certificate string
    The certificate data.
    format PublicKeyCertificateFormat
    The certificate format.
    certificate str
    The certificate data.
    format PublicKeyCertificateFormat
    The certificate format.

    PublicKeyCertificateFormat, PublicKeyCertificateFormatArgs

    UnspecifiedPublicKeyCertificateFormat
    UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMATThe format has not been specified. This is an invalid default value and must not be used.
    X509CertificatePem
    X509_CERTIFICATE_PEMAn X.509v3 certificate (RFC5280), encoded in base64, and wrapped by -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----.
    PublicKeyCertificateFormatUnspecifiedPublicKeyCertificateFormat
    UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMATThe format has not been specified. This is an invalid default value and must not be used.
    PublicKeyCertificateFormatX509CertificatePem
    X509_CERTIFICATE_PEMAn X.509v3 certificate (RFC5280), encoded in base64, and wrapped by -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----.
    UnspecifiedPublicKeyCertificateFormat
    UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMATThe format has not been specified. This is an invalid default value and must not be used.
    X509CertificatePem
    X509_CERTIFICATE_PEMAn X.509v3 certificate (RFC5280), encoded in base64, and wrapped by -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----.
    UnspecifiedPublicKeyCertificateFormat
    UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMATThe format has not been specified. This is an invalid default value and must not be used.
    X509CertificatePem
    X509_CERTIFICATE_PEMAn X.509v3 certificate (RFC5280), encoded in base64, and wrapped by -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----.
    UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT
    UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMATThe format has not been specified. This is an invalid default value and must not be used.
    X509_CERTIFICATE_PEM
    X509_CERTIFICATE_PEMAn X.509v3 certificate (RFC5280), encoded in base64, and wrapped by -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----.
    "UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT"
    UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMATThe format has not been specified. This is an invalid default value and must not be used.
    "X509_CERTIFICATE_PEM"
    X509_CERTIFICATE_PEMAn X.509v3 certificate (RFC5280), encoded in base64, and wrapped by -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----.

    PublicKeyCertificateResponse, PublicKeyCertificateResponseArgs

    Certificate string
    The certificate data.
    Format string
    The certificate format.
    X509Details Pulumi.GoogleNative.CloudIoT.V1.Inputs.X509CertificateDetailsResponse
    [Output only] The certificate details. Used only for X.509 certificates.
    Certificate string
    The certificate data.
    Format string
    The certificate format.
    X509Details X509CertificateDetailsResponse
    [Output only] The certificate details. Used only for X.509 certificates.
    certificate String
    The certificate data.
    format String
    The certificate format.
    x509Details X509CertificateDetailsResponse
    [Output only] The certificate details. Used only for X.509 certificates.
    certificate string
    The certificate data.
    format string
    The certificate format.
    x509Details X509CertificateDetailsResponse
    [Output only] The certificate details. Used only for X.509 certificates.
    certificate str
    The certificate data.
    format str
    The certificate format.
    x509_details X509CertificateDetailsResponse
    [Output only] The certificate details. Used only for X.509 certificates.
    certificate String
    The certificate data.
    format String
    The certificate format.
    x509Details Property Map
    [Output only] The certificate details. Used only for X.509 certificates.

    RegistryCredential, RegistryCredentialArgs

    PublicKeyCertificate Pulumi.GoogleNative.CloudIoT.V1.Inputs.PublicKeyCertificate
    A public key certificate used to verify the device credentials.
    PublicKeyCertificate PublicKeyCertificate
    A public key certificate used to verify the device credentials.
    publicKeyCertificate PublicKeyCertificate
    A public key certificate used to verify the device credentials.
    publicKeyCertificate PublicKeyCertificate
    A public key certificate used to verify the device credentials.
    public_key_certificate PublicKeyCertificate
    A public key certificate used to verify the device credentials.
    publicKeyCertificate Property Map
    A public key certificate used to verify the device credentials.

    RegistryCredentialResponse, RegistryCredentialResponseArgs

    PublicKeyCertificate Pulumi.GoogleNative.CloudIoT.V1.Inputs.PublicKeyCertificateResponse
    A public key certificate used to verify the device credentials.
    PublicKeyCertificate PublicKeyCertificateResponse
    A public key certificate used to verify the device credentials.
    publicKeyCertificate PublicKeyCertificateResponse
    A public key certificate used to verify the device credentials.
    publicKeyCertificate PublicKeyCertificateResponse
    A public key certificate used to verify the device credentials.
    public_key_certificate PublicKeyCertificateResponse
    A public key certificate used to verify the device credentials.
    publicKeyCertificate Property Map
    A public key certificate used to verify the device credentials.

    RegistryLogLevel, RegistryLogLevelArgs

    LogLevelUnspecified
    LOG_LEVEL_UNSPECIFIEDNo logging specified. If not specified, logging will be disabled.
    None
    NONEDisables logging.
    Error
    ERRORError events will be logged.
    Info
    INFOInformational events will be logged, such as connections and disconnections.
    Debug
    DEBUGAll events will be logged.
    RegistryLogLevelLogLevelUnspecified
    LOG_LEVEL_UNSPECIFIEDNo logging specified. If not specified, logging will be disabled.
    RegistryLogLevelNone
    NONEDisables logging.
    RegistryLogLevelError
    ERRORError events will be logged.
    RegistryLogLevelInfo
    INFOInformational events will be logged, such as connections and disconnections.
    RegistryLogLevelDebug
    DEBUGAll events will be logged.
    LogLevelUnspecified
    LOG_LEVEL_UNSPECIFIEDNo logging specified. If not specified, logging will be disabled.
    None
    NONEDisables logging.
    Error
    ERRORError events will be logged.
    Info
    INFOInformational events will be logged, such as connections and disconnections.
    Debug
    DEBUGAll events will be logged.
    LogLevelUnspecified
    LOG_LEVEL_UNSPECIFIEDNo logging specified. If not specified, logging will be disabled.
    None
    NONEDisables logging.
    Error
    ERRORError events will be logged.
    Info
    INFOInformational events will be logged, such as connections and disconnections.
    Debug
    DEBUGAll events will be logged.
    LOG_LEVEL_UNSPECIFIED
    LOG_LEVEL_UNSPECIFIEDNo logging specified. If not specified, logging will be disabled.
    NONE
    NONEDisables logging.
    ERROR
    ERRORError events will be logged.
    INFO
    INFOInformational events will be logged, such as connections and disconnections.
    DEBUG
    DEBUGAll events will be logged.
    "LOG_LEVEL_UNSPECIFIED"
    LOG_LEVEL_UNSPECIFIEDNo logging specified. If not specified, logging will be disabled.
    "NONE"
    NONEDisables logging.
    "ERROR"
    ERRORError events will be logged.
    "INFO"
    INFOInformational events will be logged, such as connections and disconnections.
    "DEBUG"
    DEBUGAll events will be logged.

    StateNotificationConfig, StateNotificationConfigArgs

    PubsubTopicName string
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    PubsubTopicName string
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    pubsubTopicName String
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    pubsubTopicName string
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    pubsub_topic_name str
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    pubsubTopicName String
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.

    StateNotificationConfigResponse, StateNotificationConfigResponseArgs

    PubsubTopicName string
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    PubsubTopicName string
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    pubsubTopicName String
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    pubsubTopicName string
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    pubsub_topic_name str
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.
    pubsubTopicName String
    A Cloud Pub/Sub topic name. For example, projects/myProject/topics/deviceEvents.

    X509CertificateDetailsResponse, X509CertificateDetailsResponseArgs

    ExpiryTime string
    The time the certificate becomes invalid.
    Issuer string
    The entity that signed the certificate.
    PublicKeyType string
    The type of public key in the certificate.
    SignatureAlgorithm string
    The algorithm used to sign the certificate.
    StartTime string
    The time the certificate becomes valid.
    Subject string
    The entity the certificate and public key belong to.
    ExpiryTime string
    The time the certificate becomes invalid.
    Issuer string
    The entity that signed the certificate.
    PublicKeyType string
    The type of public key in the certificate.
    SignatureAlgorithm string
    The algorithm used to sign the certificate.
    StartTime string
    The time the certificate becomes valid.
    Subject string
    The entity the certificate and public key belong to.
    expiryTime String
    The time the certificate becomes invalid.
    issuer String
    The entity that signed the certificate.
    publicKeyType String
    The type of public key in the certificate.
    signatureAlgorithm String
    The algorithm used to sign the certificate.
    startTime String
    The time the certificate becomes valid.
    subject String
    The entity the certificate and public key belong to.
    expiryTime string
    The time the certificate becomes invalid.
    issuer string
    The entity that signed the certificate.
    publicKeyType string
    The type of public key in the certificate.
    signatureAlgorithm string
    The algorithm used to sign the certificate.
    startTime string
    The time the certificate becomes valid.
    subject string
    The entity the certificate and public key belong to.
    expiry_time str
    The time the certificate becomes invalid.
    issuer str
    The entity that signed the certificate.
    public_key_type str
    The type of public key in the certificate.
    signature_algorithm str
    The algorithm used to sign the certificate.
    start_time str
    The time the certificate becomes valid.
    subject str
    The entity the certificate and public key belong to.
    expiryTime String
    The time the certificate becomes invalid.
    issuer String
    The entity that signed the certificate.
    publicKeyType String
    The type of public key in the certificate.
    signatureAlgorithm String
    The algorithm used to sign the certificate.
    startTime String
    The time the certificate becomes valid.
    subject String
    The entity the certificate and public key belong to.

    Package Details

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

    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