ApiReleaseArgs

data class ApiReleaseArgs(val apiId: Output<String>? = null, val notes: Output<String>? = null, val releaseId: Output<String>? = null, val resourceGroupName: Output<String>? = null, val serviceName: Output<String>? = null) : ConvertibleToJava<ApiReleaseArgs>

ApiRelease details. API Version: 2020-12-01.

Example Usage

ApiManagementCreateApiRelease

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var apiRelease = new AzureNative.ApiManagement.ApiRelease("apiRelease", new()
{
ApiId = "a1",
Notes = "yahooagain",
ReleaseId = "testrev",
ResourceGroupName = "rg1",
ServiceName = "apimService1",
});
});
package main
import (
apimanagement "github.com/pulumi/pulumi-azure-native-sdk/apimanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := apimanagement.NewApiRelease(ctx, "apiRelease", &apimanagement.ApiReleaseArgs{
ApiId: pulumi.String("a1"),
Notes: pulumi.String("yahooagain"),
ReleaseId: pulumi.String("testrev"),
ResourceGroupName: pulumi.String("rg1"),
ServiceName: pulumi.String("apimService1"),
})
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.ApiRelease;
import com.pulumi.azurenative.apimanagement.ApiReleaseArgs;
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 apiRelease = new ApiRelease("apiRelease", ApiReleaseArgs.builder()
.apiId("a1")
.notes("yahooagain")
.releaseId("testrev")
.resourceGroupName("rg1")
.serviceName("apimService1")
.build());
}
}

Import

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

$ pulumi import azure-native:apimanagement:ApiRelease testrev /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/a1/releases/testrev

Constructors

Link copied to clipboard
constructor(apiId: Output<String>? = null, notes: Output<String>? = null, releaseId: Output<String>? = null, resourceGroupName: Output<String>? = null, serviceName: Output<String>? = null)

Properties

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

Identifier of the API the release belongs to.

Link copied to clipboard
val notes: Output<String>? = null

Release Notes

Link copied to clipboard
val releaseId: Output<String>? = null

Release identifier within an API. Must be unique in the current API Management service instance.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group.

Link copied to clipboard
val serviceName: Output<String>? = null

The name of the API Management service.

Functions

Link copied to clipboard
open override fun toJava(): ApiReleaseArgs