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

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

azure.arc.getResourceBridgeAppliance

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

    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);
    
    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)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/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
    	})
    }
    
    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),
        };
    });
    
    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()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: azure:arc:getResourceBridgeAppliance
          Arguments:
            name: existing
            resourceGroupName: existing
    outputs:
      id: ${example.id}
    

    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>
    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]
    func LookupResourceBridgeAppliance(ctx *Context, args *LookupResourceBridgeApplianceArgs, opts ...InvokeOption) (*LookupResourceBridgeApplianceResult, error)
    func LookupResourceBridgeApplianceOutput(ctx *Context, args *LookupResourceBridgeApplianceOutputArgs, opts ...InvokeOption) LookupResourceBridgeApplianceResultOutput

    > 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)
    }
    public static CompletableFuture<GetResourceBridgeApplianceResult> getResourceBridgeAppliance(GetResourceBridgeApplianceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure:arc/getResourceBridgeAppliance:getResourceBridgeAppliance
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of this Arc Resource Bridge Appliance.
    ResourceGroupName string
    The name of the Resource Group where the Arc Resource Bridge Appliance exists.
    Name string
    The name of this Arc Resource Bridge Appliance.
    ResourceGroupName string
    The name of the Resource Group where the Arc Resource Bridge Appliance exists.
    name String
    The name of this Arc Resource Bridge Appliance.
    resourceGroupName String
    The name of the Resource Group where the Arc Resource Bridge Appliance exists.
    name string
    The name of this Arc Resource Bridge Appliance.
    resourceGroupName string
    The name of the Resource Group where the Arc Resource Bridge Appliance exists.
    name str
    The name of this Arc Resource Bridge Appliance.
    resource_group_name str
    The name of the Resource Group where the Arc Resource Bridge Appliance exists.
    name String
    The name of this Arc Resource Bridge Appliance.
    resourceGroupName 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 string
    The Principal ID associated with this Managed Service Identity.
    TenantId string
    The Tenant ID associated with this Managed Service Identity.
    Type string
    The type of this Managed Service Identity.
    PrincipalId string
    The Principal ID associated with this Managed Service Identity.
    TenantId string
    The Tenant ID associated with this Managed Service Identity.
    Type string
    The type of this Managed Service Identity.
    principalId String
    The Principal ID associated with this Managed Service Identity.
    tenantId String
    The Tenant ID associated with this Managed Service Identity.
    type String
    The type of this Managed Service Identity.
    principalId string
    The Principal ID associated with this Managed Service Identity.
    tenantId string
    The Tenant ID associated with this Managed Service Identity.
    type string
    The type of this Managed Service Identity.
    principal_id str
    The Principal ID associated with this Managed Service Identity.
    tenant_id str
    The Tenant ID associated with this Managed Service Identity.
    type str
    The type of this Managed Service Identity.
    principalId String
    The Principal ID associated with this Managed Service Identity.
    tenantId String
    The Tenant ID associated with this Managed Service Identity.
    type 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.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi