Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.kotlin
import com.pulumi.azure.ProviderArgs.builder
import com.pulumi.azure.kotlin.inputs.ProviderFeaturesArgs
import com.pulumi.azure.kotlin.inputs.ProviderFeaturesArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The provider type for the azurerm package. By default, resources use package-wide configuration
* settings, however an explicit `Provider` instance may be created and passed during resource
* construction to achieve fine-grained programmatic control over provider settings. See the
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
* @property auxiliaryTenantIds
* @property clientCertificate Base64 encoded PKCS#12 certificate bundle to use when authenticating as a Service Principal using a Client Certificate
* @property clientCertificatePassword The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client
* Certificate
* @property clientCertificatePath The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service
* Principal using a Client Certificate.
* @property clientId The Client ID which should be used.
* @property clientIdFilePath The path to a file containing the Client ID which should be used.
* @property clientSecret The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret.
* @property clientSecretFilePath The path to a file containing the Client Secret which should be used. For use When authenticating as a Service Principal
* using a Client Secret.
* @property disableCorrelationRequestId This will disable the x-ms-correlation-request-id header.
* @property disableTerraformPartnerId
* @property environment The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public. Not
* used and should not be specified when `metadata_host` is specified.
* @property features
* @property metadataHost The Hostname which should be used for the Azure Metadata Service.
* @property msiEndpoint The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected
* automatically.
* @property oidcRequestToken The bearer token for the request to the OIDC provider. For use when authenticating as a Service Principal using OpenID
* Connect.
* @property oidcRequestUrl The URL for the OIDC provider from which to request an ID token. For use when authenticating as a Service Principal
* using OpenID Connect.
* @property oidcToken The OIDC ID token for use when authenticating as a Service Principal using OpenID Connect.
* @property oidcTokenFilePath The path to a file containing an OIDC ID token for use when authenticating as a Service Principal using OpenID Connect.
* @property partnerId A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution.
* @property skipProviderRegistration Should the AzureRM Provider skip registering all of the Resource Providers that it supports, if they're not already
* registered?
* @property storageUseAzuread Should the AzureRM Provider use Azure AD Authentication when accessing the Storage Data Plane APIs?
* @property subscriptionId The Subscription ID which should be used.
* @property tenantId The Tenant ID which should be used.
* @property useAksWorkloadIdentity Allow Azure AKS Workload Identity to be used for Authentication.
* @property useCli Allow Azure CLI to be used for Authentication.
* @property useMsi Allow Managed Service Identity to be used for Authentication.
* @property useOidc Allow OpenID Connect to be used for authentication
*/
public data class ProviderArgs(
public val auxiliaryTenantIds: Output>? = null,
public val clientCertificate: Output? = null,
public val clientCertificatePassword: Output? = null,
public val clientCertificatePath: Output? = null,
public val clientId: Output? = null,
public val clientIdFilePath: Output? = null,
public val clientSecret: Output? = null,
public val clientSecretFilePath: Output? = null,
public val disableCorrelationRequestId: Output? = null,
public val disableTerraformPartnerId: Output? = null,
public val environment: Output? = null,
public val features: Output? = null,
public val metadataHost: Output? = null,
public val msiEndpoint: Output? = null,
public val oidcRequestToken: Output? = null,
public val oidcRequestUrl: Output? = null,
public val oidcToken: Output? = null,
public val oidcTokenFilePath: Output? = null,
public val partnerId: Output? = null,
public val skipProviderRegistration: Output? = null,
public val storageUseAzuread: Output? = null,
public val subscriptionId: Output? = null,
public val tenantId: Output? = null,
public val useAksWorkloadIdentity: Output? = null,
public val useCli: Output? = null,
public val useMsi: Output? = null,
public val useOidc: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.ProviderArgs = com.pulumi.azure.ProviderArgs.builder()
.auxiliaryTenantIds(auxiliaryTenantIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.clientCertificate(clientCertificate?.applyValue({ args0 -> args0 }))
.clientCertificatePassword(clientCertificatePassword?.applyValue({ args0 -> args0 }))
.clientCertificatePath(clientCertificatePath?.applyValue({ args0 -> args0 }))
.clientId(clientId?.applyValue({ args0 -> args0 }))
.clientIdFilePath(clientIdFilePath?.applyValue({ args0 -> args0 }))
.clientSecret(clientSecret?.applyValue({ args0 -> args0 }))
.clientSecretFilePath(clientSecretFilePath?.applyValue({ args0 -> args0 }))
.disableCorrelationRequestId(disableCorrelationRequestId?.applyValue({ args0 -> args0 }))
.disableTerraformPartnerId(disableTerraformPartnerId?.applyValue({ args0 -> args0 }))
.environment(environment?.applyValue({ args0 -> args0 }))
.features(features?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.metadataHost(metadataHost?.applyValue({ args0 -> args0 }))
.msiEndpoint(msiEndpoint?.applyValue({ args0 -> args0 }))
.oidcRequestToken(oidcRequestToken?.applyValue({ args0 -> args0 }))
.oidcRequestUrl(oidcRequestUrl?.applyValue({ args0 -> args0 }))
.oidcToken(oidcToken?.applyValue({ args0 -> args0 }))
.oidcTokenFilePath(oidcTokenFilePath?.applyValue({ args0 -> args0 }))
.partnerId(partnerId?.applyValue({ args0 -> args0 }))
.skipProviderRegistration(skipProviderRegistration?.applyValue({ args0 -> args0 }))
.storageUseAzuread(storageUseAzuread?.applyValue({ args0 -> args0 }))
.subscriptionId(subscriptionId?.applyValue({ args0 -> args0 }))
.tenantId(tenantId?.applyValue({ args0 -> args0 }))
.useAksWorkloadIdentity(useAksWorkloadIdentity?.applyValue({ args0 -> args0 }))
.useCli(useCli?.applyValue({ args0 -> args0 }))
.useMsi(useMsi?.applyValue({ args0 -> args0 }))
.useOidc(useOidc?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ProviderArgs].
*/
@PulumiTagMarker
public class ProviderArgsBuilder internal constructor() {
private var auxiliaryTenantIds: Output>? = null
private var clientCertificate: Output? = null
private var clientCertificatePassword: Output? = null
private var clientCertificatePath: Output? = null
private var clientId: Output? = null
private var clientIdFilePath: Output? = null
private var clientSecret: Output? = null
private var clientSecretFilePath: Output? = null
private var disableCorrelationRequestId: Output? = null
private var disableTerraformPartnerId: Output? = null
private var environment: Output? = null
private var features: Output? = null
private var metadataHost: Output? = null
private var msiEndpoint: Output? = null
private var oidcRequestToken: Output? = null
private var oidcRequestUrl: Output? = null
private var oidcToken: Output? = null
private var oidcTokenFilePath: Output? = null
private var partnerId: Output? = null
private var skipProviderRegistration: Output? = null
private var storageUseAzuread: Output? = null
private var subscriptionId: Output? = null
private var tenantId: Output? = null
private var useAksWorkloadIdentity: Output? = null
private var useCli: Output? = null
private var useMsi: Output? = null
private var useOidc: Output? = null
/**
* @param value
*/
@JvmName("lwyewwxcpiibvbgh")
public suspend fun auxiliaryTenantIds(`value`: Output>) {
this.auxiliaryTenantIds = value
}
@JvmName("nndytgxysqbuunff")
public suspend fun auxiliaryTenantIds(vararg values: Output) {
this.auxiliaryTenantIds = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("sqtmftobhrvslwto")
public suspend fun auxiliaryTenantIds(values: List