Show / Hide Table of Contents

Class Registry

A Google Cloud IoT Core device registry.

To get more information about DeviceRegistry, see:

  • API documentation
  • How-to Guides
  • Official Documentation

Example Usage - Cloudiot Device Registry Basic

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
public MyStack()
{
    var test_registry = new Gcp.Iot.Registry("test-registry", new Gcp.Iot.RegistryArgs
    {
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Registry
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Iot
Assembly: Pulumi.Gcp.dll
Syntax
public class Registry : CustomResource

Constructors

View Source

Registry(String, RegistryArgs, CustomResourceOptions)

Create a Registry resource with the given unique name, arguments, and options.

Declaration
public Registry(string name, RegistryArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

RegistryArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Credentials

List of public key certificates to authenticate devices. The structure is documented below.

Declaration
public Output<ImmutableArray<RegistryCredential>> Credentials { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<RegistryCredential>>
View Source

EventNotificationConfigs

List of configurations for event notifications, such as PubSub topics to publish device events to. Structure is documented below.

Declaration
public Output<ImmutableArray<RegistryEventNotificationConfigItem>> EventNotificationConfigs { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<RegistryEventNotificationConfigItem>>
View Source

HttpConfig

Activate or deactivate HTTP. The structure is documented below.

Declaration
public Output<RegistryHttpConfig> HttpConfig { get; }
Property Value
Type Description
Output<RegistryHttpConfig>
View Source

LogLevel

The default logging verbosity for activity from devices in this registry. Specifies which events should be written to logs. For example, if the LogLevel is ERROR, only events that terminate in errors will be logged. LogLevel is inclusive; enabling INFO logging will also enable ERROR logging.

Declaration
public Output<string> LogLevel { get; }
Property Value
Type Description
Output<System.String>
View Source

MqttConfig

Activate or deactivate MQTT. The structure is documented below.

Declaration
public Output<RegistryMqttConfig> MqttConfig { get; }
Property Value
Type Description
Output<RegistryMqttConfig>
View Source

Name

A unique name for the resource, required by device registry.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Declaration
public Output<string> Project { get; }
Property Value
Type Description
Output<System.String>
View Source

Region

The region in which the created registry should reside. If it is not provided, the provider region is used.

Declaration
public Output<string> Region { get; }
Property Value
Type Description
Output<System.String>
View Source

StateNotificationConfig

A PubSub topic to publish device state updates. The structure is documented below.

Declaration
public Output<RegistryStateNotificationConfig> StateNotificationConfig { get; }
Property Value
Type Description
Output<RegistryStateNotificationConfig>

Methods

View Source

Get(String, Input<String>, RegistryState, CustomResourceOptions)

Get an existing Registry resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Registry Get(string name, Input<string> id, RegistryState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

RegistryState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Registry
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.