Documentation ¶
Index ¶
- type FederatedIdentityCredential
- func (*FederatedIdentityCredential) ElementType() reflect.Type
- func (i *FederatedIdentityCredential) ToFederatedIdentityCredentialOutput() FederatedIdentityCredentialOutput
- func (i *FederatedIdentityCredential) ToFederatedIdentityCredentialOutputWithContext(ctx context.Context) FederatedIdentityCredentialOutput
- type FederatedIdentityCredentialArgs
- type FederatedIdentityCredentialArray
- func (FederatedIdentityCredentialArray) ElementType() reflect.Type
- func (i FederatedIdentityCredentialArray) ToFederatedIdentityCredentialArrayOutput() FederatedIdentityCredentialArrayOutput
- func (i FederatedIdentityCredentialArray) ToFederatedIdentityCredentialArrayOutputWithContext(ctx context.Context) FederatedIdentityCredentialArrayOutput
- type FederatedIdentityCredentialArrayInput
- type FederatedIdentityCredentialArrayOutput
- func (FederatedIdentityCredentialArrayOutput) ElementType() reflect.Type
- func (o FederatedIdentityCredentialArrayOutput) Index(i pulumi.IntInput) FederatedIdentityCredentialOutput
- func (o FederatedIdentityCredentialArrayOutput) ToFederatedIdentityCredentialArrayOutput() FederatedIdentityCredentialArrayOutput
- func (o FederatedIdentityCredentialArrayOutput) ToFederatedIdentityCredentialArrayOutputWithContext(ctx context.Context) FederatedIdentityCredentialArrayOutput
- type FederatedIdentityCredentialInput
- type FederatedIdentityCredentialMap
- func (FederatedIdentityCredentialMap) ElementType() reflect.Type
- func (i FederatedIdentityCredentialMap) ToFederatedIdentityCredentialMapOutput() FederatedIdentityCredentialMapOutput
- func (i FederatedIdentityCredentialMap) ToFederatedIdentityCredentialMapOutputWithContext(ctx context.Context) FederatedIdentityCredentialMapOutput
- type FederatedIdentityCredentialMapInput
- type FederatedIdentityCredentialMapOutput
- func (FederatedIdentityCredentialMapOutput) ElementType() reflect.Type
- func (o FederatedIdentityCredentialMapOutput) MapIndex(k pulumi.StringInput) FederatedIdentityCredentialOutput
- func (o FederatedIdentityCredentialMapOutput) ToFederatedIdentityCredentialMapOutput() FederatedIdentityCredentialMapOutput
- func (o FederatedIdentityCredentialMapOutput) ToFederatedIdentityCredentialMapOutputWithContext(ctx context.Context) FederatedIdentityCredentialMapOutput
- type FederatedIdentityCredentialOutput
- func (o FederatedIdentityCredentialOutput) Audience() pulumi.StringOutput
- func (FederatedIdentityCredentialOutput) ElementType() reflect.Type
- func (o FederatedIdentityCredentialOutput) Issuer() pulumi.StringOutput
- func (o FederatedIdentityCredentialOutput) Name() pulumi.StringOutput
- func (o FederatedIdentityCredentialOutput) ParentId() pulumi.StringOutput
- func (o FederatedIdentityCredentialOutput) ResourceGroupName() pulumi.StringOutput
- func (o FederatedIdentityCredentialOutput) Subject() pulumi.StringOutput
- func (o FederatedIdentityCredentialOutput) ToFederatedIdentityCredentialOutput() FederatedIdentityCredentialOutput
- func (o FederatedIdentityCredentialOutput) ToFederatedIdentityCredentialOutputWithContext(ctx context.Context) FederatedIdentityCredentialOutput
- type FederatedIdentityCredentialState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FederatedIdentityCredential ¶
type FederatedIdentityCredential struct { pulumi.CustomResourceState // Specifies the audience for this Federated Identity Credential. Audience pulumi.StringOutput `pulumi:"audience"` // Specifies the issuer of this Federated Identity Credential. Issuer pulumi.StringOutput `pulumi:"issuer"` // Specifies the name of this Federated Identity Credential. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Specifies parent ID of User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created. ParentId pulumi.StringOutput `pulumi:"parentId"` // Specifies the name of the Resource Group within which this Federated Identity Credential should exist. Changing this forces a new Federated Identity Credential to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Specifies the subject for this Federated Identity Credential. Subject pulumi.StringOutput `pulumi:"subject"` }
Manages a Federated Identity Credential.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/armmsi" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleUserAssignedIdentity, err := authorization.NewUserAssignedIdentity(ctx, "example", &authorization.UserAssignedIdentityArgs{ Location: example.Location, Name: pulumi.String("example"), ResourceGroupName: example.Name, }) if err != nil { return err } _, err = armmsi.NewFederatedIdentityCredential(ctx, "example", &armmsi.FederatedIdentityCredentialArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Audience: pulumi.String("foo"), Issuer: pulumi.String("https://foo"), ParentId: exampleUserAssignedIdentity.ID(), Subject: pulumi.String("foo"), }) if err != nil { return err } return nil }) }
```
## Import
An existing Federated Identity Credential can be imported into Pulumi using the `resource id`, e.g.
```sh $ pulumi import azure:armmsi/federatedIdentityCredential:FederatedIdentityCredential example /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{parentIdentityName}/federatedIdentityCredentials/{resourceName} ```
func GetFederatedIdentityCredential ¶
func GetFederatedIdentityCredential(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FederatedIdentityCredentialState, opts ...pulumi.ResourceOption) (*FederatedIdentityCredential, error)
GetFederatedIdentityCredential gets an existing FederatedIdentityCredential resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFederatedIdentityCredential ¶
func NewFederatedIdentityCredential(ctx *pulumi.Context, name string, args *FederatedIdentityCredentialArgs, opts ...pulumi.ResourceOption) (*FederatedIdentityCredential, error)
NewFederatedIdentityCredential registers a new resource with the given unique name, arguments, and options.
func (*FederatedIdentityCredential) ElementType ¶
func (*FederatedIdentityCredential) ElementType() reflect.Type
func (*FederatedIdentityCredential) ToFederatedIdentityCredentialOutput ¶
func (i *FederatedIdentityCredential) ToFederatedIdentityCredentialOutput() FederatedIdentityCredentialOutput
func (*FederatedIdentityCredential) ToFederatedIdentityCredentialOutputWithContext ¶
func (i *FederatedIdentityCredential) ToFederatedIdentityCredentialOutputWithContext(ctx context.Context) FederatedIdentityCredentialOutput
type FederatedIdentityCredentialArgs ¶
type FederatedIdentityCredentialArgs struct { // Specifies the audience for this Federated Identity Credential. Audience pulumi.StringInput // Specifies the issuer of this Federated Identity Credential. Issuer pulumi.StringInput // Specifies the name of this Federated Identity Credential. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies parent ID of User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created. ParentId pulumi.StringInput // Specifies the name of the Resource Group within which this Federated Identity Credential should exist. Changing this forces a new Federated Identity Credential to be created. ResourceGroupName pulumi.StringInput // Specifies the subject for this Federated Identity Credential. Subject pulumi.StringInput }
The set of arguments for constructing a FederatedIdentityCredential resource.
func (FederatedIdentityCredentialArgs) ElementType ¶
func (FederatedIdentityCredentialArgs) ElementType() reflect.Type
type FederatedIdentityCredentialArray ¶
type FederatedIdentityCredentialArray []FederatedIdentityCredentialInput
func (FederatedIdentityCredentialArray) ElementType ¶
func (FederatedIdentityCredentialArray) ElementType() reflect.Type
func (FederatedIdentityCredentialArray) ToFederatedIdentityCredentialArrayOutput ¶
func (i FederatedIdentityCredentialArray) ToFederatedIdentityCredentialArrayOutput() FederatedIdentityCredentialArrayOutput
func (FederatedIdentityCredentialArray) ToFederatedIdentityCredentialArrayOutputWithContext ¶
func (i FederatedIdentityCredentialArray) ToFederatedIdentityCredentialArrayOutputWithContext(ctx context.Context) FederatedIdentityCredentialArrayOutput
type FederatedIdentityCredentialArrayInput ¶
type FederatedIdentityCredentialArrayInput interface { pulumi.Input ToFederatedIdentityCredentialArrayOutput() FederatedIdentityCredentialArrayOutput ToFederatedIdentityCredentialArrayOutputWithContext(context.Context) FederatedIdentityCredentialArrayOutput }
FederatedIdentityCredentialArrayInput is an input type that accepts FederatedIdentityCredentialArray and FederatedIdentityCredentialArrayOutput values. You can construct a concrete instance of `FederatedIdentityCredentialArrayInput` via:
FederatedIdentityCredentialArray{ FederatedIdentityCredentialArgs{...} }
type FederatedIdentityCredentialArrayOutput ¶
type FederatedIdentityCredentialArrayOutput struct{ *pulumi.OutputState }
func (FederatedIdentityCredentialArrayOutput) ElementType ¶
func (FederatedIdentityCredentialArrayOutput) ElementType() reflect.Type
func (FederatedIdentityCredentialArrayOutput) ToFederatedIdentityCredentialArrayOutput ¶
func (o FederatedIdentityCredentialArrayOutput) ToFederatedIdentityCredentialArrayOutput() FederatedIdentityCredentialArrayOutput
func (FederatedIdentityCredentialArrayOutput) ToFederatedIdentityCredentialArrayOutputWithContext ¶
func (o FederatedIdentityCredentialArrayOutput) ToFederatedIdentityCredentialArrayOutputWithContext(ctx context.Context) FederatedIdentityCredentialArrayOutput
type FederatedIdentityCredentialInput ¶
type FederatedIdentityCredentialInput interface { pulumi.Input ToFederatedIdentityCredentialOutput() FederatedIdentityCredentialOutput ToFederatedIdentityCredentialOutputWithContext(ctx context.Context) FederatedIdentityCredentialOutput }
type FederatedIdentityCredentialMap ¶
type FederatedIdentityCredentialMap map[string]FederatedIdentityCredentialInput
func (FederatedIdentityCredentialMap) ElementType ¶
func (FederatedIdentityCredentialMap) ElementType() reflect.Type
func (FederatedIdentityCredentialMap) ToFederatedIdentityCredentialMapOutput ¶
func (i FederatedIdentityCredentialMap) ToFederatedIdentityCredentialMapOutput() FederatedIdentityCredentialMapOutput
func (FederatedIdentityCredentialMap) ToFederatedIdentityCredentialMapOutputWithContext ¶
func (i FederatedIdentityCredentialMap) ToFederatedIdentityCredentialMapOutputWithContext(ctx context.Context) FederatedIdentityCredentialMapOutput
type FederatedIdentityCredentialMapInput ¶
type FederatedIdentityCredentialMapInput interface { pulumi.Input ToFederatedIdentityCredentialMapOutput() FederatedIdentityCredentialMapOutput ToFederatedIdentityCredentialMapOutputWithContext(context.Context) FederatedIdentityCredentialMapOutput }
FederatedIdentityCredentialMapInput is an input type that accepts FederatedIdentityCredentialMap and FederatedIdentityCredentialMapOutput values. You can construct a concrete instance of `FederatedIdentityCredentialMapInput` via:
FederatedIdentityCredentialMap{ "key": FederatedIdentityCredentialArgs{...} }
type FederatedIdentityCredentialMapOutput ¶
type FederatedIdentityCredentialMapOutput struct{ *pulumi.OutputState }
func (FederatedIdentityCredentialMapOutput) ElementType ¶
func (FederatedIdentityCredentialMapOutput) ElementType() reflect.Type
func (FederatedIdentityCredentialMapOutput) MapIndex ¶
func (o FederatedIdentityCredentialMapOutput) MapIndex(k pulumi.StringInput) FederatedIdentityCredentialOutput
func (FederatedIdentityCredentialMapOutput) ToFederatedIdentityCredentialMapOutput ¶
func (o FederatedIdentityCredentialMapOutput) ToFederatedIdentityCredentialMapOutput() FederatedIdentityCredentialMapOutput
func (FederatedIdentityCredentialMapOutput) ToFederatedIdentityCredentialMapOutputWithContext ¶
func (o FederatedIdentityCredentialMapOutput) ToFederatedIdentityCredentialMapOutputWithContext(ctx context.Context) FederatedIdentityCredentialMapOutput
type FederatedIdentityCredentialOutput ¶
type FederatedIdentityCredentialOutput struct{ *pulumi.OutputState }
func (FederatedIdentityCredentialOutput) Audience ¶
func (o FederatedIdentityCredentialOutput) Audience() pulumi.StringOutput
Specifies the audience for this Federated Identity Credential.
func (FederatedIdentityCredentialOutput) ElementType ¶
func (FederatedIdentityCredentialOutput) ElementType() reflect.Type
func (FederatedIdentityCredentialOutput) Issuer ¶
func (o FederatedIdentityCredentialOutput) Issuer() pulumi.StringOutput
Specifies the issuer of this Federated Identity Credential.
func (FederatedIdentityCredentialOutput) Name ¶
func (o FederatedIdentityCredentialOutput) Name() pulumi.StringOutput
Specifies the name of this Federated Identity Credential. Changing this forces a new resource to be created.
func (FederatedIdentityCredentialOutput) ParentId ¶
func (o FederatedIdentityCredentialOutput) ParentId() pulumi.StringOutput
Specifies parent ID of User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
func (FederatedIdentityCredentialOutput) ResourceGroupName ¶
func (o FederatedIdentityCredentialOutput) ResourceGroupName() pulumi.StringOutput
Specifies the name of the Resource Group within which this Federated Identity Credential should exist. Changing this forces a new Federated Identity Credential to be created.
func (FederatedIdentityCredentialOutput) Subject ¶
func (o FederatedIdentityCredentialOutput) Subject() pulumi.StringOutput
Specifies the subject for this Federated Identity Credential.
func (FederatedIdentityCredentialOutput) ToFederatedIdentityCredentialOutput ¶
func (o FederatedIdentityCredentialOutput) ToFederatedIdentityCredentialOutput() FederatedIdentityCredentialOutput
func (FederatedIdentityCredentialOutput) ToFederatedIdentityCredentialOutputWithContext ¶
func (o FederatedIdentityCredentialOutput) ToFederatedIdentityCredentialOutputWithContext(ctx context.Context) FederatedIdentityCredentialOutput
type FederatedIdentityCredentialState ¶
type FederatedIdentityCredentialState struct { // Specifies the audience for this Federated Identity Credential. Audience pulumi.StringPtrInput // Specifies the issuer of this Federated Identity Credential. Issuer pulumi.StringPtrInput // Specifies the name of this Federated Identity Credential. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies parent ID of User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created. ParentId pulumi.StringPtrInput // Specifies the name of the Resource Group within which this Federated Identity Credential should exist. Changing this forces a new Federated Identity Credential to be created. ResourceGroupName pulumi.StringPtrInput // Specifies the subject for this Federated Identity Credential. Subject pulumi.StringPtrInput }
func (FederatedIdentityCredentialState) ElementType ¶
func (FederatedIdentityCredentialState) ElementType() reflect.Type