1. Packages
  2. Dynatrace
  3. API Docs
  4. getAzureCredentials
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

dynatrace.getAzureCredentials

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

    The dynatrace.AzureCredentials data source allows the Azure credential ID to be retrieved by its label.

    • label (String) - The label/name of the Azure credential

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.dynatrace.DynatraceFunctions;
    import com.pulumi.dynatrace.inputs.GetAzureCredentialsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = DynatraceFunctions.getAzureCredentials(GetAzureCredentialsArgs.builder()
                .name("Terraform Example")
                .build());
    
            ctx.export("id", example.applyValue(getAzureCredentialsResult -> getAzureCredentialsResult.id()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: dynatrace:getAzureCredentials
          Arguments:
            name: Terraform Example
    outputs:
      id: ${example.id}
    

    Using getAzureCredentials

    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 getAzureCredentials(args: GetAzureCredentialsArgs, opts?: InvokeOptions): Promise<GetAzureCredentialsResult>
    function getAzureCredentialsOutput(args: GetAzureCredentialsOutputArgs, opts?: InvokeOptions): Output<GetAzureCredentialsResult>
    def get_azure_credentials(label: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetAzureCredentialsResult
    def get_azure_credentials_output(label: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetAzureCredentialsResult]
    func LookupAzureCredentials(ctx *Context, args *LookupAzureCredentialsArgs, opts ...InvokeOption) (*LookupAzureCredentialsResult, error)
    func LookupAzureCredentialsOutput(ctx *Context, args *LookupAzureCredentialsOutputArgs, opts ...InvokeOption) LookupAzureCredentialsResultOutput

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

    public static class GetAzureCredentials 
    {
        public static Task<GetAzureCredentialsResult> InvokeAsync(GetAzureCredentialsArgs args, InvokeOptions? opts = null)
        public static Output<GetAzureCredentialsResult> Invoke(GetAzureCredentialsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAzureCredentialsResult> getAzureCredentials(GetAzureCredentialsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: dynatrace:index/getAzureCredentials:getAzureCredentials
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Label string
    Label string
    label String
    label string
    label str
    label String

    getAzureCredentials Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Label string
    Id string
    The provider-assigned unique ID for this managed resource.
    Label string
    id String
    The provider-assigned unique ID for this managed resource.
    label String
    id string
    The provider-assigned unique ID for this managed resource.
    label string
    id str
    The provider-assigned unique ID for this managed resource.
    label str
    id String
    The provider-assigned unique ID for this managed resource.
    label String

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse