v1

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// No logging specified. If not specified, logging will be disabled.
	DeviceLogLevelLogLevelUnspecified = DeviceLogLevel("LOG_LEVEL_UNSPECIFIED")
	// Disables logging.
	DeviceLogLevelNone = DeviceLogLevel("NONE")
	// Error events will be logged.
	DeviceLogLevelError = DeviceLogLevel("ERROR")
	// Informational events will be logged, such as connections and disconnections.
	DeviceLogLevelInfo = DeviceLogLevel("INFO")
	// All events will be logged.
	DeviceLogLevelDebug = DeviceLogLevel("DEBUG")
)
View Source
const (
	// No authentication/authorization method specified. No devices are allowed to access the gateway.
	GatewayConfigGatewayAuthMethodGatewayAuthMethodUnspecified = GatewayConfigGatewayAuthMethod("GATEWAY_AUTH_METHOD_UNSPECIFIED")
	// The device is authenticated through the gateway association only. Device credentials are ignored even if provided.
	GatewayConfigGatewayAuthMethodAssociationOnly = GatewayConfigGatewayAuthMethod("ASSOCIATION_ONLY")
	// The device is authenticated through its own credentials. Gateway association is not checked.
	GatewayConfigGatewayAuthMethodDeviceAuthTokenOnly = GatewayConfigGatewayAuthMethod("DEVICE_AUTH_TOKEN_ONLY")
	// The device is authenticated through both device credentials and gateway association. The device must be bound to the gateway and must provide its own credentials.
	GatewayConfigGatewayAuthMethodAssociationAndDeviceAuthToken = GatewayConfigGatewayAuthMethod("ASSOCIATION_AND_DEVICE_AUTH_TOKEN")
)
View Source
const (
	// If unspecified, the device is considered a non-gateway device.
	GatewayConfigGatewayTypeGatewayTypeUnspecified = GatewayConfigGatewayType("GATEWAY_TYPE_UNSPECIFIED")
	// The device is a gateway.
	GatewayConfigGatewayTypeGateway = GatewayConfigGatewayType("GATEWAY")
	// The device is not a gateway.
	GatewayConfigGatewayTypeNonGateway = GatewayConfigGatewayType("NON_GATEWAY")
)
View Source
const (
	// No HTTP state specified. If not specified, DeviceService will be enabled by default.
	HttpConfigHttpEnabledStateHttpStateUnspecified = HttpConfigHttpEnabledState("HTTP_STATE_UNSPECIFIED")
	// Enables DeviceService (HTTP) service for the registry.
	HttpConfigHttpEnabledStateHttpEnabled = HttpConfigHttpEnabledState("HTTP_ENABLED")
	// Disables DeviceService (HTTP) service for the registry.
	HttpConfigHttpEnabledStateHttpDisabled = HttpConfigHttpEnabledState("HTTP_DISABLED")
)
View Source
const (
	// No MQTT state specified. If not specified, MQTT will be enabled by default.
	MqttConfigMqttEnabledStateMqttStateUnspecified = MqttConfigMqttEnabledState("MQTT_STATE_UNSPECIFIED")
	// Enables a MQTT connection.
	MqttConfigMqttEnabledStateMqttEnabled = MqttConfigMqttEnabledState("MQTT_ENABLED")
	// Disables a MQTT connection.
	MqttConfigMqttEnabledStateMqttDisabled = MqttConfigMqttEnabledState("MQTT_DISABLED")
)
View Source
const (
	// The format has not been specified. This is an invalid default value and must not be used.
	PublicKeyCertificateFormatUnspecifiedPublicKeyCertificateFormat = PublicKeyCertificateFormat("UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT")
	// An X.509v3 certificate ([RFC5280](https://www.ietf.org/rfc/rfc5280.txt)), encoded in base64, and wrapped by `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----`.
	PublicKeyCertificateFormatX509CertificatePem = PublicKeyCertificateFormat("X509_CERTIFICATE_PEM")
)
View Source
const (
	// The format has not been specified. This is an invalid default value and must not be used.
	PublicKeyCredentialFormatUnspecifiedPublicKeyFormat = PublicKeyCredentialFormat("UNSPECIFIED_PUBLIC_KEY_FORMAT")
	// An RSA public key encoded in base64, and wrapped by `-----BEGIN PUBLIC KEY-----` and `-----END PUBLIC KEY-----`. This can be used to verify `RS256` signatures in JWT tokens ([RFC7518](https://www.ietf.org/rfc/rfc7518.txt)).
	PublicKeyCredentialFormatRsaPem = PublicKeyCredentialFormat("RSA_PEM")
	// As RSA_PEM, but wrapped in an X.509v3 certificate ([RFC5280](https://www.ietf.org/rfc/rfc5280.txt)), encoded in base64, and wrapped by `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----`.
	PublicKeyCredentialFormatRsaX509Pem = PublicKeyCredentialFormat("RSA_X509_PEM")
	// Public key for the ECDSA algorithm using P-256 and SHA-256, encoded in base64, and wrapped by `-----BEGIN PUBLIC KEY-----` and `-----END PUBLIC KEY-----`. This can be used to verify JWT tokens with the `ES256` algorithm ([RFC7518](https://www.ietf.org/rfc/rfc7518.txt)). This curve is defined in [OpenSSL](https://www.openssl.org/) as the `prime256v1` curve.
	PublicKeyCredentialFormatEs256Pem = PublicKeyCredentialFormat("ES256_PEM")
	// As ES256_PEM, but wrapped in an X.509v3 certificate ([RFC5280](https://www.ietf.org/rfc/rfc5280.txt)), encoded in base64, and wrapped by `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----`.
	PublicKeyCredentialFormatEs256X509Pem = PublicKeyCredentialFormat("ES256_X509_PEM")
)
View Source
const (
	// No logging specified. If not specified, logging will be disabled.
	RegistryLogLevelLogLevelUnspecified = RegistryLogLevel("LOG_LEVEL_UNSPECIFIED")
	// Disables logging.
	RegistryLogLevelNone = RegistryLogLevel("NONE")
	// Error events will be logged.
	RegistryLogLevelError = RegistryLogLevel("ERROR")
	// Informational events will be logged, such as connections and disconnections.
	RegistryLogLevelInfo = RegistryLogLevel("INFO")
	// All events will be logged.
	RegistryLogLevelDebug = RegistryLogLevel("DEBUG")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Binding

type Binding struct {
	// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Condition *Expr `pulumi:"condition"`
	// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
	Members []string `pulumi:"members"`
	// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role *string `pulumi:"role"`
}

Associates `members`, or principals, with a `role`.

type BindingArgs

type BindingArgs struct {
	// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Condition ExprPtrInput `pulumi:"condition"`
	// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
	Members pulumi.StringArrayInput `pulumi:"members"`
	// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role pulumi.StringPtrInput `pulumi:"role"`
}

Associates `members`, or principals, with a `role`.

func (BindingArgs) ElementType

func (BindingArgs) ElementType() reflect.Type

func (BindingArgs) ToBindingOutput

func (i BindingArgs) ToBindingOutput() BindingOutput

func (BindingArgs) ToBindingOutputWithContext

func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutput

type BindingArray

type BindingArray []BindingInput

func (BindingArray) ElementType

func (BindingArray) ElementType() reflect.Type

func (BindingArray) ToBindingArrayOutput

func (i BindingArray) ToBindingArrayOutput() BindingArrayOutput

func (BindingArray) ToBindingArrayOutputWithContext

func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) BindingArrayOutput

type BindingArrayInput

type BindingArrayInput interface {
	pulumi.Input

	ToBindingArrayOutput() BindingArrayOutput
	ToBindingArrayOutputWithContext(context.Context) BindingArrayOutput
}

BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. You can construct a concrete instance of `BindingArrayInput` via:

BindingArray{ BindingArgs{...} }

type BindingArrayOutput

type BindingArrayOutput struct{ *pulumi.OutputState }

func (BindingArrayOutput) ElementType

func (BindingArrayOutput) ElementType() reflect.Type

func (BindingArrayOutput) Index

func (BindingArrayOutput) ToBindingArrayOutput

func (o BindingArrayOutput) ToBindingArrayOutput() BindingArrayOutput

func (BindingArrayOutput) ToBindingArrayOutputWithContext

func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) BindingArrayOutput

type BindingInput

type BindingInput interface {
	pulumi.Input

	ToBindingOutput() BindingOutput
	ToBindingOutputWithContext(context.Context) BindingOutput
}

BindingInput is an input type that accepts BindingArgs and BindingOutput values. You can construct a concrete instance of `BindingInput` via:

BindingArgs{...}

type BindingOutput

type BindingOutput struct{ *pulumi.OutputState }

Associates `members`, or principals, with a `role`.

func (BindingOutput) Condition

func (o BindingOutput) Condition() ExprPtrOutput

The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).

func (BindingOutput) ElementType

func (BindingOutput) ElementType() reflect.Type

func (BindingOutput) Members

Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.

func (BindingOutput) Role

Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.

func (BindingOutput) ToBindingOutput

func (o BindingOutput) ToBindingOutput() BindingOutput

func (BindingOutput) ToBindingOutputWithContext

func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOutput

type BindingResponse

type BindingResponse struct {
	// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Condition ExprResponse `pulumi:"condition"`
	// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
	Members []string `pulumi:"members"`
	// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role string `pulumi:"role"`
}

Associates `members`, or principals, with a `role`.

type BindingResponseArrayOutput

type BindingResponseArrayOutput struct{ *pulumi.OutputState }

func (BindingResponseArrayOutput) ElementType

func (BindingResponseArrayOutput) ElementType() reflect.Type

func (BindingResponseArrayOutput) Index

func (BindingResponseArrayOutput) ToBindingResponseArrayOutput

func (o BindingResponseArrayOutput) ToBindingResponseArrayOutput() BindingResponseArrayOutput

func (BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext

func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx context.Context) BindingResponseArrayOutput

type BindingResponseOutput

type BindingResponseOutput struct{ *pulumi.OutputState }

Associates `members`, or principals, with a `role`.

func (BindingResponseOutput) Condition

The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).

func (BindingResponseOutput) ElementType

func (BindingResponseOutput) ElementType() reflect.Type

func (BindingResponseOutput) Members

Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.

func (BindingResponseOutput) Role

Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.

func (BindingResponseOutput) ToBindingResponseOutput

func (o BindingResponseOutput) ToBindingResponseOutput() BindingResponseOutput

func (BindingResponseOutput) ToBindingResponseOutputWithContext

func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Context) BindingResponseOutput

type Device added in v0.3.0

type Device struct {
	pulumi.CustomResourceState

	// If a device is blocked, connections or requests from this device will fail. Can be used to temporarily prevent the device from connecting if, for example, the sensor is generating bad data and needs maintenance.
	Blocked pulumi.BoolOutput `pulumi:"blocked"`
	// The most recent device configuration, which is eventually sent from Cloud IoT Core to the device. If not present on creation, the configuration will be initialized with an empty payload and version value of `1`. To update this field after creation, use the `DeviceManager.ModifyCloudToDeviceConfig` method.
	Config DeviceConfigResponseOutput `pulumi:"config"`
	// The credentials used to authenticate this device. To allow credential rotation without interruption, multiple device credentials can be bound to this device. No more than 3 credentials can be bound to a single device at a time. When new credentials are added to a device, they are verified against the registry credentials. For details, see the description of the `DeviceRegistry.credentials` field.
	Credentials DeviceCredentialResponseArrayOutput `pulumi:"credentials"`
	// Gateway-related configuration and state.
	GatewayConfig GatewayConfigResponseOutput `pulumi:"gatewayConfig"`
	// [Output only] The last time a cloud-to-device config version acknowledgment was received from the device. This field is only for configurations sent through MQTT.
	LastConfigAckTime pulumi.StringOutput `pulumi:"lastConfigAckTime"`
	// [Output only] The last time a cloud-to-device config version was sent to the device.
	LastConfigSendTime pulumi.StringOutput `pulumi:"lastConfigSendTime"`
	// [Output only] The error message of the most recent error, such as a failure to publish to Cloud Pub/Sub. 'last_error_time' is the timestamp of this field. If no errors have occurred, this field has an empty message and the status code 0 == OK. Otherwise, this field is expected to have a status code other than OK.
	LastErrorStatus StatusResponseOutput `pulumi:"lastErrorStatus"`
	// [Output only] The time the most recent error occurred, such as a failure to publish to Cloud Pub/Sub. This field is the timestamp of 'last_error_status'.
	LastErrorTime pulumi.StringOutput `pulumi:"lastErrorTime"`
	// [Output only] The last time a telemetry event was received. Timestamps are periodically collected and written to storage; they may be stale by a few minutes.
	LastEventTime pulumi.StringOutput `pulumi:"lastEventTime"`
	// [Output only] The last time an MQTT `PINGREQ` was received. This field applies only to devices connecting through MQTT. MQTT clients usually only send `PINGREQ` messages if the connection is idle, and no other messages have been sent. Timestamps are periodically collected and written to storage; they may be stale by a few minutes.
	LastHeartbeatTime pulumi.StringOutput `pulumi:"lastHeartbeatTime"`
	// [Output only] The last time a state event was received. Timestamps are periodically collected and written to storage; they may be stale by a few minutes.
	LastStateTime pulumi.StringOutput `pulumi:"lastStateTime"`
	Location      pulumi.StringOutput `pulumi:"location"`
	// **Beta Feature** The logging verbosity for device activity. If unspecified, DeviceRegistry.log_level will be used.
	LogLevel pulumi.StringOutput `pulumi:"logLevel"`
	// The metadata key-value pairs assigned to the device. This metadata is not interpreted or indexed by Cloud IoT Core. It can be used to add contextual information for the device. Keys must conform to the regular expression a-zA-Z+ and be less than 128 bytes in length. Values are free-form strings. Each value must be less than or equal to 32 KB in size. The total size of all keys and values must be less than 256 KB, and the maximum number of key-value pairs is 500.
	Metadata pulumi.StringMapOutput `pulumi:"metadata"`
	// The resource path name. For example, `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or `projects/p1/locations/us-central1/registries/registry0/devices/{num_id}`. When `name` is populated as a response from the service, it always ends in the device numeric ID.
	Name pulumi.StringOutput `pulumi:"name"`
	// [Output only] 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"`
	Project    pulumi.StringOutput `pulumi:"project"`
	RegistryId pulumi.StringOutput `pulumi:"registryId"`
	// [Output only] The state most recently received from the device. If no state has been reported, this field is not present.
	State DeviceStateResponseOutput `pulumi:"state"`
}

Creates a device in a device registry.

func GetDevice added in v0.3.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 v0.3.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.

func (*Device) ElementType added in v0.3.0

func (*Device) ElementType() reflect.Type

func (*Device) ToDeviceOutput added in v0.3.0

func (i *Device) ToDeviceOutput() DeviceOutput

func (*Device) ToDeviceOutputWithContext added in v0.3.0

func (i *Device) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput

type DeviceArgs added in v0.3.0

type DeviceArgs struct {
	// If a device is blocked, connections or requests from this device will fail. Can be used to temporarily prevent the device from connecting if, for example, the sensor is generating bad data and needs maintenance.
	Blocked pulumi.BoolPtrInput
	// The most recent device configuration, which is eventually sent from Cloud IoT Core to the device. If not present on creation, the configuration will be initialized with an empty payload and version value of `1`. To update this field after creation, use the `DeviceManager.ModifyCloudToDeviceConfig` method.
	Config DeviceConfigPtrInput
	// The credentials used to authenticate this device. To allow credential rotation without interruption, multiple device credentials can be bound to this device. No more than 3 credentials can be bound to a single device at a time. When new credentials are added to a device, they are verified against the registry credentials. For details, see the description of the `DeviceRegistry.credentials` field.
	Credentials DeviceCredentialArrayInput
	// Gateway-related configuration and state.
	GatewayConfig GatewayConfigPtrInput
	// The user-defined device identifier. The device ID must be unique within a device registry.
	Id       pulumi.StringPtrInput
	Location pulumi.StringPtrInput
	// **Beta Feature** The logging verbosity for device activity. If unspecified, DeviceRegistry.log_level will be used.
	LogLevel DeviceLogLevelPtrInput
	// The metadata key-value pairs assigned to the device. This metadata is not interpreted or indexed by Cloud IoT Core. It can be used to add contextual information for the device. Keys must conform to the regular expression a-zA-Z+ and be less than 128 bytes in length. Values are free-form strings. Each value must be less than or equal to 32 KB in size. The total size of all keys and values must be less than 256 KB, and the maximum number of key-value pairs is 500.
	Metadata pulumi.StringMapInput
	// The resource path name. For example, `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or `projects/p1/locations/us-central1/registries/registry0/devices/{num_id}`. When `name` is populated as a response from the service, it always ends in the device numeric ID.
	Name       pulumi.StringPtrInput
	Project    pulumi.StringPtrInput
	RegistryId pulumi.StringInput
}

The set of arguments for constructing a Device resource.

func (DeviceArgs) ElementType added in v0.3.0

func (DeviceArgs) ElementType() reflect.Type

type DeviceConfig

type DeviceConfig struct {
	// The device configuration data.
	BinaryData *string `pulumi:"binaryData"`
}

The device configuration. Eventually delivered to devices.

type DeviceConfigArgs

type DeviceConfigArgs struct {
	// The device configuration data.
	BinaryData pulumi.StringPtrInput `pulumi:"binaryData"`
}

The device configuration. Eventually delivered to devices.

func (DeviceConfigArgs) ElementType

func (DeviceConfigArgs) ElementType() reflect.Type

func (DeviceConfigArgs) ToDeviceConfigOutput

func (i DeviceConfigArgs) ToDeviceConfigOutput() DeviceConfigOutput

func (DeviceConfigArgs) ToDeviceConfigOutputWithContext

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

func (DeviceConfigArgs) ToDeviceConfigPtrOutput

func (i DeviceConfigArgs) ToDeviceConfigPtrOutput() DeviceConfigPtrOutput

func (DeviceConfigArgs) ToDeviceConfigPtrOutputWithContext

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

type DeviceConfigInput

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

type DeviceConfigOutput struct{ *pulumi.OutputState }

The device configuration. Eventually delivered to devices.

func (DeviceConfigOutput) BinaryData

func (o DeviceConfigOutput) BinaryData() pulumi.StringPtrOutput

The device configuration data.

func (DeviceConfigOutput) ElementType

func (DeviceConfigOutput) ElementType() reflect.Type

func (DeviceConfigOutput) ToDeviceConfigOutput

func (o DeviceConfigOutput) ToDeviceConfigOutput() DeviceConfigOutput

func (DeviceConfigOutput) ToDeviceConfigOutputWithContext

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

func (DeviceConfigOutput) ToDeviceConfigPtrOutput

func (o DeviceConfigOutput) ToDeviceConfigPtrOutput() DeviceConfigPtrOutput

func (DeviceConfigOutput) ToDeviceConfigPtrOutputWithContext

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

type DeviceConfigPtrInput

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

type DeviceConfigPtrOutput

type DeviceConfigPtrOutput struct{ *pulumi.OutputState }

func (DeviceConfigPtrOutput) BinaryData

The device configuration data.

func (DeviceConfigPtrOutput) Elem

func (DeviceConfigPtrOutput) ElementType

func (DeviceConfigPtrOutput) ElementType() reflect.Type

func (DeviceConfigPtrOutput) ToDeviceConfigPtrOutput

func (o DeviceConfigPtrOutput) ToDeviceConfigPtrOutput() DeviceConfigPtrOutput

func (DeviceConfigPtrOutput) ToDeviceConfigPtrOutputWithContext

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

type DeviceConfigResponse

type DeviceConfigResponse struct {
	// The device configuration data.
	BinaryData string `pulumi:"binaryData"`
	// [Output only] The time at which this configuration version was updated in Cloud IoT Core. This timestamp is set by the server.
	CloudUpdateTime string `pulumi:"cloudUpdateTime"`
	// [Output only] The time at which Cloud IoT Core received the acknowledgment from the device, indicating that the device has received this configuration version. If this field is not present, the device has not yet acknowledged that it received this version. Note that when the config was sent to the device, many config versions may have been available in Cloud IoT Core while the device was disconnected, and on connection, only the latest version is sent to the device. Some versions may never be sent to the device, and therefore are never acknowledged. This timestamp is set by Cloud IoT Core.
	DeviceAckTime string `pulumi:"deviceAckTime"`
	// [Output only] The version of this update. The version number is assigned by the server, and is always greater than 0 after device creation. The version must be 0 on the `CreateDevice` request if a `config` is specified; the response of `CreateDevice` will always have a value of 1.
	Version string `pulumi:"version"`
}

The device configuration. Eventually delivered to devices.

type DeviceConfigResponseOutput

type DeviceConfigResponseOutput struct{ *pulumi.OutputState }

The device configuration. Eventually delivered to devices.

func (DeviceConfigResponseOutput) BinaryData

The device configuration data.

func (DeviceConfigResponseOutput) CloudUpdateTime

func (o DeviceConfigResponseOutput) CloudUpdateTime() pulumi.StringOutput

[Output only] The time at which this configuration version was updated in Cloud IoT Core. This timestamp is set by the server.

func (DeviceConfigResponseOutput) DeviceAckTime

[Output only] The time at which Cloud IoT Core received the acknowledgment from the device, indicating that the device has received this configuration version. If this field is not present, the device has not yet acknowledged that it received this version. Note that when the config was sent to the device, many config versions may have been available in Cloud IoT Core while the device was disconnected, and on connection, only the latest version is sent to the device. Some versions may never be sent to the device, and therefore are never acknowledged. This timestamp is set by Cloud IoT Core.

func (DeviceConfigResponseOutput) ElementType

func (DeviceConfigResponseOutput) ElementType() reflect.Type

func (DeviceConfigResponseOutput) ToDeviceConfigResponseOutput

func (o DeviceConfigResponseOutput) ToDeviceConfigResponseOutput() DeviceConfigResponseOutput

func (DeviceConfigResponseOutput) ToDeviceConfigResponseOutputWithContext

func (o DeviceConfigResponseOutput) ToDeviceConfigResponseOutputWithContext(ctx context.Context) DeviceConfigResponseOutput

func (DeviceConfigResponseOutput) Version

[Output only] The version of this update. The version number is assigned by the server, and is always greater than 0 after device creation. The version must be 0 on the `CreateDevice` request if a `config` is specified; the response of `CreateDevice` will always have a value of 1.

type DeviceCredential

