1. Packages
  2. Azure Native
  3. API Docs
  4. datafactory
  5. getCredentialOperation
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.datafactory.getCredentialOperation

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Gets a credential.

Uses Azure REST API version 2018-06-01.

Using getCredentialOperation

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getCredentialOperation(args: GetCredentialOperationArgs, opts?: InvokeOptions): Promise<GetCredentialOperationResult>
function getCredentialOperationOutput(args: GetCredentialOperationOutputArgs, opts?: InvokeOptions): Output<GetCredentialOperationResult>
Copy
def get_credential_operation(credential_name: Optional[str] = None,
                             factory_name: Optional[str] = None,
                             resource_group_name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetCredentialOperationResult
def get_credential_operation_output(credential_name: Optional[pulumi.Input[str]] = None,
                             factory_name: Optional[pulumi.Input[str]] = None,
                             resource_group_name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetCredentialOperationResult]
Copy
func LookupCredentialOperation(ctx *Context, args *LookupCredentialOperationArgs, opts ...InvokeOption) (*LookupCredentialOperationResult, error)
func LookupCredentialOperationOutput(ctx *Context, args *LookupCredentialOperationOutputArgs, opts ...InvokeOption) LookupCredentialOperationResultOutput
Copy

> Note: This function is named LookupCredentialOperation in the Go SDK.

public static class GetCredentialOperation 
{
    public static Task<GetCredentialOperationResult> InvokeAsync(GetCredentialOperationArgs args, InvokeOptions? opts = null)
    public static Output<GetCredentialOperationResult> Invoke(GetCredentialOperationInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCredentialOperationResult> getCredentialOperation(GetCredentialOperationArgs args, InvokeOptions options)
public static Output<GetCredentialOperationResult> getCredentialOperation(GetCredentialOperationArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:datafactory:getCredentialOperation
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CredentialName
This property is required.
Changes to this property will trigger replacement.
string
Credential name
FactoryName
This property is required.
Changes to this property will trigger replacement.
string
The factory name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
CredentialName
This property is required.
Changes to this property will trigger replacement.
string
Credential name
FactoryName
This property is required.
Changes to this property will trigger replacement.
string
The factory name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
credentialName
This property is required.
Changes to this property will trigger replacement.
String
Credential name
factoryName
This property is required.
Changes to this property will trigger replacement.
String
The factory name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.
credentialName
This property is required.
Changes to this property will trigger replacement.
string
Credential name
factoryName
This property is required.
Changes to this property will trigger replacement.
string
The factory name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
credential_name
This property is required.
Changes to this property will trigger replacement.
str
Credential name
factory_name
This property is required.
Changes to this property will trigger replacement.
str
The factory name.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The resource group name.
credentialName
This property is required.
Changes to this property will trigger replacement.
String
Credential name
factoryName
This property is required.
Changes to this property will trigger replacement.
String
The factory name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.

getCredentialOperation Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Etag string
Etag identifies change in the resource.
Id string
The resource identifier.
Name string
The resource name.
Properties Pulumi.AzureNative.DataFactory.Outputs.ManagedIdentityCredentialResponse | Pulumi.AzureNative.DataFactory.Outputs.ServicePrincipalCredentialResponse
Properties of credentials.
Type string
The resource type.
AzureApiVersion string
The Azure API version of the resource.
Etag string
Etag identifies change in the resource.
Id string
The resource identifier.
Name string
The resource name.
Properties ManagedIdentityCredentialResponse | ServicePrincipalCredentialResponse
Properties of credentials.
Type string
The resource type.
azureApiVersion String
The Azure API version of the resource.
etag String
Etag identifies change in the resource.
id String
The resource identifier.
name String
The resource name.
properties ManagedIdentityCredentialResponse | ServicePrincipalCredentialResponse
Properties of credentials.
type String
The resource type.
azureApiVersion string
The Azure API version of the resource.
etag string
Etag identifies change in the resource.
id string
The resource identifier.
name string
The resource name.
properties ManagedIdentityCredentialResponse | ServicePrincipalCredentialResponse
Properties of credentials.
type string
The resource type.
azure_api_version str
The Azure API version of the resource.
etag str
Etag identifies change in the resource.
id str
The resource identifier.
name str
The resource name.
properties ManagedIdentityCredentialResponse | ServicePrincipalCredentialResponse
Properties of credentials.
type str
The resource type.
azureApiVersion String
The Azure API version of the resource.
etag String
Etag identifies change in the resource.
id String
The resource identifier.
name String
The resource name.
properties Property Map | Property Map
Properties of credentials.
type String
The resource type.

Supporting Types

AzureKeyVaultSecretReferenceResponse

SecretName This property is required. object
The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string).
Store This property is required. Pulumi.AzureNative.DataFactory.Inputs.LinkedServiceReferenceResponse
The Azure Key Vault linked service reference.
SecretVersion object
The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string).
SecretName This property is required. interface{}
The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string).
Store This property is required. LinkedServiceReferenceResponse
The Azure Key Vault linked service reference.
SecretVersion interface{}
The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string).
secretName This property is required. Object
The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string).
store This property is required. LinkedServiceReferenceResponse
The Azure Key Vault linked service reference.
secretVersion Object
The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string).
secretName This property is required. any
The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string).
store This property is required. LinkedServiceReferenceResponse
The Azure Key Vault linked service reference.
secretVersion any
The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string).
secret_name This property is required. Any
The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string).
store This property is required. LinkedServiceReferenceResponse
The Azure Key Vault linked service reference.
secret_version Any
The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string).
secretName This property is required. Any
The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string).
store This property is required. Property Map
The Azure Key Vault linked service reference.
secretVersion Any
The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string).

