Represents a {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs azurestack}.
using HashiCorp.Cdktf.Providers.Azurestack;
new AzurestackProvider(Construct Scope, string Id, AzurestackProviderConfig Config);| Name | Type | Description |
|---|---|---|
Scope |
Constructs.Construct |
The scope in which to define this construct. |
Id |
string |
The scoped construct ID. |
Config |
AzurestackProviderConfig |
No description. |
- Type: Constructs.Construct
The scope in which to define this construct.
- Type: string
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: AzurestackProviderConfig
| Name | Description |
|---|---|
ToString |
Returns a string representation of this construct. |
AddOverride |
No description. |
OverrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
ResetOverrideLogicalId |
Resets a previously passed logical Id to use the auto-generated logical id again. |
ToHclTerraform |
No description. |
ToMetadata |
No description. |
ToTerraform |
Adds this resource to the terraform JSON output. |
ResetAlias |
No description. |
ResetArmEndpoint |
No description. |
ResetAuxiliaryTenantIds |
No description. |
ResetClientCertificatePassword |
No description. |
ResetClientCertificatePath |
No description. |
ResetClientId |
No description. |
ResetClientSecret |
No description. |
ResetDisableCorrelationRequestId |
No description. |
ResetEnvironment |
No description. |
ResetMetadataHost |
No description. |
ResetMsiEndpoint |
No description. |
ResetSkipProviderRegistration |
No description. |
ResetSubscriptionId |
No description. |
ResetTenantId |
No description. |
ResetUseMsi |
No description. |
private string ToString()Returns a string representation of this construct.
private void AddOverride(string Path, object Value)- Type: string
- Type: object
private void OverrideLogicalId(string NewLogicalId)Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
private void ResetOverrideLogicalId()Resets a previously passed logical Id to use the auto-generated logical id again.
private object ToHclTerraform()private object ToMetadata()private object ToTerraform()Adds this resource to the terraform JSON output.
private void ResetAlias()private void ResetArmEndpoint()private void ResetAuxiliaryTenantIds()private void ResetClientCertificatePassword()private void ResetClientCertificatePath()private void ResetClientId()private void ResetClientSecret()private void ResetDisableCorrelationRequestId()private void ResetEnvironment()private void ResetMetadataHost()private void ResetMsiEndpoint()private void ResetSkipProviderRegistration()private void ResetSubscriptionId()private void ResetTenantId()private void ResetUseMsi()| Name | Description |
|---|---|
IsConstruct |
Checks if x is a construct. |
IsTerraformElement |
No description. |
IsTerraformProvider |
No description. |
GenerateConfigForImport |
Generates CDKTF code for importing a AzurestackProvider resource upon running "cdktf plan ". |
using HashiCorp.Cdktf.Providers.Azurestack;
AzurestackProvider.IsConstruct(object X);Checks if x is a construct.
Use this method instead of instanceof to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct in each copy of the constructs library
is seen as a different class, and an instance of one class will not test as
instanceof the other class. npm install will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof will behave
unpredictably. It is safest to avoid using instanceof, and using
this type-testing method instead.
- Type: object
Any object.
using HashiCorp.Cdktf.Providers.Azurestack;
AzurestackProvider.IsTerraformElement(object X);- Type: object
using HashiCorp.Cdktf.Providers.Azurestack;
AzurestackProvider.IsTerraformProvider(object X);- Type: object
using HashiCorp.Cdktf.Providers.Azurestack;
AzurestackProvider.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null);Generates CDKTF code for importing a AzurestackProvider resource upon running "cdktf plan ".
- Type: Constructs.Construct
The scope in which to define this construct.
- Type: string
The construct id used in the generated config for the AzurestackProvider to import.
- Type: string
The id of the existing AzurestackProvider that should be imported.
Refer to the {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#import import section} in the documentation of this resource for the id to use
- Type: HashiCorp.Cdktf.TerraformProvider
? Optional instance of the provider where the AzurestackProvider to import is found.
| Name | Type | Description |
|---|---|---|
Node |
Constructs.Node |
The tree node. |
CdktfStack |
HashiCorp.Cdktf.TerraformStack |
No description. |
Fqn |
string |
No description. |
FriendlyUniqueId |
string |
No description. |
MetaAttributes |
System.Collections.Generic.IDictionary<string, object> |
No description. |
TerraformResourceType |
string |
No description. |
TerraformGeneratorMetadata |
HashiCorp.Cdktf.TerraformProviderGeneratorMetadata |
No description. |
TerraformProviderSource |
string |
No description. |
Alias |
string |
No description. |
AliasInput |
string |
No description. |
ArmEndpointInput |
string |
No description. |
AuxiliaryTenantIdsInput |
string[] |
No description. |
ClientCertificatePasswordInput |
string |
No description. |
ClientCertificatePathInput |
string |
No description. |
ClientIdInput |
string |
No description. |
ClientSecretInput |
string |
No description. |
DisableCorrelationRequestIdInput |
bool|HashiCorp.Cdktf.IResolvable |
No description. |
EnvironmentInput |
string |
No description. |
FeaturesInput |
AzurestackProviderFeatures |
No description. |
MetadataHostInput |
string |
No description. |
MsiEndpointInput |
string |
No description. |
SkipProviderRegistrationInput |
bool|HashiCorp.Cdktf.IResolvable |
No description. |
SubscriptionIdInput |
string |
No description. |
TenantIdInput |
string |
No description. |
UseMsiInput |
bool|HashiCorp.Cdktf.IResolvable |
No description. |
ArmEndpoint |
string |
No description. |
AuxiliaryTenantIds |
string[] |
No description. |
ClientCertificatePassword |
string |
No description. |
ClientCertificatePath |
string |
No description. |
ClientId |
string |
No description. |
ClientSecret |
string |
No description. |
DisableCorrelationRequestId |
bool|HashiCorp.Cdktf.IResolvable |
No description. |
Environment |
string |
No description. |
Features |
AzurestackProviderFeatures |
No description. |
MetadataHost |
string |
No description. |
MsiEndpoint |
string |
No description. |
SkipProviderRegistration |
bool|HashiCorp.Cdktf.IResolvable |
No description. |
SubscriptionId |
string |
No description. |
TenantId |
string |
No description. |
UseMsi |
bool|HashiCorp.Cdktf.IResolvable |
No description. |
public Node Node { get; }- Type: Constructs.Node
The tree node.
public TerraformStack CdktfStack { get; }- Type: HashiCorp.Cdktf.TerraformStack
public string Fqn { get; }- Type: string
public string FriendlyUniqueId { get; }- Type: string
public System.Collections.Generic.IDictionary<string, object> MetaAttributes { get; }- Type: System.Collections.Generic.IDictionary<string, object>
public string TerraformResourceType { get; }- Type: string
public TerraformProviderGeneratorMetadata TerraformGeneratorMetadata { get; }- Type: HashiCorp.Cdktf.TerraformProviderGeneratorMetadata
public string TerraformProviderSource { get; }- Type: string
public string Alias { get; }- Type: string
public string AliasInput { get; }- Type: string
public string ArmEndpointInput { get; }- Type: string
public string[] AuxiliaryTenantIdsInput { get; }- Type: string[]
public string ClientCertificatePasswordInput { get; }- Type: string
public string ClientCertificatePathInput { get; }- Type: string
public string ClientIdInput { get; }- Type: string
public string ClientSecretInput { get; }- Type: string
public bool|IResolvable DisableCorrelationRequestIdInput { get; }- Type: bool|HashiCorp.Cdktf.IResolvable
public string EnvironmentInput { get; }- Type: string
public AzurestackProviderFeatures FeaturesInput { get; }public string MetadataHostInput { get; }- Type: string
public string MsiEndpointInput { get; }- Type: string
public bool|IResolvable SkipProviderRegistrationInput { get; }- Type: bool|HashiCorp.Cdktf.IResolvable
public string SubscriptionIdInput { get; }- Type: string
public string TenantIdInput { get; }- Type: string
public bool|IResolvable UseMsiInput { get; }- Type: bool|HashiCorp.Cdktf.IResolvable
public string ArmEndpoint { get; }- Type: string
public string[] AuxiliaryTenantIds { get; }- Type: string[]
public string ClientCertificatePassword { get; }- Type: string
public string ClientCertificatePath { get; }- Type: string
public string ClientId { get; }- Type: string
public string ClientSecret { get; }- Type: string
public bool|IResolvable DisableCorrelationRequestId { get; }- Type: bool|HashiCorp.Cdktf.IResolvable
public string Environment { get; }- Type: string
public AzurestackProviderFeatures Features { get; }public string MetadataHost { get; }- Type: string
public string MsiEndpoint { get; }- Type: string
public bool|IResolvable SkipProviderRegistration { get; }- Type: bool|HashiCorp.Cdktf.IResolvable
public string SubscriptionId { get; }- Type: string
public string TenantId { get; }- Type: string
public bool|IResolvable UseMsi { get; }- Type: bool|HashiCorp.Cdktf.IResolvable
| Name | Type | Description |
|---|---|---|
TfResourceType |
string |
No description. |
public string TfResourceType { get; }- Type: string
using HashiCorp.Cdktf.Providers.Azurestack;
new AzurestackProviderConfig {
AzurestackProviderFeatures Features,
string Alias = null,
string ArmEndpoint = null,
string[] AuxiliaryTenantIds = null,
string ClientCertificatePassword = null,
string ClientCertificatePath = null,
string ClientId = null,
string ClientSecret = null,
bool|IResolvable DisableCorrelationRequestId = null,
string Environment = null,
string MetadataHost = null,
string MsiEndpoint = null,
bool|IResolvable SkipProviderRegistration = null,
string SubscriptionId = null,
string TenantId = null,
bool|IResolvable UseMsi = null
};| Name | Type | Description |
|---|---|---|
Features |
AzurestackProviderFeatures |
features block. |
Alias |
string |
Alias name. |
ArmEndpoint |
string |
The Hostname which should be used for the Azure Metadata Service. |
AuxiliaryTenantIds |
string[] |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#auxiliary_tenant_ids AzurestackProvider#auxiliary_tenant_ids}. |
ClientCertificatePassword |
string |
The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate. |
ClientCertificatePath |
string |
The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate. |
ClientId |
string |
The Client ID which should be used. |
ClientSecret |
string |
The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret. |
DisableCorrelationRequestId |
bool|HashiCorp.Cdktf.IResolvable |
This will disable the x-ms-correlation-request-id header. |
Environment |
string |
The Cloud Environment which should be used. |
MetadataHost |
string |
The Hostname which should be used for the Azure Metadata Service. |
MsiEndpoint |
string |
The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically. |
SkipProviderRegistration |
bool|HashiCorp.Cdktf.IResolvable |
Should the AzureStack Provider skip registering all of the Resource Providers that it supports, if they're not already registered? |
SubscriptionId |
string |
The Subscription ID which should be used. |
TenantId |
string |
The Tenant ID which should be used. |
UseMsi |
bool|HashiCorp.Cdktf.IResolvable |
Allowed Managed Service Identity be used for Authentication. |
public AzurestackProviderFeatures Features { get; set; }features block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#features AzurestackProvider#features}
public string Alias { get; set; }- Type: string
Alias name.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#alias AzurestackProvider#alias}
public string ArmEndpoint { get; set; }- Type: string
The Hostname which should be used for the Azure Metadata Service.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#arm_endpoint AzurestackProvider#arm_endpoint}
public string[] AuxiliaryTenantIds { get; set; }- Type: string[]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#auxiliary_tenant_ids AzurestackProvider#auxiliary_tenant_ids}.
public string ClientCertificatePassword { get; set; }- Type: string
The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#client_certificate_password AzurestackProvider#client_certificate_password}
public string ClientCertificatePath { get; set; }- Type: string
The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#client_certificate_path AzurestackProvider#client_certificate_path}
public string ClientId { get; set; }- Type: string
The Client ID which should be used.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#client_id AzurestackProvider#client_id}
public string ClientSecret { get; set; }- Type: string
The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#client_secret AzurestackProvider#client_secret}
public bool|IResolvable DisableCorrelationRequestId { get; set; }- Type: bool|HashiCorp.Cdktf.IResolvable
This will disable the x-ms-correlation-request-id header.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#disable_correlation_request_id AzurestackProvider#disable_correlation_request_id}
public string Environment { get; set; }- Type: string
The Cloud Environment which should be used.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#environment AzurestackProvider#environment}
public string MetadataHost { get; set; }- Type: string
The Hostname which should be used for the Azure Metadata Service.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#metadata_host AzurestackProvider#metadata_host}
public string MsiEndpoint { get; set; }- Type: string
The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#msi_endpoint AzurestackProvider#msi_endpoint}
public bool|IResolvable SkipProviderRegistration { get; set; }- Type: bool|HashiCorp.Cdktf.IResolvable
Should the AzureStack Provider skip registering all of the Resource Providers that it supports, if they're not already registered?
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#skip_provider_registration AzurestackProvider#skip_provider_registration}
public string SubscriptionId { get; set; }- Type: string
The Subscription ID which should be used.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#subscription_id AzurestackProvider#subscription_id}
public string TenantId { get; set; }- Type: string
The Tenant ID which should be used.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#tenant_id AzurestackProvider#tenant_id}
public bool|IResolvable UseMsi { get; set; }- Type: bool|HashiCorp.Cdktf.IResolvable
Allowed Managed Service Identity be used for Authentication.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#use_msi AzurestackProvider#use_msi}
using HashiCorp.Cdktf.Providers.Azurestack;
new AzurestackProviderFeatures {
AzurestackProviderFeaturesResourceGroup ResourceGroup = null,
AzurestackProviderFeaturesVirtualMachine VirtualMachine = null,
AzurestackProviderFeaturesVirtualMachineScaleSet VirtualMachineScaleSet = null
};| Name | Type | Description |
|---|---|---|
ResourceGroup |
AzurestackProviderFeaturesResourceGroup |
resource_group block. |
VirtualMachine |
AzurestackProviderFeaturesVirtualMachine |
virtual_machine block. |
VirtualMachineScaleSet |
AzurestackProviderFeaturesVirtualMachineScaleSet |
virtual_machine_scale_set block. |
public AzurestackProviderFeaturesResourceGroup ResourceGroup { get; set; }resource_group block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#resource_group AzurestackProvider#resource_group}
public AzurestackProviderFeaturesVirtualMachine VirtualMachine { get; set; }virtual_machine block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#virtual_machine AzurestackProvider#virtual_machine}
public AzurestackProviderFeaturesVirtualMachineScaleSet VirtualMachineScaleSet { get; set; }virtual_machine_scale_set block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#virtual_machine_scale_set AzurestackProvider#virtual_machine_scale_set}
using HashiCorp.Cdktf.Providers.Azurestack;
new AzurestackProviderFeaturesResourceGroup {
bool|IResolvable PreventDeletionIfContainsResources = null
};| Name | Type | Description |
|---|---|---|
PreventDeletionIfContainsResources |
bool|HashiCorp.Cdktf.IResolvable |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#prevent_deletion_if_contains_resources AzurestackProvider#prevent_deletion_if_contains_resources}. |
public bool|IResolvable PreventDeletionIfContainsResources { get; set; }- Type: bool|HashiCorp.Cdktf.IResolvable
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#prevent_deletion_if_contains_resources AzurestackProvider#prevent_deletion_if_contains_resources}.
using HashiCorp.Cdktf.Providers.Azurestack;
new AzurestackProviderFeaturesVirtualMachine {
bool|IResolvable DeleteOsDiskOnDeletion = null,
bool|IResolvable GracefulShutdown = null,
bool|IResolvable SkipShutdownAndForceDelete = null
};| Name | Type | Description |
|---|---|---|
DeleteOsDiskOnDeletion |
bool|HashiCorp.Cdktf.IResolvable |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#delete_os_disk_on_deletion AzurestackProvider#delete_os_disk_on_deletion}. |
GracefulShutdown |
bool|HashiCorp.Cdktf.IResolvable |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#graceful_shutdown AzurestackProvider#graceful_shutdown}. |
SkipShutdownAndForceDelete |
bool|HashiCorp.Cdktf.IResolvable |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#skip_shutdown_and_force_delete AzurestackProvider#skip_shutdown_and_force_delete}. |
public bool|IResolvable DeleteOsDiskOnDeletion { get; set; }- Type: bool|HashiCorp.Cdktf.IResolvable
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#delete_os_disk_on_deletion AzurestackProvider#delete_os_disk_on_deletion}.
public bool|IResolvable GracefulShutdown { get; set; }- Type: bool|HashiCorp.Cdktf.IResolvable
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#graceful_shutdown AzurestackProvider#graceful_shutdown}.
public bool|IResolvable SkipShutdownAndForceDelete { get; set; }- Type: bool|HashiCorp.Cdktf.IResolvable
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#skip_shutdown_and_force_delete AzurestackProvider#skip_shutdown_and_force_delete}.
using HashiCorp.Cdktf.Providers.Azurestack;
new AzurestackProviderFeaturesVirtualMachineScaleSet {
bool|IResolvable RollInstancesWhenRequired,
bool|IResolvable ForceDelete = null,
bool|IResolvable ScaleToZeroBeforeDeletion = null
};| Name | Type | Description |
|---|---|---|
RollInstancesWhenRequired |
bool|HashiCorp.Cdktf.IResolvable |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#roll_instances_when_required AzurestackProvider#roll_instances_when_required}. |
ForceDelete |
bool|HashiCorp.Cdktf.IResolvable |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#force_delete AzurestackProvider#force_delete}. |
ScaleToZeroBeforeDeletion |
bool|HashiCorp.Cdktf.IResolvable |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#scale_to_zero_before_deletion AzurestackProvider#scale_to_zero_before_deletion}. |
public bool|IResolvable RollInstancesWhenRequired { get; set; }- Type: bool|HashiCorp.Cdktf.IResolvable
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#roll_instances_when_required AzurestackProvider#roll_instances_when_required}.
public bool|IResolvable ForceDelete { get; set; }- Type: bool|HashiCorp.Cdktf.IResolvable
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#force_delete AzurestackProvider#force_delete}.
public bool|IResolvable ScaleToZeroBeforeDeletion { get; set; }- Type: bool|HashiCorp.Cdktf.IResolvable
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurestack/1.0.0/docs#scale_to_zero_before_deletion AzurestackProvider#scale_to_zero_before_deletion}.