type DeviceCredential struct {
	// [Optional] The time at which this credential becomes invalid. This credential will be ignored for new client authentication requests after this timestamp; however, it will not be automatically deleted.
	ExpirationTime *string `pulumi:"expirationTime"`
	// A public key used to verify the signature of JSON Web Tokens (JWTs). When adding a new device credential, either via device creation or via modifications, this public key credential may be required to be signed by one of the registry level certificates. More specifically, if the registry contains at least one certificate, any new device credential must be signed by one of the registry certificates. As a result, when the registry contains certificates, only X.509 certificates are accepted as device credentials. However, if the registry does not contain a certificate, self-signed certificates and public keys will be accepted. New device credentials must be different from every registry-level certificate.
	PublicKey *PublicKeyCredential `pulumi:"publicKey"`
}

A server-stored device credential used for authentication.

type DeviceCredentialArgs

type DeviceCredentialArgs struct {
	// [Optional] The time at which this credential becomes invalid. This credential will be ignored for new client authentication requests after this timestamp; however, it will not be automatically deleted.
	ExpirationTime pulumi.StringPtrInput `pulumi:"expirationTime"`
	// A public key used to verify the signature of JSON Web Tokens (JWTs). When adding a new device credential, either via device creation or via modifications, this public key credential may be required to be signed by one of the registry level certificates. More specifically, if the registry contains at least one certificate, any new device credential must be signed by one of the registry certificates. As a result, when the registry contains certificates, only X.509 certificates are accepted as device credentials. However, if the registry does not contain a certificate, self-signed certificates and public keys will be accepted. New device credentials must be different from every registry-level certificate.
	PublicKey PublicKeyCredentialPtrInput `pulumi:"publicKey"`
}

A server-stored device credential used for authentication.

func (DeviceCredentialArgs) ElementType

func (DeviceCredentialArgs) ElementType() reflect.Type

func (DeviceCredentialArgs) ToDeviceCredentialOutput

func (i DeviceCredentialArgs) ToDeviceCredentialOutput() DeviceCredentialOutput

func (DeviceCredentialArgs) ToDeviceCredentialOutputWithContext

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

type DeviceCredentialArray

type DeviceCredentialArray []DeviceCredentialInput

func (DeviceCredentialArray) ElementType

func (DeviceCredentialArray) ElementType() reflect.Type

func (DeviceCredentialArray) ToDeviceCredentialArrayOutput

func (i DeviceCredentialArray) ToDeviceCredentialArrayOutput() DeviceCredentialArrayOutput

func (DeviceCredentialArray) ToDeviceCredentialArrayOutputWithContext

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

type DeviceCredentialArrayInput

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

type DeviceCredentialArrayOutput struct{ *pulumi.OutputState }

func (DeviceCredentialArrayOutput) ElementType

func (DeviceCredentialArrayOutput) Index

func (DeviceCredentialArrayOutput) ToDeviceCredentialArrayOutput

func (o DeviceCredentialArrayOutput) ToDeviceCredentialArrayOutput() DeviceCredentialArrayOutput

func (DeviceCredentialArrayOutput) ToDeviceCredentialArrayOutputWithContext

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

type DeviceCredentialInput

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

type DeviceCredentialOutput struct{ *pulumi.OutputState }

A server-stored device credential used for authentication.

func (DeviceCredentialOutput) ElementType

func (DeviceCredentialOutput) ElementType() reflect.Type

func (DeviceCredentialOutput) ExpirationTime

func (o DeviceCredentialOutput) ExpirationTime() pulumi.StringPtrOutput

[Optional] The time at which this credential becomes invalid. This credential will be ignored for new client authentication requests after this timestamp; however, it will not be automatically deleted.

func (DeviceCredentialOutput) PublicKey

A public key used to verify the signature of JSON Web Tokens (JWTs). When adding a new device credential, either via device creation or via modifications, this public key credential may be required to be signed by one of the registry level certificates. More specifically, if the registry contains at least one certificate, any new device credential must be signed by one of the registry certificates. As a result, when the registry contains certificates, only X.509 certificates are accepted as device credentials. However, if the registry does not contain a certificate, self-signed certificates and public keys will be accepted. New device credentials must be different from every registry-level certificate.

func (DeviceCredentialOutput) ToDeviceCredentialOutput

func (o DeviceCredentialOutput) ToDeviceCredentialOutput() DeviceCredentialOutput

func (DeviceCredentialOutput) ToDeviceCredentialOutputWithContext

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

type DeviceCredentialResponse

type DeviceCredentialResponse struct {
	// [Optional] The time at which this credential becomes invalid. This credential will be ignored for new client authentication requests after this timestamp; however, it will not be automatically deleted.
	ExpirationTime string `pulumi:"expirationTime"`
	// A public key used to verify the signature of JSON Web Tokens (JWTs). When adding a new device credential, either via device creation or via modifications, this public key credential may be required to be signed by one of the registry level certificates. More specifically, if the registry contains at least one certificate, any new device credential must be signed by one of the registry certificates. As a result, when the registry contains certificates, only X.509 certificates are accepted as device credentials. However, if the registry does not contain a certificate, self-signed certificates and public keys will be accepted. New device credentials must be different from every registry-level certificate.
	PublicKey PublicKeyCredentialResponse `pulumi:"publicKey"`
}

A server-stored device credential used for authentication.

type DeviceCredentialResponseArrayOutput

type DeviceCredentialResponseArrayOutput struct{ *pulumi.OutputState }

func (DeviceCredentialResponseArrayOutput) ElementType

func (DeviceCredentialResponseArrayOutput) Index

func (DeviceCredentialResponseArrayOutput) ToDeviceCredentialResponseArrayOutput

func (o DeviceCredentialResponseArrayOutput) ToDeviceCredentialResponseArrayOutput() DeviceCredentialResponseArrayOutput

func (DeviceCredentialResponseArrayOutput) ToDeviceCredentialResponseArrayOutputWithContext

func (o DeviceCredentialResponseArrayOutput) ToDeviceCredentialResponseArrayOutputWithContext(ctx context.Context) DeviceCredentialResponseArrayOutput

type DeviceCredentialResponseOutput

type DeviceCredentialResponseOutput struct{ *pulumi.OutputState }

A server-stored device credential used for authentication.

func (DeviceCredentialResponseOutput) ElementType

func (DeviceCredentialResponseOutput) ExpirationTime

[Optional] The time at which this credential becomes invalid. This credential will be ignored for new client authentication requests after this timestamp; however, it will not be automatically deleted.

func (DeviceCredentialResponseOutput) PublicKey

A public key used to verify the signature of JSON Web Tokens (JWTs). When adding a new device credential, either via device creation or via modifications, this public key credential may be required to be signed by one of the registry level certificates. More specifically, if the registry contains at least one certificate, any new device credential must be signed by one of the registry certificates. As a result, when the registry contains certificates, only X.509 certificates are accepted as device credentials. However, if the registry does not contain a certificate, self-signed certificates and public keys will be accepted. New device credentials must be different from every registry-level certificate.

func (DeviceCredentialResponseOutput) ToDeviceCredentialResponseOutput

func (o DeviceCredentialResponseOutput) ToDeviceCredentialResponseOutput() DeviceCredentialResponseOutput

func (DeviceCredentialResponseOutput) ToDeviceCredentialResponseOutputWithContext

func (o DeviceCredentialResponseOutput) ToDeviceCredentialResponseOutputWithContext(ctx context.Context) DeviceCredentialResponseOutput

type DeviceInput added in v0.3.0

type DeviceInput interface {
	pulumi.Input

	ToDeviceOutput() DeviceOutput
	ToDeviceOutputWithContext(ctx context.Context) DeviceOutput
}

type DeviceLogLevel added in v0.4.0

type DeviceLogLevel string

**Beta Feature** The logging verbosity for device activity. If unspecified, DeviceRegistry.log_level will be used.

func (DeviceLogLevel) ElementType added in v0.4.0

func (DeviceLogLevel) ElementType() reflect.Type

func (DeviceLogLevel) ToDeviceLogLevelOutput added in v0.6.0

func (e DeviceLogLevel) ToDeviceLogLevelOutput() DeviceLogLevelOutput

func (DeviceLogLevel) ToDeviceLogLevelOutputWithContext added in v0.6.0

func (e DeviceLogLevel) ToDeviceLogLevelOutputWithContext(ctx context.Context) DeviceLogLevelOutput

func (DeviceLogLevel) ToDeviceLogLevelPtrOutput added in v0.6.0

func (e DeviceLogLevel) ToDeviceLogLevelPtrOutput() DeviceLogLevelPtrOutput

func (DeviceLogLevel) ToDeviceLogLevelPtrOutputWithContext added in v0.6.0

func (e DeviceLogLevel) ToDeviceLogLevelPtrOutputWithContext(ctx context.Context) DeviceLogLevelPtrOutput

func (DeviceLogLevel) ToStringOutput added in v0.4.0

func (e DeviceLogLevel) ToStringOutput() pulumi.StringOutput

func (DeviceLogLevel) ToStringOutputWithContext added in v0.4.0

func (e DeviceLogLevel) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (DeviceLogLevel) ToStringPtrOutput added in v0.4.0

func (e DeviceLogLevel) ToStringPtrOutput() pulumi.StringPtrOutput

func (DeviceLogLevel) ToStringPtrOutputWithContext added in v0.4.0

func (e DeviceLogLevel) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type DeviceLogLevelInput added in v0.6.0

type DeviceLogLevelInput interface {
	pulumi.Input

	ToDeviceLogLevelOutput() DeviceLogLevelOutput
	ToDeviceLogLevelOutputWithContext(context.Context) DeviceLogLevelOutput
}

DeviceLogLevelInput is an input type that accepts DeviceLogLevelArgs and DeviceLogLevelOutput values. You can construct a concrete instance of `DeviceLogLevelInput` via:

DeviceLogLevelArgs{...}

type DeviceLogLevelOutput added in v0.6.0

type DeviceLogLevelOutput struct{ *pulumi.OutputState }

func (DeviceLogLevelOutput) ElementType added in v0.6.0

func (DeviceLogLevelOutput) ElementType() reflect.Type

func (DeviceLogLevelOutput) ToDeviceLogLevelOutput added in v0.6.0

func (o DeviceLogLevelOutput) ToDeviceLogLevelOutput() DeviceLogLevelOutput

func (DeviceLogLevelOutput) ToDeviceLogLevelOutputWithContext added in v0.6.0

func (o DeviceLogLevelOutput) ToDeviceLogLevelOutputWithContext(ctx context.Context) DeviceLogLevelOutput

func (DeviceLogLevelOutput) ToDeviceLogLevelPtrOutput added in v0.6.0

func (o DeviceLogLevelOutput) ToDeviceLogLevelPtrOutput() DeviceLogLevelPtrOutput

func (DeviceLogLevelOutput) ToDeviceLogLevelPtrOutputWithContext added in v0.6.0

func (o DeviceLogLevelOutput) ToDeviceLogLevelPtrOutputWithContext(ctx context.Context) DeviceLogLevelPtrOutput

func (DeviceLogLevelOutput) ToStringOutput added in v0.6.0

func (o DeviceLogLevelOutput) ToStringOutput() pulumi.StringOutput

func (DeviceLogLevelOutput) ToStringOutputWithContext added in v0.6.0

