CloudAMQP v3.17.5 published on Friday, Apr 5, 2024 by Pulumi
cloudamqp.IntegrationMetric
Explore with Pulumi AI
Create IntegrationMetric Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationMetric(name: string, args: IntegrationMetricArgs, opts?: CustomResourceOptions);
@overload
def IntegrationMetric(resource_name: str,
args: IntegrationMetricArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IntegrationMetric(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[int] = None,
private_key: Optional[str] = None,
vhost_whitelist: Optional[str] = None,
name: Optional[str] = None,
email: Optional[str] = None,
iam_external_id: Optional[str] = None,
iam_role: Optional[str] = None,
api_key: Optional[str] = None,
license_key: Optional[str] = None,
credentials: Optional[str] = None,
client_email: Optional[str] = None,
project_id: Optional[str] = None,
private_key_id: Optional[str] = None,
queue_allowlist: Optional[str] = None,
queue_whitelist: Optional[str] = None,
region: Optional[str] = None,
secret_access_key: Optional[str] = None,
tags: Optional[str] = None,
vhost_allowlist: Optional[str] = None,
access_key_id: Optional[str] = None)
func NewIntegrationMetric(ctx *Context, name string, args IntegrationMetricArgs, opts ...ResourceOption) (*IntegrationMetric, error)
public IntegrationMetric(string name, IntegrationMetricArgs args, CustomResourceOptions? opts = null)
public IntegrationMetric(String name, IntegrationMetricArgs args)
public IntegrationMetric(String name, IntegrationMetricArgs args, CustomResourceOptions options)
type: cloudamqp:IntegrationMetric
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IntegrationMetricArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IntegrationMetricArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IntegrationMetricArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationMetricArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationMetricArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
var integrationMetricResource = new CloudAmqp.IntegrationMetric("integrationMetricResource", new()
{
InstanceId = 0,
PrivateKey = "string",
Name = "string",
Email = "string",
IamExternalId = "string",
IamRole = "string",
ApiKey = "string",
LicenseKey = "string",
Credentials = "string",
ClientEmail = "string",
ProjectId = "string",
PrivateKeyId = "string",
QueueAllowlist = "string",
Region = "string",
SecretAccessKey = "string",
Tags = "string",
VhostAllowlist = "string",
AccessKeyId = "string",
});
example, err := cloudamqp.NewIntegrationMetric(ctx, "integrationMetricResource", &cloudamqp.IntegrationMetricArgs{
InstanceId: pulumi.Int(0),
PrivateKey: pulumi.String("string"),
Name: pulumi.String("string"),
Email: pulumi.String("string"),
IamExternalId: pulumi.String("string"),
IamRole: pulumi.String("string"),
ApiKey: pulumi.String("string"),
LicenseKey: pulumi.String("string"),
Credentials: pulumi.String("string"),
ClientEmail: pulumi.String("string"),
ProjectId: pulumi.String("string"),
PrivateKeyId: pulumi.String("string"),
QueueAllowlist: pulumi.String("string"),
Region: pulumi.String("string"),
SecretAccessKey: pulumi.String("string"),
Tags: pulumi.String("string"),
VhostAllowlist: pulumi.String("string"),
AccessKeyId: pulumi.String("string"),
})
var integrationMetricResource = new IntegrationMetric("integrationMetricResource", IntegrationMetricArgs.builder()
.instanceId(0)
.privateKey("string")
.name("string")
.email("string")
.iamExternalId("string")
.iamRole("string")
.apiKey("string")
.licenseKey("string")
.credentials("string")
.clientEmail("string")
.projectId("string")
.privateKeyId("string")
.queueAllowlist("string")
.region("string")
.secretAccessKey("string")
.tags("string")
.vhostAllowlist("string")
.accessKeyId("string")
.build());
integration_metric_resource = cloudamqp.IntegrationMetric("integrationMetricResource",
instance_id=0,
private_key="string",
name="string",
email="string",
iam_external_id="string",
iam_role="string",
api_key="string",
license_key="string",
credentials="string",
client_email="string",
project_id="string",
private_key_id="string",
queue_allowlist="string",
region="string",
secret_access_key="string",
tags="string",
vhost_allowlist="string",
access_key_id="string")
const integrationMetricResource = new cloudamqp.IntegrationMetric("integrationMetricResource", {
instanceId: 0,
privateKey: "string",
name: "string",
email: "string",
iamExternalId: "string",
iamRole: "string",
apiKey: "string",
licenseKey: "string",
credentials: "string",
clientEmail: "string",
projectId: "string",
privateKeyId: "string",
queueAllowlist: "string",
region: "string",
secretAccessKey: "string",
tags: "string",
vhostAllowlist: "string",
accessKeyId: "string",
});
type: cloudamqp:IntegrationMetric
properties:
accessKeyId: string
apiKey: string
clientEmail: string
credentials: string
email: string
iamExternalId: string
iamRole: string
instanceId: 0
licenseKey: string
name: string
privateKey: string
privateKeyId: string
projectId: string
queueAllowlist: string
region: string
secretAccessKey: string
tags: string
vhostAllowlist: string
IntegrationMetric Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The IntegrationMetric resource accepts the following input properties:
- Instance
Id int - Instance identifier
- Access
Key stringId - AWS access key identifier. (Cloudwatch)
- Api
Key string - The API key for the integration service. (Librato)
- Client
Email string - The client email. (Stackdriver)
- Credentials string
- Base64Encoded credentials. (Stackdriver)
- Email string
- The email address registred for the integration service. (Librato)
- Iam
External stringId - External identifier that match the role you created. (Cloudwatch)
- Iam
Role string - The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
- License
Key string - The license key registred for the integration service. (New Relic)
- Name string
- The name of metrics integration
- Private
Key string - The private key. (Stackdriver)
- Private
Key stringId - Private key identifier. (Stackdriver)
- Project
Id string - Project ID. (Stackdriver)
- Queue
Allowlist string - (optional) allowlist using regular expression
- Queue
Whitelist string - Deprecated
- Region string
- AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
- Secret
Access stringKey - AWS secret key. (Cloudwatch)
- string
- (optional) tags. E.g. env=prod,region=europe
- Vhost
Allowlist string - (optional) allowlist using regular expression
- Vhost
Whitelist string - Deprecated
- Instance
Id int - Instance identifier
- Access
Key stringId - AWS access key identifier. (Cloudwatch)
- Api
Key string - The API key for the integration service. (Librato)
- Client
Email string - The client email. (Stackdriver)
- Credentials string
- Base64Encoded credentials. (Stackdriver)
- Email string
- The email address registred for the integration service. (Librato)
- Iam
External stringId - External identifier that match the role you created. (Cloudwatch)
- Iam
Role string - The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
- License
Key string - The license key registred for the integration service. (New Relic)
- Name string
- The name of metrics integration
- Private
Key string - The private key. (Stackdriver)
- Private
Key stringId - Private key identifier. (Stackdriver)
- Project
Id string - Project ID. (Stackdriver)
- Queue
Allowlist string - (optional) allowlist using regular expression
- Queue
Whitelist string - Deprecated
- Region string
- AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
- Secret
Access stringKey - AWS secret key. (Cloudwatch)
- string
- (optional) tags. E.g. env=prod,region=europe
- Vhost
Allowlist string - (optional) allowlist using regular expression
- Vhost
Whitelist string - Deprecated
- instance
Id Integer - Instance identifier
- access
Key StringId - AWS access key identifier. (Cloudwatch)
- api
Key String - The API key for the integration service. (Librato)
- client
Email String - The client email. (Stackdriver)
- credentials String
- Base64Encoded credentials. (Stackdriver)
- email String
- The email address registred for the integration service. (Librato)
- iam
External StringId - External identifier that match the role you created. (Cloudwatch)
- iam
Role String - The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
- license
Key String - The license key registred for the integration service. (New Relic)
- name String
- The name of metrics integration
- private
Key String - The private key. (Stackdriver)
- private
Key StringId - Private key identifier. (Stackdriver)
- project
Id String - Project ID. (Stackdriver)
- queue
Allowlist String - (optional) allowlist using regular expression
- queue
Whitelist String - Deprecated
- region String
- AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
- secret
Access StringKey - AWS secret key. (Cloudwatch)
- String
- (optional) tags. E.g. env=prod,region=europe
- vhost
Allowlist String - (optional) allowlist using regular expression
- vhost
Whitelist String - Deprecated
- instance
Id number - Instance identifier
- access
Key stringId - AWS access key identifier. (Cloudwatch)
- api
Key string - The API key for the integration service. (Librato)
- client
Email string - The client email. (Stackdriver)
- credentials string
- Base64Encoded credentials. (Stackdriver)
- email string
- The email address registred for the integration service. (Librato)
- iam
External stringId - External identifier that match the role you created. (Cloudwatch)
- iam
Role string - The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
- license
Key string - The license key registred for the integration service. (New Relic)
- name string
- The name of metrics integration
- private
Key string - The private key. (Stackdriver)
- private
Key stringId - Private key identifier. (Stackdriver)
- project
Id string - Project ID. (Stackdriver)
- queue
Allowlist string - (optional) allowlist using regular expression
- queue
Whitelist string - Deprecated
- region string
- AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
- secret
Access stringKey - AWS secret key. (Cloudwatch)
- string
- (optional) tags. E.g. env=prod,region=europe
- vhost
Allowlist string - (optional) allowlist using regular expression
- vhost
Whitelist string - Deprecated
- instance_
id int - Instance identifier
- access_
key_ strid - AWS access key identifier. (Cloudwatch)
- api_
key str - The API key for the integration service. (Librato)
- client_
email str - The client email. (Stackdriver)
- credentials str
- Base64Encoded credentials. (Stackdriver)
- email str
- The email address registred for the integration service. (Librato)
- iam_
external_ strid - External identifier that match the role you created. (Cloudwatch)
- iam_
role str - The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
- license_
key str - The license key registred for the integration service. (New Relic)
- name str
- The name of metrics integration
- private_
key str - The private key. (Stackdriver)
- private_
key_ strid - Private key identifier. (Stackdriver)
- project_
id str - Project ID. (Stackdriver)
- queue_
allowlist str - (optional) allowlist using regular expression
- queue_
whitelist str - Deprecated
- region str
- AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
- secret_
access_ strkey - AWS secret key. (Cloudwatch)
- str
- (optional) tags. E.g. env=prod,region=europe
- vhost_
allowlist str - (optional) allowlist using regular expression
- vhost_
whitelist str - Deprecated
- instance
Id Number - Instance identifier
- access
Key StringId - AWS access key identifier. (Cloudwatch)
- api
Key String - The API key for the integration service. (Librato)
- client
Email String - The client email. (Stackdriver)
- credentials String
- Base64Encoded credentials. (Stackdriver)
- email String
- The email address registred for the integration service. (Librato)
- iam
External StringId - External identifier that match the role you created. (Cloudwatch)
- iam
Role String - The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
- license
Key String - The license key registred for the integration service. (New Relic)
- name String
- The name of metrics integration
- private
Key String - The private key. (Stackdriver)
- private
Key StringId - Private key identifier. (Stackdriver)
- project
Id String - Project ID. (Stackdriver)
- queue
Allowlist String - (optional) allowlist using regular expression
- queue
Whitelist String - Deprecated
- region String
- AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
- secret
Access StringKey - AWS secret key. (Cloudwatch)
- String
- (optional) tags. E.g. env=prod,region=europe
- vhost
Allowlist String - (optional) allowlist using regular expression
- vhost
Whitelist String - Deprecated
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationMetric resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing IntegrationMetric Resource
Get an existing IntegrationMetric resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: IntegrationMetricState, opts?: CustomResourceOptions): IntegrationMetric
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_key_id: Optional[str] = None,
api_key: Optional[str] = None,
client_email: Optional[str] = None,
credentials: Optional[str] = None,
email: Optional[str] = None,
iam_external_id: Optional[str] = None,
iam_role: Optional[str] = None,
instance_id: Optional[int] = None,
license_key: Optional[str] = None,
name: Optional[str] = None,
private_key: Optional[str] = None,
private_key_id: Optional[str] = None,
project_id: Optional[str] = None,
queue_allowlist: Optional[str] = None,
queue_whitelist: Optional[str] = None,
region: Optional[str] = None,
secret_access_key: Optional[str] = None,
tags: Optional[str] = None,
vhost_allowlist: Optional[str] = None,
vhost_whitelist: Optional[str] = None) -> IntegrationMetric
func GetIntegrationMetric(ctx *Context, name string, id IDInput, state *IntegrationMetricState, opts ...ResourceOption) (*IntegrationMetric, error)
public static IntegrationMetric Get(string name, Input<string> id, IntegrationMetricState? state, CustomResourceOptions? opts = null)
public static IntegrationMetric get(String name, Output<String> id, IntegrationMetricState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Key stringId - AWS access key identifier. (Cloudwatch)
- Api
Key string - The API key for the integration service. (Librato)
- Client
Email string - The client email. (Stackdriver)
- Credentials string
- Base64Encoded credentials. (Stackdriver)
- Email string
- The email address registred for the integration service. (Librato)
- Iam
External stringId - External identifier that match the role you created. (Cloudwatch)
- Iam
Role string - The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
- Instance
Id int - Instance identifier
- License
Key string - The license key registred for the integration service. (New Relic)
- Name string
- The name of metrics integration
- Private
Key string - The private key. (Stackdriver)
- Private
Key stringId - Private key identifier. (Stackdriver)
- Project
Id string - Project ID. (Stackdriver)
- Queue
Allowlist string - (optional) allowlist using regular expression
- Queue
Whitelist string - Deprecated
- Region string
- AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
- Secret
Access stringKey - AWS secret key. (Cloudwatch)
- string
- (optional) tags. E.g. env=prod,region=europe
- Vhost
Allowlist string - (optional) allowlist using regular expression
- Vhost
Whitelist string - Deprecated
- Access
Key stringId - AWS access key identifier. (Cloudwatch)
- Api
Key string - The API key for the integration service. (Librato)
- Client
Email string - The client email. (Stackdriver)
- Credentials string
- Base64Encoded credentials. (Stackdriver)
- Email string
- The email address registred for the integration service. (Librato)
- Iam
External stringId - External identifier that match the role you created. (Cloudwatch)
- Iam
Role string - The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
- Instance
Id int - Instance identifier
- License
Key string - The license key registred for the integration service. (New Relic)
- Name string
- The name of metrics integration
- Private
Key string - The private key. (Stackdriver)
- Private
Key stringId - Private key identifier. (Stackdriver)
- Project
Id string - Project ID. (Stackdriver)
- Queue
Allowlist string - (optional) allowlist using regular expression
- Queue
Whitelist string - Deprecated
- Region string
- AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
- Secret
Access stringKey - AWS secret key. (Cloudwatch)
- string
- (optional) tags. E.g. env=prod,region=europe
- Vhost
Allowlist string - (optional) allowlist using regular expression
- Vhost
Whitelist string - Deprecated
- access
Key StringId - AWS access key identifier. (Cloudwatch)
- api
Key String - The API key for the integration service. (Librato)
- client
Email String - The client email. (Stackdriver)
- credentials String
- Base64Encoded credentials. (Stackdriver)
- email String
- The email address registred for the integration service. (Librato)
- iam
External StringId - External identifier that match the role you created. (Cloudwatch)
- iam
Role String - The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
- instance
Id Integer - Instance identifier
- license
Key String - The license key registred for the integration service. (New Relic)
- name String
- The name of metrics integration
- private
Key String - The private key. (Stackdriver)
- private
Key StringId - Private key identifier. (Stackdriver)
- project
Id String - Project ID. (Stackdriver)
- queue
Allowlist String - (optional) allowlist using regular expression
- queue
Whitelist String - Deprecated
- region String
- AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
- secret
Access StringKey - AWS secret key. (Cloudwatch)
- String
- (optional) tags. E.g. env=prod,region=europe
- vhost
Allowlist String - (optional) allowlist using regular expression
- vhost
Whitelist String - Deprecated
- access
Key stringId - AWS access key identifier. (Cloudwatch)
- api
Key string - The API key for the integration service. (Librato)
- client
Email string - The client email. (Stackdriver)
- credentials string
- Base64Encoded credentials. (Stackdriver)
- email string
- The email address registred for the integration service. (Librato)
- iam
External stringId - External identifier that match the role you created. (Cloudwatch)
- iam
Role string - The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
- instance
Id number - Instance identifier
- license
Key string - The license key registred for the integration service. (New Relic)
- name string
- The name of metrics integration
- private
Key string - The private key. (Stackdriver)
- private
Key stringId - Private key identifier. (Stackdriver)
- project
Id string - Project ID. (Stackdriver)
- queue
Allowlist string - (optional) allowlist using regular expression
- queue
Whitelist string - Deprecated
- region string
- AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
- secret
Access stringKey - AWS secret key. (Cloudwatch)
- string
- (optional) tags. E.g. env=prod,region=europe
- vhost
Allowlist string - (optional) allowlist using regular expression
- vhost
Whitelist string - Deprecated
- access_
key_ strid - AWS access key identifier. (Cloudwatch)
- api_
key str - The API key for the integration service. (Librato)
- client_
email str - The client email. (Stackdriver)
- credentials str
- Base64Encoded credentials. (Stackdriver)
- email str
- The email address registred for the integration service. (Librato)
- iam_
external_ strid - External identifier that match the role you created. (Cloudwatch)
- iam_
role str - The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
- instance_
id int - Instance identifier
- license_
key str - The license key registred for the integration service. (New Relic)
- name str
- The name of metrics integration
- private_
key str - The private key. (Stackdriver)
- private_
key_ strid - Private key identifier. (Stackdriver)
- project_
id str - Project ID. (Stackdriver)
- queue_
allowlist str - (optional) allowlist using regular expression
- queue_
whitelist str - Deprecated
- region str
- AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
- secret_
access_ strkey - AWS secret key. (Cloudwatch)
- str
- (optional) tags. E.g. env=prod,region=europe
- vhost_
allowlist str - (optional) allowlist using regular expression
- vhost_
whitelist str - Deprecated
- access
Key StringId - AWS access key identifier. (Cloudwatch)
- api
Key String - The API key for the integration service. (Librato)
- client
Email String - The client email. (Stackdriver)
- credentials String
- Base64Encoded credentials. (Stackdriver)
- email String
- The email address registred for the integration service. (Librato)
- iam
External StringId - External identifier that match the role you created. (Cloudwatch)
- iam
Role String - The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
- instance
Id Number - Instance identifier
- license
Key String - The license key registred for the integration service. (New Relic)
- name String
- The name of metrics integration
- private
Key String - The private key. (Stackdriver)
- private
Key StringId - Private key identifier. (Stackdriver)
- project
Id String - Project ID. (Stackdriver)
- queue
Allowlist String - (optional) allowlist using regular expression
- queue
Whitelist String - Deprecated
- region String
- AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
- secret
Access StringKey - AWS secret key. (Cloudwatch)
- String
- (optional) tags. E.g. env=prod,region=europe
- vhost
Allowlist String - (optional) allowlist using regular expression
- vhost
Whitelist String - Deprecated
Package Details
- Repository
- CloudAMQP pulumi/pulumi-cloudamqp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudamqp
Terraform Provider.