azure-native.apimanagement.ClientApplicationProductLink
Explore with Pulumi AI
Specifies Client Application - Product link assignment
Uses Azure REST API version 2024-10-01-preview.
Example Usage
ApiManagementCreateClientApplicationProductLink
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var clientApplicationProductLink = new AzureNative.ApiManagement.ClientApplicationProductLink("clientApplicationProductLink", new()
{
ClientApplicationId = "testAppId",
ClientApplicationProductLinkId = "link1",
ProductId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/starter",
ResourceGroupName = "rg1",
ServiceName = "apimService1",
});
});
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.NewClientApplicationProductLink(ctx, "clientApplicationProductLink", &apimanagement.ClientApplicationProductLinkArgs{
ClientApplicationId: pulumi.String("testAppId"),
ClientApplicationProductLinkId: pulumi.String("link1"),
ProductId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/starter"),
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.ClientApplicationProductLink;
import com.pulumi.azurenative.apimanagement.ClientApplicationProductLinkArgs;
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 clientApplicationProductLink = new ClientApplicationProductLink("clientApplicationProductLink", ClientApplicationProductLinkArgs.builder()
.clientApplicationId("testAppId")
.clientApplicationProductLinkId("link1")
.productId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/starter")
.resourceGroupName("rg1")
.serviceName("apimService1")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const clientApplicationProductLink = new azure_native.apimanagement.ClientApplicationProductLink("clientApplicationProductLink", {
clientApplicationId: "testAppId",
clientApplicationProductLinkId: "link1",
productId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/starter",
resourceGroupName: "rg1",
serviceName: "apimService1",
});
import pulumi
import pulumi_azure_native as azure_native
client_application_product_link = azure_native.apimanagement.ClientApplicationProductLink("clientApplicationProductLink",
client_application_id="testAppId",
client_application_product_link_id="link1",
product_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/starter",
resource_group_name="rg1",
service_name="apimService1")
resources:
clientApplicationProductLink:
type: azure-native:apimanagement:ClientApplicationProductLink
properties:
clientApplicationId: testAppId
clientApplicationProductLinkId: link1
productId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/starter
resourceGroupName: rg1
serviceName: apimService1
Create ClientApplicationProductLink Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ClientApplicationProductLink(name: string, args: ClientApplicationProductLinkArgs, opts?: CustomResourceOptions);
@overload
def ClientApplicationProductLink(resource_name: str,
args: ClientApplicationProductLinkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ClientApplicationProductLink(resource_name: str,
opts: Optional[ResourceOptions] = None,
client_application_id: Optional[str] = None,
product_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
service_name: Optional[str] = None,
client_application_product_link_id: Optional[str] = None)
func NewClientApplicationProductLink(ctx *Context, name string, args ClientApplicationProductLinkArgs, opts ...ResourceOption) (*ClientApplicationProductLink, error)
public ClientApplicationProductLink(string name, ClientApplicationProductLinkArgs args, CustomResourceOptions? opts = null)
public ClientApplicationProductLink(String name, ClientApplicationProductLinkArgs args)
public ClientApplicationProductLink(String name, ClientApplicationProductLinkArgs args, CustomResourceOptions options)
type: azure-native:apimanagement:ClientApplicationProductLink
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ClientApplicationProductLinkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ClientApplicationProductLinkArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ClientApplicationProductLinkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClientApplicationProductLinkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClientApplicationProductLinkArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var clientApplicationProductLinkResource = new AzureNative.ApiManagement.ClientApplicationProductLink("clientApplicationProductLinkResource", new()
{
ClientApplicationId = "string",
ProductId = "string",
ResourceGroupName = "string",
ServiceName = "string",
ClientApplicationProductLinkId = "string",
});
example, err := apimanagement.NewClientApplicationProductLink(ctx, "clientApplicationProductLinkResource", &apimanagement.ClientApplicationProductLinkArgs{
ClientApplicationId: pulumi.String("string"),
ProductId: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
ServiceName: pulumi.String("string"),
ClientApplicationProductLinkId: pulumi.String("string"),
})
var clientApplicationProductLinkResource = new ClientApplicationProductLink("clientApplicationProductLinkResource", ClientApplicationProductLinkArgs.builder()
.clientApplicationId("string")
.productId("string")
.resourceGroupName("string")
.serviceName("string")
.clientApplicationProductLinkId("string")
.build());
client_application_product_link_resource = azure_native.apimanagement.ClientApplicationProductLink("clientApplicationProductLinkResource",
client_application_id="string",
product_id="string",
resource_group_name="string",
service_name="string",
client_application_product_link_id="string")
const clientApplicationProductLinkResource = new azure_native.apimanagement.ClientApplicationProductLink("clientApplicationProductLinkResource", {
clientApplicationId: "string",
productId: "string",
resourceGroupName: "string",
serviceName: "string",
clientApplicationProductLinkId: "string",
});
type: azure-native:apimanagement:ClientApplicationProductLink
properties:
clientApplicationId: string
clientApplicationProductLinkId: string
productId: string
resourceGroupName: string
serviceName: string
ClientApplicationProductLink Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ClientApplicationProductLink resource accepts the following input properties:
- Client
Application stringId - Client Application identifier. Must be unique in the current API Management service instance.
- Product
Id string - The unique resource identifier of the Product.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Service
Name string - The name of the API Management service.
- Client
Application stringProduct Link Id - Client Application Product Link identifier. Must be unique in the current API Management service instance.
- Client
Application stringId - Client Application identifier. Must be unique in the current API Management service instance.
- Product
Id string - The unique resource identifier of the Product.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Service
Name string - The name of the API Management service.
- Client
Application stringProduct Link Id - Client Application Product Link identifier. Must be unique in the current API Management service instance.
- client
Application StringId - Client Application identifier. Must be unique in the current API Management service instance.
- product
Id String - The unique resource identifier of the Product.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- service
Name String - The name of the API Management service.
- client
Application StringProduct Link Id - Client Application Product Link identifier. Must be unique in the current API Management service instance.
- client
Application stringId - Client Application identifier. Must be unique in the current API Management service instance.
- product
Id string - The unique resource identifier of the Product.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- service
Name string - The name of the API Management service.
- client
Application stringProduct Link Id - Client Application Product Link identifier. Must be unique in the current API Management service instance.
- client_
application_ strid - Client Application identifier. Must be unique in the current API Management service instance.
- product_
id str - The unique resource identifier of the Product.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- service_
name str - The name of the API Management service.
- client_
application_ strproduct_ link_ id - Client Application Product Link identifier. Must be unique in the current API Management service instance.
- client
Application StringId - Client Application identifier. Must be unique in the current API Management service instance.
- product
Id String - The unique resource identifier of the Product.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- service
Name String - The name of the API Management service.
- client
Application StringProduct Link Id - Client Application Product Link identifier. Must be unique in the current API Management service instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the ClientApplicationProductLink resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:apimanagement:ClientApplicationProductLink link1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/clientApplications/{clientApplicationId}/productLinks/{clientApplicationProductLinkId}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0