func (o DeviceLogLevelOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (DeviceLogLevelOutput) ToStringPtrOutput added in v0.6.0

func (o DeviceLogLevelOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (DeviceLogLevelOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o DeviceLogLevelOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type DeviceLogLevelPtrInput added in v0.6.0

type DeviceLogLevelPtrInput interface {
	pulumi.Input

	ToDeviceLogLevelPtrOutput() DeviceLogLevelPtrOutput
	ToDeviceLogLevelPtrOutputWithContext(context.Context) DeviceLogLevelPtrOutput
}

func DeviceLogLevelPtr added in v0.6.0

func DeviceLogLevelPtr(v string) DeviceLogLevelPtrInput

type DeviceLogLevelPtrOutput added in v0.6.0

type DeviceLogLevelPtrOutput struct{ *pulumi.OutputState }

func (DeviceLogLevelPtrOutput) Elem added in v0.6.0

func (DeviceLogLevelPtrOutput) ElementType added in v0.6.0

func (DeviceLogLevelPtrOutput) ElementType() reflect.Type

func (DeviceLogLevelPtrOutput) ToDeviceLogLevelPtrOutput added in v0.6.0

func (o DeviceLogLevelPtrOutput) ToDeviceLogLevelPtrOutput() DeviceLogLevelPtrOutput

func (DeviceLogLevelPtrOutput) ToDeviceLogLevelPtrOutputWithContext added in v0.6.0

func (o DeviceLogLevelPtrOutput) ToDeviceLogLevelPtrOutputWithContext(ctx context.Context) DeviceLogLevelPtrOutput

func (DeviceLogLevelPtrOutput) ToStringPtrOutput added in v0.6.0

func (o DeviceLogLevelPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (DeviceLogLevelPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o DeviceLogLevelPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type DeviceOutput added in v0.3.0

type DeviceOutput struct{ *pulumi.OutputState }

func (DeviceOutput) Blocked added in v0.19.0

func (o DeviceOutput) Blocked() pulumi.BoolOutput

If a device is blocked, connections or requests from this device will fail. Can be used to temporarily prevent the device from connecting if, for example, the sensor is generating bad data and needs maintenance.

func (DeviceOutput) Config added in v0.19.0

The most recent device configuration, which is eventually sent from Cloud IoT Core to the device. If not present on creation, the configuration will be initialized with an empty payload and version value of `1`. To update this field after creation, use the `DeviceManager.ModifyCloudToDeviceConfig` method.

func (DeviceOutput) Credentials added in v0.19.0

The credentials used to authenticate this device. To allow credential rotation without interruption, multiple device credentials can be bound to this device. No more than 3 credentials can be bound to a single device at a time. When new credentials are added to a device, they are verified against the registry credentials. For details, see the description of the `DeviceRegistry.credentials` field.

func (DeviceOutput) ElementType added in v0.3.0

func (DeviceOutput) ElementType() reflect.Type

func (DeviceOutput) GatewayConfig added in v0.19.0

func (o DeviceOutput) GatewayConfig() GatewayConfigResponseOutput

Gateway-related configuration and state.

func (DeviceOutput) LastConfigAckTime added in v0.19.0

func (o DeviceOutput) LastConfigAckTime() pulumi.StringOutput

[Output only] The last time a cloud-to-device config version acknowledgment was received from the device. This field is only for configurations sent through MQTT.

func (DeviceOutput) LastConfigSendTime added in v0.19.0

func (o DeviceOutput) LastConfigSendTime() pulumi.StringOutput

[Output only] The last time a cloud-to-device config version was sent to the device.

func (DeviceOutput) LastErrorStatus added in v0.19.0

func (o DeviceOutput) LastErrorStatus() StatusResponseOutput

[Output only] The error message of the most recent error, such as a failure to publish to Cloud Pub/Sub. 'last_error_time' is the timestamp of this field. If no errors have occurred, this field has an empty message and the status code 0 == OK. Otherwise, this field is expected to have a status code other than OK.

func (DeviceOutput) LastErrorTime added in v0.19.0

func (o DeviceOutput) LastErrorTime() pulumi.StringOutput

[Output only] The time the most recent error occurred, such as a failure to publish to Cloud Pub/Sub. This field is the timestamp of 'last_error_status'.

func (DeviceOutput) LastEventTime added in v0.19.0

func (o DeviceOutput) LastEventTime() pulumi.StringOutput

[Output only] The last time a telemetry event was received. Timestamps are periodically collected and written to storage; they may be stale by a few minutes.

func (DeviceOutput) LastHeartbeatTime added in v0.19.0

func (o DeviceOutput) LastHeartbeatTime() pulumi.StringOutput

[Output only] The last time an MQTT `PINGREQ` was received. This field applies only to devices connecting through MQTT. MQTT clients usually only send `PINGREQ` messages if the connection is idle, and no other messages have been sent. Timestamps are periodically collected and written to storage; they may be stale by a few minutes.

func (DeviceOutput) LastStateTime added in v0.19.0

func (o DeviceOutput) LastStateTime() pulumi.StringOutput

[Output only] The last time a state event was received. Timestamps are periodically collected and written to storage; they may be stale by a few minutes.

func (DeviceOutput) Location added in v0.21.0

func (o DeviceOutput) Location() pulumi.StringOutput

func (DeviceOutput) LogLevel added in v0.19.0

func (o DeviceOutput) LogLevel() pulumi.StringOutput

**Beta Feature** The logging verbosity for device activity. If unspecified, DeviceRegistry.log_level will be used.

func (DeviceOutput) Metadata added in v0.19.0

func (o DeviceOutput) Metadata() pulumi.StringMapOutput

The metadata key-value pairs assigned to the device. This metadata is not interpreted or indexed by Cloud IoT Core. It can be used to add contextual information for the device. Keys must conform to the regular expression a-zA-Z+ and be less than 128 bytes in length. Values are free-form strings. Each value must be less than or equal to 32 KB in size. The total size of all keys and values must be less than 256 KB, and the maximum number of key-value pairs is 500.

func (DeviceOutput) Name added in v0.19.0

func (o DeviceOutput) Name() pulumi.StringOutput

The resource path name. For example, `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or `projects/p1/locations/us-central1/registries/registry0/devices/{num_id}`. When `name` is populated as a response from the service, it always ends in the device numeric ID.

func (DeviceOutput) NumId added in v0.19.0

func (o DeviceOutput) NumId() pulumi.StringOutput

[Output only] A server-defined unique numeric ID for the device. This is a more compact way to identify devices, and it is globally unique.

func (DeviceOutput) Project added in v0.21.0

func (o DeviceOutput) Project() pulumi.StringOutput

func (DeviceOutput) RegistryId added in v0.21.0

func (o DeviceOutput) RegistryId() pulumi.StringOutput

func (DeviceOutput) State added in v0.19.0

[Output only] The state most recently received from the device. If no state has been reported, this field is not present.

func (DeviceOutput) ToDeviceOutput added in v0.3.0

func (o DeviceOutput) ToDeviceOutput() DeviceOutput

func (DeviceOutput) ToDeviceOutputWithContext added in v0.3.0

func (o DeviceOutput) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput

type DeviceState

type DeviceState struct {
}

func (DeviceState) ElementType added in v0.3.0

func (DeviceState) ElementType() reflect.Type

type DeviceStateResponse

type DeviceStateResponse struct {
	// The device state data.
	BinaryData string `pulumi:"binaryData"`
	// [Output only] The time at which this state version was updated in Cloud IoT Core.
	UpdateTime string `pulumi:"updateTime"`
}

The device state, as reported by the device.

type DeviceStateResponseOutput

type DeviceStateResponseOutput struct{ *pulumi.OutputState }

The device state, as reported by the device.

func (DeviceStateResponseOutput) BinaryData

The device state data.

func (DeviceStateResponseOutput) ElementType

func (DeviceStateResponseOutput) ElementType() reflect.Type

func (DeviceStateResponseOutput) ToDeviceStateResponseOutput

func (o DeviceStateResponseOutput) ToDeviceStateResponseOutput() DeviceStateResponseOutput

func (DeviceStateResponseOutput) ToDeviceStateResponseOutputWithContext

func (o DeviceStateResponseOutput) ToDeviceStateResponseOutputWithContext(ctx context.Context) DeviceStateResponseOutput

func (DeviceStateResponseOutput) UpdateTime

[Output only] The time at which this state version was updated in Cloud IoT Core.

type EventNotificationConfig

type EventNotificationConfig struct {
	// A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`.
	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. This field is used only for telemetry events; subfolders are not supported for state changes.
	SubfolderMatches *string `pulumi:"subfolderMatches"`
}

The configuration for forwarding telemetry events.

type EventNotificationConfigArgs

type EventNotificationConfigArgs struct {
	// A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`.
	PubsubTopicName pulumi.StringPtrInput `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. This field is used only for telemetry events; subfolders are not supported for state changes.
	SubfolderMatches pulumi.StringPtrInput `pulumi:"subfolderMatches"`
}

The configuration for forwarding telemetry events.

func (EventNotificationConfigArgs) ElementType

func (EventNotificationConfigArgs) ToEventNotificationConfigOutput

func (i EventNotificationConfigArgs) ToEventNotificationConfigOutput() EventNotificationConfigOutput

func (EventNotificationConfigArgs) ToEventNotificationConfigOutputWithContext

func (i EventNotificationConfigArgs) ToEventNotificationConfigOutputWithContext(ctx context.Context) EventNotificationConfigOutput

type EventNotificationConfigArray

type EventNotificationConfigArray []EventNotificationConfigInput

func (EventNotificationConfigArray) ElementType

func (EventNotificationConfigArray) ToEventNotificationConfigArrayOutput

func (i EventNotificationConfigArray) ToEventNotificationConfigArrayOutput() EventNotificationConfigArrayOutput

func (EventNotificationConfigArray) ToEventNotificationConfigArrayOutputWithContext

func (i EventNotificationConfigArray) ToEventNotificationConfigArrayOutputWithContext(ctx context.Context) EventNotificationConfigArrayOutput

type EventNotificationConfigArrayInput

type EventNotificationConfigArrayInput interface {
	pulumi.Input

	ToEventNotificationConfigArrayOutput() EventNotificationConfigArrayOutput
	ToEventNotificationConfigArrayOutputWithContext(context.Context) EventNotificationConfigArrayOutput
}

EventNotificationConfigArrayInput is an input type that accepts EventNotificationConfigArray and EventNotificationConfigArrayOutput values. You can construct a concrete instance of `EventNotificationConfigArrayInput` via:

EventNotificationConfigArray{ EventNotificationConfigArgs{...} }

type EventNotificationConfigArrayOutput

type EventNotificationConfigArrayOutput struct{ *pulumi.OutputState }

func (EventNotificationConfigArrayOutput) ElementType

func (EventNotificationConfigArrayOutput) Index

func (EventNotificationConfigArrayOutput) ToEventNotificationConfigArrayOutput

func (o EventNotificationConfigArrayOutput) ToEventNotificationConfigArrayOutput() EventNotificationConfigArrayOutput

func (EventNotificationConfigArrayOutput) ToEventNotificationConfigArrayOutputWithContext

func (o EventNotificationConfigArrayOutput) ToEventNotificationConfigArrayOutputWithContext(ctx context.Context) EventNotificationConfigArrayOutput

type EventNotificationConfigInput

type EventNotificationConfigInput interface {
	pulumi.Input

	ToEventNotificationConfigOutput() EventNotificationConfigOutput
	ToEventNotificationConfigOutputWithContext(context.Context) EventNotificationConfigOutput
}

EventNotificationConfigInput is an input type that accepts EventNotificationConfigArgs and EventNotificationConfigOutput values. You can construct a concrete instance of `EventNotificationConfigInput` via:

EventNotificationConfigArgs{...}

type EventNotificationConfigOutput

type EventNotificationConfigOutput struct{ *pulumi.OutputState }

The configuration for forwarding telemetry events.

func (EventNotificationConfigOutput) ElementType

func (EventNotificationConfigOutput) PubsubTopicName

A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`.

func (EventNotificationConfigOutput) 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. This field is used only for telemetry events; subfolders are not supported for state changes.

func (EventNotificationConfigOutput) ToEventNotificationConfigOutput

func (o EventNotificationConfigOutput) ToEventNotificationConfigOutput() EventNotificationConfigOutput

func (EventNotificationConfigOutput) ToEventNotificationConfigOutputWithContext

func (o EventNotificationConfigOutput) ToEventNotificationConfigOutputWithContext(ctx context.Context) EventNotificationConfigOutput

type EventNotificationConfigResponse

type EventNotificationConfigResponse struct {
	// A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`.
	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. This field is used only for telemetry events; subfolders are not supported for state changes.
	SubfolderMatches string `pulumi:"subfolderMatches"`
}

The configuration for forwarding telemetry events.

type EventNotificationConfigResponseArrayOutput

type EventNotificationConfigResponseArrayOutput struct{ *pulumi.OutputState }

func (EventNotificationConfigResponseArrayOutput) ElementType

func (EventNotificationConfigResponseArrayOutput) Index

func (EventNotificationConfigResponseArrayOutput) ToEventNotificationConfigResponseArrayOutput

func (o EventNotificationConfigResponseArrayOutput) ToEventNotificationConfigResponseArrayOutput() EventNotificationConfigResponseArrayOutput

func (EventNotificationConfigResponseArrayOutput) ToEventNotificationConfigResponseArrayOutputWithContext

func (o EventNotificationConfigResponseArrayOutput) ToEventNotificationConfigResponseArrayOutputWithContext(ctx context.Context) EventNotificationConfigResponseArrayOutput

type EventNotificationConfigResponseOutput

type EventNotificationConfigResponseOutput struct{ *pulumi.OutputState }

The configuration for forwarding telemetry events.

func (EventNotificationConfigResponseOutput) ElementType

func (EventNotificationConfigResponseOutput) PubsubTopicName

A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`.

func (EventNotificationConfigResponseOutput) 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. This field is used only for telemetry events; subfolders are not supported for state changes.

func (EventNotificationConfigResponseOutput) ToEventNotificationConfigResponseOutput

func (o EventNotificationConfigResponseOutput) ToEventNotificationConfigResponseOutput() EventNotificationConfigResponseOutput

func (EventNotificationConfigResponseOutput) ToEventNotificationConfigResponseOutputWithContext

func (o EventNotificationConfigResponseOutput) ToEventNotificationConfigResponseOutputWithContext(ctx context.Context) EventNotificationConfigResponseOutput

type Expr

type Expr struct {
	// Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
	Description *string `pulumi:"description"`
	// Textual representation of an expression in Common Expression Language syntax.
	Expression *string `pulumi:"expression"`
	// Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
	Location *string `pulumi:"location"`
	// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
	Title *string `pulumi:"title"`
}

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

type ExprArgs

type ExprArgs struct {
	// Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Textual representation of an expression in Common Expression Language syntax.
	Expression pulumi.StringPtrInput `pulumi:"expression"`
	// Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
	Title pulumi.StringPtrInput `pulumi:"title"`
}

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

func (ExprArgs) ElementType

func (ExprArgs) ElementType() reflect.Type

func (ExprArgs) ToExprOutput

func (i ExprArgs) ToExprOutput() ExprOutput

func (ExprArgs) ToExprOutputWithContext

func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput

func (ExprArgs) ToExprPtrOutput

func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput

func (ExprArgs) ToExprPtrOutputWithContext

func (i ExprArgs) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput

type ExprInput

type ExprInput interface {
	pulumi.Input

	ToExprOutput() ExprOutput
	ToExprOutputWithContext(context.Context) ExprOutput
}

ExprInput is an input type that accepts ExprArgs and ExprOutput values. You can construct a concrete instance of `ExprInput` via:

ExprArgs{...}

type ExprOutput

type ExprOutput struct{ *pulumi.OutputState }

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

func (ExprOutput) Description

func (o ExprOutput) Description() pulumi.StringPtrOutput

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

func (ExprOutput) ElementType

func (ExprOutput) ElementType() reflect.Type

func (ExprOutput) Expression

func (o ExprOutput) Expression() pulumi.StringPtrOutput

Textual representation of an expression in Common Expression Language syntax.

func (ExprOutput) Location

func (o ExprOutput) Location() pulumi.StringPtrOutput

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

func (ExprOutput) Title

func (o ExprOutput) Title() pulumi.StringPtrOutput

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

func (ExprOutput) ToExprOutput

func (o ExprOutput) ToExprOutput() ExprOutput

func (ExprOutput) ToExprOutputWithContext

func (o ExprOutput) ToExprOutputWithContext(ctx context.Context) ExprOutput

func (ExprOutput) ToExprPtrOutput

func (o ExprOutput) ToExprPtrOutput() ExprPtrOutput

func (ExprOutput) ToExprPtrOutputWithContext

func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput

type ExprPtrInput

type ExprPtrInput interface {
	pulumi.Input

	ToExprPtrOutput() ExprPtrOutput
	ToExprPtrOutputWithContext(context.Context) ExprPtrOutput
}

ExprPtrInput is an input type that accepts ExprArgs, ExprPtr and ExprPtrOutput values. You can construct a concrete instance of `ExprPtrInput` via:

        ExprArgs{...}

or:

        nil

func ExprPtr

func ExprPtr(v *ExprArgs) ExprPtrInput

type ExprPtrOutput

type ExprPtrOutput struct{ *pulumi.OutputState }

func (ExprPtrOutput) Description

func (o ExprPtrOutput) Description() pulumi.StringPtrOutput

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

func (ExprPtrOutput) Elem

func (o ExprPtrOutput) Elem() ExprOutput

func (ExprPtrOutput) ElementType

func (ExprPtrOutput) ElementType() reflect.Type

func (ExprPtrOutput) Expression

func (o ExprPtrOutput) Expression() pulumi.StringPtrOutput

Textual representation of an expression in Common Expression Language syntax.

func (ExprPtrOutput) Location

func (o ExprPtrOutput) Location() pulumi.StringPtrOutput

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

func (ExprPtrOutput) Title

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

func (ExprPtrOutput) ToExprPtrOutput

func (o ExprPtrOutput) ToExprPtrOutput() ExprPtrOutput

func (ExprPtrOutput) ToExprPtrOutputWithContext

func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput

type ExprResponse

type ExprResponse struct {
	// Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
	Description string `pulumi:"description"`
	// Textual representation of an expression in Common Expression Language syntax.
	Expression string `pulumi:"expression"`
	// Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
	Location string `pulumi:"location"`
	// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
	Title string `pulumi:"title"`
}

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

type ExprResponseOutput

type ExprResponseOutput struct{ *pulumi.OutputState }

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

func (ExprResponseOutput) Description

func (o ExprResponseOutput) Description() pulumi.StringOutput

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

func (ExprResponseOutput) ElementType

func (ExprResponseOutput) ElementType() reflect.Type

func (ExprResponseOutput) Expression

func (o ExprResponseOutput) Expression() pulumi.StringOutput

Textual representation of an expression in Common Expression Language syntax.

func (ExprResponseOutput) Location

func (o ExprResponseOutput) Location() pulumi.StringOutput

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

func (ExprResponseOutput) Title

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

func (ExprResponseOutput) ToExprResponseOutput

func (o ExprResponseOutput) ToExprResponseOutput() ExprResponseOutput

func (ExprResponseOutput) ToExprResponseOutputWithContext

func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) ExprResponseOutput

type GatewayConfig

type GatewayConfig struct {
	// Indicates how to authorize and/or authenticate devices to access the gateway.
	GatewayAuthMethod *GatewayConfigGatewayAuthMethod `pulumi:"gatewayAuthMethod"`
	// Indicates whether the device is a gateway.
	GatewayType *GatewayConfigGatewayType `pulumi:"gatewayType"`
}

Gateway-related configuration and state.

type GatewayConfigArgs

type GatewayConfigArgs struct {
	// Indicates how to authorize and/or authenticate devices to access the gateway.
	GatewayAuthMethod GatewayConfigGatewayAuthMethodPtrInput `pulumi:"gatewayAuthMethod"`
	// Indicates whether the device is a gateway.
	GatewayType GatewayConfigGatewayTypePtrInput `pulumi:"gatewayType"`
}

Gateway-related configuration and state.

func (GatewayConfigArgs) ElementType

func (GatewayConfigArgs) ElementType() reflect.Type

func (GatewayConfigArgs) ToGatewayConfigOutput

func (i GatewayConfigArgs) ToGatewayConfigOutput() GatewayConfigOutput

func (GatewayConfigArgs) ToGatewayConfigOutputWithContext

func (i GatewayConfigArgs) ToGatewayConfigOutputWithContext(ctx context.Context) GatewayConfigOutput

func (GatewayConfigArgs) ToGatewayConfigPtrOutput

func (i GatewayConfigArgs) ToGatewayConfigPtrOutput() GatewayConfigPtrOutput

func (GatewayConfigArgs) ToGatewayConfigPtrOutputWithContext

func (i GatewayConfigArgs) ToGatewayConfigPtrOutputWithContext(ctx context.Context) GatewayConfigPtrOutput

type GatewayConfigGatewayAuthMethod added in v0.4.0

type GatewayConfigGatewayAuthMethod string

Indicates how to authorize and/or authenticate devices to access the gateway.

func (GatewayConfigGatewayAuthMethod) ElementType added in v0.4.0

func (GatewayConfigGatewayAuthMethod) ToGatewayConfigGatewayAuthMethodOutput added in v0.6.0

func (e GatewayConfigGatewayAuthMethod) ToGatewayConfigGatewayAuthMethodOutput() GatewayConfigGatewayAuthMethodOutput

func (GatewayConfigGatewayAuthMethod) ToGatewayConfigGatewayAuthMethodOutputWithContext added in v0.6.0

func (e GatewayConfigGatewayAuthMethod) ToGatewayConfigGatewayAuthMethodOutputWithContext(ctx context.Context) GatewayConfigGatewayAuthMethodOutput

func (GatewayConfigGatewayAuthMethod) ToGatewayConfigGatewayAuthMethodPtrOutput added in v0.6.0

func (e GatewayConfigGatewayAuthMethod) ToGatewayConfigGatewayAuthMethodPtrOutput() GatewayConfigGatewayAuthMethodPtrOutput

func (GatewayConfigGatewayAuthMethod) ToGatewayConfigGatewayAuthMethodPtrOutputWithContext added in v0.6.0

func (e GatewayConfigGatewayAuthMethod) ToGatewayConfigGatewayAuthMethodPtrOutputWithContext(ctx context.Context) GatewayConfigGatewayAuthMethodPtrOutput

func (GatewayConfigGatewayAuthMethod) ToStringOutput added in v0.4.0

func (GatewayConfigGatewayAuthMethod) ToStringOutputWithContext added in v0.4.0

func (e GatewayConfigGatewayAuthMethod) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (GatewayConfigGatewayAuthMethod) ToStringPtrOutput added in v0.4.0

func (GatewayConfigGatewayAuthMethod) ToStringPtrOutputWithContext added in v0.4.0

func (e GatewayConfigGatewayAuthMethod) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type GatewayConfigGatewayAuthMethodInput added in v0.6.0

type GatewayConfigGatewayAuthMethodInput interface {
	pulumi.Input

	ToGatewayConfigGatewayAuthMethodOutput() GatewayConfigGatewayAuthMethodOutput
	ToGatewayConfigGatewayAuthMethodOutputWithContext(context.Context) GatewayConfigGatewayAuthMethodOutput
}

GatewayConfigGatewayAuthMethodInput is an input type that accepts GatewayConfigGatewayAuthMethodArgs and GatewayConfigGatewayAuthMethodOutput values. You can construct a concrete instance of `GatewayConfigGatewayAuthMethodInput` via:

GatewayConfigGatewayAuthMethodArgs{...}

type GatewayConfigGatewayAuthMethodOutput added in v0.6.0

type GatewayConfigGatewayAuthMethodOutput struct{ *pulumi.OutputState }

func (GatewayConfigGatewayAuthMethodOutput) ElementType added in v0.6.0

func (GatewayConfigGatewayAuthMethodOutput) ToGatewayConfigGatewayAuthMethodOutput added in v0.6.0

func (o GatewayConfigGatewayAuthMethodOutput) ToGatewayConfigGatewayAuthMethodOutput() GatewayConfigGatewayAuthMethodOutput

func (GatewayConfigGatewayAuthMethodOutput) ToGatewayConfigGatewayAuthMethodOutputWithContext added in v0.6.0

func (o GatewayConfigGatewayAuthMethodOutput) ToGatewayConfigGatewayAuthMethodOutputWithContext(ctx context.Context) GatewayConfigGatewayAuthMethodOutput

func (GatewayConfigGatewayAuthMethodOutput) ToGatewayConfigGatewayAuthMethodPtrOutput added in v0.6.0

func (o GatewayConfigGatewayAuthMethodOutput) ToGatewayConfigGatewayAuthMethodPtrOutput() GatewayConfigGatewayAuthMethodPtrOutput

func (GatewayConfigGatewayAuthMethodOutput) ToGatewayConfigGatewayAuthMethodPtrOutputWithContext added in v0.6.0

func (o GatewayConfigGatewayAuthMethodOutput) ToGatewayConfigGatewayAuthMethodPtrOutputWithContext(ctx context.Context) GatewayConfigGatewayAuthMethodPtrOutput

func (GatewayConfigGatewayAuthMethodOutput) ToStringOutput added in v0.6.0

func (GatewayConfigGatewayAuthMethodOutput) ToStringOutputWithContext added in v0.6.0

func (o GatewayConfigGatewayAuthMethodOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (GatewayConfigGatewayAuthMethodOutput) ToStringPtrOutput added in v0.6.0

func (GatewayConfigGatewayAuthMethodOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o GatewayConfigGatewayAuthMethodOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type GatewayConfigGatewayAuthMethodPtrInput added in v0.6.0

type GatewayConfigGatewayAuthMethodPtrInput interface {
	pulumi.Input

	ToGatewayConfigGatewayAuthMethodPtrOutput() GatewayConfigGatewayAuthMethodPtrOutput
	ToGatewayConfigGatewayAuthMethodPtrOutputWithContext(context.Context) GatewayConfigGatewayAuthMethodPtrOutput
}

func GatewayConfigGatewayAuthMethodPtr added in v0.6.0

func GatewayConfigGatewayAuthMethodPtr(v string) GatewayConfigGatewayAuthMethodPtrInput

type GatewayConfigGatewayAuthMethodPtrOutput added in v0.6.0

type GatewayConfigGatewayAuthMethodPtrOutput struct{ *pulumi.OutputState }

func (GatewayConfigGatewayAuthMethodPtrOutput) Elem added in v0.6.0

func (GatewayConfigGatewayAuthMethodPtrOutput) ElementType added in v0.6.0

func (GatewayConfigGatewayAuthMethodPtrOutput) ToGatewayConfigGatewayAuthMethodPtrOutput added in v0.6.0

func (o GatewayConfigGatewayAuthMethodPtrOutput) ToGatewayConfigGatewayAuthMethodPtrOutput() GatewayConfigGatewayAuthMethodPtrOutput

func (GatewayConfigGatewayAuthMethodPtrOutput) ToGatewayConfigGatewayAuthMethodPtrOutputWithContext added in v0.6.0

func (o GatewayConfigGatewayAuthMethodPtrOutput) ToGatewayConfigGatewayAuthMethodPtrOutputWithContext(ctx context.Context) GatewayConfigGatewayAuthMethodPtrOutput

func (GatewayConfigGatewayAuthMethodPtrOutput) ToStringPtrOutput added in v0.6.0

func (GatewayConfigGatewayAuthMethodPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

type GatewayConfigGatewayType added in v0.4.0

type GatewayConfigGatewayType string

Indicates whether the device is a gateway.

func (GatewayConfigGatewayType) ElementType added in v0.4.0

func (GatewayConfigGatewayType) ElementType() reflect.Type

func (GatewayConfigGatewayType) ToGatewayConfigGatewayTypeOutput added in v0.6.0

func (e GatewayConfigGatewayType) ToGatewayConfigGatewayTypeOutput() GatewayConfigGatewayTypeOutput

func (GatewayConfigGatewayType) ToGatewayConfigGatewayTypeOutputWithContext added in v0.6.0

func (e GatewayConfigGatewayType) ToGatewayConfigGatewayTypeOutputWithContext(ctx context.Context) GatewayConfigGatewayTypeOutput

func (GatewayConfigGatewayType) ToGatewayConfigGatewayTypePtrOutput added in v0.6.0

func (e GatewayConfigGatewayType) ToGatewayConfigGatewayTypePtrOutput() GatewayConfigGatewayTypePtrOutput

func (GatewayConfigGatewayType) ToGatewayConfigGatewayTypePtrOutputWithContext added in v0.6.0

func (e GatewayConfigGatewayType) ToGatewayConfigGatewayTypePtrOutputWithContext(ctx context.Context) GatewayConfigGatewayTypePtrOutput

func (GatewayConfigGatewayType) ToStringOutput added in v0.4.0

func (e GatewayConfigGatewayType) ToStringOutput() pulumi.StringOutput

func (GatewayConfigGatewayType) ToStringOutputWithContext added in v0.4.0

func (e GatewayConfigGatewayType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (GatewayConfigGatewayType) ToStringPtrOutput added in v0.4.0

func (e GatewayConfigGatewayType) ToStringPtrOutput() pulumi.StringPtrOutput

func (GatewayConfigGatewayType) ToStringPtrOutputWithContext added in v0.4.0

func (e GatewayConfigGatewayType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type GatewayConfigGatewayTypeInput added in v0.6.0

type GatewayConfigGatewayTypeInput interface {
	pulumi.Input

	ToGatewayConfigGatewayTypeOutput() GatewayConfigGatewayTypeOutput
	ToGatewayConfigGatewayTypeOutputWithContext(context.Context) GatewayConfigGatewayTypeOutput
}

GatewayConfigGatewayTypeInput is an input type that accepts GatewayConfigGatewayTypeArgs and GatewayConfigGatewayTypeOutput values. You can construct a concrete instance of `GatewayConfigGatewayTypeInput` via:

GatewayConfigGatewayTypeArgs{...}

type GatewayConfigGatewayTypeOutput added in v0.6.0

type GatewayConfigGatewayTypeOutput struct{ *pulumi.OutputState }

func (GatewayConfigGatewayTypeOutput) ElementType added in v0.6.0

func (GatewayConfigGatewayTypeOutput) ToGatewayConfigGatewayTypeOutput added in v0.6.0

func (o GatewayConfigGatewayTypeOutput) ToGatewayConfigGatewayTypeOutput() GatewayConfigGatewayTypeOutput

func (GatewayConfigGatewayTypeOutput) ToGatewayConfigGatewayTypeOutputWithContext added in v0.6.0

func (o GatewayConfigGatewayTypeOutput) ToGatewayConfigGatewayTypeOutputWithContext(ctx context.Context) GatewayConfigGatewayTypeOutput

func (GatewayConfigGatewayTypeOutput) ToGatewayConfigGatewayTypePtrOutput added in v0.6.0

func (o GatewayConfigGatewayTypeOutput) ToGatewayConfigGatewayTypePtrOutput() GatewayConfigGatewayTypePtrOutput

func (GatewayConfigGatewayTypeOutput) ToGatewayConfigGatewayTypePtrOutputWithContext added in v0.6.0

func (o GatewayConfigGatewayTypeOutput) ToGatewayConfigGatewayTypePtrOutputWithContext(ctx context.Context) GatewayConfigGatewayTypePtrOutput

func (GatewayConfigGatewayTypeOutput) ToStringOutput added in v0.6.0

func (GatewayConfigGatewayTypeOutput) ToStringOutputWithContext added in v0.6.0

func (o GatewayConfigGatewayTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (GatewayConfigGatewayTypeOutput) ToStringPtrOutput added in v0.6.0

func (GatewayConfigGatewayTypeOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o GatewayConfigGatewayTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type GatewayConfigGatewayTypePtrInput added in v0.6.0

type GatewayConfigGatewayTypePtrInput interface {
	pulumi.Input

	ToGatewayConfigGatewayTypePtrOutput() GatewayConfigGatewayTypePtrOutput
	ToGatewayConfigGatewayTypePtrOutputWithContext(context.Context) GatewayConfigGatewayTypePtrOutput
}

func GatewayConfigGatewayTypePtr added in v0.6.0

func GatewayConfigGatewayTypePtr(v string) GatewayConfigGatewayTypePtrInput

type GatewayConfigGatewayTypePtrOutput added in v0.6.0

type GatewayConfigGatewayTypePtrOutput struct{ *pulumi.OutputState }

func (GatewayConfigGatewayTypePtrOutput) Elem added in v0.6.0

func (GatewayConfigGatewayTypePtrOutput) ElementType added in v0.6.0

func (GatewayConfigGatewayTypePtrOutput) ToGatewayConfigGatewayTypePtrOutput added in v0.6.0

func (o GatewayConfigGatewayTypePtrOutput) ToGatewayConfigGatewayTypePtrOutput() GatewayConfigGatewayTypePtrOutput

func (GatewayConfigGatewayTypePtrOutput) ToGatewayConfigGatewayTypePtrOutputWithContext added in v0.6.0

func (o GatewayConfigGatewayTypePtrOutput) ToGatewayConfigGatewayTypePtrOutputWithContext(ctx context.Context) GatewayConfigGatewayTypePtrOutput

func (GatewayConfigGatewayTypePtrOutput) ToStringPtrOutput added in v0.6.0

func (GatewayConfigGatewayTypePtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o GatewayConfigGatewayTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type GatewayConfigInput

type GatewayConfigInput interface {
	pulumi.Input

	ToGatewayConfigOutput() GatewayConfigOutput
	ToGatewayConfigOutputWithContext(context.Context) GatewayConfigOutput
}

GatewayConfigInput is an input type that accepts GatewayConfigArgs and GatewayConfigOutput values. You can construct a concrete instance of `GatewayConfigInput` via:

GatewayConfigArgs{...}

type GatewayConfigOutput

type GatewayConfigOutput struct{ *pulumi.OutputState }

Gateway-related configuration and state.

func (GatewayConfigOutput) ElementType

func (GatewayConfigOutput) ElementType() reflect.Type

func (GatewayConfigOutput) GatewayAuthMethod

Indicates how to authorize and/or authenticate devices to access the gateway.

func (GatewayConfigOutput) GatewayType

Indicates whether the device is a gateway.

func (GatewayConfigOutput) ToGatewayConfigOutput

func (o GatewayConfigOutput) ToGatewayConfigOutput() GatewayConfigOutput

func (GatewayConfigOutput) ToGatewayConfigOutputWithContext

func (o GatewayConfigOutput) ToGatewayConfigOutputWithContext(ctx context.Context) GatewayConfigOutput

func (GatewayConfigOutput) ToGatewayConfigPtrOutput

func (o GatewayConfigOutput) ToGatewayConfigPtrOutput() GatewayConfigPtrOutput

func (GatewayConfigOutput) ToGatewayConfigPtrOutputWithContext

func (o GatewayConfigOutput) ToGatewayConfigPtrOutputWithContext(ctx context.Context) GatewayConfigPtrOutput

type GatewayConfigPtrInput

type GatewayConfigPtrInput interface {
	pulumi.Input

	ToGatewayConfigPtrOutput() GatewayConfigPtrOutput
	ToGatewayConfigPtrOutputWithContext(context.Context) GatewayConfigPtrOutput
}

GatewayConfigPtrInput is an input type that accepts GatewayConfigArgs, GatewayConfigPtr and GatewayConfigPtrOutput values. You can construct a concrete instance of `GatewayConfigPtrInput` via:

        GatewayConfigArgs{...}

or:

        nil

type GatewayConfigPtrOutput

type GatewayConfigPtrOutput struct{ *pulumi.OutputState }

func (GatewayConfigPtrOutput) Elem

func (GatewayConfigPtrOutput) ElementType

func (GatewayConfigPtrOutput) ElementType() reflect.Type

func (GatewayConfigPtrOutput) GatewayAuthMethod

Indicates how to authorize and/or authenticate devices to access the gateway.

func (GatewayConfigPtrOutput) GatewayType

Indicates whether the device is a gateway.

func (GatewayConfigPtrOutput) ToGatewayConfigPtrOutput

func (o GatewayConfigPtrOutput) ToGatewayConfigPtrOutput() GatewayConfigPtrOutput

func (GatewayConfigPtrOutput) ToGatewayConfigPtrOutputWithContext

func (o GatewayConfigPtrOutput) ToGatewayConfigPtrOutputWithContext(ctx context.Context) GatewayConfigPtrOutput

type GatewayConfigResponse

type GatewayConfigResponse struct {
	// Indicates how to authorize and/or authenticate devices to access the gateway.
	GatewayAuthMethod string `pulumi:"gatewayAuthMethod"`
	// Indicates whether the device is a gateway.
	GatewayType string `pulumi:"gatewayType"`
	// [Output only] The ID of the gateway the device accessed most recently.
	LastAccessedGatewayId string `pulumi:"lastAccessedGatewayId"`
	// [Output only] The most recent time at which the device accessed the gateway specified in `last_accessed_gateway`.
	LastAccessedGatewayTime string `pulumi:"lastAccessedGatewayTime"`
}

Gateway-related configuration and state.

type GatewayConfigResponseOutput

type GatewayConfigResponseOutput struct{ *pulumi.OutputState }

Gateway-related configuration and state.

func (GatewayConfigResponseOutput) ElementType

func (GatewayConfigResponseOutput) GatewayAuthMethod

func (o GatewayConfigResponseOutput) GatewayAuthMethod() pulumi.StringOutput

Indicates how to authorize and/or authenticate devices to access the gateway.

func (GatewayConfigResponseOutput) GatewayType

Indicates whether the device is a gateway.

func (GatewayConfigResponseOutput) LastAccessedGatewayId

func (o GatewayConfigResponseOutput) LastAccessedGatewayId() pulumi.StringOutput

[Output only] The ID of the gateway the device accessed most recently.

func (GatewayConfigResponseOutput) LastAccessedGatewayTime

func (o GatewayConfigResponseOutput) LastAccessedGatewayTime() pulumi.StringOutput

[Output only] The most recent time at which the device accessed the gateway specified in `last_accessed_gateway`.

func (GatewayConfigResponseOutput) ToGatewayConfigResponseOutput

func (o GatewayConfigResponseOutput) ToGatewayConfigResponseOutput() GatewayConfigResponseOutput

func (GatewayConfigResponseOutput) ToGatewayConfigResponseOutputWithContext

func (o GatewayConfigResponseOutput) ToGatewayConfigResponseOutputWithContext(ctx context.Context) GatewayConfigResponseOutput

type HttpConfig

type HttpConfig struct {
	// If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.
	HttpEnabledState *HttpConfigHttpEnabledState `pulumi:"httpEnabledState"`
}

The configuration of the HTTP bridge for a device registry.

type HttpConfigArgs

type HttpConfigArgs struct {
	// If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.
	HttpEnabledState HttpConfigHttpEnabledStatePtrInput `pulumi:"httpEnabledState"`
}

The configuration of the HTTP bridge for a device registry.

func (HttpConfigArgs) ElementType

func (HttpConfigArgs) ElementType() reflect.Type

func (HttpConfigArgs) ToHttpConfigOutput

func (i HttpConfigArgs) ToHttpConfigOutput() HttpConfigOutput

func (HttpConfigArgs) ToHttpConfigOutputWithContext

func (i HttpConfigArgs) ToHttpConfigOutputWithContext(ctx context.Context) HttpConfigOutput

func (HttpConfigArgs) ToHttpConfigPtrOutput

func (i HttpConfigArgs) ToHttpConfigPtrOutput() HttpConfigPtrOutput

func (HttpConfigArgs) ToHttpConfigPtrOutputWithContext

func (i HttpConfigArgs) ToHttpConfigPtrOutputWithContext(ctx context.Context) HttpConfigPtrOutput

type HttpConfigHttpEnabledState added in v0.4.0

type HttpConfigHttpEnabledState string

If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.

func (HttpConfigHttpEnabledState) ElementType added in v0.4.0

func (HttpConfigHttpEnabledState) ElementType() reflect.Type

func (HttpConfigHttpEnabledState) ToHttpConfigHttpEnabledStateOutput added in v0.6.0

func (e HttpConfigHttpEnabledState) ToHttpConfigHttpEnabledStateOutput() HttpConfigHttpEnabledStateOutput

func (HttpConfigHttpEnabledState) ToHttpConfigHttpEnabledStateOutputWithContext added in v0.6.0

func (e HttpConfigHttpEnabledState) ToHttpConfigHttpEnabledStateOutputWithContext(ctx context.Context) HttpConfigHttpEnabledStateOutput

func (HttpConfigHttpEnabledState) ToHttpConfigHttpEnabledStatePtrOutput added in v0.6.0

func (e HttpConfigHttpEnabledState) ToHttpConfigHttpEnabledStatePtrOutput() HttpConfigHttpEnabledStatePtrOutput

func (HttpConfigHttpEnabledState) ToHttpConfigHttpEnabledStatePtrOutputWithContext added in v0.6.0

func (e HttpConfigHttpEnabledState) ToHttpConfigHttpEnabledStatePtrOutputWithContext(ctx context.Context) HttpConfigHttpEnabledStatePtrOutput

func (HttpConfigHttpEnabledState) ToStringOutput added in v0.4.0

func (e HttpConfigHttpEnabledState) ToStringOutput() pulumi.StringOutput

func (HttpConfigHttpEnabledState) ToStringOutputWithContext added in v0.4.0

func (e HttpConfigHttpEnabledState) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (HttpConfigHttpEnabledState) ToStringPtrOutput added in v0.4.0

func (e HttpConfigHttpEnabledState) ToStringPtrOutput() pulumi.StringPtrOutput

func (HttpConfigHttpEnabledState) ToStringPtrOutputWithContext added in v0.4.0

func (e HttpConfigHttpEnabledState) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type HttpConfigHttpEnabledStateInput added in v0.6.0

type HttpConfigHttpEnabledStateInput interface {
	pulumi.Input

	ToHttpConfigHttpEnabledStateOutput() HttpConfigHttpEnabledStateOutput
	ToHttpConfigHttpEnabledStateOutputWithContext(context.Context) HttpConfigHttpEnabledStateOutput
}

HttpConfigHttpEnabledStateInput is an input type that accepts HttpConfigHttpEnabledStateArgs and HttpConfigHttpEnabledStateOutput values. You can construct a concrete instance of `HttpConfigHttpEnabledStateInput` via:

HttpConfigHttpEnabledStateArgs{...}

type HttpConfigHttpEnabledStateOutput added in v0.6.0

type HttpConfigHttpEnabledStateOutput struct{ *pulumi.OutputState }

func (HttpConfigHttpEnabledStateOutput) ElementType added in v0.6.0

func (HttpConfigHttpEnabledStateOutput) ToHttpConfigHttpEnabledStateOutput added in v0.6.0

func (o HttpConfigHttpEnabledStateOutput) ToHttpConfigHttpEnabledStateOutput() HttpConfigHttpEnabledStateOutput

func (HttpConfigHttpEnabledStateOutput) ToHttpConfigHttpEnabledStateOutputWithContext added in v0.6.0

func (o HttpConfigHttpEnabledStateOutput) ToHttpConfigHttpEnabledStateOutputWithContext(ctx context.Context) HttpConfigHttpEnabledStateOutput

func (HttpConfigHttpEnabledStateOutput) ToHttpConfigHttpEnabledStatePtrOutput added in v0.6.0

func (o HttpConfigHttpEnabledStateOutput) ToHttpConfigHttpEnabledStatePtrOutput() HttpConfigHttpEnabledStatePtrOutput

func (HttpConfigHttpEnabledStateOutput) ToHttpConfigHttpEnabledStatePtrOutputWithContext added in v0.6.0

func (o HttpConfigHttpEnabledStateOutput) ToHttpConfigHttpEnabledStatePtrOutputWithContext(ctx context.Context) HttpConfigHttpEnabledStatePtrOutput

func (HttpConfigHttpEnabledStateOutput) ToStringOutput added in v0.6.0

func (HttpConfigHttpEnabledStateOutput) ToStringOutputWithContext added in v0.6.0

func (o HttpConfigHttpEnabledStateOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (HttpConfigHttpEnabledStateOutput) ToStringPtrOutput added in v0.6.0

func (HttpConfigHttpEnabledStateOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o HttpConfigHttpEnabledStateOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type HttpConfigHttpEnabledStatePtrInput added in v0.6.0

type HttpConfigHttpEnabledStatePtrInput interface {
	pulumi.Input

	ToHttpConfigHttpEnabledStatePtrOutput() HttpConfigHttpEnabledStatePtrOutput
	ToHttpConfigHttpEnabledStatePtrOutputWithContext(context.Context) HttpConfigHttpEnabledStatePtrOutput
}

func HttpConfigHttpEnabledStatePtr added in v0.6.0

func HttpConfigHttpEnabledStatePtr(v string) HttpConfigHttpEnabledStatePtrInput

type HttpConfigHttpEnabledStatePtrOutput added in v0.6.0

type HttpConfigHttpEnabledStatePtrOutput struct{ *pulumi.OutputState }

func (HttpConfigHttpEnabledStatePtrOutput) Elem added in v0.6.0

func (HttpConfigHttpEnabledStatePtrOutput) ElementType added in v0.6.0

func (HttpConfigHttpEnabledStatePtrOutput) ToHttpConfigHttpEnabledStatePtrOutput added in v0.6.0

func (o HttpConfigHttpEnabledStatePtrOutput) ToHttpConfigHttpEnabledStatePtrOutput() HttpConfigHttpEnabledStatePtrOutput

func (HttpConfigHttpEnabledStatePtrOutput) ToHttpConfigHttpEnabledStatePtrOutputWithContext added in v0.6.0

func (o HttpConfigHttpEnabledStatePtrOutput) ToHttpConfigHttpEnabledStatePtrOutputWithContext(ctx context.Context) HttpConfigHttpEnabledStatePtrOutput

func (HttpConfigHttpEnabledStatePtrOutput) ToStringPtrOutput added in v0.6.0

func (HttpConfigHttpEnabledStatePtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o HttpConfigHttpEnabledStatePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type HttpConfigInput

type HttpConfigInput interface {
	pulumi.Input

	ToHttpConfigOutput() HttpConfigOutput
	ToHttpConfigOutputWithContext(context.Context) HttpConfigOutput
}

HttpConfigInput is an input type that accepts HttpConfigArgs and HttpConfigOutput values. You can construct a concrete instance of `HttpConfigInput` via:

HttpConfigArgs{...}

type HttpConfigOutput

type HttpConfigOutput struct{ *pulumi.OutputState }

The configuration of the HTTP bridge for a device registry.

func (HttpConfigOutput) ElementType

func (HttpConfigOutput) ElementType() reflect.Type

func (HttpConfigOutput) HttpEnabledState

If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.

func (HttpConfigOutput) ToHttpConfigOutput

func (o HttpConfigOutput) ToHttpConfigOutput() HttpConfigOutput

func (HttpConfigOutput) ToHttpConfigOutputWithContext

func (o HttpConfigOutput) ToHttpConfigOutputWithContext(ctx context.Context) HttpConfigOutput

func (HttpConfigOutput) ToHttpConfigPtrOutput

func (o HttpConfigOutput) ToHttpConfigPtrOutput() HttpConfigPtrOutput

func (HttpConfigOutput) ToHttpConfigPtrOutputWithContext

func (o HttpConfigOutput) ToHttpConfigPtrOutputWithContext(ctx context.Context) HttpConfigPtrOutput

type HttpConfigPtrInput

type HttpConfigPtrInput interface {
	pulumi.Input

	ToHttpConfigPtrOutput() HttpConfigPtrOutput
	ToHttpConfigPtrOutputWithContext(context.Context) HttpConfigPtrOutput
}

HttpConfigPtrInput is an input type that accepts HttpConfigArgs, HttpConfigPtr and HttpConfigPtrOutput values. You can construct a concrete instance of `HttpConfigPtrInput` via:

        HttpConfigArgs{...}

or:

        nil

func HttpConfigPtr

func HttpConfigPtr(v *HttpConfigArgs) HttpConfigPtrInput

type HttpConfigPtrOutput

type HttpConfigPtrOutput struct{ *pulumi.OutputState }

func (HttpConfigPtrOutput) Elem

func (HttpConfigPtrOutput) ElementType

func (HttpConfigPtrOutput) ElementType() reflect.Type

func (HttpConfigPtrOutput) HttpEnabledState

If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.

func (HttpConfigPtrOutput) ToHttpConfigPtrOutput

func (o HttpConfigPtrOutput) ToHttpConfigPtrOutput() HttpConfigPtrOutput

func (HttpConfigPtrOutput) ToHttpConfigPtrOutputWithContext

func (o HttpConfigPtrOutput) ToHttpConfigPtrOutputWithContext(ctx context.Context) HttpConfigPtrOutput

type HttpConfigResponse

type HttpConfigResponse struct {
	// If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.
	HttpEnabledState string `pulumi:"httpEnabledState"`
}

The configuration of the HTTP bridge for a device registry.

type HttpConfigResponseOutput

type HttpConfigResponseOutput struct{ *pulumi.OutputState }

The configuration of the HTTP bridge for a device registry.

func (HttpConfigResponseOutput) ElementType

func (HttpConfigResponseOutput) ElementType() reflect.Type

func (HttpConfigResponseOutput) HttpEnabledState

func (o HttpConfigResponseOutput) HttpEnabledState() pulumi.StringOutput

If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry.

func (HttpConfigResponseOutput) ToHttpConfigResponseOutput

func (o HttpConfigResponseOutput) ToHttpConfigResponseOutput() HttpConfigResponseOutput

func (HttpConfigResponseOutput) ToHttpConfigResponseOutputWithContext

func (o HttpConfigResponseOutput) ToHttpConfigResponseOutputWithContext(ctx context.Context) HttpConfigResponseOutput

type LookupDeviceArgs added in v0.4.0

type LookupDeviceArgs struct {
	DeviceId   string  `pulumi:"deviceId"`
	FieldMask  *string `pulumi:"fieldMask"`
	Location   string  `pulumi:"location"`
	Project    *string `pulumi:"project"`
	RegistryId string  `pulumi:"registryId"`
}

type LookupDeviceOutputArgs added in v0.8.0

type LookupDeviceOutputArgs struct {
	DeviceId   pulumi.StringInput    `pulumi:"deviceId"`
	FieldMask  pulumi.StringPtrInput `pulumi:"fieldMask"`
	Location   pulumi.StringInput    `pulumi:"location"`
	Project    pulumi.StringPtrInput `pulumi:"project"`
	RegistryId pulumi.StringInput    `pulumi:"registryId"`
}

func (LookupDeviceOutputArgs) ElementType added in v0.8.0

func (LookupDeviceOutputArgs) ElementType() reflect.Type

type LookupDeviceResult added in v0.4.0

type LookupDeviceResult struct {
	// If a device is blocked, connections or requests from this device will fail. Can be used to temporarily prevent the device from connecting if, for example, the sensor is generating bad data and needs maintenance.
	Blocked bool `pulumi:"blocked"`
	// The most recent device configuration, which is eventually sent from Cloud IoT Core to the device. If not present on creation, the configuration will be initialized with an empty payload and version value of `1`. To update this field after creation, use the `DeviceManager.ModifyCloudToDeviceConfig` method.
	Config DeviceConfigResponse `pulumi:"config"`
	// The credentials used to authenticate this device. To allow credential rotation without interruption, multiple device credentials can be bound to this device. No more than 3 credentials can be bound to a single device at a time. When new credentials are added to a device, they are verified against the registry credentials. For details, see the description of the `DeviceRegistry.credentials` field.
	Credentials []DeviceCredentialResponse `pulumi:"credentials"`
	// Gateway-related configuration and state.
	GatewayConfig GatewayConfigResponse `pulumi:"gatewayConfig"`
	// [Output only] The last time a cloud-to-device config version acknowledgment was received from the device. This field is only for configurations sent through MQTT.
	LastConfigAckTime string `pulumi:"lastConfigAckTime"`
	// [Output only] The last time a cloud-to-device config version was sent to the device.
	LastConfigSendTime string `pulumi:"lastConfigSendTime"`
	// [Output only] The error message of the most recent error, such as a failure to publish to Cloud Pub/Sub. 'last_error_time' is the timestamp of this field. If no errors have occurred, this field has an empty message and the status code 0 == OK. Otherwise, this field is expected to have a status code other than OK.
	LastErrorStatus StatusResponse `pulumi:"lastErrorStatus"`
	// [Output only] The time the most recent error occurred, such as a failure to publish to Cloud Pub/Sub. This field is the timestamp of 'last_error_status'.
	LastErrorTime string `pulumi:"lastErrorTime"`
	// [Output only] The last time a telemetry event was received. Timestamps are periodically collected and written to storage; they may be stale by a few minutes.
	LastEventTime string `pulumi:"lastEventTime"`
	// [Output only] The last time an MQTT `PINGREQ` was received. This field applies only to devices connecting through MQTT. MQTT clients usually only send `PINGREQ` messages if the connection is idle, and no other messages have been sent. Timestamps are periodically collected and written to storage; they may be stale by a few minutes.
	LastHeartbeatTime string `pulumi:"lastHeartbeatTime"`
	// [Output only] The last time a state event was received. Timestamps are periodically collected and written to storage; they may be stale by a few minutes.
	LastStateTime string `pulumi:"lastStateTime"`
	// **Beta Feature** The logging verbosity for device activity. If unspecified, DeviceRegistry.log_level will be used.
	LogLevel string `pulumi:"logLevel"`
	// The metadata key-value pairs assigned to the device. This metadata is not interpreted or indexed by Cloud IoT Core. It can be used to add contextual information for the device. Keys must conform to the regular expression a-zA-Z+ and be less than 128 bytes in length. Values are free-form strings. Each value must be less than or equal to 32 KB in size. The total size of all keys and values must be less than 256 KB, and the maximum number of key-value pairs is 500.
	Metadata map[string]string `pulumi:"metadata"`
	// The resource path name. For example, `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or `projects/p1/locations/us-central1/registries/registry0/devices/{num_id}`. When `name` is populated as a response from the service, it always ends in the device numeric ID.
	Name string `pulumi:"name"`
	// [Output only] A server-defined unique numeric ID for the device. This is a more compact way to identify devices, and it is globally unique.
	NumId string `pulumi:"numId"`
	// [Output only] The state most recently received from the device. If no state has been reported, this field is not present.
	State DeviceStateResponse `pulumi:"state"`
}

func LookupDevice added in v0.4.0

func LookupDevice(ctx *pulumi.Context, args *LookupDeviceArgs, opts ...pulumi.InvokeOption) (*LookupDeviceResult, error)

Gets details about a device.

type LookupDeviceResultOutput added in v0.8.0

type LookupDeviceResultOutput struct{ *pulumi.OutputState }

func LookupDeviceOutput added in v0.8.0

func LookupDeviceOutput(ctx *pulumi.Context, args LookupDeviceOutputArgs, opts ...pulumi.InvokeOption) LookupDeviceResultOutput

func (LookupDeviceResultOutput) Blocked added in v0.8.0

If a device is blocked, connections or requests from this device will fail. Can be used to temporarily prevent the device from connecting if, for example, the sensor is generating bad data and needs maintenance.

func (LookupDeviceResultOutput) Config added in v0.8.0

The most recent device configuration, which is eventually sent from Cloud IoT Core to the device. If not present on creation, the configuration will be initialized with an empty payload and version value of `1`. To update this field after creation, use the `DeviceManager.ModifyCloudToDeviceConfig` method.

func (LookupDeviceResultOutput) Credentials added in v0.8.0

The credentials used to authenticate this device. To allow credential rotation without interruption, multiple device credentials can be bound to this device. No more than 3 credentials can be bound to a single device at a time. When new credentials are added to a device, they are verified against the registry credentials. For details, see the description of the `DeviceRegistry.credentials` field.

func (LookupDeviceResultOutput) ElementType added in v0.8.0

func (LookupDeviceResultOutput) ElementType() reflect.Type

func (LookupDeviceResultOutput) GatewayConfig added in v0.8.0

Gateway-related configuration and state.

func (LookupDeviceResultOutput) LastConfigAckTime added in v0.8.0

func (o LookupDeviceResultOutput) LastConfigAckTime() pulumi.StringOutput

[Output only] The last time a cloud-to-device config version acknowledgment was received from the device. This field is only for configurations sent through MQTT.

func (LookupDeviceResultOutput) LastConfigSendTime added in v0.8.0

func (o LookupDeviceResultOutput) LastConfigSendTime() pulumi.StringOutput

[Output only] The last time a cloud-to-device config version was sent to the device.

func (LookupDeviceResultOutput) LastErrorStatus added in v0.8.0

func (o LookupDeviceResultOutput) LastErrorStatus() StatusResponseOutput

[Output only] The error message of the most recent error, such as a failure to publish to Cloud Pub/Sub. 'last_error_time' is the timestamp of this field. If no errors have occurred, this field has an empty message and the status code 0 == OK. Otherwise, this field is expected to have a status code other than OK.

func (LookupDeviceResultOutput) LastErrorTime added in v0.8.0

func (o LookupDeviceResultOutput) LastErrorTime() pulumi.StringOutput

[Output only] The time the most recent error occurred, such as a failure to publish to Cloud Pub/Sub. This field is the timestamp of 'last_error_status'.

func (LookupDeviceResultOutput) LastEventTime added in v0.8.0

func (o LookupDeviceResultOutput) LastEventTime() pulumi.StringOutput

[Output only] The last time a telemetry event was received. Timestamps are periodically collected and written to storage; they may be stale by a few minutes.

func (LookupDeviceResultOutput) LastHeartbeatTime added in v0.8.0

func (o LookupDeviceResultOutput) LastHeartbeatTime() pulumi.StringOutput

[Output only] The last time an MQTT `PINGREQ` was received. This field applies only to devices connecting through MQTT. MQTT clients usually only send `PINGREQ` messages if the connection is idle, and no other messages have been sent. Timestamps are periodically collected and written to storage; they may be stale by a few minutes.

func (LookupDeviceResultOutput) LastStateTime added in v0.8.0

func (o LookupDeviceResultOutput) LastStateTime() pulumi.StringOutput

[Output only] The last time a state event was received. Timestamps are periodically collected and written to storage; they may be stale by a few minutes.

func (LookupDeviceResultOutput) LogLevel added in v0.8.0

**Beta Feature** The logging verbosity for device activity. If unspecified, DeviceRegistry.log_level will be used.

func (LookupDeviceResultOutput) Metadata added in v0.8.0

The metadata key-value pairs assigned to the device. This metadata is not interpreted or indexed by Cloud IoT Core. It can be used to add contextual information for the device. Keys must conform to the regular expression a-zA-Z+ and be less than 128 bytes in length. Values are free-form strings. Each value must be less than or equal to 32 KB in size. The total size of all keys and values must be less than 256 KB, and the maximum number of key-value pairs is 500.

func (LookupDeviceResultOutput) Name added in v0.8.0

The resource path name. For example, `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or `projects/p1/locations/us-central1/registries/registry0/devices/{num_id}`. When `name` is populated as a response from the service, it always ends in the device numeric ID.

func (LookupDeviceResultOutput) NumId added in v0.8.0

[Output only] A server-defined unique numeric ID for the device. This is a more compact way to identify devices, and it is globally unique.

func (LookupDeviceResultOutput) State added in v0.8.0

[Output only] The state most recently received from the device. If no state has been reported, this field is not present.

func (LookupDeviceResultOutput) ToLookupDeviceResultOutput added in v0.8.0

func (o LookupDeviceResultOutput) ToLookupDeviceResultOutput() LookupDeviceResultOutput

func (LookupDeviceResultOutput) ToLookupDeviceResultOutputWithContext added in v0.8.0

func (o LookupDeviceResultOutput) ToLookupDeviceResultOutputWithContext(ctx context.Context) LookupDeviceResultOutput

type LookupRegistryArgs added in v0.4.0

type LookupRegistryArgs struct {
	Location   string  `pulumi:"location"`
	Project    *string `pulumi:"project"`
	RegistryId string  `pulumi:"registryId"`
}

type LookupRegistryGroupIamPolicyArgs added in v0.4.0

type LookupRegistryGroupIamPolicyArgs struct {
	GroupId    string  `pulumi:"groupId"`
	Location   string  `pulumi:"location"`
	Project    *string `pulumi:"project"`
	RegistryId string  `pulumi:"registryId"`
}

type LookupRegistryGroupIamPolicyOutputArgs added in v0.8.0

type LookupRegistryGroupIamPolicyOutputArgs struct {
	GroupId    pulumi.StringInput    `pulumi:"groupId"`
	Location   pulumi.StringInput    `pulumi:"location"`
	Project    pulumi.StringPtrInput `pulumi:"project"`
	RegistryId pulumi.StringInput    `pulumi:"registryId"`
}

func (LookupRegistryGroupIamPolicyOutputArgs) ElementType added in v0.8.0

type LookupRegistryGroupIamPolicyResult added in v0.4.0

type LookupRegistryGroupIamPolicyResult struct {
	// Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
	Bindings []BindingResponse `pulumi:"bindings"`
	// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
	Etag string `pulumi:"etag"`
	// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Version int `pulumi:"version"`
}

func LookupRegistryGroupIamPolicy added in v0.4.0

func LookupRegistryGroupIamPolicy(ctx *pulumi.Context, args *LookupRegistryGroupIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupRegistryGroupIamPolicyResult, error)

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

type LookupRegistryGroupIamPolicyResultOutput added in v0.8.0

type LookupRegistryGroupIamPolicyResultOutput struct{ *pulumi.OutputState }

func (LookupRegistryGroupIamPolicyResultOutput) Bindings added in v0.8.0

Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.

func (LookupRegistryGroupIamPolicyResultOutput) ElementType added in v0.8.0

func (LookupRegistryGroupIamPolicyResultOutput) Etag added in v0.8.0

`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.

func (LookupRegistryGroupIamPolicyResultOutput) ToLookupRegistryGroupIamPolicyResultOutput added in v0.8.0

func (o LookupRegistryGroupIamPolicyResultOutput) ToLookupRegistryGroupIamPolicyResultOutput() LookupRegistryGroupIamPolicyResultOutput

func (LookupRegistryGroupIamPolicyResultOutput) ToLookupRegistryGroupIamPolicyResultOutputWithContext added in v0.8.0

func (o LookupRegistryGroupIamPolicyResultOutput) ToLookupRegistryGroupIamPolicyResultOutputWithContext(ctx context.Context) LookupRegistryGroupIamPolicyResultOutput

func (LookupRegistryGroupIamPolicyResultOutput) Version added in v0.8.0

Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).

type LookupRegistryIamPolicyArgs added in v0.4.0

type LookupRegistryIamPolicyArgs struct {
	Location   string  `pulumi:"location"`
	Project    *string `pulumi:"project"`
	RegistryId string  `pulumi:"registryId"`
}

type LookupRegistryIamPolicyOutputArgs added in v0.8.0

type LookupRegistryIamPolicyOutputArgs struct {
	Location   pulumi.StringInput    `pulumi:"location"`
	Project    pulumi.StringPtrInput `pulumi:"project"`
	RegistryId pulumi.StringInput    `pulumi:"registryId"`
}

func (LookupRegistryIamPolicyOutputArgs) ElementType added in v0.8.0

type LookupRegistryIamPolicyResult added in v0.4.0

type LookupRegistryIamPolicyResult struct {
	// Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
	Bindings []BindingResponse `pulumi:"bindings"`
	// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
	Etag string `pulumi:"etag"`
	// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Version int `pulumi:"version"`
}

func LookupRegistryIamPolicy added in v0.4.0

func LookupRegistryIamPolicy(ctx *pulumi.Context, args *LookupRegistryIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupRegistryIamPolicyResult, error)

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

type LookupRegistryIamPolicyResultOutput added in v0.8.0

type LookupRegistryIamPolicyResultOutput struct{ *pulumi.OutputState }

func (LookupRegistryIamPolicyResultOutput) Bindings added in v0.8.0

Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.

func (LookupRegistryIamPolicyResultOutput) ElementType added in v0.8.0

func (LookupRegistryIamPolicyResultOutput) Etag added in v0.8.0

`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.

func (LookupRegistryIamPolicyResultOutput) ToLookupRegistryIamPolicyResultOutput added in v0.8.0

func (o LookupRegistryIamPolicyResultOutput) ToLookupRegistryIamPolicyResultOutput() LookupRegistryIamPolicyResultOutput

func (LookupRegistryIamPolicyResultOutput) ToLookupRegistryIamPolicyResultOutputWithContext added in v0.8.0

func (o LookupRegistryIamPolicyResultOutput) ToLookupRegistryIamPolicyResultOutputWithContext(ctx context.Context) LookupRegistryIamPolicyResultOutput

func (LookupRegistryIamPolicyResultOutput) Version added in v0.8.0

Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).

type LookupRegistryOutputArgs added in v0.8.0

type LookupRegistryOutputArgs struct {
	Location   pulumi.StringInput    `pulumi:"location"`
	Project    pulumi.StringPtrInput `pulumi:"project"`
	RegistryId pulumi.StringInput    `pulumi:"registryId"`
}

func (LookupRegistryOutputArgs) ElementType added in v0.8.0

func (LookupRegistryOutputArgs) ElementType() reflect.Type

type LookupRegistryResult added in v0.4.0

type LookupRegistryResult struct {
	// 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.
	Credentials []RegistryCredentialResponse `pulumi:"credentials"`
	// 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.
	EventNotificationConfigs []EventNotificationConfigResponse `pulumi:"eventNotificationConfigs"`
	// The DeviceService (HTTP) configuration for this device registry.
	HttpConfig HttpConfigResponse `pulumi:"httpConfig"`
	// **Beta Feature** The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.
	LogLevel string `pulumi:"logLevel"`
	// The MQTT configuration for this device registry.
	MqttConfig MqttConfigResponse `pulumi:"mqttConfig"`
	// The resource path name. For example, `projects/example-project/locations/us-central1/registries/my-registry`.
	Name string `pulumi:"name"`
	// 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.
	StateNotificationConfig StateNotificationConfigResponse `pulumi:"stateNotificationConfig"`
}

func LookupRegistry added in v0.4.0

func LookupRegistry(ctx *pulumi.Context, args *LookupRegistryArgs, opts ...pulumi.InvokeOption) (*LookupRegistryResult, error)

Gets a device registry configuration.

type LookupRegistryResultOutput added in v0.8.0

type LookupRegistryResultOutput struct{ *pulumi.OutputState }

func LookupRegistryOutput added in v0.8.0

func LookupRegistryOutput(ctx *pulumi.Context, args LookupRegistryOutputArgs, opts ...pulumi.InvokeOption) LookupRegistryResultOutput

func (LookupRegistryResultOutput) Credentials added in v0.8.0

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.

func (LookupRegistryResultOutput) ElementType added in v0.8.0

func (LookupRegistryResultOutput) ElementType() reflect.Type

func (LookupRegistryResultOutput) EventNotificationConfigs added in v0.8.0

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.

func (LookupRegistryResultOutput) HttpConfig added in v0.8.0

The DeviceService (HTTP) configuration for this device registry.

func (LookupRegistryResultOutput) LogLevel added in v0.8.0

**Beta Feature** The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.

func (LookupRegistryResultOutput) MqttConfig added in v0.8.0

The MQTT configuration for this device registry.

func (LookupRegistryResultOutput) Name added in v0.8.0

The resource path name. For example, `projects/example-project/locations/us-central1/registries/my-registry`.

func (LookupRegistryResultOutput) StateNotificationConfig added in v0.8.0

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.

func (LookupRegistryResultOutput) ToLookupRegistryResultOutput added in v0.8.0

func (o LookupRegistryResultOutput) ToLookupRegistryResultOutput() LookupRegistryResultOutput

func (LookupRegistryResultOutput) ToLookupRegistryResultOutputWithContext added in v0.8.0

func (o LookupRegistryResultOutput) ToLookupRegistryResultOutputWithContext(ctx context.Context) LookupRegistryResultOutput

type MqttConfig

type MqttConfig struct {
	// If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.
	MqttEnabledState *MqttConfigMqttEnabledState `pulumi:"mqttEnabledState"`
}

The configuration of MQTT for a device registry.

type MqttConfigArgs

type MqttConfigArgs struct {
	// If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.
	MqttEnabledState MqttConfigMqttEnabledStatePtrInput `pulumi:"mqttEnabledState"`
}

The configuration of MQTT for a device registry.

func (MqttConfigArgs) ElementType

func (MqttConfigArgs) ElementType() reflect.Type

func (MqttConfigArgs) ToMqttConfigOutput

func (i MqttConfigArgs) ToMqttConfigOutput() MqttConfigOutput

func (MqttConfigArgs) ToMqttConfigOutputWithContext

func (i MqttConfigArgs) ToMqttConfigOutputWithContext(ctx context.Context) MqttConfigOutput

func (MqttConfigArgs) ToMqttConfigPtrOutput

func (i MqttConfigArgs) ToMqttConfigPtrOutput() MqttConfigPtrOutput

func (MqttConfigArgs) ToMqttConfigPtrOutputWithContext

func (i MqttConfigArgs) ToMqttConfigPtrOutputWithContext(ctx context.Context) MqttConfigPtrOutput

type MqttConfigInput

type MqttConfigInput interface {
	pulumi.Input

	ToMqttConfigOutput() MqttConfigOutput
	ToMqttConfigOutputWithContext(context.Context) MqttConfigOutput
}

MqttConfigInput is an input type that accepts MqttConfigArgs and MqttConfigOutput values. You can construct a concrete instance of `MqttConfigInput` via:

MqttConfigArgs{...}

type MqttConfigMqttEnabledState added in v0.4.0

type MqttConfigMqttEnabledState string

If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.

func (MqttConfigMqttEnabledState) ElementType added in v0.4.0

func (MqttConfigMqttEnabledState) ElementType() reflect.Type

func (MqttConfigMqttEnabledState) ToMqttConfigMqttEnabledStateOutput added in v0.6.0

func (e MqttConfigMqttEnabledState) ToMqttConfigMqttEnabledStateOutput() MqttConfigMqttEnabledStateOutput

func (MqttConfigMqttEnabledState) ToMqttConfigMqttEnabledStateOutputWithContext added in v0.6.0

func (e MqttConfigMqttEnabledState) ToMqttConfigMqttEnabledStateOutputWithContext(ctx context.Context) MqttConfigMqttEnabledStateOutput

func (MqttConfigMqttEnabledState) ToMqttConfigMqttEnabledStatePtrOutput added in v0.6.0

func (e MqttConfigMqttEnabledState) ToMqttConfigMqttEnabledStatePtrOutput() MqttConfigMqttEnabledStatePtrOutput

func (MqttConfigMqttEnabledState) ToMqttConfigMqttEnabledStatePtrOutputWithContext added in v0.6.0

func (e MqttConfigMqttEnabledState) ToMqttConfigMqttEnabledStatePtrOutputWithContext(ctx context.Context) MqttConfigMqttEnabledStatePtrOutput

func (MqttConfigMqttEnabledState) ToStringOutput added in v0.4.0

func (e MqttConfigMqttEnabledState) ToStringOutput() pulumi.StringOutput

func (MqttConfigMqttEnabledState) ToStringOutputWithContext added in v0.4.0

func (e MqttConfigMqttEnabledState) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (MqttConfigMqttEnabledState) ToStringPtrOutput added in v0.4.0

func (e MqttConfigMqttEnabledState) ToStringPtrOutput() pulumi.StringPtrOutput

func (MqttConfigMqttEnabledState) ToStringPtrOutputWithContext added in v0.4.0

func (e MqttConfigMqttEnabledState) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type MqttConfigMqttEnabledStateInput added in v0.6.0

type MqttConfigMqttEnabledStateInput interface {
	pulumi.Input

	ToMqttConfigMqttEnabledStateOutput() MqttConfigMqttEnabledStateOutput
	ToMqttConfigMqttEnabledStateOutputWithContext(context.Context) MqttConfigMqttEnabledStateOutput
}

MqttConfigMqttEnabledStateInput is an input type that accepts MqttConfigMqttEnabledStateArgs and MqttConfigMqttEnabledStateOutput values. You can construct a concrete instance of `MqttConfigMqttEnabledStateInput` via:

MqttConfigMqttEnabledStateArgs{...}

type MqttConfigMqttEnabledStateOutput added in v0.6.0

type MqttConfigMqttEnabledStateOutput struct{ *pulumi.OutputState }

func (MqttConfigMqttEnabledStateOutput) ElementType added in v0.6.0

func (MqttConfigMqttEnabledStateOutput) ToMqttConfigMqttEnabledStateOutput added in v0.6.0

func (o MqttConfigMqttEnabledStateOutput) ToMqttConfigMqttEnabledStateOutput() MqttConfigMqttEnabledStateOutput

func (MqttConfigMqttEnabledStateOutput) ToMqttConfigMqttEnabledStateOutputWithContext added in v0.6.0

func (o MqttConfigMqttEnabledStateOutput) ToMqttConfigMqttEnabledStateOutputWithContext(ctx context.Context) MqttConfigMqttEnabledStateOutput

func (MqttConfigMqttEnabledStateOutput) ToMqttConfigMqttEnabledStatePtrOutput added in v0.6.0

func (o MqttConfigMqttEnabledStateOutput) ToMqttConfigMqttEnabledStatePtrOutput() MqttConfigMqttEnabledStatePtrOutput

func (MqttConfigMqttEnabledStateOutput) ToMqttConfigMqttEnabledStatePtrOutputWithContext added in v0.6.0

func (o MqttConfigMqttEnabledStateOutput) ToMqttConfigMqttEnabledStatePtrOutputWithContext(ctx context.Context) MqttConfigMqttEnabledStatePtrOutput

func (MqttConfigMqttEnabledStateOutput) ToStringOutput added in v0.6.0

func (MqttConfigMqttEnabledStateOutput) ToStringOutputWithContext added in v0.6.0

func (o MqttConfigMqttEnabledStateOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (MqttConfigMqttEnabledStateOutput) ToStringPtrOutput added in v0.6.0

func (MqttConfigMqttEnabledStateOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o MqttConfigMqttEnabledStateOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type MqttConfigMqttEnabledStatePtrInput added in v0.6.0

type MqttConfigMqttEnabledStatePtrInput interface {
	pulumi.Input

	ToMqttConfigMqttEnabledStatePtrOutput() MqttConfigMqttEnabledStatePtrOutput
	ToMqttConfigMqttEnabledStatePtrOutputWithContext(context.Context) MqttConfigMqttEnabledStatePtrOutput
}

func MqttConfigMqttEnabledStatePtr added in v0.6.0

func MqttConfigMqttEnabledStatePtr(v string) MqttConfigMqttEnabledStatePtrInput

type MqttConfigMqttEnabledStatePtrOutput added in v0.6.0

type MqttConfigMqttEnabledStatePtrOutput struct{ *pulumi.OutputState }

func (MqttConfigMqttEnabledStatePtrOutput) Elem added in v0.6.0

func (MqttConfigMqttEnabledStatePtrOutput) ElementType added in v0.6.0

func (MqttConfigMqttEnabledStatePtrOutput) ToMqttConfigMqttEnabledStatePtrOutput added in v0.6.0

func (o MqttConfigMqttEnabledStatePtrOutput) ToMqttConfigMqttEnabledStatePtrOutput() MqttConfigMqttEnabledStatePtrOutput

func (MqttConfigMqttEnabledStatePtrOutput) ToMqttConfigMqttEnabledStatePtrOutputWithContext added in v0.6.0

func (o MqttConfigMqttEnabledStatePtrOutput) ToMqttConfigMqttEnabledStatePtrOutputWithContext(ctx context.Context) MqttConfigMqttEnabledStatePtrOutput

func (MqttConfigMqttEnabledStatePtrOutput) ToStringPtrOutput added in v0.6.0

func (MqttConfigMqttEnabledStatePtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o MqttConfigMqttEnabledStatePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type MqttConfigOutput

type MqttConfigOutput struct{ *pulumi.OutputState }

The configuration of MQTT for a device registry.

func (MqttConfigOutput) ElementType

func (MqttConfigOutput) ElementType() reflect.Type

func (MqttConfigOutput) MqttEnabledState

If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.

func (MqttConfigOutput) ToMqttConfigOutput

func (o MqttConfigOutput) ToMqttConfigOutput() MqttConfigOutput

func (MqttConfigOutput) ToMqttConfigOutputWithContext

func (o MqttConfigOutput) ToMqttConfigOutputWithContext(ctx context.Context) MqttConfigOutput

func (MqttConfigOutput) ToMqttConfigPtrOutput

func (o MqttConfigOutput) ToMqttConfigPtrOutput() MqttConfigPtrOutput

func (MqttConfigOutput) ToMqttConfigPtrOutputWithContext

func (o MqttConfigOutput) ToMqttConfigPtrOutputWithContext(ctx context.Context) MqttConfigPtrOutput

type MqttConfigPtrInput

type MqttConfigPtrInput interface {
	pulumi.Input

	ToMqttConfigPtrOutput() MqttConfigPtrOutput
	ToMqttConfigPtrOutputWithContext(context.Context) MqttConfigPtrOutput
}

MqttConfigPtrInput is an input type that accepts MqttConfigArgs, MqttConfigPtr and MqttConfigPtrOutput values. You can construct a concrete instance of `MqttConfigPtrInput` via:

        MqttConfigArgs{...}

or:

        nil

func MqttConfigPtr

func MqttConfigPtr(v *MqttConfigArgs) MqttConfigPtrInput

type MqttConfigPtrOutput

type MqttConfigPtrOutput struct{ *pulumi.OutputState }

func (MqttConfigPtrOutput) Elem

func (MqttConfigPtrOutput) ElementType

func (MqttConfigPtrOutput) ElementType() reflect.Type

func (MqttConfigPtrOutput) MqttEnabledState

If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.

func (MqttConfigPtrOutput) ToMqttConfigPtrOutput

func (o MqttConfigPtrOutput) ToMqttConfigPtrOutput() MqttConfigPtrOutput

func (MqttConfigPtrOutput) ToMqttConfigPtrOutputWithContext

func (o MqttConfigPtrOutput) ToMqttConfigPtrOutputWithContext(ctx context.Context) MqttConfigPtrOutput

type MqttConfigResponse

type MqttConfigResponse struct {
	// If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.
	MqttEnabledState string `pulumi:"mqttEnabledState"`
}

The configuration of MQTT for a device registry.

type MqttConfigResponseOutput

type MqttConfigResponseOutput struct{ *pulumi.OutputState }

The configuration of MQTT for a device registry.

func (MqttConfigResponseOutput) ElementType

func (MqttConfigResponseOutput) ElementType() reflect.Type

func (MqttConfigResponseOutput) MqttEnabledState

func (o MqttConfigResponseOutput) MqttEnabledState() pulumi.StringOutput

If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail.

func (MqttConfigResponseOutput) ToMqttConfigResponseOutput

func (o MqttConfigResponseOutput) ToMqttConfigResponseOutput() MqttConfigResponseOutput

func (MqttConfigResponseOutput) ToMqttConfigResponseOutputWithContext

func (o MqttConfigResponseOutput) ToMqttConfigResponseOutputWithContext(ctx context.Context) MqttConfigResponseOutput

type PublicKeyCertificate

type PublicKeyCertificate struct {
	// The certificate data.
	Certificate *string `pulumi:"certificate"`
	// The certificate format.
	Format *PublicKeyCertificateFormat `pulumi:"format"`
}

A public key certificate format and data.

type PublicKeyCertificateArgs

type PublicKeyCertificateArgs struct {
	// The certificate data.
	Certificate pulumi.StringPtrInput `pulumi:"certificate"`
	// The certificate format.
	Format PublicKeyCertificateFormatPtrInput `pulumi:"format"`
}

A public key certificate format and data.

func (PublicKeyCertificateArgs) ElementType

func (PublicKeyCertificateArgs) ElementType() reflect.Type

func (PublicKeyCertificateArgs) ToPublicKeyCertificateOutput

func (i PublicKeyCertificateArgs) ToPublicKeyCertificateOutput() PublicKeyCertificateOutput

func (PublicKeyCertificateArgs) ToPublicKeyCertificateOutputWithContext

func (i PublicKeyCertificateArgs) ToPublicKeyCertificateOutputWithContext(ctx context.Context) PublicKeyCertificateOutput

func (PublicKeyCertificateArgs) ToPublicKeyCertificatePtrOutput

func (i PublicKeyCertificateArgs) ToPublicKeyCertificatePtrOutput() PublicKeyCertificatePtrOutput

func (PublicKeyCertificateArgs) ToPublicKeyCertificatePtrOutputWithContext

func (i PublicKeyCertificateArgs) ToPublicKeyCertificatePtrOutputWithContext(ctx context.Context) PublicKeyCertificatePtrOutput

type PublicKeyCertificateFormat added in v0.4.0

type PublicKeyCertificateFormat string

The certificate format.

func (PublicKeyCertificateFormat) ElementType added in v0.4.0

func (PublicKeyCertificateFormat) ElementType() reflect.Type

func (PublicKeyCertificateFormat) ToPublicKeyCertificateFormatOutput added in v0.6.0

func (e PublicKeyCertificateFormat) ToPublicKeyCertificateFormatOutput() PublicKeyCertificateFormatOutput

func (PublicKeyCertificateFormat) ToPublicKeyCertificateFormatOutputWithContext added in v0.6.0

func (e PublicKeyCertificateFormat) ToPublicKeyCertificateFormatOutputWithContext(ctx context.Context) PublicKeyCertificateFormatOutput

func (PublicKeyCertificateFormat) ToPublicKeyCertificateFormatPtrOutput added in v0.6.0

func (e PublicKeyCertificateFormat) ToPublicKeyCertificateFormatPtrOutput() PublicKeyCertificateFormatPtrOutput

func (PublicKeyCertificateFormat) ToPublicKeyCertificateFormatPtrOutputWithContext added in v0.6.0

func (e PublicKeyCertificateFormat) ToPublicKeyCertificateFormatPtrOutputWithContext(ctx context.Context) PublicKeyCertificateFormatPtrOutput

func (PublicKeyCertificateFormat) ToStringOutput added in v0.4.0

func (e PublicKeyCertificateFormat) ToStringOutput() pulumi.StringOutput

func (PublicKeyCertificateFormat) ToStringOutputWithContext added in v0.4.0

func (e PublicKeyCertificateFormat) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (PublicKeyCertificateFormat) ToStringPtrOutput added in v0.4.0

func (e PublicKeyCertificateFormat) ToStringPtrOutput() pulumi.StringPtrOutput

func (PublicKeyCertificateFormat) ToStringPtrOutputWithContext added in v0.4.0

func (e PublicKeyCertificateFormat) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type PublicKeyCertificateFormatInput added in v0.6.0

type PublicKeyCertificateFormatInput interface {
	pulumi.Input

	ToPublicKeyCertificateFormatOutput() PublicKeyCertificateFormatOutput
	ToPublicKeyCertificateFormatOutputWithContext(context.Context) PublicKeyCertificateFormatOutput
}

PublicKeyCertificateFormatInput is an input type that accepts PublicKeyCertificateFormatArgs and PublicKeyCertificateFormatOutput values. You can construct a concrete instance of `PublicKeyCertificateFormatInput` via:

PublicKeyCertificateFormatArgs{...}

type PublicKeyCertificateFormatOutput added in v0.6.0

type PublicKeyCertificateFormatOutput struct{ *pulumi.OutputState }

func (PublicKeyCertificateFormatOutput) ElementType added in v0.6.0

func (PublicKeyCertificateFormatOutput) ToPublicKeyCertificateFormatOutput added in v0.6.0

func (o PublicKeyCertificateFormatOutput) ToPublicKeyCertificateFormatOutput() PublicKeyCertificateFormatOutput

func (PublicKeyCertificateFormatOutput) ToPublicKeyCertificateFormatOutputWithContext added in v0.6.0

func (o PublicKeyCertificateFormatOutput) ToPublicKeyCertificateFormatOutputWithContext(ctx context.Context) PublicKeyCertificateFormatOutput

func (PublicKeyCertificateFormatOutput) ToPublicKeyCertificateFormatPtrOutput added in v0.6.0

func (o PublicKeyCertificateFormatOutput) ToPublicKeyCertificateFormatPtrOutput() PublicKeyCertificateFormatPtrOutput

func (PublicKeyCertificateFormatOutput) ToPublicKeyCertificateFormatPtrOutputWithContext added in v0.6.0

func (o PublicKeyCertificateFormatOutput) ToPublicKeyCertificateFormatPtrOutputWithContext(ctx context.Context) PublicKeyCertificateFormatPtrOutput

func (PublicKeyCertificateFormatOutput) ToStringOutput added in v0.6.0

func (PublicKeyCertificateFormatOutput) ToStringOutputWithContext added in v0.6.0

func (o PublicKeyCertificateFormatOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (PublicKeyCertificateFormatOutput) ToStringPtrOutput added in v0.6.0

func (PublicKeyCertificateFormatOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o PublicKeyCertificateFormatOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type PublicKeyCertificateFormatPtrInput added in v0.6.0

type PublicKeyCertificateFormatPtrInput interface {
	pulumi.Input

	ToPublicKeyCertificateFormatPtrOutput() PublicKeyCertificateFormatPtrOutput
	ToPublicKeyCertificateFormatPtrOutputWithContext(context.Context) PublicKeyCertificateFormatPtrOutput
}

func PublicKeyCertificateFormatPtr added in v0.6.0

func PublicKeyCertificateFormatPtr(v string) PublicKeyCertificateFormatPtrInput

type PublicKeyCertificateFormatPtrOutput added in v0.6.0

type PublicKeyCertificateFormatPtrOutput struct{ *pulumi.OutputState }

func (PublicKeyCertificateFormatPtrOutput) Elem added in v0.6.0

func (PublicKeyCertificateFormatPtrOutput) ElementType added in v0.6.0

func (PublicKeyCertificateFormatPtrOutput) ToPublicKeyCertificateFormatPtrOutput added in v0.6.0

func (o PublicKeyCertificateFormatPtrOutput) ToPublicKeyCertificateFormatPtrOutput() PublicKeyCertificateFormatPtrOutput

func (PublicKeyCertificateFormatPtrOutput) ToPublicKeyCertificateFormatPtrOutputWithContext added in v0.6.0

func (o PublicKeyCertificateFormatPtrOutput) ToPublicKeyCertificateFormatPtrOutputWithContext(ctx context.Context) PublicKeyCertificateFormatPtrOutput

func (PublicKeyCertificateFormatPtrOutput) ToStringPtrOutput added in v0.6.0

func (PublicKeyCertificateFormatPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o PublicKeyCertificateFormatPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type PublicKeyCertificateInput

type PublicKeyCertificateInput interface {
	pulumi.Input

	ToPublicKeyCertificateOutput() PublicKeyCertificateOutput
	ToPublicKeyCertificateOutputWithContext(context.Context) PublicKeyCertificateOutput
}

PublicKeyCertificateInput is an input type that accepts PublicKeyCertificateArgs and PublicKeyCertificateOutput values. You can construct a concrete instance of `PublicKeyCertificateInput` via:

PublicKeyCertificateArgs{...}

type PublicKeyCertificateOutput

type PublicKeyCertificateOutput struct{ *pulumi.OutputState }

A public key certificate format and data.

func (PublicKeyCertificateOutput) Certificate

The certificate data.

func (PublicKeyCertificateOutput) ElementType

func (PublicKeyCertificateOutput) ElementType() reflect.Type

func (PublicKeyCertificateOutput) Format

The certificate format.

func (PublicKeyCertificateOutput) ToPublicKeyCertificateOutput

func (o PublicKeyCertificateOutput) ToPublicKeyCertificateOutput() PublicKeyCertificateOutput

func (PublicKeyCertificateOutput) ToPublicKeyCertificateOutputWithContext

func (o PublicKeyCertificateOutput) ToPublicKeyCertificateOutputWithContext(ctx context.Context) PublicKeyCertificateOutput

func (PublicKeyCertificateOutput) ToPublicKeyCertificatePtrOutput

func (o PublicKeyCertificateOutput) ToPublicKeyCertificatePtrOutput() PublicKeyCertificatePtrOutput

func (PublicKeyCertificateOutput) ToPublicKeyCertificatePtrOutputWithContext

func (o PublicKeyCertificateOutput) ToPublicKeyCertificatePtrOutputWithContext(ctx context.Context) PublicKeyCertificatePtrOutput

type PublicKeyCertificatePtrInput

type PublicKeyCertificatePtrInput interface {
	pulumi.Input

	ToPublicKeyCertificatePtrOutput() PublicKeyCertificatePtrOutput
	ToPublicKeyCertificatePtrOutputWithContext(context.Context) PublicKeyCertificatePtrOutput
}

PublicKeyCertificatePtrInput is an input type that accepts PublicKeyCertificateArgs, PublicKeyCertificatePtr and PublicKeyCertificatePtrOutput values. You can construct a concrete instance of `PublicKeyCertificatePtrInput` via:

        PublicKeyCertificateArgs{...}

or:

        nil

type PublicKeyCertificatePtrOutput

type PublicKeyCertificatePtrOutput struct{ *pulumi.OutputState }

func (PublicKeyCertificatePtrOutput) Certificate

The certificate data.

func (PublicKeyCertificatePtrOutput) Elem

func (PublicKeyCertificatePtrOutput) ElementType

func (PublicKeyCertificatePtrOutput) Format

The certificate format.

func (PublicKeyCertificatePtrOutput) ToPublicKeyCertificatePtrOutput

func (o PublicKeyCertificatePtrOutput) ToPublicKeyCertificatePtrOutput() PublicKeyCertificatePtrOutput

func (PublicKeyCertificatePtrOutput) ToPublicKeyCertificatePtrOutputWithContext

func (o PublicKeyCertificatePtrOutput) ToPublicKeyCertificatePtrOutputWithContext(ctx context.Context) PublicKeyCertificatePtrOutput

type PublicKeyCertificateResponse

type PublicKeyCertificateResponse struct {
	// The certificate data.
	Certificate string `pulumi:"certificate"`
	// The certificate format.
	Format string `pulumi:"format"`
	// [Output only] The certificate details. Used only for X.509 certificates.
	X509Details X509CertificateDetailsResponse `pulumi:"x509Details"`
}

A public key certificate format and data.

type PublicKeyCertificateResponseOutput

type PublicKeyCertificateResponseOutput struct{ *pulumi.OutputState }

A public key certificate format and data.

func (PublicKeyCertificateResponseOutput) Certificate

The certificate data.

func (PublicKeyCertificateResponseOutput) ElementType

func (PublicKeyCertificateResponseOutput) Format

The certificate format.

func (PublicKeyCertificateResponseOutput) ToPublicKeyCertificateResponseOutput

func (o PublicKeyCertificateResponseOutput) ToPublicKeyCertificateResponseOutput() PublicKeyCertificateResponseOutput

func (PublicKeyCertificateResponseOutput) ToPublicKeyCertificateResponseOutputWithContext

func (o PublicKeyCertificateResponseOutput) ToPublicKeyCertificateResponseOutputWithContext(ctx context.Context) PublicKeyCertificateResponseOutput

func (PublicKeyCertificateResponseOutput) X509Details

[Output only] The certificate details. Used only for X.509 certificates.

type PublicKeyCredential

type PublicKeyCredential struct {
	// The format of the key.
	Format *PublicKeyCredentialFormat `pulumi:"format"`
	// The key data.
	Key *string `pulumi:"key"`
}

A public key format and data.

type PublicKeyCredentialArgs

type PublicKeyCredentialArgs struct {
	// The format of the key.
	Format PublicKeyCredentialFormatPtrInput `pulumi:"format"`
	// The key data.
	Key pulumi.StringPtrInput `pulumi:"key"`
}

A public key format and data.

func (PublicKeyCredentialArgs) ElementType

func (PublicKeyCredentialArgs) ElementType() reflect.Type

func (PublicKeyCredentialArgs) ToPublicKeyCredentialOutput

func (i PublicKeyCredentialArgs) ToPublicKeyCredentialOutput() PublicKeyCredentialOutput

func (PublicKeyCredentialArgs) ToPublicKeyCredentialOutputWithContext

func (i PublicKeyCredentialArgs) ToPublicKeyCredentialOutputWithContext(ctx context.Context) PublicKeyCredentialOutput

func (PublicKeyCredentialArgs) ToPublicKeyCredentialPtrOutput

func (i PublicKeyCredentialArgs) ToPublicKeyCredentialPtrOutput() PublicKeyCredentialPtrOutput

func (PublicKeyCredentialArgs) ToPublicKeyCredentialPtrOutputWithContext

func (i PublicKeyCredentialArgs) ToPublicKeyCredentialPtrOutputWithContext(ctx context.Context) PublicKeyCredentialPtrOutput

type PublicKeyCredentialFormat added in v0.4.0

type PublicKeyCredentialFormat string

The format of the key.

func (PublicKeyCredentialFormat) ElementType added in v0.4.0

func (PublicKeyCredentialFormat) ElementType() reflect.Type

func (PublicKeyCredentialFormat) ToPublicKeyCredentialFormatOutput added in v0.6.0

func (e PublicKeyCredentialFormat) ToPublicKeyCredentialFormatOutput() PublicKeyCredentialFormatOutput

func (PublicKeyCredentialFormat) ToPublicKeyCredentialFormatOutputWithContext added in v0.6.0

func (e PublicKeyCredentialFormat) ToPublicKeyCredentialFormatOutputWithContext(ctx context.Context) PublicKeyCredentialFormatOutput

func (PublicKeyCredentialFormat) ToPublicKeyCredentialFormatPtrOutput added in v0.6.0

func (e PublicKeyCredentialFormat) ToPublicKeyCredentialFormatPtrOutput() PublicKeyCredentialFormatPtrOutput

func (PublicKeyCredentialFormat) ToPublicKeyCredentialFormatPtrOutputWithContext added in v0.6.0

func (e PublicKeyCredentialFormat) ToPublicKeyCredentialFormatPtrOutputWithContext(ctx context.Context) PublicKeyCredentialFormatPtrOutput

func (PublicKeyCredentialFormat) ToStringOutput added in v0.4.0

func (e PublicKeyCredentialFormat) ToStringOutput() pulumi.StringOutput

func (PublicKeyCredentialFormat) ToStringOutputWithContext added in v0.4.0

func (e PublicKeyCredentialFormat) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (PublicKeyCredentialFormat) ToStringPtrOutput added in v0.4.0

func (e PublicKeyCredentialFormat) ToStringPtrOutput() pulumi.StringPtrOutput

func (PublicKeyCredentialFormat) ToStringPtrOutputWithContext added in v0.4.0

func (e PublicKeyCredentialFormat) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type PublicKeyCredentialFormatInput added in v0.6.0

type PublicKeyCredentialFormatInput interface {
	pulumi.Input

	ToPublicKeyCredentialFormatOutput() PublicKeyCredentialFormatOutput
	ToPublicKeyCredentialFormatOutputWithContext(context.Context) PublicKeyCredentialFormatOutput
}

PublicKeyCredentialFormatInput is an input type that accepts PublicKeyCredentialFormatArgs and PublicKeyCredentialFormatOutput values. You can construct a concrete instance of `PublicKeyCredentialFormatInput` via:

PublicKeyCredentialFormatArgs{...}

type PublicKeyCredentialFormatOutput added in v0.6.0

type PublicKeyCredentialFormatOutput struct{ *pulumi.OutputState }

func (PublicKeyCredentialFormatOutput) ElementType added in v0.6.0

func (PublicKeyCredentialFormatOutput) ToPublicKeyCredentialFormatOutput added in v0.6.0

func (o PublicKeyCredentialFormatOutput) ToPublicKeyCredentialFormatOutput() PublicKeyCredentialFormatOutput

func (PublicKeyCredentialFormatOutput) ToPublicKeyCredentialFormatOutputWithContext added in v0.6.0

func (o PublicKeyCredentialFormatOutput) ToPublicKeyCredentialFormatOutputWithContext(ctx context.Context) PublicKeyCredentialFormatOutput

func (PublicKeyCredentialFormatOutput) ToPublicKeyCredentialFormatPtrOutput added in v0.6.0

func (o PublicKeyCredentialFormatOutput) ToPublicKeyCredentialFormatPtrOutput() PublicKeyCredentialFormatPtrOutput

func (PublicKeyCredentialFormatOutput) ToPublicKeyCredentialFormatPtrOutputWithContext added in v0.6.0

func (o PublicKeyCredentialFormatOutput) ToPublicKeyCredentialFormatPtrOutputWithContext(ctx context.Context) PublicKeyCredentialFormatPtrOutput

func (PublicKeyCredentialFormatOutput) ToStringOutput added in v0.6.0

func (PublicKeyCredentialFormatOutput) ToStringOutputWithContext added in v0.6.0

func (o PublicKeyCredentialFormatOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (PublicKeyCredentialFormatOutput) ToStringPtrOutput added in v0.6.0

func (PublicKeyCredentialFormatOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o PublicKeyCredentialFormatOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type PublicKeyCredentialFormatPtrInput added in v0.6.0

type PublicKeyCredentialFormatPtrInput interface {
	pulumi.Input

	ToPublicKeyCredentialFormatPtrOutput() PublicKeyCredentialFormatPtrOutput
	ToPublicKeyCredentialFormatPtrOutputWithContext(context.Context) PublicKeyCredentialFormatPtrOutput
}

func PublicKeyCredentialFormatPtr added in v0.6.0

func PublicKeyCredentialFormatPtr(v string) PublicKeyCredentialFormatPtrInput

type PublicKeyCredentialFormatPtrOutput added in v0.6.0

type PublicKeyCredentialFormatPtrOutput struct{ *pulumi.OutputState }

func (PublicKeyCredentialFormatPtrOutput) Elem added in v0.6.0

func (PublicKeyCredentialFormatPtrOutput) ElementType added in v0.6.0

func (PublicKeyCredentialFormatPtrOutput) ToPublicKeyCredentialFormatPtrOutput added in v0.6.0

func (o PublicKeyCredentialFormatPtrOutput) ToPublicKeyCredentialFormatPtrOutput() PublicKeyCredentialFormatPtrOutput

func (PublicKeyCredentialFormatPtrOutput) ToPublicKeyCredentialFormatPtrOutputWithContext added in v0.6.0

func (o PublicKeyCredentialFormatPtrOutput) ToPublicKeyCredentialFormatPtrOutputWithContext(ctx context.Context) PublicKeyCredentialFormatPtrOutput

func (PublicKeyCredentialFormatPtrOutput) ToStringPtrOutput added in v0.6.0

func (PublicKeyCredentialFormatPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o PublicKeyCredentialFormatPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type PublicKeyCredentialInput

type PublicKeyCredentialInput interface {
	pulumi.Input

	ToPublicKeyCredentialOutput() PublicKeyCredentialOutput
	ToPublicKeyCredentialOutputWithContext(context.Context) PublicKeyCredentialOutput
}

PublicKeyCredentialInput is an input type that accepts PublicKeyCredentialArgs and PublicKeyCredentialOutput values. You can construct a concrete instance of `PublicKeyCredentialInput` via:

PublicKeyCredentialArgs{...}

type PublicKeyCredentialOutput

type PublicKeyCredentialOutput struct{ *pulumi.OutputState }

A public key format and data.

func (PublicKeyCredentialOutput) ElementType

func (PublicKeyCredentialOutput) ElementType() reflect.Type

func (PublicKeyCredentialOutput) Format

The format of the key.

func (PublicKeyCredentialOutput) Key

The key data.

func (PublicKeyCredentialOutput) ToPublicKeyCredentialOutput

func (o PublicKeyCredentialOutput) ToPublicKeyCredentialOutput() PublicKeyCredentialOutput

func (PublicKeyCredentialOutput) ToPublicKeyCredentialOutputWithContext

func (o PublicKeyCredentialOutput) ToPublicKeyCredentialOutputWithContext(ctx context.Context) PublicKeyCredentialOutput

func (PublicKeyCredentialOutput) ToPublicKeyCredentialPtrOutput

func (o PublicKeyCredentialOutput) ToPublicKeyCredentialPtrOutput() PublicKeyCredentialPtrOutput

func (PublicKeyCredentialOutput) ToPublicKeyCredentialPtrOutputWithContext

func (o PublicKeyCredentialOutput) ToPublicKeyCredentialPtrOutputWithContext(ctx context.Context) PublicKeyCredentialPtrOutput

type PublicKeyCredentialPtrInput

type PublicKeyCredentialPtrInput interface {
	pulumi.Input

	ToPublicKeyCredentialPtrOutput() PublicKeyCredentialPtrOutput
	ToPublicKeyCredentialPtrOutputWithContext(context.Context) PublicKeyCredentialPtrOutput
}

PublicKeyCredentialPtrInput is an input type that accepts PublicKeyCredentialArgs, PublicKeyCredentialPtr and PublicKeyCredentialPtrOutput values. You can construct a concrete instance of `PublicKeyCredentialPtrInput` via:

        PublicKeyCredentialArgs{...}

or:

        nil

type PublicKeyCredentialPtrOutput

type PublicKeyCredentialPtrOutput struct{ *pulumi.OutputState }

func (PublicKeyCredentialPtrOutput) Elem

func (PublicKeyCredentialPtrOutput) ElementType

func (PublicKeyCredentialPtrOutput) Format

The format of the key.

func (PublicKeyCredentialPtrOutput) Key

The key data.

func (PublicKeyCredentialPtrOutput) ToPublicKeyCredentialPtrOutput

func (o PublicKeyCredentialPtrOutput) ToPublicKeyCredentialPtrOutput() PublicKeyCredentialPtrOutput

func (PublicKeyCredentialPtrOutput) ToPublicKeyCredentialPtrOutputWithContext

func (o PublicKeyCredentialPtrOutput) ToPublicKeyCredentialPtrOutputWithContext(ctx context.Context) PublicKeyCredentialPtrOutput

type PublicKeyCredentialResponse

type PublicKeyCredentialResponse struct {
	// The format of the key.
	Format string `pulumi:"format"`
	// The key data.
	Key string `pulumi:"key"`
}

A public key format and data.

type PublicKeyCredentialResponseOutput

type PublicKeyCredentialResponseOutput struct{ *pulumi.OutputState }

A public key format and data.

func (PublicKeyCredentialResponseOutput) ElementType

func (PublicKeyCredentialResponseOutput) Format

The format of the key.

func (PublicKeyCredentialResponseOutput) Key

The key data.

func (PublicKeyCredentialResponseOutput) ToPublicKeyCredentialResponseOutput

func (o PublicKeyCredentialResponseOutput) ToPublicKeyCredentialResponseOutput() PublicKeyCredentialResponseOutput

func (PublicKeyCredentialResponseOutput) ToPublicKeyCredentialResponseOutputWithContext

func (o PublicKeyCredentialResponseOutput) ToPublicKeyCredentialResponseOutputWithContext(ctx context.Context) PublicKeyCredentialResponseOutput

type Registry

type Registry struct {
	pulumi.CustomResourceState

	// 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.
	Credentials RegistryCredentialResponseArrayOutput `pulumi:"credentials"`
	// 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.
	EventNotificationConfigs EventNotificationConfigResponseArrayOutput `pulumi:"eventNotificationConfigs"`
	// The DeviceService (HTTP) configuration for this device registry.
	HttpConfig HttpConfigResponseOutput `pulumi:"httpConfig"`
	Location   pulumi.StringOutput      `pulumi:"location"`
	// **Beta Feature** The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.
	LogLevel pulumi.StringOutput `pulumi:"logLevel"`
	// The MQTT configuration for this device registry.
	MqttConfig MqttConfigResponseOutput `pulumi:"mqttConfig"`
	// The resource path name. For example, `projects/example-project/locations/us-central1/registries/my-registry`.
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// 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.
	StateNotificationConfig StateNotificationConfigResponseOutput `pulumi:"stateNotificationConfig"`
}

Creates a device registry that contains devices.

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.

func (*Registry) ElementType

func (*Registry) ElementType() reflect.Type

func (*Registry) ToRegistryOutput

func (i *Registry) ToRegistryOutput() RegistryOutput

func (*Registry) ToRegistryOutputWithContext

func (i *Registry) ToRegistryOutputWithContext(ctx context.Context) RegistryOutput

type RegistryArgs

type RegistryArgs struct {
	// 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.
	Credentials RegistryCredentialArrayInput
	// 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.
	EventNotificationConfigs EventNotificationConfigArrayInput
	// The DeviceService (HTTP) configuration for this device registry.
	HttpConfig HttpConfigPtrInput
	// The identifier of this device registry. For example, `myRegistry`.
	Id       pulumi.StringPtrInput
	Location pulumi.StringPtrInput
	// **Beta Feature** The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.
	LogLevel RegistryLogLevelPtrInput
	// The MQTT configuration for this device registry.
	MqttConfig MqttConfigPtrInput
	// The resource path name. For example, `projects/example-project/locations/us-central1/registries/my-registry`.
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// 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.
	StateNotificationConfig StateNotificationConfigPtrInput
}

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 used to verify the device credentials.
	PublicKeyCertificate *PublicKeyCertificate `pulumi:"publicKeyCertificate"`
}

A server-stored registry credential used to validate device credentials.

type RegistryCredentialArgs

type RegistryCredentialArgs struct {
	// A public key certificate used to verify the device credentials.
	PublicKeyCertificate PublicKeyCertificatePtrInput `pulumi:"publicKeyCertificate"`
}

A server-stored registry credential used to validate device credentials.

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 }

A server-stored registry credential used to validate device credentials.

func (RegistryCredentialOutput) ElementType

func (RegistryCredentialOutput) ElementType() reflect.Type

func (RegistryCredentialOutput) PublicKeyCertificate

A public key certificate used to verify the device credentials.

func (RegistryCredentialOutput) ToRegistryCredentialOutput

func (o RegistryCredentialOutput) ToRegistryCredentialOutput() RegistryCredentialOutput

func (RegistryCredentialOutput) ToRegistryCredentialOutputWithContext

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

type RegistryCredentialResponse

type RegistryCredentialResponse struct {
	// A public key certificate used to verify the device credentials.
	PublicKeyCertificate PublicKeyCertificateResponse `pulumi:"publicKeyCertificate"`
}

A server-stored registry credential used to validate device credentials.

type RegistryCredentialResponseArrayOutput

type RegistryCredentialResponseArrayOutput struct{ *pulumi.OutputState }

func (RegistryCredentialResponseArrayOutput) ElementType

func (RegistryCredentialResponseArrayOutput) Index

func (RegistryCredentialResponseArrayOutput) ToRegistryCredentialResponseArrayOutput

func (o RegistryCredentialResponseArrayOutput) ToRegistryCredentialResponseArrayOutput() RegistryCredentialResponseArrayOutput

func (RegistryCredentialResponseArrayOutput) ToRegistryCredentialResponseArrayOutputWithContext

func (o RegistryCredentialResponseArrayOutput) ToRegistryCredentialResponseArrayOutputWithContext(ctx context.Context) RegistryCredentialResponseArrayOutput

type RegistryCredentialResponseOutput

type RegistryCredentialResponseOutput struct{ *pulumi.OutputState }

A server-stored registry credential used to validate device credentials.

func (RegistryCredentialResponseOutput) ElementType

func (RegistryCredentialResponseOutput) PublicKeyCertificate

A public key certificate used to verify the device credentials.

func (RegistryCredentialResponseOutput) ToRegistryCredentialResponseOutput

func (o RegistryCredentialResponseOutput) ToRegistryCredentialResponseOutput() RegistryCredentialResponseOutput

func (RegistryCredentialResponseOutput) ToRegistryCredentialResponseOutputWithContext

func (o RegistryCredentialResponseOutput) ToRegistryCredentialResponseOutputWithContext(ctx context.Context) RegistryCredentialResponseOutput

type RegistryGroupIamBinding added in v0.26.0

type RegistryGroupIamBinding struct {
	pulumi.CustomResourceState

	// An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
	Condition iam.ConditionPtrOutput `pulumi:"condition"`
	// The etag of the resource's IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
	Members pulumi.StringArrayOutput `pulumi:"members"`
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project in which the resource belongs. If it is not provided, a default will be supplied.
	Project pulumi.StringOutput `pulumi:"project"`
	// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role pulumi.StringOutput `pulumi:"role"`
}

Sets the access control policy on the specified resource. Replaces any existing policy.

func GetRegistryGroupIamBinding added in v0.26.0

func GetRegistryGroupIamBinding(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RegistryGroupIamBindingState, opts ...pulumi.ResourceOption) (*RegistryGroupIamBinding, error)

GetRegistryGroupIamBinding gets an existing RegistryGroupIamBinding 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 NewRegistryGroupIamBinding added in v0.26.0

func NewRegistryGroupIamBinding(ctx *pulumi.Context,
	name string, args *RegistryGroupIamBindingArgs, opts ...pulumi.ResourceOption) (*RegistryGroupIamBinding, error)

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

func (*RegistryGroupIamBinding) ElementType added in v0.26.0

func (*RegistryGroupIamBinding) ElementType() reflect.Type

func (*RegistryGroupIamBinding) ToRegistryGroupIamBindingOutput added in v0.26.0

func (i *RegistryGroupIamBinding) ToRegistryGroupIamBindingOutput() RegistryGroupIamBindingOutput

func (*RegistryGroupIamBinding) ToRegistryGroupIamBindingOutputWithContext added in v0.26.0

func (i *RegistryGroupIamBinding) ToRegistryGroupIamBindingOutputWithContext(ctx context.Context) RegistryGroupIamBindingOutput

type RegistryGroupIamBindingArgs added in v0.26.0

type RegistryGroupIamBindingArgs struct {
	// An IAM Condition for a given binding.
	Condition iam.ConditionPtrInput
	// Identities that will be granted the privilege in role. Each entry can have one of the following values:
	//
	//  * user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	//  * serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	//  * group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
	//  * domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	Members pulumi.StringArrayInput
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringInput
	// The role that should be applied. Only one `IamBinding` can be used per role.
	Role pulumi.StringInput
}

The set of arguments for constructing a RegistryGroupIamBinding resource.

func (RegistryGroupIamBindingArgs) ElementType added in v0.26.0

type RegistryGroupIamBindingInput added in v0.26.0

type RegistryGroupIamBindingInput interface {
	pulumi.Input

	ToRegistryGroupIamBindingOutput() RegistryGroupIamBindingOutput
	ToRegistryGroupIamBindingOutputWithContext(ctx context.Context) RegistryGroupIamBindingOutput
}

type RegistryGroupIamBindingOutput added in v0.26.0

type RegistryGroupIamBindingOutput struct{ *pulumi.OutputState }

func (RegistryGroupIamBindingOutput) Condition added in v0.26.0

An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.

func (RegistryGroupIamBindingOutput) ElementType added in v0.26.0

func (RegistryGroupIamBindingOutput) Etag added in v0.26.0

The etag of the resource's IAM policy.

func (RegistryGroupIamBindingOutput) Members added in v0.26.0

Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.

func (RegistryGroupIamBindingOutput) Name added in v0.26.0

The name of the resource to manage IAM policies for.

func (RegistryGroupIamBindingOutput) Project added in v0.26.0

The project in which the resource belongs. If it is not provided, a default will be supplied.

func (RegistryGroupIamBindingOutput) Role added in v0.26.0

Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.

func (RegistryGroupIamBindingOutput) ToRegistryGroupIamBindingOutput added in v0.26.0

func (o RegistryGroupIamBindingOutput) ToRegistryGroupIamBindingOutput() RegistryGroupIamBindingOutput

func (RegistryGroupIamBindingOutput) ToRegistryGroupIamBindingOutputWithContext added in v0.26.0

func (o RegistryGroupIamBindingOutput) ToRegistryGroupIamBindingOutputWithContext(ctx context.Context) RegistryGroupIamBindingOutput

type RegistryGroupIamBindingState added in v0.26.0

type RegistryGroupIamBindingState struct {
}

func (RegistryGroupIamBindingState) ElementType added in v0.26.0

type RegistryGroupIamMember added in v0.26.0

type RegistryGroupIamMember struct {
	pulumi.CustomResourceState

	// An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
	Condition iam.ConditionPtrOutput `pulumi:"condition"`
	// The etag of the resource's IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
	Member pulumi.StringOutput `pulumi:"member"`
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project in which the resource belongs. If it is not provided, a default will be supplied.
	Project pulumi.StringOutput `pulumi:"project"`
	// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role pulumi.StringOutput `pulumi:"role"`
}

Sets the access control policy on the specified resource. Replaces any existing policy.

func GetRegistryGroupIamMember added in v0.26.0

func GetRegistryGroupIamMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RegistryGroupIamMemberState, opts ...pulumi.ResourceOption) (*RegistryGroupIamMember, error)

GetRegistryGroupIamMember gets an existing RegistryGroupIamMember 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 NewRegistryGroupIamMember added in v0.26.0

func NewRegistryGroupIamMember(ctx *pulumi.Context,
	name string, args *RegistryGroupIamMemberArgs, opts ...pulumi.ResourceOption) (*RegistryGroupIamMember, error)

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

func (*RegistryGroupIamMember) ElementType added in v0.26.0

func (*RegistryGroupIamMember) ElementType() reflect.Type

func (*RegistryGroupIamMember) ToRegistryGroupIamMemberOutput added in v0.26.0

func (i *RegistryGroupIamMember) ToRegistryGroupIamMemberOutput() RegistryGroupIamMemberOutput

func (*RegistryGroupIamMember) ToRegistryGroupIamMemberOutputWithContext added in v0.26.0

func (i *RegistryGroupIamMember) ToRegistryGroupIamMemberOutputWithContext(ctx context.Context) RegistryGroupIamMemberOutput

type RegistryGroupIamMemberArgs added in v0.26.0

type RegistryGroupIamMemberArgs struct {
	// An IAM Condition for a given binding.
	Condition iam.ConditionPtrInput
	// Identity that will be granted the privilege in role. The entry can have one of the following values:
	//
	//  * user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	//  * serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	//  * group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
	//  * domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	Member pulumi.StringInput
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringInput
	// The role that should be applied.
	Role pulumi.StringInput
}

The set of arguments for constructing a RegistryGroupIamMember resource.

func (RegistryGroupIamMemberArgs) ElementType added in v0.26.0

func (RegistryGroupIamMemberArgs) ElementType() reflect.Type

type RegistryGroupIamMemberInput added in v0.26.0

type RegistryGroupIamMemberInput interface {
	pulumi.Input

	ToRegistryGroupIamMemberOutput() RegistryGroupIamMemberOutput
	ToRegistryGroupIamMemberOutputWithContext(ctx context.Context) RegistryGroupIamMemberOutput
}

type RegistryGroupIamMemberOutput added in v0.26.0

type RegistryGroupIamMemberOutput struct{ *pulumi.OutputState }

func (RegistryGroupIamMemberOutput) Condition added in v0.26.0

An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.

func (RegistryGroupIamMemberOutput) ElementType added in v0.26.0

func (RegistryGroupIamMemberOutput) Etag added in v0.26.0

The etag of the resource's IAM policy.

func (RegistryGroupIamMemberOutput) Member added in v0.26.0

Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.

func (RegistryGroupIamMemberOutput) Name added in v0.26.0

The name of the resource to manage IAM policies for.

func (RegistryGroupIamMemberOutput) Project added in v0.26.0

The project in which the resource belongs. If it is not provided, a default will be supplied.

func (RegistryGroupIamMemberOutput) Role added in v0.26.0

Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.

func (RegistryGroupIamMemberOutput) ToRegistryGroupIamMemberOutput added in v0.26.0

func (o RegistryGroupIamMemberOutput) ToRegistryGroupIamMemberOutput() RegistryGroupIamMemberOutput

func (RegistryGroupIamMemberOutput) ToRegistryGroupIamMemberOutputWithContext added in v0.26.0

func (o RegistryGroupIamMemberOutput) ToRegistryGroupIamMemberOutputWithContext(ctx context.Context) RegistryGroupIamMemberOutput

type RegistryGroupIamMemberState added in v0.26.0

type RegistryGroupIamMemberState struct {
}

func (RegistryGroupIamMemberState) ElementType added in v0.26.0

type RegistryGroupIamPolicy

type RegistryGroupIamPolicy struct {
	pulumi.CustomResourceState

	// Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
	Bindings BindingResponseArrayOutput `pulumi:"bindings"`
	// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
	Etag       pulumi.StringOutput `pulumi:"etag"`
	GroupId    pulumi.StringOutput `pulumi:"groupId"`
	Location   pulumi.StringOutput `pulumi:"location"`
	Project    pulumi.StringOutput `pulumi:"project"`
	RegistryId pulumi.StringOutput `pulumi:"registryId"`
	// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Version pulumi.IntOutput `pulumi:"version"`
}

Sets the access control policy on the specified resource. Replaces any existing policy. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

func GetRegistryGroupIamPolicy

func GetRegistryGroupIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RegistryGroupIamPolicyState, opts ...pulumi.ResourceOption) (*RegistryGroupIamPolicy, error)

GetRegistryGroupIamPolicy gets an existing RegistryGroupIamPolicy 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 NewRegistryGroupIamPolicy

func NewRegistryGroupIamPolicy(ctx *pulumi.Context,
	name string, args *RegistryGroupIamPolicyArgs, opts ...pulumi.ResourceOption) (*RegistryGroupIamPolicy, error)

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

func (*RegistryGroupIamPolicy) ElementType

func (*RegistryGroupIamPolicy) ElementType() reflect.Type

func (*RegistryGroupIamPolicy) ToRegistryGroupIamPolicyOutput

func (i *RegistryGroupIamPolicy) ToRegistryGroupIamPolicyOutput() RegistryGroupIamPolicyOutput

func (*RegistryGroupIamPolicy) ToRegistryGroupIamPolicyOutputWithContext

func (i *RegistryGroupIamPolicy) ToRegistryGroupIamPolicyOutputWithContext(ctx context.Context) RegistryGroupIamPolicyOutput

type RegistryGroupIamPolicyArgs

type RegistryGroupIamPolicyArgs struct {
	// Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
	Bindings BindingArrayInput
	// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
	Etag       pulumi.StringPtrInput
	GroupId    pulumi.StringInput
	Location   pulumi.StringPtrInput
	Project    pulumi.StringPtrInput
	RegistryId pulumi.StringInput
	// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Version pulumi.IntPtrInput
}

The set of arguments for constructing a RegistryGroupIamPolicy resource.

func (RegistryGroupIamPolicyArgs) ElementType

func (RegistryGroupIamPolicyArgs) ElementType() reflect.Type

type RegistryGroupIamPolicyInput

type RegistryGroupIamPolicyInput interface {
	pulumi.Input

	ToRegistryGroupIamPolicyOutput() RegistryGroupIamPolicyOutput
	ToRegistryGroupIamPolicyOutputWithContext(ctx context.Context) RegistryGroupIamPolicyOutput
}

type RegistryGroupIamPolicyOutput

type RegistryGroupIamPolicyOutput struct{ *pulumi.OutputState }

func (RegistryGroupIamPolicyOutput) Bindings added in v0.19.0

Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.

func (RegistryGroupIamPolicyOutput) ElementType

func (RegistryGroupIamPolicyOutput) Etag added in v0.19.0

`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.

func (RegistryGroupIamPolicyOutput) GroupId added in v0.21.0

func (RegistryGroupIamPolicyOutput) Location added in v0.21.0

func (RegistryGroupIamPolicyOutput) Project added in v0.21.0

func (RegistryGroupIamPolicyOutput) RegistryId added in v0.21.0

func (RegistryGroupIamPolicyOutput) ToRegistryGroupIamPolicyOutput

func (o RegistryGroupIamPolicyOutput) ToRegistryGroupIamPolicyOutput() RegistryGroupIamPolicyOutput

func (RegistryGroupIamPolicyOutput) ToRegistryGroupIamPolicyOutputWithContext

func (o RegistryGroupIamPolicyOutput) ToRegistryGroupIamPolicyOutputWithContext(ctx context.Context) RegistryGroupIamPolicyOutput

func (RegistryGroupIamPolicyOutput) Version added in v0.19.0

Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).

type RegistryGroupIamPolicyState

type RegistryGroupIamPolicyState struct {
}

func (RegistryGroupIamPolicyState) ElementType

type RegistryIamBinding added in v0.26.0

type RegistryIamBinding struct {
	pulumi.CustomResourceState

	// An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
	Condition iam.ConditionPtrOutput `pulumi:"condition"`
	// The etag of the resource's IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
	Members pulumi.StringArrayOutput `pulumi:"members"`
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project in which the resource belongs. If it is not provided, a default will be supplied.
	Project pulumi.StringOutput `pulumi:"project"`
	// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role pulumi.StringOutput `pulumi:"role"`
}

Sets the access control policy on the specified resource. Replaces any existing policy.

func GetRegistryIamBinding added in v0.26.0

func GetRegistryIamBinding(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RegistryIamBindingState, opts ...pulumi.ResourceOption) (*RegistryIamBinding, error)

GetRegistryIamBinding gets an existing RegistryIamBinding 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 NewRegistryIamBinding added in v0.26.0

func NewRegistryIamBinding(ctx *pulumi.Context,
	name string, args *RegistryIamBindingArgs, opts ...pulumi.ResourceOption) (*RegistryIamBinding, error)

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

func (*RegistryIamBinding) ElementType added in v0.26.0

func (*RegistryIamBinding) ElementType() reflect.Type

func (*RegistryIamBinding) ToRegistryIamBindingOutput added in v0.26.0

func (i *RegistryIamBinding) ToRegistryIamBindingOutput() RegistryIamBindingOutput

func (*RegistryIamBinding) ToRegistryIamBindingOutputWithContext added in v0.26.0

func (i *RegistryIamBinding) ToRegistryIamBindingOutputWithContext(ctx context.Context) RegistryIamBindingOutput

type RegistryIamBindingArgs added in v0.26.0

type RegistryIamBindingArgs struct {
	// An IAM Condition for a given binding.
	Condition iam.ConditionPtrInput
	// Identities that will be granted the privilege in role. Each entry can have one of the following values:
	//
	//  * user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	//  * serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	//  * group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
	//  * domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	Members pulumi.StringArrayInput
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringInput
	// The role that should be applied. Only one `IamBinding` can be used per role.
	Role pulumi.StringInput
}

The set of arguments for constructing a RegistryIamBinding resource.

func (RegistryIamBindingArgs) ElementType added in v0.26.0

func (RegistryIamBindingArgs) ElementType() reflect.Type

type RegistryIamBindingInput added in v0.26.0

type RegistryIamBindingInput interface {
	pulumi.Input

	ToRegistryIamBindingOutput() RegistryIamBindingOutput
	ToRegistryIamBindingOutputWithContext(ctx context.Context) RegistryIamBindingOutput
}

type RegistryIamBindingOutput added in v0.26.0

type RegistryIamBindingOutput struct{ *pulumi.OutputState }

func (RegistryIamBindingOutput) Condition added in v0.26.0

An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.

func (RegistryIamBindingOutput) ElementType added in v0.26.0

func (RegistryIamBindingOutput) ElementType() reflect.Type

func (RegistryIamBindingOutput) Etag added in v0.26.0

The etag of the resource's IAM policy.

func (RegistryIamBindingOutput) Members added in v0.26.0

Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.

func (RegistryIamBindingOutput) Name added in v0.26.0

The name of the resource to manage IAM policies for.

func (RegistryIamBindingOutput) Project added in v0.26.0

The project in which the resource belongs. If it is not provided, a default will be supplied.

func (RegistryIamBindingOutput) Role added in v0.26.0

Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.

func (RegistryIamBindingOutput) ToRegistryIamBindingOutput added in v0.26.0

func (o RegistryIamBindingOutput) ToRegistryIamBindingOutput() RegistryIamBindingOutput

func (RegistryIamBindingOutput) ToRegistryIamBindingOutputWithContext added in v0.26.0

func (o RegistryIamBindingOutput) ToRegistryIamBindingOutputWithContext(ctx context.Context) RegistryIamBindingOutput

type RegistryIamBindingState added in v0.26.0

type RegistryIamBindingState struct {
}

func (RegistryIamBindingState) ElementType added in v0.26.0

func (RegistryIamBindingState) ElementType() reflect.Type

type RegistryIamMember added in v0.26.0

type RegistryIamMember struct {
	pulumi.CustomResourceState

	// An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
	Condition iam.ConditionPtrOutput `pulumi:"condition"`
	// The etag of the resource's IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.
	Member pulumi.StringOutput `pulumi:"member"`
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project in which the resource belongs. If it is not provided, a default will be supplied.
	Project pulumi.StringOutput `pulumi:"project"`
	// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
	Role pulumi.StringOutput `pulumi:"role"`
}

Sets the access control policy on the specified resource. Replaces any existing policy.

func GetRegistryIamMember added in v0.26.0

func GetRegistryIamMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RegistryIamMemberState, opts ...pulumi.ResourceOption) (*RegistryIamMember, error)

GetRegistryIamMember gets an existing RegistryIamMember 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 NewRegistryIamMember added in v0.26.0

func NewRegistryIamMember(ctx *pulumi.Context,
	name string, args *RegistryIamMemberArgs, opts ...pulumi.ResourceOption) (*RegistryIamMember, error)

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

func (*RegistryIamMember) ElementType added in v0.26.0

func (*RegistryIamMember) ElementType() reflect.Type

func (*RegistryIamMember) ToRegistryIamMemberOutput added in v0.26.0

func (i *RegistryIamMember) ToRegistryIamMemberOutput() RegistryIamMemberOutput

func (*RegistryIamMember) ToRegistryIamMemberOutputWithContext added in v0.26.0

func (i *RegistryIamMember) ToRegistryIamMemberOutputWithContext(ctx context.Context) RegistryIamMemberOutput

type RegistryIamMemberArgs added in v0.26.0

type RegistryIamMemberArgs struct {
	// An IAM Condition for a given binding.
	Condition iam.ConditionPtrInput
	// Identity that will be granted the privilege in role. The entry can have one of the following values:
	//
	//  * user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	//  * serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	//  * group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
	//  * domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	Member pulumi.StringInput
	// The name of the resource to manage IAM policies for.
	Name pulumi.StringInput
	// The role that should be applied.
	Role pulumi.StringInput
}

The set of arguments for constructing a RegistryIamMember resource.

func (RegistryIamMemberArgs) ElementType added in v0.26.0

func (RegistryIamMemberArgs) ElementType() reflect.Type

type RegistryIamMemberInput added in v0.26.0

type RegistryIamMemberInput interface {
	pulumi.Input

	ToRegistryIamMemberOutput() RegistryIamMemberOutput
	ToRegistryIamMemberOutputWithContext(ctx context.Context) RegistryIamMemberOutput
}

type RegistryIamMemberOutput added in v0.26.0

type RegistryIamMemberOutput struct{ *pulumi.OutputState }

func (RegistryIamMemberOutput) Condition added in v0.26.0

An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.

func (RegistryIamMemberOutput) ElementType added in v0.26.0

func (RegistryIamMemberOutput) ElementType() reflect.Type

func (RegistryIamMemberOutput) Etag added in v0.26.0

The etag of the resource's IAM policy.

func (RegistryIamMemberOutput) Member added in v0.26.0

Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.

func (RegistryIamMemberOutput) Name added in v0.26.0

The name of the resource to manage IAM policies for.

func (RegistryIamMemberOutput) Project added in v0.26.0

The project in which the resource belongs. If it is not provided, a default will be supplied.

func (RegistryIamMemberOutput) Role added in v0.26.0

Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.

func (RegistryIamMemberOutput) ToRegistryIamMemberOutput added in v0.26.0

func (o RegistryIamMemberOutput) ToRegistryIamMemberOutput() RegistryIamMemberOutput

func (RegistryIamMemberOutput) ToRegistryIamMemberOutputWithContext added in v0.26.0

func (o RegistryIamMemberOutput) ToRegistryIamMemberOutputWithContext(ctx context.Context) RegistryIamMemberOutput

type RegistryIamMemberState added in v0.26.0

type RegistryIamMemberState struct {
}

func (RegistryIamMemberState) ElementType added in v0.26.0

func (RegistryIamMemberState) ElementType() reflect.Type

type RegistryIamPolicy

type RegistryIamPolicy struct {
	pulumi.CustomResourceState

	// Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
	Bindings BindingResponseArrayOutput `pulumi:"bindings"`
	// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
	Etag       pulumi.StringOutput `pulumi:"etag"`
	Location   pulumi.StringOutput `pulumi:"location"`
	Project    pulumi.StringOutput `pulumi:"project"`
	RegistryId pulumi.StringOutput `pulumi:"registryId"`
	// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Version pulumi.IntOutput `pulumi:"version"`
}

Sets the access control policy on the specified resource. Replaces any existing policy. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

func GetRegistryIamPolicy

func GetRegistryIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RegistryIamPolicyState, opts ...pulumi.ResourceOption) (*RegistryIamPolicy, error)

