Trusted Id Provider Args
data class TrustedIdProviderArgs(val accountName: Output<String>? = null, val idProvider: Output<String>? = null, val resourceGroupName: Output<String>? = null, val trustedIdProviderName: Output<String>? = null) : ConvertibleToJava<TrustedIdProviderArgs>
Data Lake Store trusted identity provider information. Uses Azure REST API version 2016-11-01. In version 1.x of the Azure Native provider, it used API version 2016-11-01.
Example Usage
Creates or updates the specified trusted identity provider. During update, the trusted identity provider with the specified name will be replaced with this new provider
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var trustedIdProvider = new AzureNative.DataLakeStore.TrustedIdProvider("trustedIdProvider", new()
{
AccountName = "contosoadla",
IdProvider = "https://sts.windows.net/ea9ec534-a3e3-4e45-ad36-3afc5bb291c1",
ResourceGroupName = "contosorg",
TrustedIdProviderName = "test_trusted_id_provider_name",
});
});
Content copied to clipboard
package main
import (
datalakestore "github.com/pulumi/pulumi-azure-native-sdk/datalakestore/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datalakestore.NewTrustedIdProvider(ctx, "trustedIdProvider", &datalakestore.TrustedIdProviderArgs{
AccountName: pulumi.String("contosoadla"),
IdProvider: pulumi.String("https://sts.windows.net/ea9ec534-a3e3-4e45-ad36-3afc5bb291c1"),
ResourceGroupName: pulumi.String("contosorg"),
TrustedIdProviderName: pulumi.String("test_trusted_id_provider_name"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.datalakestore.TrustedIdProvider;
import com.pulumi.azurenative.datalakestore.TrustedIdProviderArgs;
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) {
var trustedIdProvider = new TrustedIdProvider("trustedIdProvider", TrustedIdProviderArgs.builder()
.accountName("contosoadla")
.idProvider("https://sts.windows.net/ea9ec534-a3e3-4e45-ad36-3afc5bb291c1")
.resourceGroupName("contosorg")
.trustedIdProviderName("test_trusted_id_provider_name")
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:datalakestore:TrustedIdProvider test_trusted_id_provider_name /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/trustedIdProviders/{trustedIdProviderName}
Content copied to clipboard
Properties
Link copied to clipboard
The name of the Data Lake Store account.
Link copied to clipboard
The URL of this trusted identity provider.
Link copied to clipboard
The name of the Azure resource group.
Link copied to clipboard
The name of the trusted identity provider. This is used for differentiation of providers in the account.