@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.04 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the specified cloud connection in a specified resource group.
*
* Uses Azure REST API version 2023-01-01-preview.
*/
export declare function getCloudConnection(args: GetCloudConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudConnectionResult>;
export interface GetCloudConnectionArgs {
/**
* The name of the cloud connection resource
*/
cloudConnectionName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Resource which represents the managed network connection between Azure Gateways and remote cloud gateways.
*/
export interface GetCloudConnectionResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The cloud connector which discovered the remote resource.
*/
readonly cloudConnector?: outputs.hybridcloud.ResourceReferenceResponse;
/**
* 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 collection resource.
*/
readonly provisioningState: string;
/**
* Identifier for the remote cloud resource
*/
readonly remoteResourceId?: string;
/**
* Shared key of the cloud connection.
*/
readonly sharedKey?: 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;
/**
* The virtualHub to which the cloud connection belongs.
*/
readonly virtualHub?: outputs.hybridcloud.ResourceReferenceResponse;
}
/**
* Gets the specified cloud connection in a specified resource group.
*
* Uses Azure REST API version 2023-01-01-preview.
*/
export declare function getCloudConnectionOutput(args: GetCloudConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCloudConnectionResult>;
export interface GetCloudConnectionOutputArgs {
/**
* The name of the cloud connection resource
*/
cloudConnectionName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}