GetRegistryIamPolicy gets an existing RegistryIamPolicy 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 NewRegistryIamPolicy

func NewRegistryIamPolicy(ctx *pulumi.Context,
	name string, args *RegistryIamPolicyArgs, opts ...pulumi.ResourceOption) (*RegistryIamPolicy, error)

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

func (*RegistryIamPolicy) ElementType

func (*RegistryIamPolicy) ElementType() reflect.Type

func (*RegistryIamPolicy) ToRegistryIamPolicyOutput

func (i *RegistryIamPolicy) ToRegistryIamPolicyOutput() RegistryIamPolicyOutput

func (*RegistryIamPolicy) ToRegistryIamPolicyOutputWithContext

func (i *RegistryIamPolicy) ToRegistryIamPolicyOutputWithContext(ctx context.Context) RegistryIamPolicyOutput

type RegistryIamPolicyArgs

type RegistryIamPolicyArgs struct {
	// Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
	Bindings BindingArrayInput
	// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
	Etag       pulumi.StringPtrInput
	Location   pulumi.StringPtrInput
	Project    pulumi.StringPtrInput
	RegistryId pulumi.StringInput
	// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
	Version pulumi.IntPtrInput
}

The set of arguments for constructing a RegistryIamPolicy resource.

func (RegistryIamPolicyArgs) ElementType

