azure-native.hybridcontainerservice.ClusterInstanceHybridIdentityMetadatum
Explore with Pulumi AI
Defines the hybridIdentityMetadata.
Uses Azure REST API version 2024-01-01.
Other available API versions: 2023-11-15-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native hybridcontainerservice [ApiVersion]
. See the version guide for details.
Example Usage
CreateHybridIdentityMetadata
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var clusterInstanceHybridIdentityMetadatum = new AzureNative.HybridContainerService.ClusterInstanceHybridIdentityMetadatum("clusterInstanceHybridIdentityMetadatum", new()
{
ConnectedClusterResourceUri = "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster",
PublicKey = "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2",
ResourceUid = "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
});
});
package main
import (
hybridcontainerservice "github.com/pulumi/pulumi-azure-native-sdk/hybridcontainerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hybridcontainerservice.NewClusterInstanceHybridIdentityMetadatum(ctx, "clusterInstanceHybridIdentityMetadatum", &hybridcontainerservice.ClusterInstanceHybridIdentityMetadatumArgs{
ConnectedClusterResourceUri: pulumi.String("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster"),
PublicKey: pulumi.String("8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2"),
ResourceUid: pulumi.String("f8b82dff-38ef-4220-99ef-d3a3f86ddc6c"),
})
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.hybridcontainerservice.ClusterInstanceHybridIdentityMetadatum;
import com.pulumi.azurenative.hybridcontainerservice.ClusterInstanceHybridIdentityMetadatumArgs;
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 clusterInstanceHybridIdentityMetadatum = new ClusterInstanceHybridIdentityMetadatum("clusterInstanceHybridIdentityMetadatum", ClusterInstanceHybridIdentityMetadatumArgs.builder()
.connectedClusterResourceUri("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster")
.publicKey("8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2")
.resourceUid("f8b82dff-38ef-4220-99ef-d3a3f86ddc6c")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const clusterInstanceHybridIdentityMetadatum = new azure_native.hybridcontainerservice.ClusterInstanceHybridIdentityMetadatum("clusterInstanceHybridIdentityMetadatum", {
connectedClusterResourceUri: "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster",
publicKey: "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2",
resourceUid: "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
});
import pulumi
import pulumi_azure_native as azure_native
cluster_instance_hybrid_identity_metadatum = azure_native.hybridcontainerservice.ClusterInstanceHybridIdentityMetadatum("clusterInstanceHybridIdentityMetadatum",
connected_cluster_resource_uri="subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster",
public_key="8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2",
resource_uid="f8b82dff-38ef-4220-99ef-d3a3f86ddc6c")
resources:
clusterInstanceHybridIdentityMetadatum:
type: azure-native:hybridcontainerservice:ClusterInstanceHybridIdentityMetadatum
properties:
connectedClusterResourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster
publicKey: 8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2
resourceUid: f8b82dff-38ef-4220-99ef-d3a3f86ddc6c
Create ClusterInstanceHybridIdentityMetadatum Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ClusterInstanceHybridIdentityMetadatum(name: string, args: ClusterInstanceHybridIdentityMetadatumArgs, opts?: CustomResourceOptions);
@overload
def ClusterInstanceHybridIdentityMetadatum(resource_name: str,
args: ClusterInstanceHybridIdentityMetadatumArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ClusterInstanceHybridIdentityMetadatum(resource_name: str,
opts: Optional[ResourceOptions] = None,
connected_cluster_resource_uri: Optional[str] = None,
public_key: Optional[str] = None,
resource_uid: Optional[str] = None)
func NewClusterInstanceHybridIdentityMetadatum(ctx *Context, name string, args ClusterInstanceHybridIdentityMetadatumArgs, opts ...ResourceOption) (*ClusterInstanceHybridIdentityMetadatum, error)
public ClusterInstanceHybridIdentityMetadatum(string name, ClusterInstanceHybridIdentityMetadatumArgs args, CustomResourceOptions? opts = null)
public ClusterInstanceHybridIdentityMetadatum(String name, ClusterInstanceHybridIdentityMetadatumArgs args)
public ClusterInstanceHybridIdentityMetadatum(String name, ClusterInstanceHybridIdentityMetadatumArgs args, CustomResourceOptions options)
type: azure-native:hybridcontainerservice:ClusterInstanceHybridIdentityMetadatum
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 ClusterInstanceHybridIdentityMetadatumArgs
- 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 ClusterInstanceHybridIdentityMetadatumArgs
- 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 ClusterInstanceHybridIdentityMetadatumArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterInstanceHybridIdentityMetadatumArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterInstanceHybridIdentityMetadatumArgs
- 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 clusterInstanceHybridIdentityMetadatumResource = new AzureNative.HybridContainerService.ClusterInstanceHybridIdentityMetadatum("clusterInstanceHybridIdentityMetadatumResource", new()
{
ConnectedClusterResourceUri = "string",
PublicKey = "string",
ResourceUid = "string",
});
example, err := hybridcontainerservice.NewClusterInstanceHybridIdentityMetadatum(ctx, "clusterInstanceHybridIdentityMetadatumResource", &hybridcontainerservice.ClusterInstanceHybridIdentityMetadatumArgs{
ConnectedClusterResourceUri: pulumi.String("string"),
PublicKey: pulumi.String("string"),
ResourceUid: pulumi.String("string"),
})
var clusterInstanceHybridIdentityMetadatumResource = new ClusterInstanceHybridIdentityMetadatum("clusterInstanceHybridIdentityMetadatumResource", ClusterInstanceHybridIdentityMetadatumArgs.builder()
.connectedClusterResourceUri("string")
.publicKey("string")
.resourceUid("string")
.build());
cluster_instance_hybrid_identity_metadatum_resource = azure_native.hybridcontainerservice.ClusterInstanceHybridIdentityMetadatum("clusterInstanceHybridIdentityMetadatumResource",
connected_cluster_resource_uri="string",
public_key="string",
resource_uid="string")
const clusterInstanceHybridIdentityMetadatumResource = new azure_native.hybridcontainerservice.ClusterInstanceHybridIdentityMetadatum("clusterInstanceHybridIdentityMetadatumResource", {
connectedClusterResourceUri: "string",
publicKey: "string",
resourceUid: "string",
});
type: azure-native:hybridcontainerservice:ClusterInstanceHybridIdentityMetadatum
properties:
connectedClusterResourceUri: string
publicKey: string
resourceUid: string
ClusterInstanceHybridIdentityMetadatum 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 ClusterInstanceHybridIdentityMetadatum resource accepts the following input properties:
- Connected
Cluster stringResource Uri - The fully qualified Azure Resource Manager identifier of the connected cluster resource.
- Public
Key string - Onboarding public key for provisioning the Managed identity for the connected cluster.
- Resource
Uid string - Unique id of the parent provisioned cluster resource.
- Connected
Cluster stringResource Uri - The fully qualified Azure Resource Manager identifier of the connected cluster resource.
- Public
Key string - Onboarding public key for provisioning the Managed identity for the connected cluster.
- Resource
Uid string - Unique id of the parent provisioned cluster resource.
- connected
Cluster StringResource Uri - The fully qualified Azure Resource Manager identifier of the connected cluster resource.
- public
Key String - Onboarding public key for provisioning the Managed identity for the connected cluster.
- resource
Uid String - Unique id of the parent provisioned cluster resource.
- connected
Cluster stringResource Uri - The fully qualified Azure Resource Manager identifier of the connected cluster resource.
- public
Key string - Onboarding public key for provisioning the Managed identity for the connected cluster.
- resource
Uid string - Unique id of the parent provisioned cluster resource.
- connected_
cluster_ strresource_ uri - The fully qualified Azure Resource Manager identifier of the connected cluster resource.
- public_
key str - Onboarding public key for provisioning the Managed identity for the connected cluster.
- resource_
uid str - Unique id of the parent provisioned cluster resource.
- connected
Cluster StringResource Uri - The fully qualified Azure Resource Manager identifier of the connected cluster resource.
- public
Key String - Onboarding public key for provisioning the Managed identity for the connected cluster.
- resource
Uid String - Unique id of the parent provisioned cluster resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ClusterInstanceHybridIdentityMetadatum resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the resource
- System
Data Pulumi.Azure Native. Hybrid 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state 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.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Provisioning state 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.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - Provisioning state 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.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - Provisioning state 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.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Provisioning state 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
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:hybridcontainerservice:ClusterInstanceHybridIdentityMetadatum default /{connectedClusterResourceUri}/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/hybridIdentityMetadata/default
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0