diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 12:27:25 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 12:27:25 +0000 |
| commit | f84e4d2f331ba52c5114df5b52951682806d8bd2 (patch) | |
| tree | 2521eb8b09bb06c05da05148dcbe435326ff0ba5 /python-pulumi-newrelic.spec | |
| parent | b19c399190b8076a700887150b7c82fcc51eab29 (diff) | |
automatic import of python-pulumi-newrelicopeneuler20.03
Diffstat (limited to 'python-pulumi-newrelic.spec')
| -rw-r--r-- | python-pulumi-newrelic.spec | 291 |
1 files changed, 291 insertions, 0 deletions
diff --git a/python-pulumi-newrelic.spec b/python-pulumi-newrelic.spec new file mode 100644 index 0000000..f4ba267 --- /dev/null +++ b/python-pulumi-newrelic.spec @@ -0,0 +1,291 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pulumi-newrelic +Version: 5.9.1 +Release: 1 +Summary: A Pulumi package for creating and managing New Relic resources. +License: Apache-2.0 +URL: https://pulumi.io +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/43/ba/b3c2500610b8b3fabfc1479cb763f9657e73613a00e1e2f96ee26cec9a63/pulumi_newrelic-5.9.1.tar.gz +BuildArch: noarch + + +%description +[](https://github.com/pulumi/pulumi-newrelic/actions) +[](https://slack.pulumi.com) +[](https://www.npmjs.com/package/@pulumi/newrelic) +[](https://pypi.org/project/pulumi-newrelic) +[](https://badge.fury.io/nu/pulumi.newrelic) +[](https://pkg.go.dev/github.com/pulumi/pulumi-newrelic/sdk/v5/go) +[](https://github.com/pulumi/pulumi-newrelic/blob/master/LICENSE) + +# New Relic Provider + +The New Relic resource provider for Pulumi lets you use New Relic resources in your cloud programs. +To use this package, please [install the Pulumi CLI first][1]. + +## Installing + +This package is available in many languages in the standard packaging formats. + +### Node.js (Java/TypeScript) + +To use from JavaScript or TypeScript in Node.js, install using either `npm`: + + $ npm install @pulumi/newrelic + +or `yarn`: + + $ yarn add @pulumi/newrelic + +### Python + +To use from Python, install using `pip`: + + $ pip install pulumi_newrelic + +### Go + +To use from Go, use `go get` to grab the latest version of the library + + $ go get github.com/pulumi/pulumi-newrelic/sdk/v5 + + +### .NET + +To use from .NET, install using `dotnet add package`: + + $ dotnet add package Pulumi.Newrelic + +## Configuration + +The following configuration points are available: + +- `newrelic:apiKey` - Your New Relic API key. The `NEW_RELIC_API_KEY` environment variable can also be used. +- `newrelic:adminApiKey` - Your New Relic Admin API key. The `NEW_RELIC_ADMIN_API_KEY` environment variable can also be used. +- `newrelic:region` - The region for the data center for which your New Relic account is configured. The New Relic region + can also be set via the environment variable `NEW_RELIC_REGION`. Valid values are `US` or `EU`. Only one region per + provider block can be configured. If you have accounts in both regions, you must instantiate two providers - + one for US and one for EU +- `newrelic:insecureSkipVerify` - Trust self-signed SSL certificates. If omitted, the `NEW_RELIC_API_SKIP_VERIFY` environment + variable is used. +- `newrelic:insightsInsertKey` - Your Insights insert key used when inserting Insights events via the `insights.Event` resource. + Can also use `NEW_RELIC_INSIGHTS_INSERT_KEY` environment variable. +- `newrelic:insightsInsertUrl` - This argument changes the Insights insert URL (default is `https://insights-collector.newrelic.com/v1/accounts`). + If the New Relic account is in the EU, the Insights API URL must be set to `https://insights-collector.eu.newrelic.com/v1`. +- `newrelic:caCerts` - A path to a PEM-encoded certificate authority used to verify the remote agent's certificate. The + `NEW_RELIC_API_CACERT` environment variable can also be used. + +## Reference + +For further information, please visit [the NewRelic provider docs](https://www.pulumi.com/docs/intro/cloud-providers/newrelic) or for detailed reference documentation, please visit [the API docs](https://www.pulumi.com/docs/reference/pkg/newrelic). + + +[1]: https://www.pulumi.com/docs + + + + +%package -n python3-pulumi-newrelic +Summary: A Pulumi package for creating and managing New Relic resources. +Provides: python-pulumi-newrelic +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pulumi-newrelic +[](https://github.com/pulumi/pulumi-newrelic/actions) +[](https://slack.pulumi.com) +[](https://www.npmjs.com/package/@pulumi/newrelic) +[](https://pypi.org/project/pulumi-newrelic) +[](https://badge.fury.io/nu/pulumi.newrelic) +[](https://pkg.go.dev/github.com/pulumi/pulumi-newrelic/sdk/v5/go) +[](https://github.com/pulumi/pulumi-newrelic/blob/master/LICENSE) + +# New Relic Provider + +The New Relic resource provider for Pulumi lets you use New Relic resources in your cloud programs. +To use this package, please [install the Pulumi CLI first][1]. + +## Installing + +This package is available in many languages in the standard packaging formats. + +### Node.js (Java/TypeScript) + +To use from JavaScript or TypeScript in Node.js, install using either `npm`: + + $ npm install @pulumi/newrelic + +or `yarn`: + + $ yarn add @pulumi/newrelic + +### Python + +To use from Python, install using `pip`: + + $ pip install pulumi_newrelic + +### Go + +To use from Go, use `go get` to grab the latest version of the library + + $ go get github.com/pulumi/pulumi-newrelic/sdk/v5 + + +### .NET + +To use from .NET, install using `dotnet add package`: + + $ dotnet add package Pulumi.Newrelic + +## Configuration + +The following configuration points are available: + +- `newrelic:apiKey` - Your New Relic API key. The `NEW_RELIC_API_KEY` environment variable can also be used. +- `newrelic:adminApiKey` - Your New Relic Admin API key. The `NEW_RELIC_ADMIN_API_KEY` environment variable can also be used. +- `newrelic:region` - The region for the data center for which your New Relic account is configured. The New Relic region + can also be set via the environment variable `NEW_RELIC_REGION`. Valid values are `US` or `EU`. Only one region per + provider block can be configured. If you have accounts in both regions, you must instantiate two providers - + one for US and one for EU +- `newrelic:insecureSkipVerify` - Trust self-signed SSL certificates. If omitted, the `NEW_RELIC_API_SKIP_VERIFY` environment + variable is used. +- `newrelic:insightsInsertKey` - Your Insights insert key used when inserting Insights events via the `insights.Event` resource. + Can also use `NEW_RELIC_INSIGHTS_INSERT_KEY` environment variable. +- `newrelic:insightsInsertUrl` - This argument changes the Insights insert URL (default is `https://insights-collector.newrelic.com/v1/accounts`). + If the New Relic account is in the EU, the Insights API URL must be set to `https://insights-collector.eu.newrelic.com/v1`. +- `newrelic:caCerts` - A path to a PEM-encoded certificate authority used to verify the remote agent's certificate. The + `NEW_RELIC_API_CACERT` environment variable can also be used. + +## Reference + +For further information, please visit [the NewRelic provider docs](https://www.pulumi.com/docs/intro/cloud-providers/newrelic) or for detailed reference documentation, please visit [the API docs](https://www.pulumi.com/docs/reference/pkg/newrelic). + + +[1]: https://www.pulumi.com/docs + + + + +%package help +Summary: Development documents and examples for pulumi-newrelic +Provides: python3-pulumi-newrelic-doc +%description help +[](https://github.com/pulumi/pulumi-newrelic/actions) +[](https://slack.pulumi.com) +[](https://www.npmjs.com/package/@pulumi/newrelic) +[](https://pypi.org/project/pulumi-newrelic) +[](https://badge.fury.io/nu/pulumi.newrelic) +[](https://pkg.go.dev/github.com/pulumi/pulumi-newrelic/sdk/v5/go) +[](https://github.com/pulumi/pulumi-newrelic/blob/master/LICENSE) + +# New Relic Provider + +The New Relic resource provider for Pulumi lets you use New Relic resources in your cloud programs. +To use this package, please [install the Pulumi CLI first][1]. + +## Installing + +This package is available in many languages in the standard packaging formats. + +### Node.js (Java/TypeScript) + +To use from JavaScript or TypeScript in Node.js, install using either `npm`: + + $ npm install @pulumi/newrelic + +or `yarn`: + + $ yarn add @pulumi/newrelic + +### Python + +To use from Python, install using `pip`: + + $ pip install pulumi_newrelic + +### Go + +To use from Go, use `go get` to grab the latest version of the library + + $ go get github.com/pulumi/pulumi-newrelic/sdk/v5 + + +### .NET + +To use from .NET, install using `dotnet add package`: + + $ dotnet add package Pulumi.Newrelic + +## Configuration + +The following configuration points are available: + +- `newrelic:apiKey` - Your New Relic API key. The `NEW_RELIC_API_KEY` environment variable can also be used. +- `newrelic:adminApiKey` - Your New Relic Admin API key. The `NEW_RELIC_ADMIN_API_KEY` environment variable can also be used. +- `newrelic:region` - The region for the data center for which your New Relic account is configured. The New Relic region + can also be set via the environment variable `NEW_RELIC_REGION`. Valid values are `US` or `EU`. Only one region per + provider block can be configured. If you have accounts in both regions, you must instantiate two providers - + one for US and one for EU +- `newrelic:insecureSkipVerify` - Trust self-signed SSL certificates. If omitted, the `NEW_RELIC_API_SKIP_VERIFY` environment + variable is used. +- `newrelic:insightsInsertKey` - Your Insights insert key used when inserting Insights events via the `insights.Event` resource. + Can also use `NEW_RELIC_INSIGHTS_INSERT_KEY` environment variable. +- `newrelic:insightsInsertUrl` - This argument changes the Insights insert URL (default is `https://insights-collector.newrelic.com/v1/accounts`). + If the New Relic account is in the EU, the Insights API URL must be set to `https://insights-collector.eu.newrelic.com/v1`. +- `newrelic:caCerts` - A path to a PEM-encoded certificate authority used to verify the remote agent's certificate. The + `NEW_RELIC_API_CACERT` environment variable can also be used. + +## Reference + +For further information, please visit [the NewRelic provider docs](https://www.pulumi.com/docs/intro/cloud-providers/newrelic) or for detailed reference documentation, please visit [the API docs](https://www.pulumi.com/docs/reference/pkg/newrelic). + + +[1]: https://www.pulumi.com/docs + + + + +%prep +%autosetup -n pulumi-newrelic-5.9.1 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-pulumi-newrelic -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 5.9.1-1 +- Package Spec generated |
