azure-native.resourceconnector.Appliance
Explore with Pulumi AI
Appliances definition. API Version: 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 = "AKSEdge",
InfrastructureConfig = new AzureNative.ResourceConnector.Inputs.AppliancePropertiesInfrastructureConfigArgs
{
Provider = "VMWare",
},
Location = "West US",
ResourceGroupName = "testresourcegroup",
ResourceName = "appliance01",
});
});
package main
import (
resourceconnector "github.com/pulumi/pulumi-azure-native-sdk/resourceconnector"
"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("AKSEdge"),
InfrastructureConfig: &resourceconnector.AppliancePropertiesInfrastructureConfigArgs{
Provider: pulumi.String("VMWare"),
},
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 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(Map.of("provider", "VMWare"))
.location("West US")
.resourceGroupName("testresourcegroup")
.resourceName("appliance01")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
appliance = azure_native.resourceconnector.Appliance("appliance",
distro="AKSEdge",
infrastructure_config=azure_native.resourceconnector.AppliancePropertiesInfrastructureConfigArgs(
provider="VMWare",
),
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: "AKSEdge",
infrastructureConfig: {
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)
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.
Constructor 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 =
{
{ "type", "string" },
},
InfrastructureConfig =
{
{ "provider", "string" },
},
Location = "string",
PublicKey = "string",
ResourceName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := resourceconnector.NewAppliance(ctx, "applianceResource", &resourceconnector.ApplianceArgs{
ResourceGroupName: "string",
Distro: "string",
Identity: map[string]interface{}{
"type": "string",
},
InfrastructureConfig: map[string]interface{}{
"provider": "string",
},
Location: "string",
PublicKey: "string",
ResourceName: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var applianceResource = new Appliance("applianceResource", ApplianceArgs.builder()
.resourceGroupName("string")
.distro("string")
.identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.infrastructureConfig(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.publicKey("string")
.resourceName("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
appliance_resource = azure_native.resourceconnector.Appliance("applianceResource",
resource_group_name=string,
distro=string,
identity={
type: string,
},
infrastructure_config={
provider: string,
},
location=string,
public_key=string,
resource_name_=string,
tags={
string: 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",
},
});
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
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:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Distro
string | Pulumi.
Azure Native. Resource Connector. Distro - Represents a supported Fabric/Infra. (AKSEdge etc...).
- Identity
Pulumi.
Azure Native. Resource Connector. Inputs. Identity - Identity for the resource.
- Infrastructure
Config Pulumi.Azure Native. Resource Connector. Inputs. Appliance Properties Infrastructure Config - Contains infrastructure information about the Appliance
- Location string
- The geo-location where the resource lives
- Public
Key string - Certificates pair used to download MSI certificate from HIS
- Resource
Name string - Appliances name.
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Distro string | Distro
- Represents a supported Fabric/Infra. (AKSEdge etc...).
- Identity
Identity
Args - Identity for the resource.
- Infrastructure
Config ApplianceProperties Infrastructure Config Args - Contains infrastructure information about the Appliance
- Location string
- The geo-location where the resource lives
- Public
Key string - Certificates pair used to download MSI certificate from HIS
- Resource
Name string - Appliances name.
- map[string]string
- Resource tags.
- resource
Group StringName - 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.
- infrastructure
Config ApplianceProperties Infrastructure Config - Contains infrastructure information about the Appliance
- location String
- The geo-location where the resource lives
- public
Key String - Certificates pair used to download MSI certificate from HIS
- resource
Name String - Appliances name.
- Map<String,String>
- Resource tags.
- resource
Group stringName - 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.
- infrastructure
Config ApplianceProperties Infrastructure Config - Contains infrastructure information about the Appliance
- location string
- The geo-location where the resource lives
- public
Key string - Certificates pair used to download MSI certificate from HIS
- resource
Name string - Appliances name.
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- distro str | Distro
- Represents a supported Fabric/Infra. (AKSEdge etc...).
- identity
Identity
Args - Identity for the resource.
- infrastructure_
config ApplianceProperties Infrastructure Config Args - 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
- resource_
name str - Appliances name.
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - 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.
- infrastructure
Config Property Map - Contains infrastructure information about the Appliance
- location String
- The geo-location where the resource lives
- public
Key String - Certificates pair used to download MSI certificate from HIS
- resource
Name String - Appliances name.
- Map<String>
- Resource tags.
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
- Provisioning
State 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
- System
Data Pulumi.Azure Native. Resource Connector. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Version string
- Version of the Appliance
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State 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
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Version string
- Version of the Appliance
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State 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
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- version String
- Version of the Appliance
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State 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
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- version string
- Version of the Appliance
- 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 SystemData Response - Metadata pertaining to creation and last modification of the resource
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- version str
- Version of the Appliance
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State 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
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- version String
- Version of the Appliance
Supporting Types
AppliancePropertiesInfrastructureConfig, AppliancePropertiesInfrastructureConfigArgs
- Provider
string | Pulumi.
Azure Native. Resource Connector. 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
- Distro
AKSEdge - AKSEdge
- AKSEdge
- AKSEdge
- AKSEdge
- AKSEdge
- AKS_EDGE
- AKSEdge
- "AKSEdge"
- AKSEdge
Identity, IdentityArgs
- Type
string | Pulumi.
Azure Native. Resource Connector. Resource Identity Type - The identity type.
- Type
string | Resource
Identity Type - The identity type.
- type
String | Resource
Identity Type - The identity type.
- type
string | Resource
Identity Type - The identity type.
- type
str | Resource
Identity Type - The identity type.
- type
String | "System
Assigned" | "None" - The identity type.
IdentityResponse, IdentityResponseArgs
- Principal
Id string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type string
- The identity type.
- Principal
Id string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type string
- The identity type.
- principal
Id String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type String
- The identity type.
- principal
Id string - The principal ID of resource identity.
- tenant
Id 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.
- principal
Id String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type String
- The identity type.
Provider, ProviderArgs
- VMWare
- VMWare
- HCI
- HCI
- SCVMM
- SCVMM
- Provider
VMWare - VMWare
- Provider
HCI - HCI
- Provider
SCVMM - 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
- System
Assigned - SystemAssigned
- None
- None
- Resource
Identity Type System Assigned - SystemAssigned
- Resource
Identity Type None - None
- System
Assigned - SystemAssigned
- None
- None
- System
Assigned - SystemAssigned
- None
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- NONE
- None
- "System
Assigned" - SystemAssigned
- "None"
- None
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:resourceconnector:Appliance appliance01 /subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ResourceConnector/appliances/appliance01
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0