ApiGatewayConfigConnection

class ApiGatewayConfigConnection : KotlinCustomResource

A single API Management gateway resource in List or Get response. Uses Azure REST API version 2024-06-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-09-01-preview. Other available API versions: 2023-09-01-preview, 2024-05-01. 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

ApiManagementCreateGatewayConfigConnection

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var apiGatewayConfigConnection = new AzureNative.ApiManagement.ApiGatewayConfigConnection("apiGatewayConfigConnection", new()
{
ConfigConnectionName = "gcc-01",
GatewayName = "standard-gw-01",
ResourceGroupName = "rg1",
SourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/services/apim-service-1/workspaces/ws-001",
});
});
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.NewApiGatewayConfigConnection(ctx, "apiGatewayConfigConnection", &apimanagement.ApiGatewayConfigConnectionArgs{
ConfigConnectionName: pulumi.String("gcc-01"),
GatewayName: pulumi.String("standard-gw-01"),
ResourceGroupName: pulumi.String("rg1"),
SourceId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/services/apim-service-1/workspaces/ws-001"),
})
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.ApiGatewayConfigConnection;
import com.pulumi.azurenative.apimanagement.ApiGatewayConfigConnectionArgs;
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 apiGatewayConfigConnection = new ApiGatewayConfigConnection("apiGatewayConfigConnection", ApiGatewayConfigConnectionArgs.builder()
.configConnectionName("gcc-01")
.gatewayName("standard-gw-01")
.resourceGroupName("rg1")
.sourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/services/apim-service-1/workspaces/ws-001")
.build());
}
}

Import

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

$ pulumi import azure-native:apimanagement:ApiGatewayConfigConnection gcc-1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/gateways/{gatewayName}/configConnections/{configConnectionName}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val defaultHostname: Output<String>

The default hostname of the data-plane gateway.

Link copied to clipboard
val etag: Output<String>

ETag of the resource.

Link copied to clipboard
val hostnames: Output<List<String>>?

The hostnames of the data-plane gateway to which requests can be sent.

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

The current provisioning state of the API Management gateway config connection

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

The link to the API Management service workspace.

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>