provider

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

Types

type AzurermSpec

type AzurermSpec struct {
	// +optional
	// +kubebuilder:validation:MaxItems=3
	AuxiliaryTenantIDS []string `json:"auxiliaryTenantIDS,omitempty" tf:"auxiliary_tenant_ids"`
	// The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate
	// +optional
	ClientCertificatePassword *string `json:"clientCertificatePassword,omitempty" tf:"client_certificate_password"`
	// The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate.
	// +optional
	ClientCertificatePath *string `json:"clientCertificatePath,omitempty" tf:"client_certificate_path"`
	// The Client ID which should be used.
	// +optional
	ClientID *string `json:"clientID,omitempty" tf:"client_id"`
	// The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret.
	// +optional
	ClientSecret *string `json:"clientSecret,omitempty" tf:"client_secret"`
	// This will disable the x-ms-correlation-request-id header.
	// +optional
	DisableCorrelationRequestID *bool `json:"disableCorrelationRequestID,omitempty" tf:"disable_correlation_request_id"`
	// This will disable the Terraform Partner ID which is used if a custom `partner_id` isn't specified.
	// +optional
	DisableTerraformPartnerID *bool `json:"disableTerraformPartnerID,omitempty" tf:"disable_terraform_partner_id"`
	// The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public.
	Environment *string              `json:"environment" tf:"environment"`
	Features    *AzurermSpecFeatures `json:"features" tf:"features"`
	// The Hostname which should be used for the Azure Metadata Service.
	MetadataHost *string `json:"metadataHost" tf:"metadata_host"`
	// Deprecated - replaced by `metadata_host`.
	// +optional
	// Deprecated
	MetadataURL *string `json:"metadataURL,omitempty" tf:"metadata_url"`
	// The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically.
	// +optional
	MsiEndpoint *string `json:"msiEndpoint,omitempty" tf:"msi_endpoint"`
	// A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution.
	// +optional
	PartnerID *string `json:"partnerID,omitempty" tf:"partner_id"`
	// [DEPRECATED] This will cause the AzureRM Provider to skip verifying the credentials being used are valid.
	// +optional
	// Deprecated
	SkipCredentialsValidation *bool `json:"skipCredentialsValidation,omitempty" tf:"skip_credentials_validation"`
	// Should the AzureRM Provider skip registering all of the Resource Providers that it supports, if they're not already registered?
	// +optional
	SkipProviderRegistration *bool `json:"skipProviderRegistration,omitempty" tf:"skip_provider_registration"`
	// Should the AzureRM Provider use AzureAD to access the Storage Data Plane API's?
	// +optional
	StorageUseAzuread *bool `json:"storageUseAzuread,omitempty" tf:"storage_use_azuread"`
	// The Subscription ID which should be used.
	// +optional
	SubscriptionID *string `json:"subscriptionID,omitempty" tf:"subscription_id"`
	// The Tenant ID which should be used.
	// +optional
	TenantID *string `json:"tenantID,omitempty" tf:"tenant_id"`
	// Should Terraform obtain MSAL auth tokens and no longer use Azure Active Directory Graph?
	// +optional
	UseMsal *bool `json:"useMsal,omitempty" tf:"use_msal"`
	// Allowed Managed Service Identity be used for Authentication.
	// +optional
	UseMsi *bool `json:"useMsi,omitempty" tf:"use_msi"`
}

type AzurermSpecFeatures

type AzurermSpecFeatures struct {
	// +optional
	ApiManagement *AzurermSpecFeaturesApiManagement `json:"apiManagement,omitempty" tf:"api_management"`
	// +optional
	CognitiveAccount *AzurermSpecFeaturesCognitiveAccount `json:"cognitiveAccount,omitempty" tf:"cognitive_account"`
	// +optional
	KeyVault *AzurermSpecFeaturesKeyVault `json:"keyVault,omitempty" tf:"key_vault"`
	// +optional
	LogAnalyticsWorkspace *AzurermSpecFeaturesLogAnalyticsWorkspace `json:"logAnalyticsWorkspace,omitempty" tf:"log_analytics_workspace"`
	// +optional
	Network *AzurermSpecFeaturesNetwork `json:"network,omitempty" tf:"network"`
	// +optional
	ResourceGroup *AzurermSpecFeaturesResourceGroup `json:"resourceGroup,omitempty" tf:"resource_group"`
	// +optional
	TemplateDeployment *AzurermSpecFeaturesTemplateDeployment `json:"templateDeployment,omitempty" tf:"template_deployment"`
	// +optional
	VirtualMachine *AzurermSpecFeaturesVirtualMachine `json:"virtualMachine,omitempty" tf:"virtual_machine"`
	// +optional
	VirtualMachineScaleSet *AzurermSpecFeaturesVirtualMachineScaleSet `json:"virtualMachineScaleSet,omitempty" tf:"virtual_machine_scale_set"`
}

