1. Packages
  2. Azure Classic
  3. API Docs
  4. arc
  5. getResourceBridgeAppliance

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.arc.getResourceBridgeAppliance

Explore with Pulumi AI

Use this data source to access information about an existing Arc Resource Bridge Appliance.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = azure.arc.getResourceBridgeAppliance({
    name: "existing",
    resourceGroupName: "existing",
});
export const id = example.then(example => example.id);
Copy
import pulumi
import pulumi_azure as azure

example = azure.arc.get_resource_bridge_appliance(name="existing",
    resource_group_name="existing")
pulumi.export("id", example.id)
Copy
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/arc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := arc.LookupResourceBridgeAppliance(ctx, &arc.LookupResourceBridgeApplianceArgs{
			Name:              "existing",
			ResourceGroupName: "existing",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var example = Azure.Arc.GetResourceBridgeAppliance.Invoke(new()
    {
        Name = "existing",
        ResourceGroupName = "existing",
    });

    return new Dictionary<string, object?>
    {
        ["id"] = example.Apply(getResourceBridgeApplianceResult => getResourceBridgeApplianceResult.Id),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.arc.ArcFunctions;
import com.pulumi.azure.arc.inputs.GetResourceBridgeApplianceArgs;
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) {
        final var example = ArcFunctions.getResourceBridgeAppliance(GetResourceBridgeApplianceArgs.builder()
            .name("existing")
            .resourceGroupName("existing")
            .build());

        ctx.export("id", example.applyValue(getResourceBridgeApplianceResult -> getResourceBridgeApplianceResult.id()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: azure:arc:getResourceBridgeAppliance
      arguments:
        name: existing
        resourceGroupName: existing
outputs:
  id: ${example.id}
Copy

Using getResourceBridgeAppliance

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getResourceBridgeAppliance(args: GetResourceBridgeApplianceArgs, opts?: InvokeOptions): Promise<GetResourceBridgeApplianceResult>
function getResourceBridgeApplianceOutput(args: GetResourceBridgeApplianceOutputArgs, opts?: InvokeOptions): Output<GetResourceBridgeApplianceResult>
Copy
def get_resource_bridge_appliance(name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetResourceBridgeApplianceResult
def get_resource_bridge_appliance_output(name: Optional[pulumi.Input[str]] = None,
                                  resource_group_name: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetResourceBridgeApplianceResult]
Copy
func LookupResourceBridgeAppliance(ctx *Context, args *LookupResourceBridgeApplianceArgs, opts ...InvokeOption) (*LookupResourceBridgeApplianceResult, error)
func LookupResourceBridgeApplianceOutput(ctx *Context, args *LookupResourceBridgeApplianceOutputArgs, opts ...InvokeOption) LookupResourceBridgeApplianceResultOutput
Copy

> Note: This function is named LookupResourceBridgeAppliance in the Go SDK.

public static class GetResourceBridgeAppliance 
{
    public static Task<GetResourceBridgeApplianceResult> InvokeAsync(GetResourceBridgeApplianceArgs args, InvokeOptions? opts = null)
    public static Output<GetResourceBridgeApplianceResult> Invoke(GetResourceBridgeApplianceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetResourceBridgeApplianceResult> getResourceBridgeAppliance(GetResourceBridgeApplianceArgs args, InvokeOptions options)
public static Output<GetResourceBridgeApplianceResult> getResourceBridgeAppliance(GetResourceBridgeApplianceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure:arc/getResourceBridgeAppliance:getResourceBridgeAppliance
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name of this Arc Resource Bridge Appliance.
ResourceGroupName This property is required. string
The name of the Resource Group where the Arc Resource Bridge Appliance exists.
Name This property is required. string
The name of this Arc Resource Bridge Appliance.
ResourceGroupName This property is required. string
The name of the Resource Group where the Arc Resource Bridge Appliance exists.
name This property is required. String
The name of this Arc Resource Bridge Appliance.
resourceGroupName This property is required. String
The name of the Resource Group where the Arc Resource Bridge Appliance exists.
name This property is required. string
The name of this Arc Resource Bridge Appliance.
resourceGroupName This property is required. string
The name of the Resource Group where the Arc Resource Bridge Appliance exists.
name This property is required. str
The name of this Arc Resource Bridge Appliance.
resource_group_name This property is required. str
The name of the Resource Group where the Arc Resource Bridge Appliance exists.
name This property is required. String
The name of this Arc Resource Bridge Appliance.
resourceGroupName This property is required. String
The name of the Resource Group where the Arc Resource Bridge Appliance exists.

getResourceBridgeAppliance Result

The following output properties are available:

Distro string
Fabric/Infrastructure for this Arc Resource Bridge Appliance.
Id string
The provider-assigned unique ID for this managed resource.
Identities List<GetResourceBridgeApplianceIdentity>
An identity block as defined below.
InfrastructureProvider string
The infrastructure provider about the connected Arc Resource Bridge Appliance.
Location string
The Azure Region where the Arc Resource Bridge Appliance exists.
Name string
PublicKeyBase64 string
RSA public key in PKCS1 format encoded in base64.
ResourceGroupName string
Tags Dictionary<string, string>
A mapping of tags assigned to the Arc Resource Bridge Appliance.
Distro string
Fabric/Infrastructure for this Arc Resource Bridge Appliance.
Id string
The provider-assigned unique ID for this managed resource.
Identities []GetResourceBridgeApplianceIdentity
An identity block as defined below.
InfrastructureProvider string
The infrastructure provider about the connected Arc Resource Bridge Appliance.
Location string
The Azure Region where the Arc Resource Bridge Appliance exists.
Name string
PublicKeyBase64 string
RSA public key in PKCS1 format encoded in base64.
ResourceGroupName string
Tags map[string]string
A mapping of tags assigned to the Arc Resource Bridge Appliance.
distro String
Fabric/Infrastructure for this Arc Resource Bridge Appliance.
id String
The provider-assigned unique ID for this managed resource.
identities List<GetResourceBridgeApplianceIdentity>
An identity block as defined below.
infrastructureProvider String
The infrastructure provider about the connected Arc Resource Bridge Appliance.
location String
The Azure Region where the Arc Resource Bridge Appliance exists.
name String
publicKeyBase64 String
RSA public key in PKCS1 format encoded in base64.
resourceGroupName String
tags Map<String,String>
A mapping of tags assigned to the Arc Resource Bridge Appliance.
distro string
Fabric/Infrastructure for this Arc Resource Bridge Appliance.
id string
The provider-assigned unique ID for this managed resource.
identities GetResourceBridgeApplianceIdentity[]
An identity block as defined below.
infrastructureProvider string
The infrastructure provider about the connected Arc Resource Bridge Appliance.
location string
The Azure Region where the Arc Resource Bridge Appliance exists.
name string
publicKeyBase64 string
RSA public key in PKCS1 format encoded in base64.
resourceGroupName string
tags {[key: string]: string}
A mapping of tags assigned to the Arc Resource Bridge Appliance.
distro str
Fabric/Infrastructure for this Arc Resource Bridge Appliance.
id str
The provider-assigned unique ID for this managed resource.
identities Sequence[GetResourceBridgeApplianceIdentity]
An identity block as defined below.
infrastructure_provider str
The infrastructure provider about the connected Arc Resource Bridge Appliance.
location str
The Azure Region where the Arc Resource Bridge Appliance exists.
name str
public_key_base64 str
RSA public key in PKCS1 format encoded in base64.
resource_group_name str
tags Mapping[str, str]
A mapping of tags assigned to the Arc Resource Bridge Appliance.
distro String
Fabric/Infrastructure for this Arc Resource Bridge Appliance.
id String
The provider-assigned unique ID for this managed resource.
identities List<Property Map>
An identity block as defined below.
infrastructureProvider String
The infrastructure provider about the connected Arc Resource Bridge Appliance.
location String
The Azure Region where the Arc Resource Bridge Appliance exists.
name String
publicKeyBase64 String
RSA public key in PKCS1 format encoded in base64.
resourceGroupName String
tags Map<String>
A mapping of tags assigned to the Arc Resource Bridge Appliance.

Supporting Types

GetResourceBridgeApplianceIdentity

PrincipalId This property is required. string
The Principal ID associated with this Managed Service Identity.
TenantId This property is required. string
The Tenant ID associated with this Managed Service Identity.
Type This property is required. string
The type of this Managed Service Identity.
PrincipalId This property is required. string
The Principal ID associated with this Managed Service Identity.
TenantId This property is required. string
The Tenant ID associated with this Managed Service Identity.
Type This property is required. string
The type of this Managed Service Identity.
principalId This property is required. String
The Principal ID associated with this Managed Service Identity.
tenantId This property is required. String
The Tenant ID associated with this Managed Service Identity.
type This property is required. String
The type of this Managed Service Identity.
principalId This property is required. string
The Principal ID associated with this Managed Service Identity.
tenantId This property is required. string
The Tenant ID associated with this Managed Service Identity.
type This property is required. string
The type of this Managed Service Identity.
principal_id This property is required. str
The Principal ID associated with this Managed Service Identity.
tenant_id This property is required. str
The Tenant ID associated with this Managed Service Identity.
type This property is required. str
The type of this Managed Service Identity.
principalId This property is required. String
The Principal ID associated with this Managed Service Identity.
tenantId This property is required. String
The Tenant ID associated with this Managed Service Identity.
type This property is required. String
The type of this Managed Service Identity.

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.