func (RegistryIamPolicyArgs) ElementType() reflect.Type

type RegistryIamPolicyInput

type RegistryIamPolicyInput interface {
	pulumi.Input

	ToRegistryIamPolicyOutput() RegistryIamPolicyOutput
	ToRegistryIamPolicyOutputWithContext(ctx context.Context) RegistryIamPolicyOutput
}

type RegistryIamPolicyOutput

type RegistryIamPolicyOutput struct{ *pulumi.OutputState }

func (RegistryIamPolicyOutput) Bindings added in v0.19.0

Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.

func (RegistryIamPolicyOutput) ElementType

func (RegistryIamPolicyOutput) ElementType() reflect.Type

func (RegistryIamPolicyOutput) Etag added in v0.19.0

`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.

func (RegistryIamPolicyOutput) Location added in v0.21.0

func (RegistryIamPolicyOutput) Project added in v0.21.0

func (RegistryIamPolicyOutput) RegistryId added in v0.21.0

func (RegistryIamPolicyOutput) ToRegistryIamPolicyOutput

func (o RegistryIamPolicyOutput) ToRegistryIamPolicyOutput() RegistryIamPolicyOutput

func (RegistryIamPolicyOutput) ToRegistryIamPolicyOutputWithContext

func (o RegistryIamPolicyOutput) ToRegistryIamPolicyOutputWithContext(ctx context.Context) RegistryIamPolicyOutput

func (RegistryIamPolicyOutput) Version added in v0.19.0

Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).

type RegistryIamPolicyState

type RegistryIamPolicyState struct {
}

func (RegistryIamPolicyState) ElementType

func (RegistryIamPolicyState) ElementType() reflect.Type

type RegistryInput

type RegistryInput interface {
	pulumi.Input

	ToRegistryOutput() RegistryOutput
	ToRegistryOutputWithContext(ctx context.Context) RegistryOutput
}

type RegistryLogLevel added in v0.4.0

type RegistryLogLevel string

**Beta Feature** The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.

func (RegistryLogLevel) ElementType added in v0.4.0

func (RegistryLogLevel) ElementType() reflect.Type

func (RegistryLogLevel) ToRegistryLogLevelOutput added in v0.6.0

func (e RegistryLogLevel) ToRegistryLogLevelOutput() RegistryLogLevelOutput

func (RegistryLogLevel) ToRegistryLogLevelOutputWithContext added in v0.6.0

func (e RegistryLogLevel) ToRegistryLogLevelOutputWithContext(ctx context.Context) RegistryLogLevelOutput

func (RegistryLogLevel) ToRegistryLogLevelPtrOutput added in v0.6.0

func (e RegistryLogLevel) ToRegistryLogLevelPtrOutput() RegistryLogLevelPtrOutput

func (RegistryLogLevel) ToRegistryLogLevelPtrOutputWithContext added in v0.6.0

func (e RegistryLogLevel) ToRegistryLogLevelPtrOutputWithContext(ctx context.Context) RegistryLogLevelPtrOutput

func (RegistryLogLevel) ToStringOutput added in v0.4.0

func (e RegistryLogLevel) ToStringOutput() pulumi.StringOutput

func (RegistryLogLevel) ToStringOutputWithContext added in v0.4.0

func (e RegistryLogLevel) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (RegistryLogLevel) ToStringPtrOutput added in v0.4.0

func (e RegistryLogLevel) ToStringPtrOutput() pulumi.StringPtrOutput

func (RegistryLogLevel) ToStringPtrOutputWithContext added in v0.4.0

func (e RegistryLogLevel) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type RegistryLogLevelInput added in v0.6.0

type RegistryLogLevelInput interface {
	pulumi.Input

	ToRegistryLogLevelOutput() RegistryLogLevelOutput
	ToRegistryLogLevelOutputWithContext(context.Context) RegistryLogLevelOutput
}

RegistryLogLevelInput is an input type that accepts RegistryLogLevelArgs and RegistryLogLevelOutput values. You can construct a concrete instance of `RegistryLogLevelInput` via:

RegistryLogLevelArgs{...}

type RegistryLogLevelOutput added in v0.6.0

type RegistryLogLevelOutput struct{ *pulumi.OutputState }

func (RegistryLogLevelOutput) ElementType added in v0.6.0

func (RegistryLogLevelOutput) ElementType() reflect.Type

func (RegistryLogLevelOutput) ToRegistryLogLevelOutput added in v0.6.0

func (o RegistryLogLevelOutput) ToRegistryLogLevelOutput() RegistryLogLevelOutput

func (RegistryLogLevelOutput) ToRegistryLogLevelOutputWithContext added in v0.6.0

func (o RegistryLogLevelOutput) ToRegistryLogLevelOutputWithContext(ctx context.Context) RegistryLogLevelOutput

func (RegistryLogLevelOutput) ToRegistryLogLevelPtrOutput added in v0.6.0

func (o RegistryLogLevelOutput) ToRegistryLogLevelPtrOutput() RegistryLogLevelPtrOutput

func (RegistryLogLevelOutput) ToRegistryLogLevelPtrOutputWithContext added in v0.6.0

func (o RegistryLogLevelOutput) ToRegistryLogLevelPtrOutputWithContext(ctx context.Context) RegistryLogLevelPtrOutput

func (RegistryLogLevelOutput) ToStringOutput added in v0.6.0

func (o RegistryLogLevelOutput) ToStringOutput() pulumi.StringOutput

func (RegistryLogLevelOutput) ToStringOutputWithContext added in v0.6.0

func (o RegistryLogLevelOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (RegistryLogLevelOutput) ToStringPtrOutput added in v0.6.0

func (o RegistryLogLevelOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (RegistryLogLevelOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o RegistryLogLevelOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type RegistryLogLevelPtrInput added in v0.6.0

type RegistryLogLevelPtrInput interface {
	pulumi.Input

	ToRegistryLogLevelPtrOutput() RegistryLogLevelPtrOutput
	ToRegistryLogLevelPtrOutputWithContext(context.Context) RegistryLogLevelPtrOutput
}

func RegistryLogLevelPtr added in v0.6.0

func RegistryLogLevelPtr(v string) RegistryLogLevelPtrInput

type RegistryLogLevelPtrOutput added in v0.6.0

type RegistryLogLevelPtrOutput struct{ *pulumi.OutputState }

func (RegistryLogLevelPtrOutput) Elem added in v0.6.0

func (RegistryLogLevelPtrOutput) ElementType added in v0.6.0

func (RegistryLogLevelPtrOutput) ElementType() reflect.Type

func (RegistryLogLevelPtrOutput) ToRegistryLogLevelPtrOutput added in v0.6.0

func (o RegistryLogLevelPtrOutput) ToRegistryLogLevelPtrOutput() RegistryLogLevelPtrOutput

func (RegistryLogLevelPtrOutput) ToRegistryLogLevelPtrOutputWithContext added in v0.6.0

func (o RegistryLogLevelPtrOutput) ToRegistryLogLevelPtrOutputWithContext(ctx context.Context) RegistryLogLevelPtrOutput

func (RegistryLogLevelPtrOutput) ToStringPtrOutput added in v0.6.0

func (o RegistryLogLevelPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (RegistryLogLevelPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o RegistryLogLevelPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type RegistryOutput

type RegistryOutput struct{ *pulumi.OutputState }

func (RegistryOutput) Credentials added in v0.19.0

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.

func (RegistryOutput) ElementType

func (RegistryOutput) ElementType() reflect.Type

func (RegistryOutput) EventNotificationConfigs added in v0.19.0

func (o RegistryOutput) EventNotificationConfigs() EventNotificationConfigResponseArrayOutput

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.

func (RegistryOutput) HttpConfig added in v0.19.0

The DeviceService (HTTP) configuration for this device registry.

func (RegistryOutput) Location added in v0.21.0

func (o RegistryOutput) Location() pulumi.StringOutput

func (RegistryOutput) LogLevel added in v0.19.0

func (o RegistryOutput) LogLevel() pulumi.StringOutput

**Beta Feature** The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level.

func (RegistryOutput) MqttConfig added in v0.19.0

The MQTT configuration for this device registry.

func (RegistryOutput) Name added in v0.19.0

The resource path name. For example, `projects/example-project/locations/us-central1/registries/my-registry`.

func (RegistryOutput) Project added in v0.21.0

func (o RegistryOutput) Project() pulumi.StringOutput

func (RegistryOutput) StateNotificationConfig added in v0.19.0

func (o RegistryOutput) StateNotificationConfig() StateNotificationConfigResponseOutput

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.

func (RegistryOutput) ToRegistryOutput

func (o RegistryOutput) ToRegistryOutput() RegistryOutput

func (RegistryOutput) ToRegistryOutputWithContext

func (o RegistryOutput) ToRegistryOutputWithContext(ctx context.Context) RegistryOutput

type RegistryState

type RegistryState struct {
}

func (RegistryState) ElementType

func (RegistryState) ElementType() reflect.Type

type StateNotificationConfig

type StateNotificationConfig struct {
	// A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`.
	PubsubTopicName *string `pulumi:"pubsubTopicName"`
}

