1. Packages
  2. Azure Native v2
  3. API Docs
  4. datalakestore
  5. TrustedIdProvider
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 by Pulumi

azure-native-v2.datalakestore.TrustedIdProvider

Explore with Pulumi AI

Data Lake Store trusted identity provider information. Azure REST API version: 2016-11-01. Prior API version in Azure Native 1.x: 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",
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const trustedIdProvider = new azure_native.datalakestore.TrustedIdProvider("trustedIdProvider", {
    accountName: "contosoadla",
    idProvider: "https://sts.windows.net/ea9ec534-a3e3-4e45-ad36-3afc5bb291c1",
    resourceGroupName: "contosorg",
    trustedIdProviderName: "test_trusted_id_provider_name",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

trusted_id_provider = azure_native.datalakestore.TrustedIdProvider("trustedIdProvider",
    account_name="contosoadla",
    id_provider="https://sts.windows.net/ea9ec534-a3e3-4e45-ad36-3afc5bb291c1",
    resource_group_name="contosorg",
    trusted_id_provider_name="test_trusted_id_provider_name")
Copy
resources:
  trustedIdProvider:
    type: azure-native:datalakestore:TrustedIdProvider
    properties:
      accountName: contosoadla
      idProvider: https://sts.windows.net/ea9ec534-a3e3-4e45-ad36-3afc5bb291c1
      resourceGroupName: contosorg
      trustedIdProviderName: test_trusted_id_provider_name
Copy

Create TrustedIdProvider Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new TrustedIdProvider(name: string, args: TrustedIdProviderArgs, opts?: CustomResourceOptions);
@overload
def TrustedIdProvider(resource_name: str,
                      args: TrustedIdProviderArgs,
                      opts: Optional[ResourceOptions] = None)

@overload
def TrustedIdProvider(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      account_name: Optional[str] = None,
                      id_provider: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      trusted_id_provider_name: Optional[str] = None)
func NewTrustedIdProvider(ctx *Context, name string, args TrustedIdProviderArgs, opts ...ResourceOption) (*TrustedIdProvider, error)
public TrustedIdProvider(string name, TrustedIdProviderArgs args, CustomResourceOptions? opts = null)
public TrustedIdProvider(String name, TrustedIdProviderArgs args)
public TrustedIdProvider(String name, TrustedIdProviderArgs args, CustomResourceOptions options)
type: azure-native:datalakestore:TrustedIdProvider
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. TrustedIdProviderArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. TrustedIdProviderArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. TrustedIdProviderArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TrustedIdProviderArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. TrustedIdProviderArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var trustedIdProviderResource = new AzureNative.Datalakestore.TrustedIdProvider("trustedIdProviderResource", new()
{
    AccountName = "string",
    IdProvider = "string",
    ResourceGroupName = "string",
    TrustedIdProviderName = "string",
});
Copy
example, err := datalakestore.NewTrustedIdProvider(ctx, "trustedIdProviderResource", &datalakestore.TrustedIdProviderArgs{
	AccountName:           "string",
	IdProvider:            "string",
	ResourceGroupName:     "string",
	TrustedIdProviderName: "string",
})
Copy
var trustedIdProviderResource = new TrustedIdProvider("trustedIdProviderResource", TrustedIdProviderArgs.builder()
    .accountName("string")
    .idProvider("string")
    .resourceGroupName("string")
    .trustedIdProviderName("string")
    .build());
Copy
trusted_id_provider_resource = azure_native.datalakestore.TrustedIdProvider("trustedIdProviderResource",
    account_name=string,
    id_provider=string,
    resource_group_name=string,
    trusted_id_provider_name=string)
Copy
const trustedIdProviderResource = new azure_native.datalakestore.TrustedIdProvider("trustedIdProviderResource", {
    accountName: "string",
    idProvider: "string",
    resourceGroupName: "string",
    trustedIdProviderName: "string",
});
Copy
type: azure-native:datalakestore:TrustedIdProvider
properties:
    accountName: string
    idProvider: string
    resourceGroupName: string
    trustedIdProviderName: string
Copy

TrustedIdProvider Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The TrustedIdProvider resource accepts the following input properties:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Data Lake Store account.
IdProvider This property is required. string
The URL of this trusted identity provider.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure resource group.
TrustedIdProviderName Changes to this property will trigger replacement. string
The name of the trusted identity provider. This is used for differentiation of providers in the account.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Data Lake Store account.
IdProvider This property is required. string
The URL of this trusted identity provider.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure resource group.
TrustedIdProviderName Changes to this property will trigger replacement. string
The name of the trusted identity provider. This is used for differentiation of providers in the account.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Data Lake Store account.
idProvider This property is required. String
The URL of this trusted identity provider.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Azure resource group.
trustedIdProviderName Changes to this property will trigger replacement. String
The name of the trusted identity provider. This is used for differentiation of providers in the account.
accountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Data Lake Store account.
idProvider This property is required. string
The URL of this trusted identity provider.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure resource group.
trustedIdProviderName Changes to this property will trigger replacement. string
The name of the trusted identity provider. This is used for differentiation of providers in the account.
account_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Data Lake Store account.
id_provider This property is required. str
The URL of this trusted identity provider.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Azure resource group.
trusted_id_provider_name Changes to this property will trigger replacement. str
The name of the trusted identity provider. This is used for differentiation of providers in the account.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Data Lake Store account.
idProvider This property is required. String
The URL of this trusted identity provider.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Azure resource group.
trustedIdProviderName Changes to this property will trigger replacement. String
The name of the trusted identity provider. This is used for differentiation of providers in the account.

Outputs

All input properties are implicitly available as output properties. Additionally, the TrustedIdProvider resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
The resource name.
Type string
The resource type.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The resource name.
Type string
The resource type.
id String
The provider-assigned unique ID for this managed resource.
name String
The resource name.
type String
The resource type.
id string
The provider-assigned unique ID for this managed resource.
name string
The resource name.
type string
The resource type.
id str
The provider-assigned unique ID for this managed resource.
name str
The resource name.
type str
The resource type.
id String
The provider-assigned unique ID for this managed resource.
name String
The resource name.
type String
The resource type.

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} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0