@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.66 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
*
* Uses Azure REST API version 2024-02-01-preview.
*
* Other available API versions: 2023-04-01, 2023-10-01-preview, 2023-12-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native workloads [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getMonitor(args: GetMonitorArgs, opts?: pulumi.InvokeOptions): Promise<GetMonitorResult>;
export interface GetMonitorArgs {
/**
* Name of the SAP monitor resource.
*/
monitorName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* SAP monitor info on Azure (ARM properties and SAP monitor properties)
*/
export interface GetMonitorResult {
/**
* The SAP monitor resources will be deployed in the SAP monitoring region. The subnet region should be same as the SAP monitoring region.
*/
readonly appLocation?: string;
/**
* App service plan configuration
*/
readonly appServicePlanConfiguration?: outputs.workloads.AppServicePlanConfigurationResponse;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Defines the SAP monitor errors.
*/
readonly errors: outputs.workloads.ErrorDetailResponse;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The managed service identities assigned to this resource.
*/
readonly identity?: outputs.workloads.ManagedServiceIdentityResponse;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* The ARM ID of the Log Analytics Workspace that is used for SAP monitoring.
*/
readonly logAnalyticsWorkspaceArmId?: string;
/**
* Managed resource group configuration
*/
readonly managedResourceGroupConfiguration?: outputs.workloads.ManagedResourceGroupConfigurationResponse;
/**
* The subnet which the SAP monitor will be deployed in
*/
readonly monitorSubnet?: string;
/**
* The ARM ID of the MSI used for SAP monitoring.
*/
readonly msiArmId: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* State of provisioning of the SAP monitor.
*/
readonly provisioningState: string;
/**
* Sets the routing preference of the SAP monitor. By default only RFC1918 traffic is routed to the customer VNET.
*/
readonly routingPreference?: string;
/**
* The ARM ID of the Storage account used for SAP monitoring.
*/
readonly storageAccountArmId: 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;
/**
* Sets the preference for zone redundancy on resources created for the SAP monitor. By default resources will be created which do not support zone redundancy.
*/
readonly zoneRedundancyPreference?: string;
}
/**
* Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
*
* Uses Azure REST API version 2024-02-01-preview.
*
* Other available API versions: 2023-04-01, 2023-10-01-preview, 2023-12-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native workloads [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getMonitorOutput(args: GetMonitorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMonitorResult>;
export interface GetMonitorOutputArgs {
/**
* Name of the SAP monitor resource.
*/
monitorName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}