The configuration for notification of new states received from the device.

type StateNotificationConfigArgs

type StateNotificationConfigArgs struct {
	// A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`.
	PubsubTopicName pulumi.StringPtrInput `pulumi:"pubsubTopicName"`
}

The configuration for notification of new states received from the device.

func (StateNotificationConfigArgs) ElementType

func (StateNotificationConfigArgs) ToStateNotificationConfigOutput

func (i StateNotificationConfigArgs) ToStateNotificationConfigOutput() StateNotificationConfigOutput

func (StateNotificationConfigArgs) ToStateNotificationConfigOutputWithContext

func (i StateNotificationConfigArgs) ToStateNotificationConfigOutputWithContext(ctx context.Context) StateNotificationConfigOutput

func (StateNotificationConfigArgs) ToStateNotificationConfigPtrOutput

func (i StateNotificationConfigArgs) ToStateNotificationConfigPtrOutput() StateNotificationConfigPtrOutput

func (StateNotificationConfigArgs) ToStateNotificationConfigPtrOutputWithContext

func (i StateNotificationConfigArgs) ToStateNotificationConfigPtrOutputWithContext(ctx context.Context) StateNotificationConfigPtrOutput

type StateNotificationConfigInput

type StateNotificationConfigInput interface {
	pulumi.Input

	ToStateNotificationConfigOutput() StateNotificationConfigOutput
	ToStateNotificationConfigOutputWithContext(context.Context) StateNotificationConfigOutput
}

