Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/hashicorp/terraform-provider-azurerm
/ functions
Functions
43,159 in github.com/hashicorp/terraform-provider-azurerm
⨍
Functions
43,159
◇
Types & classes
4,755
↓ 25,075 callers
Function
That
Key returns a type which can be used for more fluent assertions for a given Resource
internal/acceptance/check/that.go:25
↓ 13,398 callers
Function
ComposeTestCheckFunc
(fs ...resource.TestCheckFunc)
internal/acceptance/plugin_sdk_aliases.go:28
↓ 12,832 callers
Method
ExistsInAzure
ExistsInAzure validates that the specified resource exists within Azure
internal/acceptance/check/that.go:43
↓ 12,245 callers
Method
Key
()
internal/tools/document-lint/check/check_iface.go:15
↓ 11,264 callers
Method
Get
(ctx context.Context, shareName string)
internal/services/storage/shim/shares.go:16
↓ 10,954 callers
Method
ImportStep
ImportStep returns a Test Step which Imports the Resource, optionally ignoring any fields which may not be imported (for example, as they're not retur
internal/acceptance/steps.go:129
↓ 9,660 callers
Function
BuildTestData
BuildTestData generates some test data for the given resource
internal/acceptance/data.go:95
↓ 9,012 callers
Method
Set
(key string, value interface{})
internal/sdk/resource_data.go:34
↓ 8,487 callers
Method
HasValue
HasValue returns a TestCheckFunc which validates that the specific key has the specified value on the resource
internal/acceptance/check/that.go:148
↓ 8,325 callers
Method
ResourceTest
(t *testing.T, testResource types.TestResource, steps []TestStep)
internal/acceptance/testcase.go:66
↓ 4,293 callers
Method
ID
ID returns the ID of the rule, e.g. `G001`.
internal/tools/document-fmt/rule/rule.go:14
↓ 3,257 callers
Method
HasChange
(key string)
internal/sdk/resource_data.go:26
↓ 3,114 callers
Method
Exists
(ctx context.Context, shareName string)
internal/services/storage/shim/shares.go:15
↓ 3,114 callers
Method
Id
()
internal/sdk/resource_data.go:32
↓ 3,008 callers
Function
DefaultTimeout
(tx interface{})
internal/tf/pluginsdk/timeouts.go:14
↓ 1,968 callers
Method
SetId
(id string)
internal/sdk/resource_data.go:38
↓ 1,882 callers
Function
StringInSlice
StringInSlice returns a SchemaValidateFunc which tests if the provided value is of type string and matches the value of an element in the valid slice
internal/tf/validation/pluginsdk.go:255
↓ 1,585 callers
Method
GetOk
(key string)
internal/sdk/resource_data.go:16
↓ 1,289 callers
Function
FivePointOh
FivePointOh returns whether this provider is running in 5.0 mode that is to say - the final 5.0 release This exists to allow breaking changes to be p
internal/features/five_point_oh.go:37
↓ 982 callers
Method
Get
(ctx context.Context, id databases.DatabaseId)
internal/services/managedredis/custompollers/database_client_interface.go:13
↓ 969 callers
Method
Decode
Decode will decode the Terraform Schema into the specified object consisting of Supported Go native Types These are: int64, float64, string, bool, as
internal/sdk/resource_decode.go:26
↓ 958 callers
Function
ForRead
ForRead returns the context wrapped with the timeout for an Read operation If the 'SupportsCustomTimeouts' feature toggle is enabled - this is wrappe
internal/timeouts/determine.go:45
↓ 843 callers
Method
PopSegment
PopSegment retrieves a segment from the Path and returns it if found it removes it from the Path then return the value if not found, this returns nil
helpers/azure/resourceid.go:159
↓ 733 callers
Function
ImportAsExistsError
todo this should be moved to internal somewhere?
helpers/tf/errors.go:9
↓ 733 callers
Method
List
(ctx context.Context, request list.ListRequest, stream *list.ListResultsStream, metadata ResourceMetadata)
internal/sdk/list_resource.go:99
↓ 710 callers
Method
DataSourceTest
(t *testing.T, steps []TestStep)
internal/acceptance/testcase.go:24
↓ 699 callers
Method
RequiresImportErrorStep
RequiresImportErrorStep returns a Test Step which expects a Requires Import error to be returned when running this step
internal/acceptance/steps.go:161
↓ 690 callers
Function
ForDelete
ForDelete returns the context wrapped with the timeout for an Delete operation If the 'SupportsCustomTimeouts' feature toggle is enabled - this is wr
internal/timeouts/determine.go:37
↓ 651 callers
Function
ResponseWasNotFound
(resp autorest.Response)
utils/response.go:13
↓ 612 callers
Function
IntBetween
IntBetween returns a SchemaValidateFunc which tests if the provided value is of type int and is between min and max (inclusive)
internal/tf/validation/pluginsdk.go:88
↓ 607 callers
Method
Configure
(ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse, metadata Resour
internal/sdk/framework_resource.go:309
↓ 596 callers
Method
Encode
Encode will encode the specified object into the Terraform State NOTE: this requires that the object passed in is a pointer and all fields contain `tf
internal/sdk/resource_encode.go:16
↓ 584 callers
Method
SetID
SetID uses the specified ID Formatter to set the Resource ID
internal/sdk/resource_id.go:9
↓ 507 callers
Function
ImporterValidatingResourceId
ImporterValidatingResourceId validates the ID provided at import time is valid using the validateFunc.
internal/tf/pluginsdk/imports.go:20
↓ 473 callers
Method
MarkAsGone
MarkAsGone marks this resource as removed in the Remote API, so this is no longer available
internal/sdk/resource.go:220
↓ 444 callers
Method
String
String display diff item information for check
internal/tools/document-lint/check/check_iface.go:20
↓ 443 callers
Method
Delete
(ctx context.Context, shareName string)
internal/services/storage/shim/shares.go:14
↓ 412 callers
Method
ValidateNoEmptySegments
ValidateNoEmptySegments validates ...
helpers/azure/resourceid.go:170
↓ 385 callers
Function
ForCreateUpdate
ForCreateUpdate returns the context wrapped with the timeout for an combined Create/Update operation If the 'SupportsCustomTimeouts' feature toggle i
internal/timeouts/determine.go:25
↓ 375 callers
Function
ForCreate
ForCreate returns the context wrapped with the timeout for an Create operation If the 'SupportsCustomTimeouts' feature toggle is enabled - this is wr
internal/timeouts/determine.go:17
↓ 361 callers
Function
ExpandStringSlice
(input []interface{})
utils/common_marshal.go:13
↓ 344 callers
Method
ResourceRequiresImport
ResourceRequiresImport returns an error saying that this resource must be imported with instructions on how to do this (namely, using `terraform impor
internal/sdk/resource.go:228
↓ 317 callers
Function
ByName
handle the case of using the same name for different kinds of resources
internal/locks/lock.go:16
↓ 317 callers
Function
UnlockByName
(name string, resourceType string)
internal/locks/lock.go:45
↓ 315 callers
Method
ResourceSequentialTest
(t *testing.T, testResource types.TestResource, steps []TestStep)
internal/acceptance/testcase.go:160
↓ 302 callers
Function
SetResourceIdentityData
SetResourceIdentityData sets the resource identity data in state
internal/tf/pluginsdk/resource_identity.go:152
↓ 297 callers
Function
ComposeAggregateTestCheckFunc
(fs ...resource.TestCheckFunc)
internal/acceptance/plugin_sdk_aliases.go:32
↓ 260 callers
Function
FlattenStringSlice
(input *[]string)
utils/common_marshal.go:79
↓ 260 callers
Function
ForUpdate
ForUpdate returns the context wrapped with the timeout for an Update operation If the 'SupportsCustomTimeouts' feature toggle is enabled - this is wr
internal/timeouts/determine.go:53
↓ 240 callers
Function
StringMatch
StringMatch returns a SchemaValidateFunc which tests if the provided value matches a given regexp. Optionally an error message can be provided to retu
internal/tf/validation/pluginsdk.go:300
↓ 217 callers
Method
Format
(input string)
internal/tools/generator-resource-id/main.go:1067
↓ 213 callers
Function
SetIDCallback
Untyped resources
internal/sdk/resource_id_callback.go:32
↓ 208 callers
Function
RequiresImportError
(resourceName string)
internal/acceptance/testing.go:90
↓ 198 callers
Method
SetIDCallback
Typed resources
internal/sdk/resource_id_callback.go:46
↓ 190 callers
Function
IntAtLeast
IntAtLeast returns a SchemaValidateFunc which tests if the provided value is of type int and is at least min (inclusive)
internal/tf/validation/pluginsdk.go:76
↓ 185 callers
Method
GetChange
GetFromConfig(key string) interface{} // TODO - Should we support this? GetFromState(key string) interface{} // TODO - Should we support this?
internal/sdk/resource_data.go:24
↓ 185 callers
Function
StateUpgrades
StateUpgrades is a wrapper around the Plugin SDK's State Upgraders which allows us to upgrade the Plugin SDK without breaking all open PR's and attemp
internal/tf/pluginsdk/state_upgrades.go:32
↓ 184 callers
Function
SetResponseErrorDiagnostic
SetResponseErrorDiagnostic is a helper function to write an Error Diagnostic to the appropriate Framework response type detail can be specified as an
internal/sdk/framework_resource.go:160
↓ 184 callers
Function
UnlockByID
(id string)
internal/locks/lock.go:41
↓ 182 callers
Function
ByID
(id string)
internal/locks/lock.go:11
↓ 161 callers
Method
Run
Run implements the validation logic, the boolean parameter is true when cmd is "fix"
internal/tools/document-fmt/rule/rule.go:20
↓ 153 callers
Method
RandomIntOfLength
RandomIntOfLength is a random 8 to 18 digit integer which is unique to this test case
internal/acceptance/data.go:142
↓ 152 callers
Method
ResourceType
ResourceType is the exposed name of this resource (e.g. `azurerm_example`)
internal/sdk/resource.go:40
↓ 150 callers
Method
UpdateThenPoll
(ctx context.Context, id managedenvironments.ManagedEnvironmentId, input ManagedEnvironment)
internal/services/containerapps/azuresdkhacks/container_app_environment_update.go:69
↓ 149 callers
Method
ImportBlockWithIDStep
(expectNonEmptyPlan bool)
internal/acceptance/steps.go:109
↓ 149 callers
Method
ImportBlockWithResourceIdentityStep
(expectNonEmptyPlan bool)
internal/acceptance/steps.go:113
↓ 149 callers
Method
ResourceIdentityTest
(t *testing.T, steps []TestStep, sequential bool)
internal/acceptance/testcase.go:49
↓ 148 callers
Method
Parse
(fs afero.Fs)
internal/tools/document-fmt/markdown/document.go:42
↓ 143 callers
Method
Update
Update will make changes to this resource using the information from the Terraform Configuration/Plan NOTE: the shim layer will automatically call the
internal/sdk/resource.go:137
↓ 141 callers
Function
StringLenBetween
StringLenBetween returns a SchemaValidateFunc which tests if the provided value is of type string and has length between min and max (inclusive)
internal/tf/validation/pluginsdk.go:293
↓ 136 callers
Method
ValueString
()
internal/tools/document-lint/check/check_timeout.go:51
↓ 130 callers
Function
SetErrorDiagnosticAndPushListResult
SetErrorDiagnosticAndPushListResult is a helper function to write an Error Diagnostic to a List Result and push that result to Terraform Note: after c
internal/sdk/framework_resource.go:257
↓ 129 callers
Method
template
(data acceptance.TestData)
internal/services/compute/windows_virtual_machine_scale_set_resource_test.go:38
↓ 123 callers
Method
Add
(providers ...string)
internal/resourceproviders/required.go:32
↓ 123 callers
Method
HasChanges
(keys ...string)
internal/sdk/resource_data.go:28
↓ 123 callers
Method
template
(data acceptance.TestData)
internal/services/compute/linux_virtual_machine_scale_set_resource_test.go:44
↓ 120 callers
Method
Client
Client returns a struct containing information about the Client being used to connect to Azure
internal/acceptance/client_data.go:45
↓ 119 callers
Method
Match
Match returns whether the provided heading text matches the expected section heading
internal/tools/document-fmt/markdown/section.go:15
↓ 118 callers
Method
Error
()
internal/resourceproviders/errors.go:58
↓ 118 callers
Method
IsNotEmpty
IsNotEmpty returns a TestCheckFunc which validates that the specific key is not empty on the resource
internal/acceptance/check/that.go:125
↓ 116 callers
Method
Timeout
()
utils/response_test.go:52
↓ 113 callers
Function
TestCheckResourceAttr
@tombuildsstuff: Below this point are convenience methods which exist to allow existing code to compile. Whilst these are not initially deprecated, th
internal/acceptance/plugin_sdk_aliases.go:42
↓ 111 callers
Function
Any
Any returns a SchemaValidateFunc which tests if the provided value passes any of the provided SchemaValidateFunc lint:ignore SA1019 SDKv2 migration -
internal/tf/validation/pluginsdk.go:31
↓ 110 callers
Method
ConfigureClient
ConfigureClient sets up an autorest.Client using an autorest.Authorizer
internal/common/client_options.go:90
↓ 107 callers
Method
CheckWithClientForResource
CheckWithClientForResource returns a TestCheckFunc which will call a ClientCheckFunc with the provider context and clients for the named resource
internal/acceptance/steps.go:78
↓ 105 callers
Method
Create
(ctx context.Context, shareName string, input shares.CreateInput)
internal/services/storage/shim/shares.go:13
↓ 100 callers
Function
GenerateIdentitySchema
GenerateIdentitySchema generates the resource identity schema from the resource ID type
internal/tf/pluginsdk/resource_identity.go:72
↓ 99 callers
Method
GetRawConfig
GetRawConfig is a helper to retrieve the RawConfig from a ResourceMetaData object Note: This method is experimental and not meant for general use. Pu
internal/sdk/raw_config.go:20
↓ 98 callers
Method
IsUUID
IsUUID returns a TestCheckFunc which validates that the value for the specified key is a UUID.
internal/acceptance/check/that.go:141
↓ 95 callers
Function
ImporterValidatingIdentity
ImporterValidatingIdentity validates the ID provided at import time is valid or that the resource identity data provided in the import block is valid
internal/tf/pluginsdk/imports.go:52
↓ 94 callers
Function
LinkedServiceID
LinkedServiceID parses a LinkedService ID into an LinkedServiceId struct
internal/services/datafactory/parse/linked_service.go:48
↓ 93 callers
Function
ProtoV5ProviderFactoriesInit
ProtoV5ProviderFactoriesInit allows tests outside the acceptance test suite to instantiate the ServerFactory required to run tests directly. Primary u
internal/provider/framework/factory_builder.go:34
↓ 92 callers
Method
template
(data acceptance.TestData)
internal/services/compute/windows_virtual_machine_resource_test.go:91
↓ 88 callers
Method
template
(data acceptance.TestData)
internal/services/compute/linux_virtual_machine_resource_test.go:98
↓ 87 callers
Method
DataPlaneOperationSupportingAnyAuthMethod
()
internal/services/storage/client/data_plane.go:33
↓ 85 callers
Function
NewSet
NewSet is a convenience method for creating a new set with the given items.
internal/tf/pluginsdk/types.go:15
↓ 83 callers
Method
DoesNotExist
DoesNotExist returns a TestCheckFunc which validates that the specific key does not exist on the resource
internal/acceptance/check/that.go:110
↓ 80 callers
Method
template
(data acceptance.TestData)
internal/services/network/application_gateway_resource_test.go:6349
↓ 78 callers
Method
FindAccount
FindAccount - Lists all the storage accounts in a subscription to find by name rather than ID. This function must only be used for Resource Importing
internal/services/storage/client/helpers.go:158
↓ 76 callers
Method
IsEmpty
IsEmpty returns true if the ListResult contains no values.
internal/services/appconfiguration/azuresdkhacks/models.go:141
next →
1–100 of 43,159, ranked by callers