UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

86 lines (85 loc) 2.62 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the specified cloud connector in a specified resource group. * * Uses Azure REST API version 2023-01-01-preview. */ export declare function getCloudConnector(args: GetCloudConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudConnectorResult>; export interface GetCloudConnectorArgs { /** * The name of the cloud connector resource */ cloudConnectorName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Cloud Connector resource. */ export interface GetCloudConnectorResult { /** * Account identifier of the remote cloud. */ readonly accountId?: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The cloud connector type. */ readonly cloudType?: string; /** * A unique read-only string that changes whenever the resource is updated. */ readonly etag: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * The geo-location where the resource lives */ readonly location: string; /** * The name of the resource */ readonly name: string; /** * The provisioning state of the cloud connector resource. */ readonly provisioningState: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.hybridcloud.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Gets the specified cloud connector in a specified resource group. * * Uses Azure REST API version 2023-01-01-preview. */ export declare function getCloudConnectorOutput(args: GetCloudConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCloudConnectorResult>; export interface GetCloudConnectorOutputArgs { /** * The name of the cloud connector resource */ cloudConnectorName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }