ApiIssue

class ApiIssue : KotlinCustomResource

Issue Contract details. Uses Azure REST API version 2022-09-01-preview. In version 2.x of the Azure Native provider, it used API version 2022-08-01. Other available API versions: 2021-04-01-preview, 2021-08-01, 2021-12-01-preview, 2022-04-01-preview, 2022-08-01, 2023-03-01-preview, 2023-05-01-preview, 2023-09-01-preview, 2024-05-01, 2024-06-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native apimanagement [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

ApiManagementCreateApiIssue

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var apiIssue = new AzureNative.ApiManagement.ApiIssue("apiIssue", new()
{
ApiId = "57d1f7558aa04f15146d9d8a",
CreatedDate = "2018-02-01T22:21:20.467Z",
Description = "New API issue description",
IssueId = "57d2ef278aa04f0ad01d6cdc",
ResourceGroupName = "rg1",
ServiceName = "apimService1",
State = AzureNative.ApiManagement.State.Open,
Title = "New API issue",
UserId = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1",
});
});
package main
import (
apimanagement "github.com/pulumi/pulumi-azure-native-sdk/apimanagement/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := apimanagement.NewApiIssue(ctx, "apiIssue", &apimanagement.ApiIssueArgs{
ApiId: pulumi.String("57d1f7558aa04f15146d9d8a"),
CreatedDate: pulumi.String("2018-02-01T22:21:20.467Z"),
Description: pulumi.String("New API issue description"),
IssueId: pulumi.String("57d2ef278aa04f0ad01d6cdc"),
ResourceGroupName: pulumi.String("rg1"),
ServiceName: pulumi.String("apimService1"),
State: pulumi.String(apimanagement.StateOpen),
Title: pulumi.String("New API issue"),
UserId: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.apimanagement.ApiIssue;
import com.pulumi.azurenative.apimanagement.ApiIssueArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var apiIssue = new ApiIssue("apiIssue", ApiIssueArgs.builder()
.apiId("57d1f7558aa04f15146d9d8a")
.createdDate("2018-02-01T22:21:20.467Z")
.description("New API issue description")
.issueId("57d2ef278aa04f0ad01d6cdc")
.resourceGroupName("rg1")
.serviceName("apimService1")
.state("open")
.title("New API issue")
.userId("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:apimanagement:ApiIssue 57d2ef278aa04f0ad01d6cdc /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}

Properties

Link copied to clipboard
val apiId: Output<String>?

A resource identifier for the API the issue was created for.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val createdDate: Output<String>?

Date and time when the issue was created.

Link copied to clipboard
val description: Output<String>

Text describing the issue.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val state: Output<String>?

Status of the issue.

Link copied to clipboard
val title: Output<String>

The issue title.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val userId: Output<String>

A resource identifier for the user created the issue.