1. Packages
  2. Azure Native
  3. API Docs
  4. resourceconnector
  5. Appliance
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.resourceconnector.Appliance

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

    Appliances definition. Azure REST API version: 2022-10-27. Prior API version in Azure Native 1.x: 2021-10-31-preview.

    Other available API versions: 2021-10-31-preview.

    Example Usage

    Create/Update Appliance

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var appliance = new AzureNative.ResourceConnector.Appliance("appliance", new()
        {
            Distro = AzureNative.ResourceConnector.Distro.AKSEdge,
            InfrastructureConfig = new AzureNative.ResourceConnector.Inputs.AppliancePropertiesInfrastructureConfigArgs
            {
                Provider = AzureNative.ResourceConnector.Provider.VMWare,
            },
            Location = "West US",
            ResourceGroupName = "testresourcegroup",
            ResourceName = "appliance01",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/resourceconnector/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := resourceconnector.NewAppliance(ctx, "appliance", &resourceconnector.ApplianceArgs{
    			Distro: pulumi.String(resourceconnector.DistroAKSEdge),
    			InfrastructureConfig: &resourceconnector.AppliancePropertiesInfrastructureConfigArgs{
    				Provider: pulumi.String(resourceconnector.ProviderVMWare),
    			},
    			Location:          pulumi.String("West US"),
    			ResourceGroupName: pulumi.String("testresourcegroup"),
    			ResourceName:      pulumi.String("appliance01"),
    		})
    		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.resourceconnector.Appliance;
    import com.pulumi.azurenative.resourceconnector.ApplianceArgs;
    import com.pulumi.azurenative.resourceconnector.inputs.AppliancePropertiesInfrastructureConfigArgs;
    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 appliance = new Appliance("appliance", ApplianceArgs.builder()        
                .distro("AKSEdge")
                .infrastructureConfig(AppliancePropertiesInfrastructureConfigArgs.builder()
                    .provider("VMWare")
                    .build())
                .location("West US")
                .resourceGroupName("testresourcegroup")
                .resourceName("appliance01")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    appliance = azure_native.resourceconnector.Appliance("appliance",
        distro=azure_native.resourceconnector.Distro.AKS_EDGE,
        infrastructure_config=azure_native.resourceconnector.AppliancePropertiesInfrastructureConfigArgs(
            provider=azure_native.resourceconnector.Provider.VM_WARE,
        ),
        location="West US",
        resource_group_name="testresourcegroup",
        resource_name_="appliance01")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const appliance = new azure_native.resourceconnector.Appliance("appliance", {
        distro: azure_native.resourceconnector.Distro.AKSEdge,
        infrastructureConfig: {
            provider: azure_native.resourceconnector.Provider.VMWare,
        },
        location: "West US",
        resourceGroupName: "testresourcegroup",
        resourceName: "appliance01",
    });
    
    resources:
      appliance:
        type: azure-native:resourceconnector:Appliance
        properties:
          distro: AKSEdge
          infrastructureConfig:
            provider: VMWare
          location: West US
          resourceGroupName: testresourcegroup
          resourceName: appliance01
    

    Create Appliance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Appliance(name: string, args: ApplianceArgs, opts?: CustomResourceOptions);
    @overload
    def Appliance(resource_name: str,
                  args: ApplianceArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Appliance(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  resource_group_name: Optional[str] = None,
                  distro: Optional[Union[str, Distro]] = None,
                  identity: Optional[IdentityArgs] = None,
                  infrastructure_config: Optional[AppliancePropertiesInfrastructureConfigArgs] = None,
                  location: Optional[str] = None,
                  public_key: Optional[str] = None,
                  resource_name_: Optional[str] = None,
                  tags: Optional[Mapping[str, str]] = None,
                  version: Optional[str] = None)
    func NewAppliance(ctx *Context, name string, args ApplianceArgs, opts ...ResourceOption) (*Appliance, error)
    public Appliance(string name, ApplianceArgs args, CustomResourceOptions? opts = null)
    public Appliance(String name, ApplianceArgs args)
    public Appliance(String name, ApplianceArgs args, CustomResourceOptions options)
    
    type: azure-native:resourceconnector:Appliance
    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 ApplianceArgs
    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 ApplianceArgs
    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 ApplianceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplianceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplianceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var applianceResource = new AzureNative.ResourceConnector.Appliance("applianceResource", new()
    {
        ResourceGroupName = "string",
        Distro = "string",
        Identity = new AzureNative.ResourceConnector.Inputs.IdentityArgs
        {
            Type = "string",
        },
        InfrastructureConfig = new AzureNative.ResourceConnector.Inputs.AppliancePropertiesInfrastructureConfigArgs
        {
            Provider = "string",
        },
        Location = "string",
        PublicKey = "string",
        ResourceName = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Version = "string",
    });
    
    example, err := resourceconnector.NewAppliance(ctx, "applianceResource", &resourceconnector.ApplianceArgs{
    ResourceGroupName: pulumi.String("string"),
    Distro: pulumi.String("string"),
    Identity: &resourceconnector.IdentityArgs{
    Type: pulumi.String("string"),
    },
    InfrastructureConfig: &resourceconnector.AppliancePropertiesInfrastructureConfigArgs{
    Provider: pulumi.String("string"),
    },
    Location: pulumi.String("string"),
    PublicKey: pulumi.String("string"),
    ResourceName: pulumi.String("string"),
    Tags: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    Version: pulumi.String("string"),
    })
    
    var applianceResource = new Appliance("applianceResource", ApplianceArgs.builder()        
        .resourceGroupName("string")
        .distro("string")
        .identity(IdentityArgs.builder()
            .type("string")
            .build())
        .infrastructureConfig(AppliancePropertiesInfrastructureConfigArgs.builder()
            .provider("string")
            .build())
        .location("string")
        .publicKey("string")
        .resourceName("string")
        .tags(Map.of("string", "string"))
        .version("string")
        .build());
    
    appliance_resource = azure_native.resourceconnector.Appliance("applianceResource",
        resource_group_name="string",
        distro="string",
        identity=azure_native.resourceconnector.IdentityArgs(
            type="string",
        ),
        infrastructure_config=azure_native.resourceconnector.AppliancePropertiesInfrastructureConfigArgs(
            provider="string",
        ),
        location="string",
        public_key="string",
        resource_name_="string",
        tags={
            "string": "string",
        },
        version="string")
    
    const applianceResource = new azure_native.resourceconnector.Appliance("applianceResource", {
        resourceGroupName: "string",
        distro: "string",
        identity: {
            type: "string",
        },
        infrastructureConfig: {
            provider: "string",
        },
        location: "string",
        publicKey: "string",
        resourceName: "string",
        tags: {
            string: "string",
        },
        version: "string",
    });
    
    type: azure-native:resourceconnector:Appliance
    properties:
        distro: string
        identity:
            type: string
        infrastructureConfig:
            provider: string
        location: string
        publicKey: string
        resourceGroupName: string
        resourceName: string
        tags:
            string: string
        version: string
    

    Appliance Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Appliance resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Distro string | Pulumi.AzureNative.ResourceConnector.Distro
    Represents a supported Fabric/Infra. (AKSEdge etc...).
    Identity Pulumi.AzureNative.ResourceConnector.Inputs.Identity
    Identity for the resource.
    InfrastructureConfig Pulumi.AzureNative.ResourceConnector.Inputs.AppliancePropertiesInfrastructureConfig
    Contains infrastructure information about the Appliance
    Location string
    The geo-location where the resource lives
    PublicKey string
    Certificates pair used to download MSI certificate from HIS. Can only be set once.
    ResourceName string
    Appliances name.
    Tags Dictionary<string, string>
    Resource tags.
    Version string
    Version of the Appliance
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Distro string | Distro
    Represents a supported Fabric/Infra. (AKSEdge etc...).
    Identity IdentityArgs
    Identity for the resource.
    InfrastructureConfig AppliancePropertiesInfrastructureConfigArgs
    Contains infrastructure information about the Appliance
    Location string
    The geo-location where the resource lives
    PublicKey string
    Certificates pair used to download MSI certificate from HIS. Can only be set once.
    ResourceName string
    Appliances name.
    Tags map[string]string
    Resource tags.
    Version string
    Version of the Appliance
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    distro String | Distro
    Represents a supported Fabric/Infra. (AKSEdge etc...).
    identity Identity
    Identity for the resource.
    infrastructureConfig AppliancePropertiesInfrastructureConfig
    Contains infrastructure information about the Appliance
    location String
    The geo-location where the resource lives
    publicKey String
    Certificates pair used to download MSI certificate from HIS. Can only be set once.
    resourceName String
    Appliances name.
    tags Map<String,String>
    Resource tags.
    version String
    Version of the Appliance
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    distro string | Distro
    Represents a supported Fabric/Infra. (AKSEdge etc...).
    identity Identity
    Identity for the resource.
    infrastructureConfig AppliancePropertiesInfrastructureConfig
    Contains infrastructure information about the Appliance
    location string
    The geo-location where the resource lives
    publicKey string
    Certificates pair used to download MSI certificate from HIS. Can only be set once.
    resourceName string
    Appliances name.
    tags {[key: string]: string}
    Resource tags.
    version string
    Version of the Appliance
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    distro str | Distro
    Represents a supported Fabric/Infra. (AKSEdge etc...).
    identity IdentityArgs
    Identity for the resource.
    infrastructure_config AppliancePropertiesInfrastructureConfigArgs
    Contains infrastructure information about the Appliance
    location str
    The geo-location where the resource lives
    public_key str
    Certificates pair used to download MSI certificate from HIS. Can only be set once.
    resource_name str
    Appliances name.
    tags Mapping[str, str]
    Resource tags.
    version str
    Version of the Appliance
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    distro String | "AKSEdge"
    Represents a supported Fabric/Infra. (AKSEdge etc...).
    identity Property Map
    Identity for the resource.
    infrastructureConfig Property Map
    Contains infrastructure information about the Appliance
    location String
    The geo-location where the resource lives
    publicKey String
    Certificates pair used to download MSI certificate from HIS. Can only be set once.
    resourceName String
    Appliances name.
    tags Map<String>
    Resource tags.
    version String
    Version of the Appliance

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Appliance resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    The current deployment or provisioning state, which only appears in the response.
    Status string
    Appliance’s health and state of connection to on-prem
    SystemData Pulumi.AzureNative.ResourceConnector.Outputs.SystemDataResponse
    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"
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    The current deployment or provisioning state, which only appears in the response.
    Status string
    Appliance’s health and state of connection to on-prem
    SystemData SystemDataResponse
    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"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    The current deployment or provisioning state, which only appears in the response.
    status String
    Appliance’s health and state of connection to on-prem
    systemData SystemDataResponse
    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"
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    provisioningState string
    The current deployment or provisioning state, which only appears in the response.
    status string
    Appliance’s health and state of connection to on-prem
    systemData SystemDataResponse
    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"
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    provisioning_state str
    The current deployment or provisioning state, which only appears in the response.
    status str
    Appliance’s health and state of connection to on-prem
    system_data SystemDataResponse
    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"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    The current deployment or provisioning state, which only appears in the response.
    status String
    Appliance’s health and state of connection to on-prem
    systemData 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

    AppliancePropertiesInfrastructureConfig, AppliancePropertiesInfrastructureConfigArgs

    Provider string | Pulumi.AzureNative.ResourceConnector.Provider
    Information about the connected appliance.
    Provider string | Provider
    Information about the connected appliance.
    provider String | Provider
    Information about the connected appliance.
    provider string | Provider
    Information about the connected appliance.
    provider str | Provider
    Information about the connected appliance.
    provider String | "VMWare" | "HCI" | "SCVMM"
    Information about the connected appliance.

    AppliancePropertiesResponseInfrastructureConfig, AppliancePropertiesResponseInfrastructureConfigArgs

    Provider string
    Information about the connected appliance.
    Provider string
    Information about the connected appliance.
    provider String
    Information about the connected appliance.
    provider string
    Information about the connected appliance.
    provider str
    Information about the connected appliance.
    provider String
    Information about the connected appliance.

    Distro, DistroArgs

    AKSEdge
    AKSEdge
    DistroAKSEdge
    AKSEdge
    AKSEdge
    AKSEdge
    AKSEdge
    AKSEdge
    AKS_EDGE
    AKSEdge
    "AKSEdge"
    AKSEdge

    Identity, IdentityArgs

    Type string | ResourceIdentityType
    The identity type.
    type String | ResourceIdentityType
    The identity type.
    type string | ResourceIdentityType
    The identity type.
    type str | ResourceIdentityType
    The identity type.
    type String | "SystemAssigned" | "None"
    The identity type.

    IdentityResponse, IdentityResponseArgs

    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type string
    The identity type.
    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type string
    The identity type.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type String
    The identity type.
    principalId string
    The principal ID of resource identity.
    tenantId string
    The tenant ID of resource.
    type string
    The identity type.
    principal_id str
    The principal ID of resource identity.
    tenant_id str
    The tenant ID of resource.
    type str
    The identity type.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type String
    The identity type.

    Provider, ProviderArgs

    VMWare
    VMWare
    HCI
    HCI
    SCVMM
    SCVMM
    ProviderVMWare
    VMWare
    ProviderHCI
    HCI
    ProviderSCVMM
    SCVMM
    VMWare
    VMWare
    HCI
    HCI
    SCVMM
    SCVMM
    VMWare
    VMWare
    HCI
    HCI
    SCVMM
    SCVMM
    VM_WARE
    VMWare
    HCI
    HCI
    SCVMM
    SCVMM
    "VMWare"
    VMWare
    "HCI"
    HCI
    "SCVMM"
    SCVMM

    ResourceIdentityType, ResourceIdentityTypeArgs

    SystemAssigned
    SystemAssigned
    None
    None
    ResourceIdentityTypeSystemAssigned
    SystemAssigned
    ResourceIdentityTypeNone
    None
    SystemAssigned
    SystemAssigned
    None
    None
    SystemAssigned
    SystemAssigned
    None
    None
    SYSTEM_ASSIGNED
    SystemAssigned
    NONE
    None
    "SystemAssigned"
    SystemAssigned
    "None"
    None

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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:resourceconnector:Appliance appliance01 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi