iot

package
v3.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device added in v3.15.0

type Device struct {
	pulumi.CustomResourceState

	// If a device is blocked, connections or requests from this device will fail.
	Blocked pulumi.BoolPtrOutput `pulumi:"blocked"`
	// The most recent device configuration, which is eventually sent from Cloud IoT Core to the device.
	Config DeviceConfigOutput `pulumi:"config"`
	// The credentials used to authenticate this device.
	// Structure is documented below.
	Credentials DeviceCredentialArrayOutput `pulumi:"credentials"`
	// Gateway-related configuration and state.
	// Structure is documented below.
	GatewayConfig DeviceGatewayConfigPtrOutput `pulumi:"gatewayConfig"`
	// The last time a cloud-to-device config version acknowledgment was received from the device.
	LastConfigAckTime pulumi.StringOutput `pulumi:"lastConfigAckTime"`
	// The last time a cloud-to-device config version was sent to the device.
	LastConfigSendTime pulumi.StringOutput `pulumi:"lastConfigSendTime"`
	// The error message of the most recent error, such as a failure to publish to Cloud Pub/Sub.
	LastErrorStatus DeviceLastErrorStatusOutput `pulumi:"lastErrorStatus"`
	// The time the most recent error occurred, such as a failure to publish to Cloud Pub/Sub.
	LastErrorTime pulumi.StringOutput `pulumi:"lastErrorTime"`
	// The last time a telemetry event was received.
	LastEventTime pulumi.StringOutput `pulumi:"lastEventTime"`
	// The last time an MQTT PINGREQ was received.
	LastHeartbeatTime pulumi.StringOutput `pulumi:"lastHeartbeatTime"`
	// The last time a state event was received.
	LastStateTime pulumi.StringOutput `pulumi:"lastStateTime"`
	// The logging verbosity for device activity.
	// Possible values are `NONE`, `ERROR`, `INFO`, and `DEBUG`.
	LogLevel pulumi.StringPtrOutput `pulumi:"logLevel"`
	// The metadata key-value pairs assigned to the device.
	Metadata pulumi.StringMapOutput `pulumi:"metadata"`
	// A unique name for the resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// A server-defined unique numeric ID for the device. This is a more compact way to identify devices, and it is globally
	// unique.
	NumId pulumi.StringOutput `pulumi:"numId"`
	// The name of the device registry where this device should be created.
	Registry pulumi.StringOutput `pulumi:"registry"`
	// The state most recently received from the device.
	State DeviceStateTypeOutput `pulumi:"state"`
}

A Google Cloud IoT Core device.

To get more information about Device, see:

