azure-native.containerservice.IdentityBinding
Explore with Pulumi AI
The IdentityBinding resource.
Uses Azure REST API version 2025-06-02-preview.
Example Usage
Create or update Identity Binding
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var identityBinding = new AzureNative.ContainerService.IdentityBinding("identityBinding", new()
{
IdentityBindingName = "identitybinding1",
Properties = new AzureNative.ContainerService.Inputs.IdentityBindingPropertiesArgs
{
ManagedIdentity = new AzureNative.ContainerService.Inputs.IdentityBindingManagedIdentityProfileArgs
{
ResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1",
},
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewIdentityBinding(ctx, "identityBinding", &containerservice.IdentityBindingArgs{
IdentityBindingName: pulumi.String("identitybinding1"),
Properties: &containerservice.IdentityBindingPropertiesArgs{
ManagedIdentity: &containerservice.IdentityBindingManagedIdentityProfileArgs{
ResourceId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1"),
},
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
})
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.containerservice.IdentityBinding;
import com.pulumi.azurenative.containerservice.IdentityBindingArgs;
import com.pulumi.azurenative.containerservice.inputs.IdentityBindingPropertiesArgs;
import com.pulumi.azurenative.containerservice.inputs.IdentityBindingManagedIdentityProfileArgs;
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 identityBinding = new IdentityBinding("identityBinding", IdentityBindingArgs.builder()
.identityBindingName("identitybinding1")
.properties(IdentityBindingPropertiesArgs.builder()
.managedIdentity(IdentityBindingManagedIdentityProfileArgs.builder()
.resourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1")
.build())
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const identityBinding = new azure_native.containerservice.IdentityBinding("identityBinding", {
identityBindingName: "identitybinding1",
properties: {
managedIdentity: {
resourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1",
},
},
resourceGroupName: "rg1",
resourceName: "clustername1",
});
import pulumi
import pulumi_azure_native as azure_native
identity_binding = azure_native.containerservice.IdentityBinding("identityBinding",
identity_binding_name="identitybinding1",
properties={
"managed_identity": {
"resource_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1",
},
},
resource_group_name="rg1",
resource_name_="clustername1")
resources:
identityBinding:
type: azure-native:containerservice:IdentityBinding
properties:
identityBindingName: identitybinding1
properties:
managedIdentity:
resourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1
resourceGroupName: rg1
resourceName: clustername1
Create IdentityBinding Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IdentityBinding(name: string, args: IdentityBindingArgs, opts?: CustomResourceOptions);
@overload
def IdentityBinding(resource_name: str,
args: IdentityBindingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IdentityBinding(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
resource_name_: Optional[str] = None,
identity_binding_name: Optional[str] = None,
properties: Optional[IdentityBindingPropertiesArgs] = None)
func NewIdentityBinding(ctx *Context, name string, args IdentityBindingArgs, opts ...ResourceOption) (*IdentityBinding, error)
public IdentityBinding(string name, IdentityBindingArgs args, CustomResourceOptions? opts = null)
public IdentityBinding(String name, IdentityBindingArgs args)
public IdentityBinding(String name, IdentityBindingArgs args, CustomResourceOptions options)
type: azure-native:containerservice:IdentityBinding
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 IdentityBindingArgs
- 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 IdentityBindingArgs
- 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 IdentityBindingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IdentityBindingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IdentityBindingArgs
- 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 identityBindingResource = new AzureNative.ContainerService.IdentityBinding("identityBindingResource", new()
{
ResourceGroupName = "string",
ResourceName = "string",
IdentityBindingName = "string",
Properties = new AzureNative.ContainerService.Inputs.IdentityBindingPropertiesArgs
{
ManagedIdentity = new AzureNative.ContainerService.Inputs.IdentityBindingManagedIdentityProfileArgs
{
ResourceId = "string",
},
},
});
example, err := containerservice.NewIdentityBinding(ctx, "identityBindingResource", &containerservice.IdentityBindingArgs{
ResourceGroupName: pulumi.String("string"),
ResourceName: pulumi.String("string"),
IdentityBindingName: pulumi.String("string"),
Properties: &containerservice.IdentityBindingPropertiesArgs{
ManagedIdentity: &containerservice.IdentityBindingManagedIdentityProfileArgs{
ResourceId: pulumi.String("string"),
},
},
})
var identityBindingResource = new IdentityBinding("identityBindingResource", IdentityBindingArgs.builder()
.resourceGroupName("string")
.resourceName("string")
.identityBindingName("string")
.properties(IdentityBindingPropertiesArgs.builder()
.managedIdentity(IdentityBindingManagedIdentityProfileArgs.builder()
.resourceId("string")
.build())
.build())
.build());
identity_binding_resource = azure_native.containerservice.IdentityBinding("identityBindingResource",
resource_group_name="string",
resource_name_="string",
identity_binding_name="string",
properties={
"managed_identity": {
"resource_id": "string",
},
})
const identityBindingResource = new azure_native.containerservice.IdentityBinding("identityBindingResource", {
resourceGroupName: "string",
resourceName: "string",
identityBindingName: "string",
properties: {
managedIdentity: {
resourceId: "string",
},
},
});
type: azure-native:containerservice:IdentityBinding
properties:
identityBindingName: string
properties:
managedIdentity:
resourceId: string
resourceGroupName: string
resourceName: string
IdentityBinding 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 IdentityBinding resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the managed cluster resource.
- Identity
Binding stringName - The name of the identity binding.
- Properties
Pulumi.
Azure Native. Container Service. Inputs. Identity Binding Properties - The resource-specific properties for this resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the managed cluster resource.
- Identity
Binding stringName - The name of the identity binding.
- Properties
Identity
Binding Properties Args - The resource-specific properties for this resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the managed cluster resource.
- identity
Binding StringName - The name of the identity binding.
- properties
Identity
Binding Properties - The resource-specific properties for this resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- resource
Name string - The name of the managed cluster resource.
- identity
Binding stringName - The name of the identity binding.
- properties
Identity
Binding Properties - The resource-specific properties for this resource.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- resource_
name str - The name of the managed cluster resource.
- identity_
binding_ strname - The name of the identity binding.
- properties
Identity
Binding Properties Args - The resource-specific properties for this resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the managed cluster resource.
- identity
Binding StringName - The name of the identity binding.
- properties Property Map
- The resource-specific properties for this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the IdentityBinding resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- ETag string
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Container Service. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- ETag string
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- e
Tag String - Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- e
Tag string - Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- e_
tag str - Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- e
Tag String - Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
IdentityBindingManagedIdentityProfile, IdentityBindingManagedIdentityProfileArgs
- Resource
Id string - The resource ID of the managed identity.
- Resource
Id string - The resource ID of the managed identity.
- resource
Id String - The resource ID of the managed identity.
- resource
Id string - The resource ID of the managed identity.
- resource_
id str - The resource ID of the managed identity.
- resource
Id String - The resource ID of the managed identity.
IdentityBindingManagedIdentityProfileResponse, IdentityBindingManagedIdentityProfileResponseArgs
- Client
Id string - The client ID of the managed identity.
- Object
Id string - The object ID of the managed identity.
- Resource
Id string - The resource ID of the managed identity.
- Tenant
Id string - The tenant ID of the managed identity.
- Client
Id string - The client ID of the managed identity.
- Object
Id string - The object ID of the managed identity.
- Resource
Id string - The resource ID of the managed identity.
- Tenant
Id string - The tenant ID of the managed identity.
- client
Id String - The client ID of the managed identity.
- object
Id String - The object ID of the managed identity.
- resource
Id String - The resource ID of the managed identity.
- tenant
Id String - The tenant ID of the managed identity.
- client
Id string - The client ID of the managed identity.
- object
Id string - The object ID of the managed identity.
- resource
Id string - The resource ID of the managed identity.
- tenant
Id string - The tenant ID of the managed identity.
- client_
id str - The client ID of the managed identity.
- object_
id str - The object ID of the managed identity.
- resource_
id str - The resource ID of the managed identity.
- tenant_
id str - The tenant ID of the managed identity.
- client
Id String - The client ID of the managed identity.
- object
Id String - The object ID of the managed identity.
- resource
Id String - The resource ID of the managed identity.
- tenant
Id String - The tenant ID of the managed identity.
IdentityBindingOidcIssuerProfileResponse, IdentityBindingOidcIssuerProfileResponseArgs
- Oidc
Issuer stringUrl - The OIDC issuer URL of the IdentityBinding.
- Oidc
Issuer stringUrl - The OIDC issuer URL of the IdentityBinding.
- oidc
Issuer StringUrl - The OIDC issuer URL of the IdentityBinding.
- oidc
Issuer stringUrl - The OIDC issuer URL of the IdentityBinding.
- oidc_
issuer_ strurl - The OIDC issuer URL of the IdentityBinding.
- oidc
Issuer StringUrl - The OIDC issuer URL of the IdentityBinding.
IdentityBindingProperties, IdentityBindingPropertiesArgs
- Managed
Identity Pulumi.Azure Native. Container Service. Inputs. Identity Binding Managed Identity Profile - Managed identity profile for the identity binding.
- Managed
Identity IdentityBinding Managed Identity Profile - Managed identity profile for the identity binding.
- managed
Identity IdentityBinding Managed Identity Profile - Managed identity profile for the identity binding.
- managed
Identity IdentityBinding Managed Identity Profile - Managed identity profile for the identity binding.
- managed_
identity IdentityBinding Managed Identity Profile - Managed identity profile for the identity binding.
- managed
Identity Property Map - Managed identity profile for the identity binding.
IdentityBindingPropertiesResponse, IdentityBindingPropertiesResponseArgs
- Managed
Identity Pulumi.Azure Native. Container Service. Inputs. Identity Binding Managed Identity Profile Response - Managed identity profile for the identity binding.
- Oidc
Issuer Pulumi.Azure Native. Container Service. Inputs. Identity Binding Oidc Issuer Profile Response - The OIDC issuer URL of the IdentityBinding.
- Provisioning
State string - The status of the last operation.
- Managed
Identity IdentityBinding Managed Identity Profile Response - Managed identity profile for the identity binding.
- Oidc
Issuer IdentityBinding Oidc Issuer Profile Response - The OIDC issuer URL of the IdentityBinding.
- Provisioning
State string - The status of the last operation.
- managed
Identity IdentityBinding Managed Identity Profile Response - Managed identity profile for the identity binding.
- oidc
Issuer IdentityBinding Oidc Issuer Profile Response - The OIDC issuer URL of the IdentityBinding.
- provisioning
State String - The status of the last operation.
- managed
Identity IdentityBinding Managed Identity Profile Response - Managed identity profile for the identity binding.
- oidc
Issuer IdentityBinding Oidc Issuer Profile Response - The OIDC issuer URL of the IdentityBinding.
- provisioning
State string - The status of the last operation.
- managed_
identity IdentityBinding Managed Identity Profile Response - Managed identity profile for the identity binding.
- oidc_
issuer IdentityBinding Oidc Issuer Profile Response - The OIDC issuer URL of the IdentityBinding.
- provisioning_
state str - The status of the last operation.
- managed
Identity Property Map - Managed identity profile for the identity binding.
- oidc
Issuer Property Map - The OIDC issuer URL of the IdentityBinding.
- provisioning
State String - The status of the last operation.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:containerservice:IdentityBinding identitybinding1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/identityBindings/{identityBindingName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0