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
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.
- Resource
Group stringName - The name of the Resource Group where the Arc Resource Bridge Appliance exists.
- Name string
- The name of this Arc Resource Bridge Appliance.
- Resource
Group stringName - The name of the Resource Group where the Arc Resource Bridge Appliance exists.
- name String
- The name of this Arc Resource Bridge Appliance.
- resource
Group StringName - The name of the Resource Group where the Arc Resource Bridge Appliance exists.
- name string
- The name of this Arc Resource Bridge Appliance.
- resource
Group stringName - 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_ strname - The name of the Resource Group where the Arc Resource Bridge Appliance exists.
- name String
- The name of this Arc Resource Bridge Appliance.
- resource
Group StringName - 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<Get
Resource Bridge Appliance Identity> - An
identity
block as defined below. - Infrastructure
Provider 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
- Public
Key stringBase64 - RSA public key in PKCS1 format encoded in base64.
- Resource
Group stringName - 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
[]Get
Resource Bridge Appliance Identity - An
identity
block as defined below. - Infrastructure
Provider 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
- Public
Key stringBase64 - RSA public key in PKCS1 format encoded in base64.
- Resource
Group stringName - 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<Get
Resource Bridge Appliance Identity> - An
identity
block as defined below. - infrastructure
Provider 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
- public
Key StringBase64 - RSA public key in PKCS1 format encoded in base64.
- resource
Group StringName - 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
Get
Resource Bridge Appliance Identity[] - An
identity
block as defined below. - infrastructure
Provider 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
- public
Key stringBase64 - RSA public key in PKCS1 format encoded in base64.
- resource
Group stringName - {[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[Get
Resource Bridge Appliance Identity] - 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_ strbase64 - RSA public key in PKCS1 format encoded in base64.
- resource_
group_ strname - 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. - infrastructure
Provider 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
- public
Key StringBase64 - RSA public key in PKCS1 format encoded in base64.
- resource
Group StringName - Map<String>
- A mapping of tags assigned to the Arc Resource Bridge Appliance.
Supporting Types
GetResourceBridgeApplianceIdentity
- Principal
Id string - The Principal ID associated with this Managed Service Identity.
- Tenant
Id string - The Tenant ID associated with this Managed Service Identity.
- Type string
- The type of this Managed Service Identity.
- Principal
Id string - The Principal ID associated with this Managed Service Identity.
- Tenant
Id string - The Tenant ID associated with this Managed Service Identity.
- Type string
- The type of this Managed Service Identity.
- principal
Id String - The Principal ID associated with this Managed Service Identity.
- tenant
Id String - The Tenant ID associated with this Managed Service Identity.
- type String
- The type of this Managed Service Identity.
- principal
Id string - The Principal ID associated with this Managed Service Identity.
- tenant
Id 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.
- principal
Id String - The Principal ID associated with this Managed Service Identity.
- tenant
Id 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.