LinkedServiceReferenceResponse

ReferenceName This property is required. string
Reference LinkedService name.
Type This property is required. string
Linked service reference type.
Parameters Dictionary<string, object>
Arguments for LinkedService.
ReferenceName This property is required. string
Reference LinkedService name.
Type This property is required. string
Linked service reference type.
Parameters map[string]interface{}
Arguments for LinkedService.
referenceName This property is required. String
Reference LinkedService name.
type This property is required. String
Linked service reference type.
parameters Map<String,Object>
Arguments for LinkedService.
referenceName This property is required. string
Reference LinkedService name.
type This property is required. string
Linked service reference type.
parameters {[key: string]: any}
Arguments for LinkedService.
reference_name This property is required. str
Reference LinkedService name.
type This property is required. str
Linked service reference type.
parameters Mapping[str, Any]
Arguments for LinkedService.
referenceName This property is required. String
Reference LinkedService name.
type This property is required. String
Linked service reference type.
parameters Map<Any>
Arguments for LinkedService.

ManagedIdentityCredentialResponse

Annotations List<object>
List of tags that can be used for describing the Credential.
Description string
Credential description.
ResourceId string
The resource id of user assigned managed identity
Annotations []interface{}
List of tags that can be used for describing the Credential.
Description string
Credential description.
ResourceId string
The resource id of user assigned managed identity
annotations List<Object>
List of tags that can be used for describing the Credential.
description String
Credential description.
resourceId String
The resource id of user assigned managed identity
annotations any[]
List of tags that can be used for describing the Credential.
description string
Credential description.
resourceId string
The resource id of user assigned managed identity
annotations Sequence[Any]
List of tags that can be used for describing the Credential.
description str
Credential description.
resource_id str
The resource id of user assigned managed identity
annotations List<Any>
List of tags that can be used for describing the Credential.
description String
Credential description.
resourceId String
The resource id of user assigned managed identity

ServicePrincipalCredentialResponse

Annotations List<object>
List of tags that can be used for describing the Credential.
Description string
Credential description.
ServicePrincipalId object
The app ID of the service principal used to authenticate
ServicePrincipalKey Pulumi.AzureNative.DataFactory.Inputs.AzureKeyVaultSecretReferenceResponse
The key of the service principal used to authenticate.
Tenant object
The ID of the tenant to which the service principal belongs
Annotations []interface{}
List of tags that can be used for describing the Credential.
Description string
Credential description.
ServicePrincipalId interface{}
The app ID of the service principal used to authenticate
ServicePrincipalKey AzureKeyVaultSecretReferenceResponse
The key of the service principal used to authenticate.
Tenant interface{}
The ID of the tenant to which the service principal belongs
annotations List<Object>
List of tags that can be used for describing the Credential.
description String
Credential description.
servicePrincipalId Object
The app ID of the service principal used to authenticate
servicePrincipalKey AzureKeyVaultSecretReferenceResponse
The key of the service principal used to authenticate.
tenant Object
The ID of the tenant to which the service principal belongs
annotations any[]
List of tags that can be used for describing the Credential.
description string
Credential description.
servicePrincipalId any
The app ID of the service principal used to authenticate
servicePrincipalKey AzureKeyVaultSecretReferenceResponse
The key of the service principal used to authenticate.
tenant any
The ID of the tenant to which the service principal belongs
annotations Sequence[Any]
List of tags that can be used for describing the Credential.
description str
Credential description.
service_principal_id Any
The app ID of the service principal used to authenticate
service_principal_key AzureKeyVaultSecretReferenceResponse
The key of the service principal used to authenticate.
tenant Any
The ID of the tenant to which the service principal belongs
annotations List<Any>
List of tags that can be used for describing the Credential.
description String
Credential description.
servicePrincipalId Any
The app ID of the service principal used to authenticate
servicePrincipalKey Property Map
The key of the service principal used to authenticate.
tenant Any
The ID of the tenant to which the service principal belongs

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi