@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.72 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a connector resource
*
* Uses Azure REST API version 2023-10-01-preview.
*/
export declare function getConnector(args: GetConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectorResult>;
export interface GetConnectorArgs {
/**
* The name of the connector resource
*/
connectorName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Define the connector resource.
*/
export interface GetConnectorResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Indicates any errors on the connector resource.
*/
readonly errors: outputs.workloads.ConnectorErrorDefinitionResponse;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* Managed service identity (user assigned identities)
*/
readonly identity?: outputs.workloads.UserAssignedServiceIdentityResponse;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* Managed resource group configuration
*/
readonly managedResourceGroupConfiguration?: outputs.workloads.ManagedRGConfigurationResponse;
/**
* The name of the resource
*/
readonly name: string;
/**
* Defines the provisioning states.
*/
readonly provisioningState: string;
/**
* Defines the ID of the connector's source resource.
*/
readonly sourceResourceId: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.workloads.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 a connector resource
*
* Uses Azure REST API version 2023-10-01-preview.
*/
export declare function getConnectorOutput(args: GetConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectorResult>;
export interface GetConnectorOutputArgs {
/**
* The name of the connector resource
*/
connectorName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}