@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.53 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a data connector.
*
* Uses Azure REST API version 2024-09-01.
*/
export declare function getOfficeDataConnector(args: GetOfficeDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetOfficeDataConnectorResult>;
export interface GetOfficeDataConnectorArgs {
/**
* Connector ID
*/
dataConnectorId: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the workspace.
*/
workspaceName: string;
}
/**
* Represents office data connector.
*/
export interface GetOfficeDataConnectorResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The available data types for the connector.
*/
readonly dataTypes?: outputs.securityinsights.OfficeDataConnectorDataTypesResponse;
/**
* Etag of the azure resource
*/
readonly etag?: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The kind of the data connector
* Expected value is 'Office365'.
*/
readonly kind: "Office365";
/**
* The name of the resource
*/
readonly name: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.securityinsights.SystemDataResponse;
/**
* The tenant id to connect to, and get the data from.
*/
readonly tenantId?: string;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Gets a data connector.
*
* Uses Azure REST API version 2024-09-01.
*/
export declare function getOfficeDataConnectorOutput(args: GetOfficeDataConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOfficeDataConnectorResult>;
export interface GetOfficeDataConnectorOutputArgs {
/**
* Connector ID
*/
dataConnectorId: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the workspace.
*/
workspaceName: pulumi.Input<string>;
}