StateNotificationConfigInput is an input type that accepts StateNotificationConfigArgs and StateNotificationConfigOutput values. You can construct a concrete instance of `StateNotificationConfigInput` via:

StateNotificationConfigArgs{...}

type StateNotificationConfigOutput

type StateNotificationConfigOutput struct{ *pulumi.OutputState }

The configuration for notification of new states received from the device.

func (StateNotificationConfigOutput) ElementType

func (StateNotificationConfigOutput) PubsubTopicName

A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`.

func (StateNotificationConfigOutput) ToStateNotificationConfigOutput

func (o StateNotificationConfigOutput) ToStateNotificationConfigOutput() StateNotificationConfigOutput

func (StateNotificationConfigOutput) ToStateNotificationConfigOutputWithContext

func (o StateNotificationConfigOutput) ToStateNotificationConfigOutputWithContext(ctx context.Context) StateNotificationConfigOutput

func (StateNotificationConfigOutput) ToStateNotificationConfigPtrOutput

func (o StateNotificationConfigOutput) ToStateNotificationConfigPtrOutput() StateNotificationConfigPtrOutput

func (StateNotificationConfigOutput) ToStateNotificationConfigPtrOutputWithContext

func (o StateNotificationConfigOutput) ToStateNotificationConfigPtrOutputWithContext(ctx context.Context) StateNotificationConfigPtrOutput

type StateNotificationConfigPtrInput

type StateNotificationConfigPtrInput interface {
	pulumi.Input

	ToStateNotificationConfigPtrOutput() StateNotificationConfigPtrOutput
	ToStateNotificationConfigPtrOutputWithContext(context.Context) StateNotificationConfigPtrOutput
}

StateNotificationConfigPtrInput is an input type that accepts StateNotificationConfigArgs, StateNotificationConfigPtr and StateNotificationConfigPtrOutput values. You can construct a concrete instance of `StateNotificationConfigPtrInput` via:

        StateNotificationConfigArgs{...}

or:

        nil

type StateNotificationConfigPtrOutput

type StateNotificationConfigPtrOutput struct{ *pulumi.OutputState }

func (StateNotificationConfigPtrOutput) Elem

func (StateNotificationConfigPtrOutput) ElementType

func (StateNotificationConfigPtrOutput) PubsubTopicName

A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`.