* [API documentation](https://cloud.google.com/iot/docs/reference/cloudiot/rest/) * How-to Guides

## Example Usage

func GetDevice added in v3.15.0

func GetDevice(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeviceState, opts ...pulumi.ResourceOption) (*Device, error)

GetDevice gets an existing Device resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDevice added in v3.15.0

func NewDevice(ctx *pulumi.Context,
	name string, args *DeviceArgs, opts ...pulumi.ResourceOption) (*Device, error)

NewDevice registers a new resource with the given unique name, arguments, and options.

type DeviceArgs added in v3.15.0

type DeviceArgs struct {
	// If a device is blocked, connections or requests from this device will fail.
	Blocked pulumi.BoolPtrInput
	// The credentials used to authenticate this device.
	// Structure is documented below.
	Credentials DeviceCredentialArrayInput
	// Gateway-related configuration and state.
	// Structure is documented below.
	GatewayConfig DeviceGatewayConfigPtrInput
	// The logging verbosity for device activity.
	// Possible values are `NONE`, `ERROR`, `INFO`, and `DEBUG`.
	LogLevel pulumi.StringPtrInput
	// The metadata key-value pairs assigned to the device.
	Metadata pulumi.StringMapInput
	// A unique name for the resource.
	Name pulumi.StringPtrInput
	// The name of the device registry where this device should be created.
	Registry pulumi.StringInput
}

The set of arguments for constructing a Device resource.

func (DeviceArgs) ElementType added in v3.15.0

func (DeviceArgs) ElementType() reflect.Type

type DeviceConfig added in v3.15.0

type DeviceConfig struct {
	BinaryData      *string `pulumi:"binaryData"`
	CloudUpdateTime *string `pulumi:"cloudUpdateTime"`
	DeviceAckTime   *string `pulumi:"deviceAckTime"`
	Version         *string `pulumi:"version"`
}

type DeviceConfigArgs added in v3.15.0

type DeviceConfigArgs struct {
	BinaryData      pulumi.StringPtrInput `pulumi:"binaryData"`
	CloudUpdateTime pulumi.StringPtrInput `pulumi:"cloudUpdateTime"`
	DeviceAckTime   pulumi.StringPtrInput `pulumi:"deviceAckTime"`
	Version         pulumi.StringPtrInput `pulumi:"version"`
}

func (DeviceConfigArgs) ElementType added in v3.15.0

func (DeviceConfigArgs) ElementType() reflect.Type

func (DeviceConfigArgs) ToDeviceConfigOutput added in v3.15.0

func (i DeviceConfigArgs) ToDeviceConfigOutput() DeviceConfigOutput

func (DeviceConfigArgs) ToDeviceConfigOutputWithContext added in v3.15.0

func (i DeviceConfigArgs) ToDeviceConfigOutputWithContext(ctx context.Context) DeviceConfigOutput

func (DeviceConfigArgs) ToDeviceConfigPtrOutput added in v3.15.0

func (i DeviceConfigArgs) ToDeviceConfigPtrOutput() DeviceConfigPtrOutput

func (DeviceConfigArgs) ToDeviceConfigPtrOutputWithContext added in v3.15.0

func (i DeviceConfigArgs) ToDeviceConfigPtrOutputWithContext(ctx context.Context) DeviceConfigPtrOutput

type DeviceConfigInput added in v3.15.0

type DeviceConfigInput interface {
	pulumi.Input

	ToDeviceConfigOutput() DeviceConfigOutput
	ToDeviceConfigOutputWithContext(context.Context) DeviceConfigOutput
}

DeviceConfigInput is an input type that accepts DeviceConfigArgs and DeviceConfigOutput values. You can construct a concrete instance of `DeviceConfigInput` via:

DeviceConfigArgs{...}

type DeviceConfigOutput added in v3.15.0

type DeviceConfigOutput struct{ *pulumi.OutputState }

func (DeviceConfigOutput) BinaryData added in v3.15.0

func (o DeviceConfigOutput) BinaryData() pulumi.StringPtrOutput

func (DeviceConfigOutput) CloudUpdateTime added in v3.15.0

func (o DeviceConfigOutput) CloudUpdateTime() pulumi.StringPtrOutput

func (DeviceConfigOutput) DeviceAckTime added in v3.15.0

func (o DeviceConfigOutput) DeviceAckTime() pulumi.StringPtrOutput

func (DeviceConfigOutput) ElementType added in v3.15.0

func (DeviceConfigOutput) ElementType() reflect.Type

func (DeviceConfigOutput) ToDeviceConfigOutput added in v3.15.0

func (o DeviceConfigOutput) ToDeviceConfigOutput() DeviceConfigOutput

func (DeviceConfigOutput) ToDeviceConfigOutputWithContext added in v3.15.0

func (o DeviceConfigOutput) ToDeviceConfigOutputWithContext(ctx context.Context) DeviceConfigOutput

func (DeviceConfigOutput) ToDeviceConfigPtrOutput added in v3.15.0

func (o DeviceConfigOutput) ToDeviceConfigPtrOutput() DeviceConfigPtrOutput

func (DeviceConfigOutput) ToDeviceConfigPtrOutputWithContext added in v3.15.0

func (o DeviceConfigOutput) ToDeviceConfigPtrOutputWithContext(ctx context.Context) DeviceConfigPtrOutput

func (DeviceConfigOutput) Version added in v3.15.0

type DeviceConfigPtrInput added in v3.15.0

type DeviceConfigPtrInput interface {
	pulumi.Input

	ToDeviceConfigPtrOutput() DeviceConfigPtrOutput
	ToDeviceConfigPtrOutputWithContext(context.Context) DeviceConfigPtrOutput
}

DeviceConfigPtrInput is an input type that accepts DeviceConfigArgs, DeviceConfigPtr and DeviceConfigPtrOutput values. You can construct a concrete instance of `DeviceConfigPtrInput` via:

        DeviceConfigArgs{...}

or:

        nil

func DeviceConfigPtr added in v3.15.0

func DeviceConfigPtr(v *DeviceConfigArgs) DeviceConfigPtrInput

type DeviceConfigPtrOutput added in v3.15.0

type DeviceConfigPtrOutput struct{ *pulumi.OutputState }

func (DeviceConfigPtrOutput) BinaryData added in v3.15.0

func (DeviceConfigPtrOutput) CloudUpdateTime added in v3.15.0

func (o DeviceConfigPtrOutput) CloudUpdateTime() pulumi.StringPtrOutput

func (DeviceConfigPtrOutput) DeviceAckTime added in v3.15.0

func (o DeviceConfigPtrOutput) DeviceAckTime() pulumi.StringPtrOutput

func (DeviceConfigPtrOutput) Elem added in v3.15.0

func (DeviceConfigPtrOutput) ElementType added in v3.15.0

func (DeviceConfigPtrOutput) ElementType() reflect.Type

func (DeviceConfigPtrOutput) ToDeviceConfigPtrOutput added in v3.15.0

func (o DeviceConfigPtrOutput) ToDeviceConfigPtrOutput() DeviceConfigPtrOutput

func (DeviceConfigPtrOutput) ToDeviceConfigPtrOutputWithContext added in v3.15.0

func (o DeviceConfigPtrOutput) ToDeviceConfigPtrOutputWithContext(ctx context.Context) DeviceConfigPtrOutput

func (DeviceConfigPtrOutput) Version added in v3.15.0

type DeviceCredential added in v3.15.0

type DeviceCredential struct {
	// The time at which this credential becomes invalid.
	ExpirationTime *string `pulumi:"expirationTime"`
	// A public key used to verify the signature of JSON Web Tokens (JWTs).
	// Structure is documented below.
	PublicKey DeviceCredentialPublicKey `pulumi:"publicKey"`
}

type DeviceCredentialArgs added in v3.15.0

type DeviceCredentialArgs struct {
	// The time at which this credential becomes invalid.
	ExpirationTime pulumi.StringPtrInput `pulumi:"expirationTime"`
	// A public key used to verify the signature of JSON Web Tokens (JWTs).
	// Structure is documented below.
	PublicKey DeviceCredentialPublicKeyInput `pulumi:"publicKey"`
}

func (DeviceCredentialArgs) ElementType added in v3.15.0

func (DeviceCredentialArgs) ElementType() reflect.Type

func (DeviceCredentialArgs) ToDeviceCredentialOutput added in v3.15.0

func (i DeviceCredentialArgs) ToDeviceCredentialOutput() DeviceCredentialOutput

func (DeviceCredentialArgs) ToDeviceCredentialOutputWithContext added in v3.15.0

func (i DeviceCredentialArgs) ToDeviceCredentialOutputWithContext(ctx context.Context) DeviceCredentialOutput

type DeviceCredentialArray added in v3.15.0

type DeviceCredentialArray []DeviceCredentialInput

func (DeviceCredentialArray) ElementType added in v3.15.0

func (DeviceCredentialArray) ElementType() reflect.Type

func (DeviceCredentialArray) ToDeviceCredentialArrayOutput added in v3.15.0

func (i DeviceCredentialArray) ToDeviceCredentialArrayOutput() DeviceCredentialArrayOutput

func (DeviceCredentialArray) ToDeviceCredentialArrayOutputWithContext added in v3.15.0

func (i DeviceCredentialArray) ToDeviceCredentialArrayOutputWithContext(ctx context.Context) DeviceCredentialArrayOutput

type DeviceCredentialArrayInput added in v3.15.0

type DeviceCredentialArrayInput interface {
	pulumi.Input

	ToDeviceCredentialArrayOutput() DeviceCredentialArrayOutput
	ToDeviceCredentialArrayOutputWithContext(context.Context) DeviceCredentialArrayOutput
}

DeviceCredentialArrayInput is an input type that accepts DeviceCredentialArray and DeviceCredentialArrayOutput values. You can construct a concrete instance of `DeviceCredentialArrayInput` via:

DeviceCredentialArray{ DeviceCredentialArgs{...} }

type DeviceCredentialArrayOutput added in v3.15.0

type DeviceCredentialArrayOutput struct{ *pulumi.OutputState }

func (DeviceCredentialArrayOutput) ElementType added in v3.15.0

func (DeviceCredentialArrayOutput) Index added in v3.15.0

func (DeviceCredentialArrayOutput) ToDeviceCredentialArrayOutput added in v3.15.0

func (o DeviceCredentialArrayOutput) ToDeviceCredentialArrayOutput() DeviceCredentialArrayOutput

func (DeviceCredentialArrayOutput) ToDeviceCredentialArrayOutputWithContext added in v3.15.0

func (o DeviceCredentialArrayOutput) ToDeviceCredentialArrayOutputWithContext(ctx context.Context) DeviceCredentialArrayOutput

type DeviceCredentialInput added in v3.15.0

type DeviceCredentialInput interface {
	pulumi.Input

	ToDeviceCredentialOutput() DeviceCredentialOutput
	ToDeviceCredentialOutputWithContext(context.Context) DeviceCredentialOutput
}

DeviceCredentialInput is an input type that accepts DeviceCredentialArgs and DeviceCredentialOutput values. You can construct a concrete instance of `DeviceCredentialInput` via:

DeviceCredentialArgs{...}

type DeviceCredentialOutput added in v3.15.0

type DeviceCredentialOutput struct{ *pulumi.OutputState }

func (DeviceCredentialOutput) ElementType added in v3.15.0

func (DeviceCredentialOutput) ElementType() reflect.Type

func (DeviceCredentialOutput) ExpirationTime added in v3.15.0

func (o DeviceCredentialOutput) ExpirationTime() pulumi.StringPtrOutput

The time at which this credential becomes invalid.

func (DeviceCredentialOutput) PublicKey added in v3.15.0

A public key used to verify the signature of JSON Web Tokens (JWTs). Structure is documented below.

func (DeviceCredentialOutput) ToDeviceCredentialOutput added in v3.15.0

func (o DeviceCredentialOutput) ToDeviceCredentialOutput() DeviceCredentialOutput

func (DeviceCredentialOutput) ToDeviceCredentialOutputWithContext added in v3.15.0

func (o DeviceCredentialOutput) ToDeviceCredentialOutputWithContext(ctx context.Context) DeviceCredentialOutput

type DeviceCredentialPublicKey added in v3.15.0

type DeviceCredentialPublicKey struct {
	// The format of the key.
	// Possible values are `RSA_PEM`, `RSA_X509_PEM`, `ES256_PEM`, and `ES256_X509_PEM`.
	Format string `pulumi:"format"`
	// The key data.
	Key string `pulumi:"key"`
}

type DeviceCredentialPublicKeyArgs added in v3.15.0

type DeviceCredentialPublicKeyArgs struct {
	// The format of the key.
	// Possible values are `RSA_PEM`, `RSA_X509_PEM`, `ES256_PEM`, and `ES256_X509_PEM`.
	Format pulumi.StringInput `pulumi:"format"`
	// The key data.
	Key pulumi.StringInput `pulumi:"key"`
}

func (DeviceCredentialPublicKeyArgs) ElementType added in v3.15.0

func (DeviceCredentialPublicKeyArgs) ToDeviceCredentialPublicKeyOutput added in v3.15.0

func (i DeviceCredentialPublicKeyArgs) ToDeviceCredentialPublicKeyOutput() DeviceCredentialPublicKeyOutput

func (DeviceCredentialPublicKeyArgs) ToDeviceCredentialPublicKeyOutputWithContext added in v3.15.0

func (i DeviceCredentialPublicKeyArgs) ToDeviceCredentialPublicKeyOutputWithContext(ctx context.Context) DeviceCredentialPublicKeyOutput

type DeviceCredentialPublicKeyInput added in v3.15.0

type DeviceCredentialPublicKeyInput interface {
	pulumi.Input

	ToDeviceCredentialPublicKeyOutput() DeviceCredentialPublicKeyOutput
	ToDeviceCredentialPublicKeyOutputWithContext(context.Context) DeviceCredentialPublicKeyOutput
}

DeviceCredentialPublicKeyInput is an input type that accepts DeviceCredentialPublicKeyArgs and DeviceCredentialPublicKeyOutput values. You can construct a concrete instance of `DeviceCredentialPublicKeyInput` via:

DeviceCredentialPublicKeyArgs{...}

type DeviceCredentialPublicKeyOutput added in v3.15.0

type DeviceCredentialPublicKeyOutput struct{ *pulumi.OutputState }

func (DeviceCredentialPublicKeyOutput) ElementType added in v3.15.0

func (DeviceCredentialPublicKeyOutput) Format added in v3.15.0

The format of the key. Possible values are `RSA_PEM`, `RSA_X509_PEM`, `ES256_PEM`, and `ES256_X509_PEM`.

func (DeviceCredentialPublicKeyOutput) Key added in v3.15.0

The key data.

func (DeviceCredentialPublicKeyOutput) ToDeviceCredentialPublicKeyOutput added in v3.15.0

func (o DeviceCredentialPublicKeyOutput) ToDeviceCredentialPublicKeyOutput() DeviceCredentialPublicKeyOutput

func (DeviceCredentialPublicKeyOutput) ToDeviceCredentialPublicKeyOutputWithContext added in v3.15.0

func (o DeviceCredentialPublicKeyOutput) ToDeviceCredentialPublicKeyOutputWithContext(ctx context.Context) DeviceCredentialPublicKeyOutput

type DeviceGatewayConfig added in v3.15.0

type DeviceGatewayConfig struct {
	// Indicates whether the device is a gateway.
	// Possible values are `ASSOCIATION_ONLY`, `DEVICE_AUTH_TOKEN_ONLY`, and `ASSOCIATION_AND_DEVICE_AUTH_TOKEN`.
	GatewayAuthMethod *string `pulumi:"gatewayAuthMethod"`
	// Indicates whether the device is a gateway.
	// Default value is `NON_GATEWAY`.
	// Possible values are `GATEWAY` and `NON_GATEWAY`.
	GatewayType *string `pulumi:"gatewayType"`
	// -
	// The ID of the gateway the device accessed most recently.
	LastAccessedGatewayId *string `pulumi:"lastAccessedGatewayId"`
	// -
	// The most recent time at which the device accessed the gateway specified in last_accessed_gateway.
	LastAccessedGatewayTime *string `pulumi:"lastAccessedGatewayTime"`
}

type DeviceGatewayConfigArgs added in v3.15.0

type DeviceGatewayConfigArgs struct {
	// Indicates whether the device is a gateway.
	// Possible values are `ASSOCIATION_ONLY`, `DEVICE_AUTH_TOKEN_ONLY`, and `ASSOCIATION_AND_DEVICE_AUTH_TOKEN`.
	GatewayAuthMethod pulumi.StringPtrInput `pulumi:"gatewayAuthMethod"`
	// Indicates whether the device is a gateway.
	// Default value is `NON_GATEWAY`.
	// Possible values are `GATEWAY` and `NON_GATEWAY`.
	GatewayType pulumi.StringPtrInput `pulumi:"gatewayType"`
	// -
	// The ID of the gateway the device accessed most recently.
	LastAccessedGatewayId pulumi.StringPtrInput `pulumi:"lastAccessedGatewayId"`
	// -
	// The most recent time at which the device accessed the gateway specified in last_accessed_gateway.
	LastAccessedGatewayTime pulumi.StringPtrInput `pulumi:"lastAccessedGatewayTime"`
}

func (DeviceGatewayConfigArgs) ElementType added in v3.15.0

func (DeviceGatewayConfigArgs) ElementType() reflect.Type

func (DeviceGatewayConfigArgs) ToDeviceGatewayConfigOutput added in v3.15.0

func (i DeviceGatewayConfigArgs) ToDeviceGatewayConfigOutput() DeviceGatewayConfigOutput

func (DeviceGatewayConfigArgs) ToDeviceGatewayConfigOutputWithContext added in v3.15.0

func (i DeviceGatewayConfigArgs) ToDeviceGatewayConfigOutputWithContext(ctx context.Context) DeviceGatewayConfigOutput

func (DeviceGatewayConfigArgs) ToDeviceGatewayConfigPtrOutput added in v3.15.0

func (i DeviceGatewayConfigArgs) ToDeviceGatewayConfigPtrOutput() DeviceGatewayConfigPtrOutput

func (DeviceGatewayConfigArgs) ToDeviceGatewayConfigPtrOutputWithContext added in v3.15.0

func (i DeviceGatewayConfigArgs) ToDeviceGatewayConfigPtrOutputWithContext(ctx context.Context) DeviceGatewayConfigPtrOutput

type DeviceGatewayConfigInput added in v3.15.0

type DeviceGatewayConfigInput interface {
	pulumi.Input

	ToDeviceGatewayConfigOutput() DeviceGatewayConfigOutput
	ToDeviceGatewayConfigOutputWithContext(context.Context) DeviceGatewayConfigOutput
}

DeviceGatewayConfigInput is an input type that accepts DeviceGatewayConfigArgs and DeviceGatewayConfigOutput values. You can construct a concrete instance of `DeviceGatewayConfigInput` via:

DeviceGatewayConfigArgs{...}

type DeviceGatewayConfigOutput added in v3.15.0

type DeviceGatewayConfigOutput struct{ *pulumi.OutputState }

func (DeviceGatewayConfigOutput) ElementType added in v3.15.0

func (DeviceGatewayConfigOutput) ElementType() reflect.Type

func (DeviceGatewayConfigOutput) GatewayAuthMethod added in v3.15.0

func (o DeviceGatewayConfigOutput) GatewayAuthMethod() pulumi.StringPtrOutput

Indicates whether the device is a gateway. Possible values are `ASSOCIATION_ONLY`, `DEVICE_AUTH_TOKEN_ONLY`, and `ASSOCIATION_AND_DEVICE_AUTH_TOKEN`.

func (DeviceGatewayConfigOutput) GatewayType added in v3.15.0

Indicates whether the device is a gateway. Default value is `NON_GATEWAY`. Possible values are `GATEWAY` and `NON_GATEWAY`.

func (DeviceGatewayConfigOutput) LastAccessedGatewayId added in v3.15.0

func (o DeviceGatewayConfigOutput) LastAccessedGatewayId() pulumi.StringPtrOutput

- The ID of the gateway the device accessed most recently.

func (DeviceGatewayConfigOutput) LastAccessedGatewayTime added in v3.15.0

func (o DeviceGatewayConfigOutput) LastAccessedGatewayTime() pulumi.StringPtrOutput

- The most recent time at which the device accessed the gateway specified in last_accessed_gateway.

func (DeviceGatewayConfigOutput) ToDeviceGatewayConfigOutput added in v3.15.0

func (o DeviceGatewayConfigOutput) ToDeviceGatewayConfigOutput() DeviceGatewayConfigOutput

func (DeviceGatewayConfigOutput) ToDeviceGatewayConfigOutputWithContext added in v3.15.0

func (o DeviceGatewayConfigOutput) ToDeviceGatewayConfigOutputWithContext(ctx context.Context) DeviceGatewayConfigOutput

func (DeviceGatewayConfigOutput) ToDeviceGatewayConfigPtrOutput added in v3.15.0

func (o DeviceGatewayConfigOutput) ToDeviceGatewayConfigPtrOutput() DeviceGatewayConfigPtrOutput

func (DeviceGatewayConfigOutput) ToDeviceGatewayConfigPtrOutputWithContext added in v3.15.0

func (o DeviceGatewayConfigOutput) ToDeviceGatewayConfigPtrOutputWithContext(ctx context.Context) DeviceGatewayConfigPtrOutput

type DeviceGatewayConfigPtrInput added in v3.15.0

type DeviceGatewayConfigPtrInput interface {
	pulumi.Input

	ToDeviceGatewayConfigPtrOutput() DeviceGatewayConfigPtrOutput
	ToDeviceGatewayConfigPtrOutputWithContext(context.Context) DeviceGatewayConfigPtrOutput
}

DeviceGatewayConfigPtrInput is an input type that accepts DeviceGatewayConfigArgs, DeviceGatewayConfigPtr and DeviceGatewayConfigPtrOutput values. You can construct a concrete instance of `DeviceGatewayConfigPtrInput` via:

        DeviceGatewayConfigArgs{...}

or:

        nil

func DeviceGatewayConfigPtr added in v3.15.0

func DeviceGatewayConfigPtr(v *DeviceGatewayConfigArgs) DeviceGatewayConfigPtrInput

type DeviceGatewayConfigPtrOutput added in v3.15.0

type DeviceGatewayConfigPtrOutput struct{ *pulumi.OutputState }

func (DeviceGatewayConfigPtrOutput) Elem added in v3.15.0

func (DeviceGatewayConfigPtrOutput) ElementType added in v3.15.0

func (DeviceGatewayConfigPtrOutput) GatewayAuthMethod added in v3.15.0

func (o DeviceGatewayConfigPtrOutput) GatewayAuthMethod() pulumi.StringPtrOutput

Indicates whether the device is a gateway. Possible values are `ASSOCIATION_ONLY`, `DEVICE_AUTH_TOKEN_ONLY`, and `ASSOCIATION_AND_DEVICE_AUTH_TOKEN`.

func (DeviceGatewayConfigPtrOutput) GatewayType added in v3.15.0

Indicates whether the device is a gateway. Default value is `NON_GATEWAY`. Possible values are `GATEWAY` and `NON_GATEWAY`.

func (DeviceGatewayConfigPtrOutput) LastAccessedGatewayId added in v3.15.0

func (o DeviceGatewayConfigPtrOutput) LastAccessedGatewayId() pulumi.StringPtrOutput

- The ID of the gateway the device accessed most recently.

func (DeviceGatewayConfigPtrOutput) LastAccessedGatewayTime added in v3.15.0

func (o DeviceGatewayConfigPtrOutput) LastAccessedGatewayTime() pulumi.StringPtrOutput

- The most recent time at which the device accessed the gateway specified in last_accessed_gateway.

func (DeviceGatewayConfigPtrOutput) ToDeviceGatewayConfigPtrOutput added in v3.15.0

func (o DeviceGatewayConfigPtrOutput) ToDeviceGatewayConfigPtrOutput() DeviceGatewayConfigPtrOutput

func (DeviceGatewayConfigPtrOutput) ToDeviceGatewayConfigPtrOutputWithContext added in v3.15.0

func (o DeviceGatewayConfigPtrOutput) ToDeviceGatewayConfigPtrOutputWithContext(ctx context.Context) DeviceGatewayConfigPtrOutput

type DeviceLastErrorStatus added in v3.15.0

type DeviceLastErrorStatus struct {
	Details []map[string]interface{} `pulumi:"details"`
	Message *string                  `pulumi:"message"`
	Number  *int                     `pulumi:"number"`
}

type DeviceLastErrorStatusArgs added in v3.15.0

type DeviceLastErrorStatusArgs struct {
	Details pulumi.MapArrayInput  `pulumi:"details"`
	Message pulumi.StringPtrInput `pulumi:"message"`
	Number  pulumi.IntPtrInput    `pulumi:"number"`
}

func (DeviceLastErrorStatusArgs) ElementType added in v3.15.0

func (DeviceLastErrorStatusArgs) ElementType() reflect.Type

func (DeviceLastErrorStatusArgs) ToDeviceLastErrorStatusOutput added in v3.15.0

func (i DeviceLastErrorStatusArgs) ToDeviceLastErrorStatusOutput() DeviceLastErrorStatusOutput

func (DeviceLastErrorStatusArgs) ToDeviceLastErrorStatusOutputWithContext added in v3.15.0

func (i DeviceLastErrorStatusArgs) ToDeviceLastErrorStatusOutputWithContext(ctx context.Context) DeviceLastErrorStatusOutput

func (DeviceLastErrorStatusArgs) ToDeviceLastErrorStatusPtrOutput added in v3.15.0

func (i DeviceLastErrorStatusArgs) ToDeviceLastErrorStatusPtrOutput() DeviceLastErrorStatusPtrOutput

func (DeviceLastErrorStatusArgs) ToDeviceLastErrorStatusPtrOutputWithContext added in v3.15.0

func (i DeviceLastErrorStatusArgs) ToDeviceLastErrorStatusPtrOutputWithContext(ctx context.Context) DeviceLastErrorStatusPtrOutput

type DeviceLastErrorStatusInput added in v3.15.0

type DeviceLastErrorStatusInput interface {
	pulumi.Input

	ToDeviceLastErrorStatusOutput() DeviceLastErrorStatusOutput
	ToDeviceLastErrorStatusOutputWithContext(context.Context) DeviceLastErrorStatusOutput
}

DeviceLastErrorStatusInput is an input type that accepts DeviceLastErrorStatusArgs and DeviceLastErrorStatusOutput values. You can construct a concrete instance of `DeviceLastErrorStatusInput` via:

DeviceLastErrorStatusArgs{...}

type DeviceLastErrorStatusOutput added in v3.15.0

type DeviceLastErrorStatusOutput struct{ *pulumi.OutputState }

func (DeviceLastErrorStatusOutput) Details added in v3.15.0

func (DeviceLastErrorStatusOutput) ElementType added in v3.15.0

func (DeviceLastErrorStatusOutput) Message added in v3.15.0

func (DeviceLastErrorStatusOutput) Number added in v3.15.0

func (DeviceLastErrorStatusOutput) ToDeviceLastErrorStatusOutput added in v3.15.0

func (o DeviceLastErrorStatusOutput) ToDeviceLastErrorStatusOutput() DeviceLastErrorStatusOutput

func (DeviceLastErrorStatusOutput) ToDeviceLastErrorStatusOutputWithContext added in v3.15.0

func (o DeviceLastErrorStatusOutput) ToDeviceLastErrorStatusOutputWithContext(ctx context.Context) DeviceLastErrorStatusOutput

func (DeviceLastErrorStatusOutput) ToDeviceLastErrorStatusPtrOutput added in v3.15.0

func (o DeviceLastErrorStatusOutput) ToDeviceLastErrorStatusPtrOutput() DeviceLastErrorStatusPtrOutput

func (DeviceLastErrorStatusOutput) ToDeviceLastErrorStatusPtrOutputWithContext added in v3.15.0

func (o DeviceLastErrorStatusOutput) ToDeviceLastErrorStatusPtrOutputWithContext(ctx context.Context) DeviceLastErrorStatusPtrOutput

type DeviceLastErrorStatusPtrInput added in v3.15.0

type DeviceLastErrorStatusPtrInput interface {
	pulumi.Input

	ToDeviceLastErrorStatusPtrOutput() DeviceLastErrorStatusPtrOutput
	ToDeviceLastErrorStatusPtrOutputWithContext(context.Context) DeviceLastErrorStatusPtrOutput
}

DeviceLastErrorStatusPtrInput is an input type that accepts DeviceLastErrorStatusArgs, DeviceLastErrorStatusPtr and DeviceLastErrorStatusPtrOutput values. You can construct a concrete instance of `DeviceLastErrorStatusPtrInput` via:

        DeviceLastErrorStatusArgs{...}

or:

        nil

func DeviceLastErrorStatusPtr added in v3.15.0

func DeviceLastErrorStatusPtr(v *DeviceLastErrorStatusArgs) DeviceLastErrorStatusPtrInput

type DeviceLastErrorStatusPtrOutput added in v3.15.0

type DeviceLastErrorStatusPtrOutput struct{ *pulumi.OutputState }

func (DeviceLastErrorStatusPtrOutput) Details added in v3.15.0

func (DeviceLastErrorStatusPtrOutput) Elem added in v3.15.0

func (DeviceLastErrorStatusPtrOutput) ElementType added in v3.15.0

func (DeviceLastErrorStatusPtrOutput) Message added in v3.15.0

func (DeviceLastErrorStatusPtrOutput) Number added in v3.15.0

func (DeviceLastErrorStatusPtrOutput) ToDeviceLastErrorStatusPtrOutput added in v3.15.0

func (o DeviceLastErrorStatusPtrOutput) ToDeviceLastErrorStatusPtrOutput() DeviceLastErrorStatusPtrOutput

func (DeviceLastErrorStatusPtrOutput) ToDeviceLastErrorStatusPtrOutputWithContext added in v3.15.0

func (o DeviceLastErrorStatusPtrOutput) ToDeviceLastErrorStatusPtrOutputWithContext(ctx context.Context) DeviceLastErrorStatusPtrOutput

type DeviceState added in v3.15.0

type DeviceState struct {
	// If a device is blocked, connections or requests from this device will fail.
	Blocked pulumi.BoolPtrInput
	// The most recent device configuration, which is eventually sent from Cloud IoT Core to the device.
	Config DeviceConfigPtrInput
	// The credentials used to authenticate this device.
	// Structure is documented below.
	Credentials DeviceCredentialArrayInput
	// Gateway-related configuration and state.
	// Structure is documented below.
	GatewayConfig DeviceGatewayConfigPtrInput
	// The last time a cloud-to-device config version acknowledgment was received from the device.
	LastConfigAckTime pulumi.StringPtrInput
	// The last time a cloud-to-device config version was sent to the device.
	LastConfigSendTime pulumi.StringPtrInput
	// The error message of the most recent error, such as a failure to publish to Cloud Pub/Sub.
	LastErrorStatus DeviceLastErrorStatusPtrInput
	// The time the most recent error occurred, such as a failure to publish to Cloud Pub/Sub.
	LastErrorTime pulumi.StringPtrInput
	// The last time a telemetry event was received.
	LastEventTime pulumi.StringPtrInput
	// The last time an MQTT PINGREQ was received.
	LastHeartbeatTime pulumi.StringPtrInput
	// The last time a state event was received.
	LastStateTime pulumi.StringPtrInput
	// The logging verbosity for device activity.
	// Possible values are `NONE`, `ERROR`, `INFO`, and `DEBUG`.
	LogLevel pulumi.StringPtrInput
	// The metadata key-value pairs assigned to the device.
	Metadata pulumi.StringMapInput
	// A unique name for the resource.
	Name pulumi.StringPtrInput
	// A server-defined unique numeric ID for the device. This is a more compact way to identify devices, and it is globally
	// unique.
	NumId pulumi.StringPtrInput
	// The name of the device registry where this device should be created.
	Registry pulumi.StringPtrInput
	// The state most recently received from the device.
	State DeviceStateTypePtrInput
}

func (DeviceState) ElementType added in v3.15.0

func (DeviceState) ElementType() reflect.Type

type DeviceStateType added in v3.15.0

type DeviceStateType struct {
	BinaryData *string `pulumi:"binaryData"`
	UpdateTime *string `pulumi:"updateTime"`
}

type DeviceStateTypeArgs added in v3.15.0

type DeviceStateTypeArgs struct {
	BinaryData pulumi.StringPtrInput `pulumi:"binaryData"`
	UpdateTime pulumi.StringPtrInput `pulumi:"updateTime"`
}

func (DeviceStateTypeArgs) ElementType added in v3.15.0

func (DeviceStateTypeArgs) ElementType() reflect.Type

func (DeviceStateTypeArgs) ToDeviceStateTypeOutput added in v3.15.0

func (i DeviceStateTypeArgs) ToDeviceStateTypeOutput() DeviceStateTypeOutput

func (DeviceStateTypeArgs) ToDeviceStateTypeOutputWithContext added in v3.15.0

func (i DeviceStateTypeArgs) ToDeviceStateTypeOutputWithContext(ctx context.Context) DeviceStateTypeOutput

func (DeviceStateTypeArgs) ToDeviceStateTypePtrOutput added in v3.15.0

func (i DeviceStateTypeArgs) ToDeviceStateTypePtrOutput() DeviceStateTypePtrOutput

func (DeviceStateTypeArgs) ToDeviceStateTypePtrOutputWithContext added in v3.15.0

func (i DeviceStateTypeArgs) ToDeviceStateTypePtrOutputWithContext(ctx context.Context) DeviceStateTypePtrOutput

type DeviceStateTypeInput added in v3.15.0

type DeviceStateTypeInput interface {
	pulumi.Input

	ToDeviceStateTypeOutput() DeviceStateTypeOutput
	ToDeviceStateTypeOutputWithContext(context.Context) DeviceStateTypeOutput
}

DeviceStateTypeInput is an input type that accepts DeviceStateTypeArgs and DeviceStateTypeOutput values. You can construct a concrete instance of `DeviceStateTypeInput` via:

DeviceStateTypeArgs{...}

type DeviceStateTypeOutput added in v3.15.0

type DeviceStateTypeOutput struct{ *pulumi.OutputState }

func (DeviceStateTypeOutput) BinaryData added in v3.15.0

func (DeviceStateTypeOutput) ElementType added in v3.15.0

func (DeviceStateTypeOutput) ElementType() reflect.Type

func (DeviceStateTypeOutput) ToDeviceStateTypeOutput added in v3.15.0

func (o DeviceStateTypeOutput) ToDeviceStateTypeOutput() DeviceStateTypeOutput

func (DeviceStateTypeOutput) ToDeviceStateTypeOutputWithContext added in v3.15.0

func (o DeviceStateTypeOutput) ToDeviceStateTypeOutputWithContext(ctx context.Context) DeviceStateTypeOutput

func (DeviceStateTypeOutput) ToDeviceStateTypePtrOutput added in v3.15.0

func (o DeviceStateTypeOutput) ToDeviceStateTypePtrOutput() DeviceStateTypePtrOutput

func (DeviceStateTypeOutput) ToDeviceStateTypePtrOutputWithContext added in v3.15.0

func (o DeviceStateTypeOutput) ToDeviceStateTypePtrOutputWithContext(ctx context.Context) DeviceStateTypePtrOutput

func (DeviceStateTypeOutput) UpdateTime added in v3.15.0

type DeviceStateTypePtrInput added in v3.15.0

type DeviceStateTypePtrInput interface {
	pulumi.Input

	ToDeviceStateTypePtrOutput() DeviceStateTypePtrOutput
	ToDeviceStateTypePtrOutputWithContext(context.Context) DeviceStateTypePtrOutput
}

DeviceStateTypePtrInput is an input type that accepts DeviceStateTypeArgs, DeviceStateTypePtr and DeviceStateTypePtrOutput values. You can construct a concrete instance of `DeviceStateTypePtrInput` via:

        DeviceStateTypeArgs{...}

or:

        nil

func DeviceStateTypePtr added in v3.15.0

func DeviceStateTypePtr(v *DeviceStateTypeArgs) DeviceStateTypePtrInput

type DeviceStateTypePtrOutput added in v3.15.0

type DeviceStateTypePtrOutput struct{ *pulumi.OutputState }

func (DeviceStateTypePtrOutput) BinaryData added in v3.15.0

func (DeviceStateTypePtrOutput) Elem added in v3.15.0

func (DeviceStateTypePtrOutput) ElementType added in v3.15.0

func (DeviceStateTypePtrOutput) ElementType() reflect.Type

func (DeviceStateTypePtrOutput) ToDeviceStateTypePtrOutput added in v3.15.0

func (o DeviceStateTypePtrOutput) ToDeviceStateTypePtrOutput() DeviceStateTypePtrOutput

func (DeviceStateTypePtrOutput) ToDeviceStateTypePtrOutputWithContext added in v3.15.0

func (o DeviceStateTypePtrOutput) ToDeviceStateTypePtrOutputWithContext(ctx context.Context) DeviceStateTypePtrOutput

func (DeviceStateTypePtrOutput) UpdateTime added in v3.15.0

type Registry

type Registry struct {
	pulumi.CustomResourceState

	// List of public key certificates to authenticate devices.
	// The structure is documented below.
	Credentials RegistryCredentialArrayOutput `pulumi:"credentials"`
	// List of configurations for event notifications, such as PubSub topics
	// to publish device events to.
	// Structure is documented below.
	EventNotificationConfigs RegistryEventNotificationConfigItemArrayOutput `pulumi:"eventNotificationConfigs"`
	// Activate or deactivate HTTP.
	// The structure is documented below.
	HttpConfig RegistryHttpConfigOutput `pulumi:"httpConfig"`
	// 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.
	// Default value is `NONE`.
	// Possible values are `NONE`, `ERROR`, `INFO`, and `DEBUG`.
	LogLevel pulumi.StringPtrOutput `pulumi:"logLevel"`
	// Activate or deactivate MQTT.
	// The structure is documented below.
	MqttConfig RegistryMqttConfigOutput `pulumi:"mqttConfig"`
	// A unique name for the resource, required by device registry.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The region in which the created registry should reside.
	// If it is not provided, the provider region is used.
	Region pulumi.StringOutput `pulumi:"region"`
	// A PubSub topic to publish device state updates.
	// The structure is documented below.
	StateNotificationConfig RegistryStateNotificationConfigPtrOutput `pulumi:"stateNotificationConfig"`
}

A Google Cloud IoT Core device registry.

To get more information about DeviceRegistry, see:

* [API documentation](https://cloud.google.com/iot/docs/reference/cloudiot/rest/) * How-to Guides

## Example Usage

func GetRegistry

func GetRegistry(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RegistryState, opts ...pulumi.ResourceOption) (*Registry, error)

GetRegistry gets an existing Registry resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRegistry

func NewRegistry(ctx *pulumi.Context,
	name string, args *RegistryArgs, opts ...pulumi.ResourceOption) (*Registry, error)

NewRegistry registers a new resource with the given unique name, arguments, and options.

type RegistryArgs

type RegistryArgs struct {
	// List of public key certificates to authenticate devices.
	// The structure is documented below.
	Credentials RegistryCredentialArrayInput
	// List of configurations for event notifications, such as PubSub topics
	// to publish device events to.
	// Structure is documented below.
	EventNotificationConfigs RegistryEventNotificationConfigItemArrayInput
	// Activate or deactivate HTTP.
	// The structure is documented below.
	HttpConfig RegistryHttpConfigPtrInput
	// 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.
	// Default value is `NONE`.
	// Possible values are `NONE`, `ERROR`, `INFO`, and `DEBUG`.
	LogLevel pulumi.StringPtrInput
	// Activate or deactivate MQTT.
	// The structure is documented below.
	MqttConfig RegistryMqttConfigPtrInput
	// A unique name for the resource, required by device registry.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The region in which the created registry should reside.
	// If it is not provided, the provider region is used.
	Region pulumi.StringPtrInput
	// A PubSub topic to publish device state updates.
	// The structure is documented below.
	StateNotificationConfig RegistryStateNotificationConfigPtrInput
}

The set of arguments for constructing a Registry resource.

func (RegistryArgs) ElementType

func (RegistryArgs) ElementType() reflect.Type

type RegistryCredential

type RegistryCredential struct {
	// A public key certificate format and data.
	PublicKeyCertificate RegistryCredentialPublicKeyCertificate `pulumi:"publicKeyCertificate"`
}

type RegistryCredentialArgs

type RegistryCredentialArgs struct {
	// A public key certificate format and data.
	PublicKeyCertificate RegistryCredentialPublicKeyCertificateInput `pulumi:"publicKeyCertificate"`
}

func (RegistryCredentialArgs) ElementType

func (RegistryCredentialArgs) ElementType() reflect.Type

func (RegistryCredentialArgs) ToRegistryCredentialOutput

func (i RegistryCredentialArgs) ToRegistryCredentialOutput() RegistryCredentialOutput

func (RegistryCredentialArgs) ToRegistryCredentialOutputWithContext

func (i RegistryCredentialArgs) ToRegistryCredentialOutputWithContext(ctx context.Context) RegistryCredentialOutput

type RegistryCredentialArray

type RegistryCredentialArray []RegistryCredentialInput

func (RegistryCredentialArray) ElementType

func (RegistryCredentialArray) ElementType() reflect.Type

func (RegistryCredentialArray) ToRegistryCredentialArrayOutput

func (i RegistryCredentialArray) ToRegistryCredentialArrayOutput() RegistryCredentialArrayOutput

func (RegistryCredentialArray) ToRegistryCredentialArrayOutputWithContext

func (i RegistryCredentialArray) ToRegistryCredentialArrayOutputWithContext(ctx context.Context) RegistryCredentialArrayOutput

type RegistryCredentialArrayInput

type RegistryCredentialArrayInput interface {
	pulumi.Input

	ToRegistryCredentialArrayOutput() RegistryCredentialArrayOutput
	ToRegistryCredentialArrayOutputWithContext(context.Context) RegistryCredentialArrayOutput
}

RegistryCredentialArrayInput is an input type that accepts RegistryCredentialArray and RegistryCredentialArrayOutput values. You can construct a concrete instance of `RegistryCredentialArrayInput` via:

RegistryCredentialArray{ RegistryCredentialArgs{...} }

type RegistryCredentialArrayOutput

type RegistryCredentialArrayOutput struct{ *pulumi.OutputState }

func (RegistryCredentialArrayOutput) ElementType

func (RegistryCredentialArrayOutput) Index

func (RegistryCredentialArrayOutput) ToRegistryCredentialArrayOutput

func (o RegistryCredentialArrayOutput) ToRegistryCredentialArrayOutput() RegistryCredentialArrayOutput

func (RegistryCredentialArrayOutput) ToRegistryCredentialArrayOutputWithContext

func (o RegistryCredentialArrayOutput) ToRegistryCredentialArrayOutputWithContext(ctx context.Context) RegistryCredentialArrayOutput

type RegistryCredentialInput

type RegistryCredentialInput interface {
	pulumi.Input

	ToRegistryCredentialOutput() RegistryCredentialOutput
	ToRegistryCredentialOutputWithContext(context.Context) RegistryCredentialOutput
}

RegistryCredentialInput is an input type that accepts RegistryCredentialArgs and RegistryCredentialOutput values. You can construct a concrete instance of `RegistryCredentialInput` via:

RegistryCredentialArgs{...}

type RegistryCredentialOutput

type RegistryCredentialOutput struct{ *pulumi.OutputState }

func (RegistryCredentialOutput) ElementType

func (RegistryCredentialOutput) ElementType() reflect.Type

func (RegistryCredentialOutput) PublicKeyCertificate

A public key certificate format and data.

func (RegistryCredentialOutput) ToRegistryCredentialOutput

func (o RegistryCredentialOutput) ToRegistryCredentialOutput() RegistryCredentialOutput

func (RegistryCredentialOutput) ToRegistryCredentialOutputWithContext

func (o RegistryCredentialOutput) ToRegistryCredentialOutputWithContext(ctx context.Context) RegistryCredentialOutput

type RegistryCredentialPublicKeyCertificate

type RegistryCredentialPublicKeyCertificate struct {
	// The certificate data.
	Certificate string `pulumi:"certificate"`
	// The field allows only `X509_CERTIFICATE_PEM`.
	Format string `pulumi:"format"`
}

type RegistryCredentialPublicKeyCertificateArgs

type RegistryCredentialPublicKeyCertificateArgs struct {
	// The certificate data.
	Certificate pulumi.StringInput `pulumi:"certificate"`
	// The field allows only `X509_CERTIFICATE_PEM`.
	Format pulumi.StringInput `pulumi:"format"`
}

func (RegistryCredentialPublicKeyCertificateArgs) ElementType

func (RegistryCredentialPublicKeyCertificateArgs) ToRegistryCredentialPublicKeyCertificateOutput

func (i RegistryCredentialPublicKeyCertificateArgs) ToRegistryCredentialPublicKeyCertificateOutput() RegistryCredentialPublicKeyCertificateOutput

func (RegistryCredentialPublicKeyCertificateArgs) ToRegistryCredentialPublicKeyCertificateOutputWithContext

func (i RegistryCredentialPublicKeyCertificateArgs) ToRegistryCredentialPublicKeyCertificateOutputWithContext(ctx context.Context) RegistryCredentialPublicKeyCertificateOutput

type RegistryCredentialPublicKeyCertificateInput

type RegistryCredentialPublicKeyCertificateInput interface {
	pulumi.Input

	ToRegistryCredentialPublicKeyCertificateOutput() RegistryCredentialPublicKeyCertificateOutput
	ToRegistryCredentialPublicKeyCertificateOutputWithContext(context.Context) RegistryCredentialPublicKeyCertificateOutput
}

RegistryCredentialPublicKeyCertificateInput is an input type that accepts RegistryCredentialPublicKeyCertificateArgs and RegistryCredentialPublicKeyCertificateOutput values. You can construct a concrete instance of `RegistryCredentialPublicKeyCertificateInput` via:

RegistryCredentialPublicKeyCertificateArgs{...}

type RegistryCredentialPublicKeyCertificateOutput

type RegistryCredentialPublicKeyCertificateOutput struct{ *pulumi.OutputState }

func (RegistryCredentialPublicKeyCertificateOutput) Certificate

The certificate data.

func (RegistryCredentialPublicKeyCertificateOutput) ElementType

func (RegistryCredentialPublicKeyCertificateOutput) Format

The field allows only `X509_CERTIFICATE_PEM`.

func (RegistryCredentialPublicKeyCertificateOutput) ToRegistryCredentialPublicKeyCertificateOutput

func (o RegistryCredentialPublicKeyCertificateOutput) ToRegistryCredentialPublicKeyCertificateOutput() RegistryCredentialPublicKeyCertificateOutput

func (RegistryCredentialPublicKeyCertificateOutput) ToRegistryCredentialPublicKeyCertificateOutputWithContext

func (o RegistryCredentialPublicKeyCertificateOutput) ToRegistryCredentialPublicKeyCertificateOutputWithContext(ctx context.Context) RegistryCredentialPublicKeyCertificateOutput

type RegistryEventNotificationConfigItem

type RegistryEventNotificationConfigItem struct {
	// PubSub topic name to publish device events.
	PubsubTopicName string `pulumi:"pubsubTopicName"`
	// 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. Empty
	// value can only be used for the last `eventNotificationConfigs`
	// item.
	SubfolderMatches *string `pulumi:"subfolderMatches"`
}

type RegistryEventNotificationConfigItemArgs

type RegistryEventNotificationConfigItemArgs struct {
	// PubSub topic name to publish device events.
	PubsubTopicName pulumi.StringInput `pulumi:"pubsubTopicName"`
	// 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. Empty
	// value can only be used for the last `eventNotificationConfigs`
	// item.
	SubfolderMatches pulumi.StringPtrInput `pulumi:"subfolderMatches"`
}

func (RegistryEventNotificationConfigItemArgs) ElementType

func (RegistryEventNotificationConfigItemArgs) ToRegistryEventNotificationConfigItemOutput

func (i RegistryEventNotificationConfigItemArgs) ToRegistryEventNotificationConfigItemOutput() RegistryEventNotificationConfigItemOutput

func (RegistryEventNotificationConfigItemArgs) ToRegistryEventNotificationConfigItemOutputWithContext

func (i RegistryEventNotificationConfigItemArgs) ToRegistryEventNotificationConfigItemOutputWithContext(ctx context.Context) RegistryEventNotificationConfigItemOutput

type RegistryEventNotificationConfigItemArray

type RegistryEventNotificationConfigItemArray []RegistryEventNotificationConfigItemInput

func (RegistryEventNotificationConfigItemArray) ElementType

func (RegistryEventNotificationConfigItemArray) ToRegistryEventNotificationConfigItemArrayOutput

func (i RegistryEventNotificationConfigItemArray) ToRegistryEventNotificationConfigItemArrayOutput() RegistryEventNotificationConfigItemArrayOutput

func (RegistryEventNotificationConfigItemArray) ToRegistryEventNotificationConfigItemArrayOutputWithContext

func (i RegistryEventNotificationConfigItemArray) ToRegistryEventNotificationConfigItemArrayOutputWithContext(ctx context.Context) RegistryEventNotificationConfigItemArrayOutput

type RegistryEventNotificationConfigItemArrayInput

type RegistryEventNotificationConfigItemArrayInput interface {
	pulumi.Input

	ToRegistryEventNotificationConfigItemArrayOutput() RegistryEventNotificationConfigItemArrayOutput
	ToRegistryEventNotificationConfigItemArrayOutputWithContext(context.Context) RegistryEventNotificationConfigItemArrayOutput
}

RegistryEventNotificationConfigItemArrayInput is an input type that accepts RegistryEventNotificationConfigItemArray and RegistryEventNotificationConfigItemArrayOutput values. You can construct a concrete instance of `RegistryEventNotificationConfigItemArrayInput` via:

RegistryEventNotificationConfigItemArray{ RegistryEventNotificationConfigItemArgs{...} }

type RegistryEventNotificationConfigItemArrayOutput

type RegistryEventNotificationConfigItemArrayOutput struct{ *pulumi.OutputState }

func (RegistryEventNotificationConfigItemArrayOutput) ElementType

func (RegistryEventNotificationConfigItemArrayOutput) Index

func (RegistryEventNotificationConfigItemArrayOutput) ToRegistryEventNotificationConfigItemArrayOutput

func (o RegistryEventNotificationConfigItemArrayOutput) ToRegistryEventNotificationConfigItemArrayOutput() RegistryEventNotificationConfigItemArrayOutput

func (RegistryEventNotificationConfigItemArrayOutput) ToRegistryEventNotificationConfigItemArrayOutputWithContext

func (o RegistryEventNotificationConfigItemArrayOutput) ToRegistryEventNotificationConfigItemArrayOutputWithContext(ctx context.Context) RegistryEventNotificationConfigItemArrayOutput

type RegistryEventNotificationConfigItemInput

type RegistryEventNotificationConfigItemInput interface {
	pulumi.Input

	ToRegistryEventNotificationConfigItemOutput() RegistryEventNotificationConfigItemOutput
	ToRegistryEventNotificationConfigItemOutputWithContext(context.Context) RegistryEventNotificationConfigItemOutput
}

RegistryEventNotificationConfigItemInput is an input type that accepts RegistryEventNotificationConfigItemArgs and RegistryEventNotificationConfigItemOutput values. You can construct a concrete instance of `RegistryEventNotificationConfigItemInput` via:

RegistryEventNotificationConfigItemArgs{...}

type RegistryEventNotificationConfigItemOutput

type RegistryEventNotificationConfigItemOutput struct{ *pulumi.OutputState }

func (RegistryEventNotificationConfigItemOutput) ElementType

func (RegistryEventNotificationConfigItemOutput) PubsubTopicName

PubSub topic name to publish device events.

func (RegistryEventNotificationConfigItemOutput) SubfolderMatches

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. Empty value can only be used for the last `eventNotificationConfigs` item.

func (RegistryEventNotificationConfigItemOutput) ToRegistryEventNotificationConfigItemOutput

func (o RegistryEventNotificationConfigItemOutput) ToRegistryEventNotificationConfigItemOutput() RegistryEventNotificationConfigItemOutput

func (RegistryEventNotificationConfigItemOutput) ToRegistryEventNotificationConfigItemOutputWithContext

func (o RegistryEventNotificationConfigItemOutput) ToRegistryEventNotificationConfigItemOutputWithContext(ctx context.Context) RegistryEventNotificationConfigItemOutput

type RegistryHttpConfig

type RegistryHttpConfig struct {
	// The field allows `HTTP_ENABLED` or `HTTP_DISABLED`.
	HttpEnabledState string `pulumi:"httpEnabledState"`
}

type RegistryHttpConfigArgs

type RegistryHttpConfigArgs struct {
	// The field allows `HTTP_ENABLED` or `HTTP_DISABLED`.
	HttpEnabledState pulumi.StringInput `pulumi:"httpEnabledState"`
}

func (RegistryHttpConfigArgs) ElementType

func (RegistryHttpConfigArgs) ElementType() reflect.Type

func (RegistryHttpConfigArgs) ToRegistryHttpConfigOutput

func (i RegistryHttpConfigArgs) ToRegistryHttpConfigOutput() RegistryHttpConfigOutput

func (RegistryHttpConfigArgs) ToRegistryHttpConfigOutputWithContext

func (i RegistryHttpConfigArgs) ToRegistryHttpConfigOutputWithContext(ctx context.Context) RegistryHttpConfigOutput

func (RegistryHttpConfigArgs) ToRegistryHttpConfigPtrOutput

func (i RegistryHttpConfigArgs) ToRegistryHttpConfigPtrOutput() RegistryHttpConfigPtrOutput

func (RegistryHttpConfigArgs) ToRegistryHttpConfigPtrOutputWithContext

func (i RegistryHttpConfigArgs) ToRegistryHttpConfigPtrOutputWithContext(ctx context.Context) RegistryHttpConfigPtrOutput

type RegistryHttpConfigInput

type RegistryHttpConfigInput interface {
	pulumi.Input

	ToRegistryHttpConfigOutput() RegistryHttpConfigOutput
	ToRegistryHttpConfigOutputWithContext(context.Context) RegistryHttpConfigOutput
}

RegistryHttpConfigInput is an input type that accepts RegistryHttpConfigArgs and RegistryHttpConfigOutput values. You can construct a concrete instance of `RegistryHttpConfigInput` via:

RegistryHttpConfigArgs{...}

type RegistryHttpConfigOutput

type RegistryHttpConfigOutput struct{ *pulumi.OutputState }

func (RegistryHttpConfigOutput) ElementType

func (RegistryHttpConfigOutput) ElementType() reflect.Type

func (RegistryHttpConfigOutput) HttpEnabledState

func (o RegistryHttpConfigOutput) HttpEnabledState() pulumi.StringOutput

The field allows `HTTP_ENABLED` or `HTTP_DISABLED`.

func (RegistryHttpConfigOutput) ToRegistryHttpConfigOutput

func (o RegistryHttpConfigOutput) ToRegistryHttpConfigOutput() RegistryHttpConfigOutput

func (RegistryHttpConfigOutput) ToRegistryHttpConfigOutputWithContext

func (o RegistryHttpConfigOutput) ToRegistryHttpConfigOutputWithContext(ctx context.Context) RegistryHttpConfigOutput

func (RegistryHttpConfigOutput) ToRegistryHttpConfigPtrOutput

func (o RegistryHttpConfigOutput) ToRegistryHttpConfigPtrOutput() RegistryHttpConfigPtrOutput

func (RegistryHttpConfigOutput) ToRegistryHttpConfigPtrOutputWithContext

func (o RegistryHttpConfigOutput) ToRegistryHttpConfigPtrOutputWithContext(ctx context.Context) RegistryHttpConfigPtrOutput

type RegistryHttpConfigPtrInput

type RegistryHttpConfigPtrInput interface {
	pulumi.Input

	ToRegistryHttpConfigPtrOutput() RegistryHttpConfigPtrOutput
	ToRegistryHttpConfigPtrOutputWithContext(context.Context) RegistryHttpConfigPtrOutput
}

RegistryHttpConfigPtrInput is an input type that accepts RegistryHttpConfigArgs, RegistryHttpConfigPtr and RegistryHttpConfigPtrOutput values. You can construct a concrete instance of `RegistryHttpConfigPtrInput` via:

        RegistryHttpConfigArgs{...}

or:

        nil

type RegistryHttpConfigPtrOutput

type RegistryHttpConfigPtrOutput struct{ *pulumi.OutputState }

func (RegistryHttpConfigPtrOutput) Elem

func (RegistryHttpConfigPtrOutput) ElementType

func (RegistryHttpConfigPtrOutput) HttpEnabledState

func (o RegistryHttpConfigPtrOutput) HttpEnabledState() pulumi.StringPtrOutput

The field allows `HTTP_ENABLED` or `HTTP_DISABLED`.

func (RegistryHttpConfigPtrOutput) ToRegistryHttpConfigPtrOutput

func (o RegistryHttpConfigPtrOutput) ToRegistryHttpConfigPtrOutput() RegistryHttpConfigPtrOutput

func (RegistryHttpConfigPtrOutput) ToRegistryHttpConfigPtrOutputWithContext

func (o RegistryHttpConfigPtrOutput) ToRegistryHttpConfigPtrOutputWithContext(ctx context.Context) RegistryHttpConfigPtrOutput

type RegistryMqttConfig

type RegistryMqttConfig struct {
	// The field allows `MQTT_ENABLED` or `MQTT_DISABLED`.
	MqttEnabledState string `pulumi:"mqttEnabledState"`
}

type RegistryMqttConfigArgs

type RegistryMqttConfigArgs struct {
	// The field allows `MQTT_ENABLED` or `MQTT_DISABLED`.
	MqttEnabledState pulumi.StringInput `pulumi:"mqttEnabledState"`
}

func (RegistryMqttConfigArgs) ElementType

func (RegistryMqttConfigArgs) ElementType() reflect.Type

func (RegistryMqttConfigArgs) ToRegistryMqttConfigOutput

func (i RegistryMqttConfigArgs) ToRegistryMqttConfigOutput() RegistryMqttConfigOutput

func (RegistryMqttConfigArgs) ToRegistryMqttConfigOutputWithContext

func (i RegistryMqttConfigArgs) ToRegistryMqttConfigOutputWithContext(ctx context.Context) RegistryMqttConfigOutput

func (RegistryMqttConfigArgs) ToRegistryMqttConfigPtrOutput

func (i RegistryMqttConfigArgs) ToRegistryMqttConfigPtrOutput() RegistryMqttConfigPtrOutput

func (RegistryMqttConfigArgs) ToRegistryMqttConfigPtrOutputWithContext

func (i RegistryMqttConfigArgs) ToRegistryMqttConfigPtrOutputWithContext(ctx context.Context) RegistryMqttConfigPtrOutput

type RegistryMqttConfigInput

type RegistryMqttConfigInput interface {
	pulumi.Input

	ToRegistryMqttConfigOutput() RegistryMqttConfigOutput
	ToRegistryMqttConfigOutputWithContext(context.Context) RegistryMqttConfigOutput
}

RegistryMqttConfigInput is an input type that accepts RegistryMqttConfigArgs and RegistryMqttConfigOutput values. You can construct a concrete instance of `RegistryMqttConfigInput` via:

RegistryMqttConfigArgs{...}

type RegistryMqttConfigOutput

type RegistryMqttConfigOutput struct{ *pulumi.OutputState }

func (RegistryMqttConfigOutput) ElementType

func (RegistryMqttConfigOutput) ElementType() reflect.Type

func (RegistryMqttConfigOutput) MqttEnabledState

func (o RegistryMqttConfigOutput) MqttEnabledState() pulumi.StringOutput

The field allows `MQTT_ENABLED` or `MQTT_DISABLED`.

func (RegistryMqttConfigOutput) ToRegistryMqttConfigOutput

func (o RegistryMqttConfigOutput) ToRegistryMqttConfigOutput() RegistryMqttConfigOutput

func (RegistryMqttConfigOutput) ToRegistryMqttConfigOutputWithContext

func (o RegistryMqttConfigOutput) ToRegistryMqttConfigOutputWithContext(ctx context.Context) RegistryMqttConfigOutput

func (RegistryMqttConfigOutput) ToRegistryMqttConfigPtrOutput

func (o RegistryMqttConfigOutput) ToRegistryMqttConfigPtrOutput() RegistryMqttConfigPtrOutput

func (RegistryMqttConfigOutput) ToRegistryMqttConfigPtrOutputWithContext

func (o RegistryMqttConfigOutput) ToRegistryMqttConfigPtrOutputWithContext(ctx context.Context) RegistryMqttConfigPtrOutput

type RegistryMqttConfigPtrInput

type RegistryMqttConfigPtrInput interface {
	pulumi.Input

	ToRegistryMqttConfigPtrOutput() RegistryMqttConfigPtrOutput
	ToRegistryMqttConfigPtrOutputWithContext(context.Context) RegistryMqttConfigPtrOutput
}

RegistryMqttConfigPtrInput is an input type that accepts RegistryMqttConfigArgs, RegistryMqttConfigPtr and RegistryMqttConfigPtrOutput values. You can construct a concrete instance of `RegistryMqttConfigPtrInput` via:

        RegistryMqttConfigArgs{...}

or:

        nil

type RegistryMqttConfigPtrOutput

type RegistryMqttConfigPtrOutput struct{ *pulumi.OutputState }

func (RegistryMqttConfigPtrOutput) Elem

func (RegistryMqttConfigPtrOutput) ElementType

func (RegistryMqttConfigPtrOutput) MqttEnabledState

func (o RegistryMqttConfigPtrOutput) MqttEnabledState() pulumi.StringPtrOutput

The field allows `MQTT_ENABLED` or `MQTT_DISABLED`.

func (RegistryMqttConfigPtrOutput) ToRegistryMqttConfigPtrOutput

func (o RegistryMqttConfigPtrOutput) ToRegistryMqttConfigPtrOutput() RegistryMqttConfigPtrOutput

func (RegistryMqttConfigPtrOutput) ToRegistryMqttConfigPtrOutputWithContext

func (o RegistryMqttConfigPtrOutput) ToRegistryMqttConfigPtrOutputWithContext(ctx context.Context) RegistryMqttConfigPtrOutput

type RegistryState

type RegistryState struct {
	// List of public key certificates to authenticate devices.
	// The structure is documented below.
	Credentials RegistryCredentialArrayInput
	// List of configurations for event notifications, such as PubSub topics
	// to publish device events to.
	// Structure is documented below.
	EventNotificationConfigs RegistryEventNotificationConfigItemArrayInput
	// Activate or deactivate HTTP.
	// The structure is documented below.
	HttpConfig RegistryHttpConfigPtrInput
	// 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.
	// Default value is `NONE`.
	// Possible values are `NONE`, `ERROR`, `INFO`, and `DEBUG`.
	LogLevel pulumi.StringPtrInput
	// Activate or deactivate MQTT.
	// The structure is documented below.
	MqttConfig RegistryMqttConfigPtrInput
	// A unique name for the resource, required by device registry.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The region in which the created registry should reside.
	// If it is not provided, the provider region is used.
	Region pulumi.StringPtrInput
	// A PubSub topic to publish device state updates.
	// The structure is documented below.
	StateNotificationConfig RegistryStateNotificationConfigPtrInput
}

func (RegistryState) ElementType

func (RegistryState) ElementType() reflect.Type

type RegistryStateNotificationConfig

type RegistryStateNotificationConfig struct {
	// PubSub topic name to publish device events.
	PubsubTopicName string `pulumi:"pubsubTopicName"`
}

type RegistryStateNotificationConfigArgs

type RegistryStateNotificationConfigArgs struct {
	// PubSub topic name to publish device events.
	PubsubTopicName pulumi.StringInput `pulumi:"pubsubTopicName"`
}

func (RegistryStateNotificationConfigArgs) ElementType

func (RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigOutput

func (i RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigOutput() RegistryStateNotificationConfigOutput

func (RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigOutputWithContext

func (i RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigOutputWithContext(ctx context.Context) RegistryStateNotificationConfigOutput

func (RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigPtrOutput

func (i RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigPtrOutput() RegistryStateNotificationConfigPtrOutput

func (RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigPtrOutputWithContext

func (i RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigPtrOutputWithContext(ctx context.Context) RegistryStateNotificationConfigPtrOutput

type RegistryStateNotificationConfigInput

type RegistryStateNotificationConfigInput interface {
	pulumi.Input

	ToRegistryStateNotificationConfigOutput() RegistryStateNotificationConfigOutput
	ToRegistryStateNotificationConfigOutputWithContext(context.Context) RegistryStateNotificationConfigOutput
}

RegistryStateNotificationConfigInput is an input type that accepts RegistryStateNotificationConfigArgs and RegistryStateNotificationConfigOutput values. You can construct a concrete instance of `RegistryStateNotificationConfigInput` via:

RegistryStateNotificationConfigArgs{...}

type RegistryStateNotificationConfigOutput

type RegistryStateNotificationConfigOutput struct{ *pulumi.OutputState }

func (RegistryStateNotificationConfigOutput) ElementType

func (RegistryStateNotificationConfigOutput) PubsubTopicName

PubSub topic name to publish device events.

func (RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigOutput

func (o RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigOutput() RegistryStateNotificationConfigOutput

func (RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigOutputWithContext

func (o RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigOutputWithContext(ctx context.Context) RegistryStateNotificationConfigOutput

func (RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigPtrOutput

func (o RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigPtrOutput() RegistryStateNotificationConfigPtrOutput

func (RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigPtrOutputWithContext

func (o RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigPtrOutputWithContext(ctx context.Context) RegistryStateNotificationConfigPtrOutput

type RegistryStateNotificationConfigPtrInput

type RegistryStateNotificationConfigPtrInput interface {
	pulumi.Input

	ToRegistryStateNotificationConfigPtrOutput() RegistryStateNotificationConfigPtrOutput
	ToRegistryStateNotificationConfigPtrOutputWithContext(context.Context) RegistryStateNotificationConfigPtrOutput
}

RegistryStateNotificationConfigPtrInput is an input type that accepts RegistryStateNotificationConfigArgs, RegistryStateNotificationConfigPtr and RegistryStateNotificationConfigPtrOutput values. You can construct a concrete instance of `RegistryStateNotificationConfigPtrInput` via:

        RegistryStateNotificationConfigArgs{...}

or:

        nil

type RegistryStateNotificationConfigPtrOutput

type RegistryStateNotificationConfigPtrOutput struct{ *pulumi.OutputState }

func (RegistryStateNotificationConfigPtrOutput) Elem

func (RegistryStateNotificationConfigPtrOutput) ElementType

func (RegistryStateNotificationConfigPtrOutput) PubsubTopicName

PubSub topic name to publish device events.

func (RegistryStateNotificationConfigPtrOutput) ToRegistryStateNotificationConfigPtrOutput

func (o RegistryStateNotificationConfigPtrOutput) ToRegistryStateNotificationConfigPtrOutput() RegistryStateNotificationConfigPtrOutput

func (RegistryStateNotificationConfigPtrOutput) ToRegistryStateNotificationConfigPtrOutputWithContext

func (o RegistryStateNotificationConfigPtrOutput) ToRegistryStateNotificationConfigPtrOutputWithContext(ctx context.Context) RegistryStateNotificationConfigPtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL