OperatorApiConnectionArgs

data class OperatorApiConnectionArgs(val accountType: Output<Either<String, AccountType>>? = null, val appId: Output<String>? = null, val appSecret: Output<String>? = null, val configuredApplication: Output<ApplicationPropertiesArgs>? = null, val gatewayId: Output<String>? = null, val location: Output<String>? = null, val operatorApiConnectionName: Output<String>? = null, val operatorApiPlanId: Output<String>? = null, val resourceGroupName: Output<String>? = null, val saasProperties: Output<SaasPropertiesArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<OperatorApiConnectionArgs>

A Programmable Connectivity Operator API Connection resource Uses Azure REST API version 2024-01-15-preview. In version 2.x of the Azure Native provider, it used API version 2024-01-15-preview. Other available API versions: 2025-03-30-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native programmableconnectivity [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

OperatorApiConnections_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var operatorApiConnection = new AzureNative.ProgrammableConnectivity.OperatorApiConnection("operatorApiConnection", new()
{
AccountType = AzureNative.ProgrammableConnectivity.AccountType.AzureManaged,
AppId = "czgrhbvgr",
AppSecret = "wtxnpes",
ConfiguredApplication = new AzureNative.ProgrammableConnectivity.Inputs.ApplicationPropertiesArgs
{
ApplicationDescription = "gjlwegnqvffvsc",
ApplicationType = "f",
LegalName = "ar",
Name = "idzqqen",
OrganizationDescription = "fcueqzlxxr",
PrivacyContactEmailAddress = "l",
TaxNumber = "ngzv",
},
GatewayId = "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/example-rg/providers/Microsoft.ProgrammableConnectivity/gateways/cdvcixxcdhjqw",
Location = "dwvzfkjoepbmksygazllqryyinn",
OperatorApiConnectionName = "nzsdg",
OperatorApiPlanId = "/subscriptions/00000000-0000-0000-0000-00000000000/providers/Microsoft.ProgrammableConnectivity/operatorApiPlans/livmzrh",
ResourceGroupName = "rgopenapi",
SaasProperties = new AzureNative.ProgrammableConnectivity.Inputs.SaasPropertiesArgs
{
SaasResourceId = "pekejefyvfviabimdrmno",
SaasSubscriptionId = "mgyusmqt",
},
Tags =
{
{ "key5536", "bjhvpzsmtalqxmjjbsfdizhg" },
},
});
});
package main
import (
programmableconnectivity "github.com/pulumi/pulumi-azure-native-sdk/programmableconnectivity/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := programmableconnectivity.NewOperatorApiConnection(ctx, "operatorApiConnection", &programmableconnectivity.OperatorApiConnectionArgs{
AccountType: pulumi.String(programmableconnectivity.AccountTypeAzureManaged),
AppId: pulumi.String("czgrhbvgr"),
AppSecret: pulumi.String("wtxnpes"),
ConfiguredApplication: &programmableconnectivity.ApplicationPropertiesArgs{
ApplicationDescription: pulumi.String("gjlwegnqvffvsc"),
ApplicationType: pulumi.String("f"),
LegalName: pulumi.String("ar"),
Name: pulumi.String("idzqqen"),
OrganizationDescription: pulumi.String("fcueqzlxxr"),
PrivacyContactEmailAddress: pulumi.String("l"),
TaxNumber: pulumi.String("ngzv"),
},
GatewayId: pulumi.String("/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/example-rg/providers/Microsoft.ProgrammableConnectivity/gateways/cdvcixxcdhjqw"),
Location: pulumi.String("dwvzfkjoepbmksygazllqryyinn"),
OperatorApiConnectionName: pulumi.String("nzsdg"),
OperatorApiPlanId: pulumi.String("/subscriptions/00000000-0000-0000-0000-00000000000/providers/Microsoft.ProgrammableConnectivity/operatorApiPlans/livmzrh"),
ResourceGroupName: pulumi.String("rgopenapi"),
SaasProperties: &programmableconnectivity.SaasPropertiesArgs{
SaasResourceId: pulumi.String("pekejefyvfviabimdrmno"),
SaasSubscriptionId: pulumi.String("mgyusmqt"),
},
Tags: pulumi.StringMap{
"key5536": pulumi.String("bjhvpzsmtalqxmjjbsfdizhg"),
},
})
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.programmableconnectivity.OperatorApiConnection;
import com.pulumi.azurenative.programmableconnectivity.OperatorApiConnectionArgs;
import com.pulumi.azurenative.programmableconnectivity.inputs.ApplicationPropertiesArgs;
import com.pulumi.azurenative.programmableconnectivity.inputs.SaasPropertiesArgs;
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 operatorApiConnection = new OperatorApiConnection("operatorApiConnection", OperatorApiConnectionArgs.builder()
.accountType("AzureManaged")
.appId("czgrhbvgr")
.appSecret("wtxnpes")
.configuredApplication(ApplicationPropertiesArgs.builder()
.applicationDescription("gjlwegnqvffvsc")
.applicationType("f")
.legalName("ar")
.name("idzqqen")
.organizationDescription("fcueqzlxxr")
.privacyContactEmailAddress("l")
.taxNumber("ngzv")
.build())
.gatewayId("/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/example-rg/providers/Microsoft.ProgrammableConnectivity/gateways/cdvcixxcdhjqw")
.location("dwvzfkjoepbmksygazllqryyinn")
.operatorApiConnectionName("nzsdg")
.operatorApiPlanId("/subscriptions/00000000-0000-0000-0000-00000000000/providers/Microsoft.ProgrammableConnectivity/operatorApiPlans/livmzrh")
.resourceGroupName("rgopenapi")
.saasProperties(SaasPropertiesArgs.builder()
.saasResourceId("pekejefyvfviabimdrmno")
.saasSubscriptionId("mgyusmqt")
.build())
.tags(Map.of("key5536", "bjhvpzsmtalqxmjjbsfdizhg"))
.build());
}
}

Import

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

$ pulumi import azure-native:programmableconnectivity:OperatorApiConnection zsilgtpflhroamaglfbywbn /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ProgrammableConnectivity/operatorApiConnections/{operatorApiConnectionName}

Constructors

Link copied to clipboard
constructor(accountType: Output<Either<String, AccountType>>? = null, appId: Output<String>? = null, appSecret: Output<String>? = null, configuredApplication: Output<ApplicationPropertiesArgs>? = null, gatewayId: Output<String>? = null, location: Output<String>? = null, operatorApiConnectionName: Output<String>? = null, operatorApiPlanId: Output<String>? = null, resourceGroupName: Output<String>? = null, saasProperties: Output<SaasPropertiesArgs>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val accountType: Output<Either<String, AccountType>>? = null

Type of the account the user has with the Operator's Network API infrastructure. AzureManaged | UserManaged.

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

Application ID of the App Developer that is registered with the Operator in a specific country/region.

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

Application secret linked to the 'appId'. This should be stored securely and is not returned back when the resource information is read.

Link copied to clipboard

Details about the Application that would use the Operator's Network APIs.

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

Reference to the APC Gateway resource ID.

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

The geo-location where the resource lives

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

Azure Programmable Connectivity (APC) Operator API Connection Name.

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

Reference to the Operator API Plan Resource ID.

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

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val saasProperties: Output<SaasPropertiesArgs>? = null

Details about the SaaS offer purchased from the marketplace.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags.

Functions

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