ADCCatalog

Azure Data Catalog. API Version: 2016-03-30.

Example Usage

Create Azure Data Catalog Service

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var adcCatalog = new AzureNative.DataCatalog.ADCCatalog("adcCatalog", new AzureNative.DataCatalog.ADCCatalogArgs
        {
            Admins = 
            {
                new AzureNative.DataCatalog.Inputs.PrincipalsArgs
                {
                    ObjectId = "99999999-9999-9999-999999999999",
                    Upn = "myupn@microsoft.com",
                },
            },
            CatalogName = "exampleCatalog",
            EnableAutomaticUnitAdjustment = false,
            Location = "North US",
            ResourceGroupName = "exampleResourceGroup",
            Sku = "Standard",
            Tags = 
            {
                { "mykey", "myvalue" },
                { "mykey2", "myvalue2" },
            },
            Units = 1,
            Users = 
            {
                new AzureNative.DataCatalog.Inputs.PrincipalsArgs
                {
                    ObjectId = "99999999-9999-9999-999999999999",
                    Upn = "myupn@microsoft.com",
                },
            },
        });
    }

}

package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datacatalog.NewADCCatalog(ctx, "adcCatalog", &datacatalog.ADCCatalogArgs{
			Admins: datacatalog.PrincipalsArray{
				&datacatalog.PrincipalsArgs{
					ObjectId: pulumi.String("99999999-9999-9999-999999999999"),
					Upn:      pulumi.String("myupn@microsoft.com"),
				},
			},
			CatalogName:                   pulumi.String("exampleCatalog"),
			EnableAutomaticUnitAdjustment: pulumi.Bool(false),
			Location:                      pulumi.String("North US"),
			ResourceGroupName:             pulumi.String("exampleResourceGroup"),
			Sku:                           pulumi.String("Standard"),
			Tags: pulumi.StringMap{
				"mykey":  pulumi.String("myvalue"),
				"mykey2": pulumi.String("myvalue2"),
			},
			Units: pulumi.Int(1),
			Users: datacatalog.PrincipalsArray{
				&datacatalog.PrincipalsArgs{
					ObjectId: pulumi.String("99999999-9999-9999-999999999999"),
					Upn:      pulumi.String("myupn@microsoft.com"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

import pulumi
import pulumi_azure_native as azure_native

adc_catalog = azure_native.datacatalog.ADCCatalog("adcCatalog",
    admins=[azure_native.datacatalog.PrincipalsArgs(
        object_id="99999999-9999-9999-999999999999",
        upn="myupn@microsoft.com",
    )],
    catalog_name="exampleCatalog",
    enable_automatic_unit_adjustment=False,
    location="North US",
    resource_group_name="exampleResourceGroup",
    sku="Standard",
    tags={
        "mykey": "myvalue",
        "mykey2": "myvalue2",
    },
    units=1,
    users=[azure_native.datacatalog.PrincipalsArgs(
        object_id="99999999-9999-9999-999999999999",
        upn="myupn@microsoft.com",
    )])

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

const adcCatalog = new azure_native.datacatalog.ADCCatalog("adcCatalog", {
    admins: [{
        objectId: "99999999-9999-9999-999999999999",
        upn: "myupn@microsoft.com",
    }],
    catalogName: "exampleCatalog",
    enableAutomaticUnitAdjustment: false,
    location: "North US",
    resourceGroupName: "exampleResourceGroup",
    sku: "Standard",
    tags: {
        mykey: "myvalue",
        mykey2: "myvalue2",
    },
    units: 1,
    users: [{
        objectId: "99999999-9999-9999-999999999999",
        upn: "myupn@microsoft.com",
    }],
});

Create a ADCCatalog Resource

new ADCCatalog(name: string, args: ADCCatalogArgs, opts?: CustomResourceOptions);
@overload
def ADCCatalog(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               admins: Optional[Sequence[PrincipalsArgs]] = None,
               catalog_name: Optional[str] = None,
               enable_automatic_unit_adjustment: Optional[bool] = None,
               etag: Optional[str] = None,
               location: Optional[str] = None,
               resource_group_name: Optional[str] = None,
               sku: Optional[Union[str, SkuType]] = None,
               successfully_provisioned: Optional[bool] = None,
               tags: Optional[Mapping[str, str]] = None,
               units: Optional[int] = None,
               users: Optional[Sequence[PrincipalsArgs]] = None)
@overload
def ADCCatalog(resource_name: str,
               args: ADCCatalogArgs,
               opts: Optional[ResourceOptions] = None)
func NewADCCatalog(ctx *Context, name string, args ADCCatalogArgs, opts ...ResourceOption) (*ADCCatalog, error)
public ADCCatalog(string name, ADCCatalogArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ADCCatalogArgs
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 ADCCatalogArgs
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 ADCCatalogArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ADCCatalogArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ADCCatalog Resource Properties

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

Inputs

The ADCCatalog resource accepts the following input properties:

ResourceGroupName string
The name of the resource group within the user’s subscription. The name is case insensitive.
Admins List<Pulumi.AzureNative.DataCatalog.Inputs.PrincipalsArgs>
Azure data catalog admin list.
CatalogName string
The name of the data catalog in the specified subscription and resource group.
EnableAutomaticUnitAdjustment bool
Automatic unit adjustment enabled or not.
Etag string
Resource etag
Location string
Resource location
Sku string | Pulumi.AzureNative.DataCatalog.SkuType
Azure data catalog SKU.
SuccessfullyProvisioned bool
Azure data catalog provision status.
Tags Dictionary<string, string>
Resource tags
Units int
Azure data catalog units.
Users List<Pulumi.AzureNative.DataCatalog.Inputs.PrincipalsArgs>
Azure data catalog user list.
ResourceGroupName string
The name of the resource group within the user’s subscription. The name is case insensitive.
Admins []Principals
Azure data catalog admin list.
CatalogName string
The name of the data catalog in the specified subscription and resource group.
EnableAutomaticUnitAdjustment bool
Automatic unit adjustment enabled or not.
Etag string
Resource etag
Location string
Resource location
Sku string | SkuType
Azure data catalog SKU.
SuccessfullyProvisioned bool
Azure data catalog provision status.
Tags map[string]string
Resource tags
Units int
Azure data catalog units.
Users []Principals
Azure data catalog user list.
resourceGroupName string
The name of the resource group within the user’s subscription. The name is case insensitive.
admins PrincipalsArgs[]
Azure data catalog admin list.
catalogName string
The name of the data catalog in the specified subscription and resource group.
enableAutomaticUnitAdjustment boolean
Automatic unit adjustment enabled or not.
etag string
Resource etag
location string
Resource location
sku string | SkuType
Azure data catalog SKU.
successfullyProvisioned boolean
Azure data catalog provision status.
tags {[key: string]: string}
Resource tags
units number
Azure data catalog units.
users PrincipalsArgs[]
Azure data catalog user list.
resource_group_name str
The name of the resource group within the user’s subscription. The name is case insensitive.
admins Sequence[PrincipalsArgs]
Azure data catalog admin list.
catalog_name str
The name of the data catalog in the specified subscription and resource group.
enable_automatic_unit_adjustment bool
Automatic unit adjustment enabled or not.
etag str
Resource etag
location str
Resource location
sku str | SkuType
Azure data catalog SKU.
successfully_provisioned bool
Azure data catalog provision status.
tags Mapping[str, str]
Resource tags
units int
Azure data catalog units.
users Sequence[PrincipalsArgs]
Azure data catalog user list.

Outputs

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

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

Supporting Types

Principals

ObjectId string
Object Id for the user
Upn string
UPN of the user.
ObjectId string
Object Id for the user
Upn string
UPN of the user.
objectId string
Object Id for the user
upn string
UPN of the user.
object_id str
Object Id for the user
upn str
UPN of the user.

PrincipalsResponse

ObjectId string
Object Id for the user
Upn string
UPN of the user.
ObjectId string
Object Id for the user
Upn string
UPN of the user.
objectId string
Object Id for the user
upn string
UPN of the user.
object_id str
Object Id for the user
upn str
UPN of the user.

SkuType

Free
Free
Standard
Standard
SkuTypeFree
Free
SkuTypeStandard
Standard
Free
Free
Standard
Standard
FREE
Free
STANDARD
Standard

Import

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

$ pulumi import azure-native:datacatalog:ADCCatalog exampleCatalog /subscriptions/12345678-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataCatalog/catalogs/exampleCatalog 

Package Details

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