1. Packages
  2. Azure Native
  3. API Docs
  4. datalakestore
  5. TrustedIdProvider
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.datalakestore.TrustedIdProvider

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

    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",
        });
    
    });
    
    package main
    
    import (
    	"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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    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
    

    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 string
    The unique name of the resource.
    args TrustedIdProviderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args TrustedIdProviderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TrustedIdProviderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TrustedIdProviderArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    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",
    });
    
    example, err := datalakestore.NewTrustedIdProvider(ctx, "trustedIdProviderResource", &datalakestore.TrustedIdProviderArgs{
    AccountName: pulumi.String("string"),
    IdProvider: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    TrustedIdProviderName: pulumi.String("string"),
    })
    
    var trustedIdProviderResource = new TrustedIdProvider("trustedIdProviderResource", TrustedIdProviderArgs.builder()        
        .accountName("string")
        .idProvider("string")
        .resourceGroupName("string")
        .trustedIdProviderName("string")
        .build());
    
    trusted_id_provider_resource = azure_native.datalakestore.TrustedIdProvider("trustedIdProviderResource",
        account_name="string",
        id_provider="string",
        resource_group_name="string",
        trusted_id_provider_name="string")
    
    const trustedIdProviderResource = new azure_native.datalakestore.TrustedIdProvider("trustedIdProviderResource", {
        accountName: "string",
        idProvider: "string",
        resourceGroupName: "string",
        trustedIdProviderName: "string",
    });
    
    type: azure-native:datalakestore:TrustedIdProvider
    properties:
        accountName: string
        idProvider: string
        resourceGroupName: string
        trustedIdProviderName: string
    

    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

    The TrustedIdProvider resource accepts the following input properties:

    AccountName string
    The name of the Data Lake Store account.
    IdProvider string
    The URL of this trusted identity provider.
    ResourceGroupName string
    The name of the Azure resource group.
    TrustedIdProviderName string
    The name of the trusted identity provider. This is used for differentiation of providers in the account.
    AccountName string
    The name of the Data Lake Store account.
    IdProvider string
    The URL of this trusted identity provider.
    ResourceGroupName string
    The name of the Azure resource group.
    TrustedIdProviderName string
    The name of the trusted identity provider. This is used for differentiation of providers in the account.
    accountName String
    The name of the Data Lake Store account.
    idProvider String
    The URL of this trusted identity provider.
    resourceGroupName String
    The name of the Azure resource group.
    trustedIdProviderName String
    The name of the trusted identity provider. This is used for differentiation of providers in the account.
    accountName string
    The name of the Data Lake Store account.
    idProvider string
    The URL of this trusted identity provider.
    resourceGroupName string
    The name of the Azure resource group.
    trustedIdProviderName string
    The name of the trusted identity provider. This is used for differentiation of providers in the account.
    account_name str
    The name of the Data Lake Store account.
    id_provider str
    The URL of this trusted identity provider.
    resource_group_name str
    The name of the Azure resource group.
    trusted_id_provider_name str
    The name of the trusted identity provider. This is used for differentiation of providers in the account.
    accountName String
    The name of the Data Lake Store account.
    idProvider String
    The URL of this trusted identity provider.
    resourceGroupName String
    The name of the Azure resource group.
    trustedIdProviderName 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} 
    

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

    Package Details

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