type AzurermSpecFeaturesApiManagement added in v0.5.0

type AzurermSpecFeaturesApiManagement struct {
	// +optional
	PurgeSoftDeleteOnDestroy *bool `json:"purgeSoftDeleteOnDestroy,omitempty" tf:"purge_soft_delete_on_destroy"`
}

type AzurermSpecFeaturesApiManagementCodec added in v0.5.0

type AzurermSpecFeaturesApiManagementCodec struct {
}

+k8s:deepcopy-gen=false

func (AzurermSpecFeaturesApiManagementCodec) Decode added in v0.5.0

func (AzurermSpecFeaturesApiManagementCodec) Encode added in v0.5.0

func (AzurermSpecFeaturesApiManagementCodec) IsEmpty added in v0.5.0

type AzurermSpecFeaturesCodec

type AzurermSpecFeaturesCodec struct {
}

+k8s:deepcopy-gen=false

func (AzurermSpecFeaturesCodec) Decode

func (AzurermSpecFeaturesCodec) Encode

func (AzurermSpecFeaturesCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (AzurermSpecFeaturesCodec) IsEmpty

type AzurermSpecFeaturesCognitiveAccount

type AzurermSpecFeaturesCognitiveAccount struct {
	// +optional
	PurgeSoftDeleteOnDestroy *bool `json:"purgeSoftDeleteOnDestroy,omitempty" tf:"purge_soft_delete_on_destroy"`
}

type AzurermSpecFeaturesCognitiveAccountCodec

type AzurermSpecFeaturesCognitiveAccountCodec struct {
}

+k8s:deepcopy-gen=false

func (AzurermSpecFeaturesCognitiveAccountCodec) Decode

func (AzurermSpecFeaturesCognitiveAccountCodec) Encode

func (AzurermSpecFeaturesCognitiveAccountCodec) IsEmpty

type AzurermSpecFeaturesKeyVault

type AzurermSpecFeaturesKeyVault struct {
	// +optional
	PurgeSoftDeleteOnDestroy *bool `json:"purgeSoftDeleteOnDestroy,omitempty" tf:"purge_soft_delete_on_destroy"`
	// +optional
	RecoverSoftDeletedKeyVaults *bool `json:"recoverSoftDeletedKeyVaults,omitempty" tf:"recover_soft_deleted_key_vaults"`
}

type AzurermSpecFeaturesKeyVaultCodec

type AzurermSpecFeaturesKeyVaultCodec struct {
}

+k8s:deepcopy-gen=false

func (AzurermSpecFeaturesKeyVaultCodec) Decode

func (AzurermSpecFeaturesKeyVaultCodec) Encode

func (AzurermSpecFeaturesKeyVaultCodec) IsEmpty

type AzurermSpecFeaturesLogAnalyticsWorkspace

type AzurermSpecFeaturesLogAnalyticsWorkspace struct {
	PermanentlyDeleteOnDestroy *bool `json:"permanentlyDeleteOnDestroy" tf:"permanently_delete_on_destroy"`
}

type AzurermSpecFeaturesLogAnalyticsWorkspaceCodec

type AzurermSpecFeaturesLogAnalyticsWorkspaceCodec struct {
}

+k8s:deepcopy-gen=false

func (AzurermSpecFeaturesLogAnalyticsWorkspaceCodec) Decode

func (AzurermSpecFeaturesLogAnalyticsWorkspaceCodec) Encode

func (AzurermSpecFeaturesLogAnalyticsWorkspaceCodec) IsEmpty

type AzurermSpecFeaturesNetwork

type AzurermSpecFeaturesNetwork struct {
	RelaxedLocking *bool `json:"relaxedLocking" tf:"relaxed_locking"`
}

type AzurermSpecFeaturesNetworkCodec

type AzurermSpecFeaturesNetworkCodec struct {
}

+k8s:deepcopy-gen=false

func (AzurermSpecFeaturesNetworkCodec) Decode

func (AzurermSpecFeaturesNetworkCodec) Encode

func (AzurermSpecFeaturesNetworkCodec) IsEmpty

type AzurermSpecFeaturesResourceGroup added in v0.5.0

type AzurermSpecFeaturesResourceGroup struct {
	// +optional
	PreventDeletionIfContainsResources *bool `json:"preventDeletionIfContainsResources,omitempty" tf:"prevent_deletion_if_contains_resources"`
}

type AzurermSpecFeaturesResourceGroupCodec added in v0.5.0

type AzurermSpecFeaturesResourceGroupCodec struct {
}

+k8s:deepcopy-gen=false

func (AzurermSpecFeaturesResourceGroupCodec) Decode added in v0.5.0

func (AzurermSpecFeaturesResourceGroupCodec) Encode added in v0.5.0

func (AzurermSpecFeaturesResourceGroupCodec) IsEmpty added in v0.5.0

type AzurermSpecFeaturesTemplateDeployment

type AzurermSpecFeaturesTemplateDeployment struct {
	DeleteNestedItemsDuringDeletion *bool `json:"deleteNestedItemsDuringDeletion" tf:"delete_nested_items_during_deletion"`
}

type AzurermSpecFeaturesTemplateDeploymentCodec

type AzurermSpecFeaturesTemplateDeploymentCodec struct {
}

+k8s:deepcopy-gen=false

func (AzurermSpecFeaturesTemplateDeploymentCodec) Decode

func (AzurermSpecFeaturesTemplateDeploymentCodec) Encode

func (AzurermSpecFeaturesTemplateDeploymentCodec) IsEmpty

type AzurermSpecFeaturesVirtualMachine

type AzurermSpecFeaturesVirtualMachine struct {
	// +optional
	DeleteOsDiskOnDeletion *bool `json:"deleteOsDiskOnDeletion,omitempty" tf:"delete_os_disk_on_deletion"`
	// +optional
	GracefulShutdown *bool `json:"gracefulShutdown,omitempty" tf:"graceful_shutdown"`
	// +optional
	SkipShutdownAndForceDelete *bool `json:"skipShutdownAndForceDelete,omitempty" tf:"skip_shutdown_and_force_delete"`
}

type AzurermSpecFeaturesVirtualMachineCodec

type AzurermSpecFeaturesVirtualMachineCodec struct {
}

+k8s:deepcopy-gen=false

func (AzurermSpecFeaturesVirtualMachineCodec) Decode

func (AzurermSpecFeaturesVirtualMachineCodec) Encode

func (AzurermSpecFeaturesVirtualMachineCodec) IsEmpty

type AzurermSpecFeaturesVirtualMachineScaleSet

type AzurermSpecFeaturesVirtualMachineScaleSet struct {
	// +optional
	ForceDelete               *bool `json:"forceDelete,omitempty" tf:"force_delete"`
	RollInstancesWhenRequired *bool `json:"rollInstancesWhenRequired" tf:"roll_instances_when_required"`
	// +optional
	ScaleToZeroBeforeDeletion *bool `json:"scaleToZeroBeforeDeletion,omitempty" tf:"scale_to_zero_before_deletion"`
}

type AzurermSpecFeaturesVirtualMachineScaleSetCodec

type AzurermSpecFeaturesVirtualMachineScaleSetCodec struct {
}

+k8s:deepcopy-gen=false

func (AzurermSpecFeaturesVirtualMachineScaleSetCodec) Decode

func (AzurermSpecFeaturesVirtualMachineScaleSetCodec) Encode

func (AzurermSpecFeaturesVirtualMachineScaleSetCodec) IsEmpty

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL