UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

64 lines (63 loc) 1.95 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get issue properties * * Uses Azure REST API version 2025-03-01-preview. */ export declare function getIssue(args: GetIssueArgs, opts?: pulumi.InvokeOptions): Promise<GetIssueResult>; export interface GetIssueArgs { /** * The name of the IssueResource */ issueName: string; /** * The fully qualified Azure Resource manager identifier of the resource. */ resourceUri: string; } /** * The Issue resource */ export interface GetIssueResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The name of the resource */ readonly name: string; /** * The resource-specific properties for this resource. */ readonly properties: outputs.alertsmanagement.IssuePropertiesResponse; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.alertsmanagement.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Get issue properties * * Uses Azure REST API version 2025-03-01-preview. */ export declare function getIssueOutput(args: GetIssueOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIssueResult>; export interface GetIssueOutputArgs { /** * The name of the IssueResource */ issueName: pulumi.Input<string>; /** * The fully qualified Azure Resource manager identifier of the resource. */ resourceUri: pulumi.Input<string>; }