func (StateNotificationConfigPtrOutput) ToStateNotificationConfigPtrOutput

func (o StateNotificationConfigPtrOutput) ToStateNotificationConfigPtrOutput() StateNotificationConfigPtrOutput

func (StateNotificationConfigPtrOutput) ToStateNotificationConfigPtrOutputWithContext

func (o StateNotificationConfigPtrOutput) ToStateNotificationConfigPtrOutputWithContext(ctx context.Context) StateNotificationConfigPtrOutput

type StateNotificationConfigResponse

type StateNotificationConfigResponse struct {
	// A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`.
	PubsubTopicName string `pulumi:"pubsubTopicName"`
}

The configuration for notification of new states received from the device.

type StateNotificationConfigResponseOutput

type StateNotificationConfigResponseOutput struct{ *pulumi.OutputState }

The configuration for notification of new states received from the device.

func (StateNotificationConfigResponseOutput) ElementType

func (StateNotificationConfigResponseOutput) PubsubTopicName

A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`.

func (StateNotificationConfigResponseOutput) ToStateNotificationConfigResponseOutput

func (o StateNotificationConfigResponseOutput) ToStateNotificationConfigResponseOutput() StateNotificationConfigResponseOutput

func (StateNotificationConfigResponseOutput) ToStateNotificationConfigResponseOutputWithContext

func (o StateNotificationConfigResponseOutput) ToStateNotificationConfigResponseOutputWithContext(ctx context.Context) StateNotificationConfigResponseOutput

type StatusResponse

type StatusResponse struct {
	// The status code, which should be an enum value of google.rpc.Code.
	Code int `pulumi:"code"`
	// A list of messages that carry the error details. There is a common set of message types for APIs to use.
	Details []map[string]string `pulumi:"details"`
	// A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
	Message string `pulumi:"message"`
}

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).

type StatusResponseOutput

type StatusResponseOutput struct{ *pulumi.OutputState }

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).

func (StatusResponseOutput) Code

The status code, which should be an enum value of google.rpc.Code.

func (StatusResponseOutput) Details

A list of messages that carry the error details. There is a common set of message types for APIs to use.

func (StatusResponseOutput) ElementType

func (StatusResponseOutput) ElementType() reflect.Type

func (StatusResponseOutput) Message

A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.

func (StatusResponseOutput) ToStatusResponseOutput

func (o StatusResponseOutput) ToStatusResponseOutput() StatusResponseOutput

func (StatusResponseOutput) ToStatusResponseOutputWithContext

func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Context) StatusResponseOutput

type X509CertificateDetailsResponse

type X509CertificateDetailsResponse struct {
	// The time the certificate becomes invalid.
	ExpiryTime string `pulumi:"expiryTime"`
	// The entity that signed the certificate.
	Issuer string `pulumi:"issuer"`
	// The type of public key in the certificate.
	PublicKeyType string `pulumi:"publicKeyType"`
	// The algorithm used to sign the certificate.
	SignatureAlgorithm string `pulumi:"signatureAlgorithm"`
	// The time the certificate becomes valid.
	StartTime string `pulumi:"startTime"`
	// The entity the certificate and public key belong to.
	Subject string `pulumi:"subject"`
}

Details of an X.509 certificate. For informational purposes only.

type X509CertificateDetailsResponseOutput

type X509CertificateDetailsResponseOutput struct{ *pulumi.OutputState }

Details of an X.509 certificate. For informational purposes only.

func (X509CertificateDetailsResponseOutput) ElementType

func (X509CertificateDetailsResponseOutput) ExpiryTime

The time the certificate becomes invalid.

func (X509CertificateDetailsResponseOutput) Issuer

The entity that signed the certificate.

func (X509CertificateDetailsResponseOutput) PublicKeyType

The type of public key in the certificate.

func (X509CertificateDetailsResponseOutput) SignatureAlgorithm

The algorithm used to sign the certificate.

func (X509CertificateDetailsResponseOutput) StartTime

The time the certificate becomes valid.

func (X509CertificateDetailsResponseOutput) Subject

The entity the certificate and public key belong to.

func (X509CertificateDetailsResponseOutput) ToX509CertificateDetailsResponseOutput

func (o X509CertificateDetailsResponseOutput) ToX509CertificateDetailsResponseOutput() X509CertificateDetailsResponseOutput

func (X509CertificateDetailsResponseOutput) ToX509CertificateDetailsResponseOutputWithContext

func (o X509CertificateDetailsResponseOutput) ToX509CertificateDetailsResponseOutputWithContext(ctx context.Context) X509CertificateDetailsResponseOutput

Jump to

Keyboard shortcuts

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