Class IdentityProviderAad
Manages an API Management AAD Identity Provider.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleService = new Azure.ApiManagement.Service("exampleService", new Azure.ApiManagement.ServiceArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
PublisherName = "My Company",
PublisherEmail = "company@mycompany.io",
SkuName = "Developer_1",
});
var exampleIdentityProviderAad = new Azure.ApiManagement.IdentityProviderAad("exampleIdentityProviderAad", new Azure.ApiManagement.IdentityProviderAadArgs
{
ResourceGroupName = exampleResourceGroup.Name,
ApiManagementName = exampleService.Name,
ClientId = "00000000-0000-0000-0000-000000000000",
ClientSecret = "00000000000000000000000000000000",
AllowedTenants =
{
"00000000-0000-0000-0000-000000000000",
},
});
}
}
Inherited Members
Namespace: Pulumi.Azure.ApiManagement
Assembly: Pulumi.Azure.dll
Syntax
public class IdentityProviderAad : CustomResource
Constructors
View SourceIdentityProviderAad(String, IdentityProviderAadArgs, CustomResourceOptions)
Create a IdentityProviderAad resource with the given unique name, arguments, and options.
Declaration
public IdentityProviderAad(string name, IdentityProviderAadArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| IdentityProviderAadArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAllowedTenants
List of allowed AAD Tenants.
Declaration
public Output<ImmutableArray<string>> AllowedTenants { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
ApiManagementName
The Name of the API Management Service where this AAD Identity Provider should be created. Changing this forces a new resource to be created.
Declaration
public Output<string> ApiManagementName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ClientId
Client Id of the Application in the AAD Identity Provider.
Declaration
public Output<string> ClientId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ClientSecret
Client secret of the Application in the AAD Identity Provider.
Declaration
public Output<string> ClientSecret { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, IdentityProviderAadState, CustomResourceOptions)
Get an existing IdentityProviderAad resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static IdentityProviderAad Get(string name, Input<string> id, IdentityProviderAadState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| IdentityProviderAadState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| IdentityProviderAad |