OperatorApiConnection

class OperatorApiConnection : KotlinCustomResource

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}

Properties

Link copied to clipboard
val accountType: Output<String>

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

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

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

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val camaraApiName: Output<String>

The Network API for the current operator in the country/region provided in the linked Operator API Plan.

Link copied to clipboard

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

Link copied to clipboard
val gatewayId: Output<String>

Reference to the APC Gateway resource ID.

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

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

Reference to the Operator API Plan Resource ID.

Link copied to clipboard
val operatorName: Output<String>

Name of the Operator in the linked Operator API Plan belongs to.

Link copied to clipboard

The status of the last operation.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Details about the SaaS offer purchased from the marketplace.

Link copied to clipboard
val status: Output<StatusResponse>

The status of the OperatorApiConnection resource.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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

Resource tags.

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>