azure-native.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",
});
});
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
})
}
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.
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",
});
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
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:
- Account
Name string - The name of the Data Lake Store account.
- Id
Provider string - The URL of this trusted identity provider.
- Resource
Group stringName - The name of the Azure resource group.
- Trusted
Id stringProvider Name - The name of the trusted identity provider. This is used for differentiation of providers in the account.
- Account
Name string - The name of the Data Lake Store account.
- Id
Provider string - The URL of this trusted identity provider.
- Resource
Group stringName - The name of the Azure resource group.
- Trusted
Id stringProvider Name - The name of the trusted identity provider. This is used for differentiation of providers in the account.
- account
Name String - The name of the Data Lake Store account.
- id
Provider String - The URL of this trusted identity provider.
- resource
Group StringName - The name of the Azure resource group.
- trusted
Id StringProvider Name - The name of the trusted identity provider. This is used for differentiation of providers in the account.
- account
Name string - The name of the Data Lake Store account.
- id
Provider string - The URL of this trusted identity provider.
- resource
Group stringName - The name of the Azure resource group.
- trusted
Id stringProvider Name - 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_ strname - The name of the Azure resource group.
- trusted_
id_ strprovider_ name - The name of the trusted identity provider. This is used for differentiation of providers in the account.
- account
Name String - The name of the Data Lake Store account.
- id
Provider String - The URL of this trusted identity provider.
- resource
Group StringName - The name of the Azure resource group.
- trusted
Id StringProvider Name - 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:
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