Operator Api Connection
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
Type of the account the user has with the Operator's Network API infrastructure. AzureManaged | UserManaged.
The Azure API version of the resource.
The Network API for the current operator in the country/region provided in the linked Operator API Plan.
Details about the Application that would use the Operator's Network APIs.
Reference to the Operator API Plan Resource ID.
Name of the Operator in the linked Operator API Plan belongs to.
The status of the last operation.
Details about the SaaS offer purchased from the marketplace.
The status of the OperatorApiConnection resource.
Azure Resource Manager metadata containing createdBy and modifiedBy information.