@Stability(value=Experimental) @Internal public static final class AzurermBackendConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AzurermBackendConfig
AzurermBackendConfig
software.amazon.jsii.JsiiObject.InitializationMode
AzurermBackendConfig.Builder, AzurermBackendConfig.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(AzurermBackendConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by the
AzurermBackendConfig.Builder . |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAccessKey()
(experimental) access_key - (Optional) The Access Key used to access the Blob Storage Account.
|
String |
getClientCertificatePassword()
(experimental) (Optional) The password associated with the Client Certificate specified in client_certificate_path.
|
String |
getClientCertificatePath()
(experimental) (Optional) The path to the PFX file used as the Client Certificate when authenticating as a Service Principal.
|
String |
getClientId()
(experimental) (Optional) The Client ID of the Service Principal.
|
String |
getClientSecret()
(experimental) (Optional) The Client Secret of the Service Principal.
|
String |
getContainerName()
(experimental) (Required) The Name of the Storage Container within the Storage Account.
|
String |
getEndpoint()
(experimental) (Optional) The Custom Endpoint for Azure Resource Manager.
|
String |
getEnvironment()
(experimental) (Optional) The Azure Environment which should be used.
|
String |
getKey()
(experimental) (Required) The name of the Blob used to retrieve/store Terraform's State file inside the Storage Container.
|
String |
getMsiEndpoint()
(experimental) (Optional) The path to a custom Managed Service Identity endpoint which is automatically determined if not specified.
|
String |
getOidcRequestToken()
(experimental) (Optional) The bearer token for the request to the OIDC provider.
|
String |
getOidcRequestUrl()
(experimental) (Optional) The URL for the OIDC provider from which to request an ID token.
|
String |
getResourceGroupName()
(experimental) (Required) The Name of the Resource Group in which the Storage Account exists.
|
String |
getSasToken()
(experimental) (Optional) The SAS Token used to access the Blob Storage Account.
|
Boolean |
getSnapshot()
(experimental) (Optional) Should the Blob used to store the Terraform Statefile be snapshotted before use?
|
String |
getStorageAccountName()
(experimental) (Required) The Name of the Storage Account.
|
String |
getSubscriptionId()
(experimental) (Optional) The Subscription ID in which the Storage Account exists.
|
String |
getTenantId()
(experimental) (Optional) The Tenant ID in which the Subscription exists.
|
Boolean |
getUseAzureadAuth()
(experimental) (Optional) Should AzureAD Authentication be used to access the Blob Storage Account.
|
Boolean |
getUseMicrosoftGraph()
(experimental) (Optional) Should MSAL be used for authentication instead of ADAL, and should Microsoft Graph be used instead of Azure Active Directory Graph?
|
Boolean |
getUseMsi()
(experimental) (Optional) Should Managed Service Identity authentication be used?
|
Boolean |
getUseOidc()
(experimental) (Optional) Should OIDC authentication be used? This can also be sourced from the ARM_USE_OIDC environment variable.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(AzurermBackendConfig.Builder builder)
AzurermBackendConfig.Builder
.public final String getContainerName()
AzurermBackendConfig
getContainerName
in interface AzurermBackendConfig
public final String getKey()
AzurermBackendConfig
getKey
in interface AzurermBackendConfig
public final String getStorageAccountName()
AzurermBackendConfig
getStorageAccountName
in interface AzurermBackendConfig
public final String getAccessKey()
AzurermBackendConfig
This can also be sourced from the ARM_ACCESS_KEY environment variable.
getAccessKey
in interface AzurermBackendConfig
public final String getClientCertificatePassword()
AzurermBackendConfig
This can also be sourced from the ARM_CLIENT_CERTIFICATE_PASSWORD environment variable.
getClientCertificatePassword
in interface AzurermBackendConfig
public final String getClientCertificatePath()
AzurermBackendConfig
This can also be sourced from the ARM_CLIENT_CERTIFICATE_PATH environment variable.
getClientCertificatePath
in interface AzurermBackendConfig
public final String getClientId()
AzurermBackendConfig
This can also be sourced from the ARM_CLIENT_ID environment variable.
getClientId
in interface AzurermBackendConfig
public final String getClientSecret()
AzurermBackendConfig
This can also be sourced from the ARM_CLIENT_SECRET environment variable.
getClientSecret
in interface AzurermBackendConfig
public final String getEndpoint()
AzurermBackendConfig
NOTE: An endpoint should only be configured when using Azure Stack.
getEndpoint
in interface AzurermBackendConfig
public final String getEnvironment()
AzurermBackendConfig
This can also be sourced from the ARM_ENVIRONMENT environment variable. Possible values are public, china, german, stack and usgovernment. Defaults to public.
getEnvironment
in interface AzurermBackendConfig
public final String getMsiEndpoint()
AzurermBackendConfig
This can also be sourced from the ARM_MSI_ENDPOINT environment variable.
getMsiEndpoint
in interface AzurermBackendConfig
public final String getOidcRequestToken()
AzurermBackendConfig
This can also be sourced from the ARM_OIDC_REQUEST_TOKEN or ACTIONS_ID_TOKEN_REQUEST_TOKEN environment variables.
getOidcRequestToken
in interface AzurermBackendConfig
public final String getOidcRequestUrl()
AzurermBackendConfig
This can also be sourced from the ARM_OIDC_REQUEST_URL or ACTIONS_ID_TOKEN_REQUEST_URL environment variables.
getOidcRequestUrl
in interface AzurermBackendConfig
public final String getResourceGroupName()
AzurermBackendConfig
getResourceGroupName
in interface AzurermBackendConfig
public final String getSasToken()
AzurermBackendConfig
This can also be sourced from the ARM_SAS_TOKEN environment variable.
getSasToken
in interface AzurermBackendConfig
public final Boolean getSnapshot()
AzurermBackendConfig
Defaults to false. This value can also be sourced from the ARM_SNAPSHOT environment variable.
getSnapshot
in interface AzurermBackendConfig
public final String getSubscriptionId()
AzurermBackendConfig
This can also be sourced from the ARM_SUBSCRIPTION_ID environment variable.
getSubscriptionId
in interface AzurermBackendConfig
public final String getTenantId()
AzurermBackendConfig
This can also be sourced from the ARM_TENANT_ID environment variable.
getTenantId
in interface AzurermBackendConfig
public final Boolean getUseAzureadAuth()
AzurermBackendConfig
This can also be sourced from the ARM_USE_AZUREAD environment variable.
Note: When using AzureAD for Authentication to Storage you also need to ensure the Storage Blob Data Owner role is assigned.
getUseAzureadAuth
in interface AzurermBackendConfig
public final Boolean getUseMicrosoftGraph()
AzurermBackendConfig
Defaults to true.
Note: In Terraform 1.2 the Azure Backend uses MSAL (and Microsoft Graph) rather than ADAL (and Azure Active Directory Graph) for authentication by default - you can disable this by setting use_microsoft_graph to false. This setting will be removed in Terraform 1.3, due to Microsoft's deprecation of ADAL.
getUseMicrosoftGraph
in interface AzurermBackendConfig
public final Boolean getUseMsi()
AzurermBackendConfig
This can also be sourced from the ARM_USE_MSI environment variable.
getUseMsi
in interface AzurermBackendConfig
public final Boolean getUseOidc()
AzurermBackendConfig
Note: When using OIDC for authentication, use_microsoft_graph must be set to true (which is the default).
getUseOidc
in interface AzurermBackendConfig
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2023. All rights reserved.