AzAPI Resource Provider
The AzAPI Resource Provider lets you manage AzAPI resources.
Installing
This package is available for several languages/platforms:
Node.js (JavaScript/TypeScript)
To use from JavaScript or TypeScript in Node.js, install using either npm:
npm install @ediri/azapi
or yarn:
yarn add @ediri/azapi
Python
To use from Python, install using pip:
pip install ediri_azapi
Go
To use from Go, use go get to grab the latest version of the library:
go get github.com/dirien/pulumi-azapi/sdk
.NET
To use from .NET, install using dotnet add package:
dotnet add package ediri.Azapi
Configuration
The following configuration points are supported for the AzAPI provider:
-
ClientId- (Optional) The Client ID which should be used. This can also be sourced from theARM_CLIENT_IDEnvironment Variable. -
Environment- (Optional) The Cloud Environment which should be used. Possible values arepublic,usgovernmentandchina. Defaults topublic. This can also be sourced from theARM_ENVIRONMENTEnvironment Variable. -
SubscriptionId- (Optional) The Subscription ID which should be used. This can also be sourced from theARM_SUBSCRIPTION_IDEnvironment Variable. -
TenantId- (Optional) The Tenant ID should be used. This can also be sourced from theARM_TENANT_IDEnvironment Variable.
It's possible to configure the behaviour of certain resources using the following properties:
-
DefaultTags- (Optional) A mapping of tags which should be assigned to the azure resource as default tags.tagsin each resource block can override thedefault_tags. -
DefaultLocation- (Optional) The default Azure Region where the azure resource should exist.locationin each resource block can override thedefault_location. Changing this forces new resources to be created.
When authenticating as a Service Principal using a Client Certificate, the following fields can be set:
-
ClientCertificatePassword- (Optional) The password associated with the Client Certificate. This can also be sourced from theARM_CLIENT_CERTIFICATE_PASSWORDEnvironment Variable. -
ClientCertificatePath- (Optional) The path to the Client Certificate associated with the Service Principal which should be used. This can also be sourced from theARM_CLIENT_CERTIFICATE_PATHEnvironment Variable.
When authenticating as a Service Principal using a Client Secret, the following fields can be set:
ClientSecret- (Optional) The Client Secret which should be used. This can also be sourced from theARM_CLIENT_SECRETEnvironment Variable.
When authenticating as a Service Principal using Open ID Connect, the following fields can be set:
-
OidcRequestToken- (Optional) The bearer token for the request to the OIDC provider. This can also be sourced from theARM_OIDC_REQUEST_TOKENorACTIONS_ID_TOKEN_REQUEST_TOKENEnvironment Variables. -
OidcRequestUrl- (Optional) The URL for the OIDC provider from which to request an ID token. This can also be sourced from theARM_OIDC_REQUEST_URLorACTIONS_ID_TOKEN_REQUEST_URLEnvironment Variables. -
OidcToken- (Optional) The ID token when authenticating using OpenID Connect (OIDC). This can also be sourced from theARM_OIDC_TOKENenvironment Variable. -
OidcTokenFilePath- (Optional) The path to a file containing an ID token when authenticating using OpenID Connect (OIDC). This can also be sourced from theARM_OIDC_TOKEN_FILE_PATHenvironment Variable. -
UseOidc- (Optional) Should OIDC be used for Authentication? This can also be sourced from theARM_USE_OIDCEnvironment Variable. Defaults tofalse.
For some advanced scenarios, such as where more granular permissions are necessary - the following properties can be set:
-
DisableCorrelationRequestId- (Optional) Disable sending thex-ms-correlation-request-idheader. This can also be sourced from theARM_DISABLE_CORRELATION_REQUEST_IDenvironment variable. Defaults tofalse. -
DisableTerraformPartnerId- (Optional) Disable sending the Terraform Partner ID if a custompartner_idisn't specified, which allows Microsoft to better understand the usage of Terraform. The Partner ID does not give HashiCorp any direct access to usage information. This can also be sourced from theARM_DISABLE_TERRAFORM_PARTNER_IDenvironment variable. Defaults tofalse. -
PartnerId- (Optional) A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution. This can also be sourced from theARM_PARTNER_IDEnvironment Variable. -
SkipProviderRegistration- (Optional) Should the Provider skip registering the Resource Providers it supports? This can also be sourced from theARM_SKIP_PROVIDER_REGISTRATIONEnvironment Variable. Defaults tofalse.
Reference
For detailed reference documentation, please visit the Pulumi registry.
Metadata
Release files for ediri-azapi 1.12.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ediri_azapi-1.12.2.tar.gz | 32.8 kB | Without provenance | Details for ediri_azapi-1.12.2.tar.gz |
Release files / ediri_azapi-1.12.2.tar.gz
| Download URL | ediri_azapi-1.12.2.tar.gz |
|---|---|
| Size | 32.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d605a7009744d48f4e8f87c4c569ff35b5464dd3576d21c8f83f2c96071ad45c
|
|
BLAKE2b-256 checksum How to use checksums |
39ff0c3ca49f1ddfa9c57b4f5e4d983db4bf93ccf0e37d3c1b6ba95417a61553
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for ediri-azapi 1.12.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.