@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.07 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 getRestApiPollerDataConnector(args: GetRestApiPollerDataConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetRestApiPollerDataConnectorResult>;
export interface GetRestApiPollerDataConnectorArgs {
/**
* 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 Rest Api Poller data connector.
*/
export interface GetRestApiPollerDataConnectorResult {
/**
* The add on attributes. The key name will become attribute name (a column) and the value will become the attribute value in the payload.
*/
readonly addOnAttributes?: {
[key: string]: string;
};
/**
* The a authentication model.
*/
readonly auth: outputs.securityinsights.AWSAuthModelResponse | outputs.securityinsights.ApiKeyAuthModelResponse | outputs.securityinsights.BasicAuthModelResponse | outputs.securityinsights.GCPAuthModelResponse | outputs.securityinsights.GenericBlobSbsAuthModelResponse | outputs.securityinsights.GitHubAuthModelResponse | outputs.securityinsights.JwtAuthModelResponse | outputs.securityinsights.NoneAuthModelResponse | outputs.securityinsights.OAuthModelResponse | outputs.securityinsights.OracleAuthModelResponse | outputs.securityinsights.SessionAuthModelResponse;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The connector definition name (the dataConnectorDefinition resource id).
*/
readonly connectorDefinitionName: string;
/**
* The Log Analytics table destination.
*/
readonly dataType?: string;
/**
* The DCR related properties.
*/
readonly dcrConfig?: outputs.securityinsights.DCRConfigurationResponse;
/**
* 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;
/**
* Indicates whether the connector is active or not.
*/
readonly isActive?: boolean;
/**
* The kind of the data connector
* Expected value is 'RestApiPoller'.
*/
readonly kind: "RestApiPoller";
/**
* The name of the resource
*/
readonly name: string;
/**
* The paging configuration.
*/
readonly paging?: outputs.securityinsights.RestApiPollerRequestPagingConfigResponse;
/**
* The request configuration.
*/
readonly request: outputs.securityinsights.RestApiPollerRequestConfigResponse;
/**
* The response configuration.
*/
readonly response?: outputs.securityinsights.CcpResponseConfigResponse;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.securityinsights.SystemDataResponse;
/**
* 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 getRestApiPollerDataConnectorOutput(args: GetRestApiPollerDataConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRestApiPollerDataConnectorResult>;
export interface GetRestApiPollerDataConnectorOutputArgs {
/**
* 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>;
}