PrivateLinkForAzureAd

PrivateLink Policy configuration object. API Version: 2020-03-01-preview.

Example Usage

privateLinkPolicyCreate

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var privateLinkForAzureAd = new AzureNative.AadIam.PrivateLinkForAzureAd("privateLinkForAzureAd", new AzureNative.AadIam.PrivateLinkForAzureAdArgs
        {
            AllTenants = false,
            Name = "myOrgPrivateLinkPolicy",
            OwnerTenantId = "950f8bca-bf4d-4a41-ad10-034e792a243d",
            PolicyName = "ddb1",
            ResourceGroup = "myOrgVnetRG",
            ResourceGroupName = "rg1",
            ResourceName = "myOrgVnetPrivateLink",
            SubscriptionId = "57849194-ea1f-470b-abda-d195b25634c1",
            Tenants = 
            {
                "3616657d-1c80-41ae-9d83-2a2776f2c9be",
                "727b6ef1-18ab-4627-ac95-3f9cd945ed87",
            },
        });
    }

}

package main

import (
	aadiam "github.com/pulumi/pulumi-azure-native/sdk/go/azure/aadiam"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aadiam.NewprivateLinkForAzureAd(ctx, "privateLinkForAzureAd", &aadiam.privateLinkForAzureAdArgs{
			AllTenants:        pulumi.Bool(false),
			Name:              pulumi.String("myOrgPrivateLinkPolicy"),
			OwnerTenantId:     pulumi.String("950f8bca-bf4d-4a41-ad10-034e792a243d"),
			PolicyName:        pulumi.String("ddb1"),
			ResourceGroup:     pulumi.String("myOrgVnetRG"),
			ResourceGroupName: pulumi.String("rg1"),
			ResourceName:      pulumi.String("myOrgVnetPrivateLink"),
			SubscriptionId:    pulumi.String("57849194-ea1f-470b-abda-d195b25634c1"),
			Tenants: pulumi.StringArray{
				pulumi.String("3616657d-1c80-41ae-9d83-2a2776f2c9be"),
				pulumi.String("727b6ef1-18ab-4627-ac95-3f9cd945ed87"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

import pulumi
import pulumi_azure_native as azure_native

private_link_for_azure_ad = azure_native.aadiam.PrivateLinkForAzureAd("privateLinkForAzureAd",
    all_tenants=False,
    name="myOrgPrivateLinkPolicy",
    owner_tenant_id="950f8bca-bf4d-4a41-ad10-034e792a243d",
    policy_name="ddb1",
    resource_group="myOrgVnetRG",
    resource_group_name="rg1",
    resource_name="myOrgVnetPrivateLink",
    subscription_id="57849194-ea1f-470b-abda-d195b25634c1",
    tenants=[
        "3616657d-1c80-41ae-9d83-2a2776f2c9be",
        "727b6ef1-18ab-4627-ac95-3f9cd945ed87",
    ])

import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const privateLinkForAzureAd = new azure_native.aadiam.PrivateLinkForAzureAd("privateLinkForAzureAd", {
    allTenants: false,
    name: "myOrgPrivateLinkPolicy",
    ownerTenantId: "950f8bca-bf4d-4a41-ad10-034e792a243d",
    policyName: "ddb1",
    resourceGroup: "myOrgVnetRG",
    resourceGroupName: "rg1",
    resourceName: "myOrgVnetPrivateLink",
    subscriptionId: "57849194-ea1f-470b-abda-d195b25634c1",
    tenants: [
        "3616657d-1c80-41ae-9d83-2a2776f2c9be",
        "727b6ef1-18ab-4627-ac95-3f9cd945ed87",
    ],
});

privateLinkPolicyMinCreate

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var privateLinkForAzureAd = new AzureNative.AadIam.PrivateLinkForAzureAd("privateLinkForAzureAd", new AzureNative.AadIam.PrivateLinkForAzureAdArgs
        {
            AllTenants = false,
            Name = "myOrgPrivateLinkPolicy",
            OwnerTenantId = "950f8bca-bf4d-4a41-ad10-034e792a243d",
            PolicyName = "ddb1",
            ResourceGroup = "myOrgVnetRG",
            ResourceGroupName = "rg1",
            ResourceName = "myOrgVnetPrivateLink",
            SubscriptionId = "57849194-ea1f-470b-abda-d195b25634c1",
            Tenants = 
            {
                "3616657d-1c80-41ae-9d83-2a2776f2c9be",
                "727b6ef1-18ab-4627-ac95-3f9cd945ed87",
            },
        });
    }

}

package main

import (
	aadiam "github.com/pulumi/pulumi-azure-native/sdk/go/azure/aadiam"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aadiam.NewprivateLinkForAzureAd(ctx, "privateLinkForAzureAd", &aadiam.privateLinkForAzureAdArgs{
			AllTenants:        pulumi.Bool(false),
			Name:              pulumi.String("myOrgPrivateLinkPolicy"),
			OwnerTenantId:     pulumi.String("950f8bca-bf4d-4a41-ad10-034e792a243d"),
			PolicyName:        pulumi.String("ddb1"),
			ResourceGroup:     pulumi.String("myOrgVnetRG"),
			ResourceGroupName: pulumi.String("rg1"),
			ResourceName:      pulumi.String("myOrgVnetPrivateLink"),
			SubscriptionId:    pulumi.String("57849194-ea1f-470b-abda-d195b25634c1"),
			Tenants: pulumi.StringArray{
				pulumi.String("3616657d-1c80-41ae-9d83-2a2776f2c9be"),
				pulumi.String("727b6ef1-18ab-4627-ac95-3f9cd945ed87"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

import pulumi
import pulumi_azure_native as azure_native

private_link_for_azure_ad = azure_native.aadiam.PrivateLinkForAzureAd("privateLinkForAzureAd",
    all_tenants=False,
    name="myOrgPrivateLinkPolicy",
    owner_tenant_id="950f8bca-bf4d-4a41-ad10-034e792a243d",
    policy_name="ddb1",
    resource_group="myOrgVnetRG",
    resource_group_name="rg1",
    resource_name="myOrgVnetPrivateLink",
    subscription_id="57849194-ea1f-470b-abda-d195b25634c1",
    tenants=[
        "3616657d-1c80-41ae-9d83-2a2776f2c9be",
        "727b6ef1-18ab-4627-ac95-3f9cd945ed87",
    ])

import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const privateLinkForAzureAd = new azure_native.aadiam.PrivateLinkForAzureAd("privateLinkForAzureAd", {
    allTenants: false,
    name: "myOrgPrivateLinkPolicy",
    ownerTenantId: "950f8bca-bf4d-4a41-ad10-034e792a243d",
    policyName: "ddb1",
    resourceGroup: "myOrgVnetRG",
    resourceGroupName: "rg1",
    resourceName: "myOrgVnetPrivateLink",
    subscriptionId: "57849194-ea1f-470b-abda-d195b25634c1",
    tenants: [
        "3616657d-1c80-41ae-9d83-2a2776f2c9be",
        "727b6ef1-18ab-4627-ac95-3f9cd945ed87",
    ],
});

Create a PrivateLinkForAzureAd Resource

new PrivateLinkForAzureAd(name: string, args: PrivateLinkForAzureAdArgs, opts?: CustomResourceOptions);
@overload
def PrivateLinkForAzureAd(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          all_tenants: Optional[bool] = None,
                          name: Optional[str] = None,
                          owner_tenant_id: Optional[str] = None,
                          policy_name: Optional[str] = None,
                          resource_group: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          resource_name_: Optional[str] = None,
                          subscription_id: Optional[str] = None,
                          tags: Optional[Mapping[str, str]] = None,
                          tenants: Optional[Sequence[str]] = None)
@overload
def PrivateLinkForAzureAd(resource_name: str,
                          args: PrivateLinkForAzureAdArgs,
                          opts: Optional[ResourceOptions] = None)
func NewPrivateLinkForAzureAd(ctx *Context, name string, args PrivateLinkForAzureAdArgs, opts ...ResourceOption) (*PrivateLinkForAzureAd, error)
public PrivateLinkForAzureAd(string name, PrivateLinkForAzureAdArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args PrivateLinkForAzureAdArgs
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 PrivateLinkForAzureAdArgs
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 PrivateLinkForAzureAdArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PrivateLinkForAzureAdArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

PrivateLinkForAzureAd Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The PrivateLinkForAzureAd resource accepts the following input properties:

ResourceGroupName string
Name of an Azure resource group.
AllTenants bool
Flag indicating whether all tenants are allowed
Name string
Name of this resource.
OwnerTenantId string
Guid of the owner tenant
PolicyName string
The name of the private link policy in Azure AD.
ResourceGroup string
Name of the resource group
ResourceName string
Name of the private link policy resource
SubscriptionId string
Subscription Identifier
Tags Dictionary<string, string>
Resource tags.
Tenants List<string>
The list of tenantIds.
ResourceGroupName string
Name of an Azure resource group.
AllTenants bool
Flag indicating whether all tenants are allowed
Name string
Name of this resource.
OwnerTenantId string
Guid of the owner tenant
PolicyName string
The name of the private link policy in Azure AD.
ResourceGroup string
Name of the resource group
ResourceName string
Name of the private link policy resource
SubscriptionId string
Subscription Identifier
Tags map[string]string
Resource tags.
Tenants []string
The list of tenantIds.
resourceGroupName string
Name of an Azure resource group.
allTenants boolean
Flag indicating whether all tenants are allowed
name string
Name of this resource.
ownerTenantId string
Guid of the owner tenant
policyName string
The name of the private link policy in Azure AD.
resourceGroup string
Name of the resource group
resourceName string
Name of the private link policy resource
subscriptionId string
Subscription Identifier
tags {[key: string]: string}
Resource tags.
tenants string[]
The list of tenantIds.
resource_group_name str
Name of an Azure resource group.
all_tenants bool
Flag indicating whether all tenants are allowed
name str
Name of this resource.
owner_tenant_id str
Guid of the owner tenant
policy_name str
The name of the private link policy in Azure AD.
resource_group str
Name of the resource group
resource_name str
Name of the private link policy resource
subscription_id str
Subscription Identifier
tags Mapping[str, str]
Resource tags.
tenants Sequence[str]
The list of tenantIds.

Outputs

All input properties are implicitly available as output properties. Additionally, the PrivateLinkForAzureAd resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Type string
Type of this resource.
Id string
The provider-assigned unique ID for this managed resource.
Type string
Type of this resource.
id string
The provider-assigned unique ID for this managed resource.
type string
Type of this resource.
id str
The provider-assigned unique ID for this managed resource.
type str
Type of this resource.

Import

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

$ pulumi import azure-native:aadiam:privateLinkForAzureAd myOrgPrivateLinkPolicy /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.aadiam/privateLinkForAzureAd/{policyName} 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0