1. Packages
  2. Azure Native v1
  3. API Docs
  4. enterpriseknowledgegraph
  5. EnterpriseKnowledgeGraph
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.enterpriseknowledgegraph.EnterpriseKnowledgeGraph

Explore with Pulumi AI

EnterpriseKnowledgeGraph resource definition API Version: 2018-12-03.

Example Usage

Create EnterpriseKnowledgeGraph

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var enterpriseKnowledgeGraph = new AzureNative.EnterpriseKnowledgeGraph.EnterpriseKnowledgeGraph("enterpriseKnowledgeGraph", new()
    {
        Location = "West US",
        Properties = null,
        ResourceGroupName = "OneResourceGroupName",
        ResourceName = "sampleekgname",
        Tags = 
        {
            { "tag1", "value1" },
            { "tag2", "value2" },
        },
    });

});
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := enterpriseknowledgegraph.NewEnterpriseKnowledgeGraph(ctx, "enterpriseKnowledgeGraph", &enterpriseknowledgegraph.EnterpriseKnowledgeGraphArgs{
			Location:          pulumi.String("West US"),
			Properties:        nil,
			ResourceGroupName: pulumi.String("OneResourceGroupName"),
			ResourceName:      pulumi.String("sampleekgname"),
			Tags: pulumi.StringMap{
				"tag1": pulumi.String("value1"),
				"tag2": pulumi.String("value2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.enterpriseknowledgegraph.EnterpriseKnowledgeGraph;
import com.pulumi.azurenative.enterpriseknowledgegraph.EnterpriseKnowledgeGraphArgs;
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 enterpriseKnowledgeGraph = new EnterpriseKnowledgeGraph("enterpriseKnowledgeGraph", EnterpriseKnowledgeGraphArgs.builder()        
            .location("West US")
            .properties()
            .resourceGroupName("OneResourceGroupName")
            .resourceName("sampleekgname")
            .tags(Map.ofEntries(
                Map.entry("tag1", "value1"),
                Map.entry("tag2", "value2")
            ))
            .build());

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

const enterpriseKnowledgeGraph = new azure_native.enterpriseknowledgegraph.EnterpriseKnowledgeGraph("enterpriseKnowledgeGraph", {
    location: "West US",
    properties: {},
    resourceGroupName: "OneResourceGroupName",
    resourceName: "sampleekgname",
    tags: {
        tag1: "value1",
        tag2: "value2",
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

enterprise_knowledge_graph = azure_native.enterpriseknowledgegraph.EnterpriseKnowledgeGraph("enterpriseKnowledgeGraph",
    location="West US",
    properties=azure_native.enterpriseknowledgegraph.EnterpriseKnowledgeGraphPropertiesArgs(),
    resource_group_name="OneResourceGroupName",
    resource_name_="sampleekgname",
    tags={
        "tag1": "value1",
        "tag2": "value2",
    })
Copy
resources:
  enterpriseKnowledgeGraph:
    type: azure-native:enterpriseknowledgegraph:EnterpriseKnowledgeGraph
    properties:
      location: West US
      properties: {}
      resourceGroupName: OneResourceGroupName
      resourceName: sampleekgname
      tags:
        tag1: value1
        tag2: value2
Copy

Create EnterpriseKnowledgeGraph Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new EnterpriseKnowledgeGraph(name: string, args: EnterpriseKnowledgeGraphArgs, opts?: CustomResourceOptions);
@overload
def EnterpriseKnowledgeGraph(resource_name: str,
                             args: EnterpriseKnowledgeGraphArgs,
                             opts: Optional[ResourceOptions] = None)

@overload
def EnterpriseKnowledgeGraph(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             resource_group_name: Optional[str] = None,
                             location: Optional[str] = None,
                             properties: Optional[EnterpriseKnowledgeGraphPropertiesArgs] = None,
                             resource_name_: Optional[str] = None,
                             sku: Optional[SkuArgs] = None,
                             tags: Optional[Mapping[str, str]] = None)
func NewEnterpriseKnowledgeGraph(ctx *Context, name string, args EnterpriseKnowledgeGraphArgs, opts ...ResourceOption) (*EnterpriseKnowledgeGraph, error)
public EnterpriseKnowledgeGraph(string name, EnterpriseKnowledgeGraphArgs args, CustomResourceOptions? opts = null)
public EnterpriseKnowledgeGraph(String name, EnterpriseKnowledgeGraphArgs args)
public EnterpriseKnowledgeGraph(String name, EnterpriseKnowledgeGraphArgs args, CustomResourceOptions options)
type: azure-native:enterpriseknowledgegraph:EnterpriseKnowledgeGraph
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. EnterpriseKnowledgeGraphArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. EnterpriseKnowledgeGraphArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. EnterpriseKnowledgeGraphArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. EnterpriseKnowledgeGraphArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. EnterpriseKnowledgeGraphArgs
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 enterpriseKnowledgeGraphResource = new AzureNative.Enterpriseknowledgegraph.EnterpriseKnowledgeGraph("enterpriseKnowledgeGraphResource", new()
{
    ResourceGroupName = "string",
    Location = "string",
    Properties = 
    {
        { "description", "string" },
        { "metadata", "any" },
        { "provisioningState", "string" },
    },
    ResourceName = "string",
    Sku = 
    {
        { "name", "string" },
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := enterpriseknowledgegraph.NewEnterpriseKnowledgeGraph(ctx, "enterpriseKnowledgeGraphResource", &enterpriseknowledgegraph.EnterpriseKnowledgeGraphArgs{
	ResourceGroupName: "string",
	Location:          "string",
	Properties: map[string]interface{}{
		"description":       "string",
		"metadata":          "any",
		"provisioningState": "string",
	},
	ResourceName: "string",
	Sku: map[string]interface{}{
		"name": "string",
	},
	Tags: map[string]interface{}{
		"string": "string",
	},
})
Copy
var enterpriseKnowledgeGraphResource = new EnterpriseKnowledgeGraph("enterpriseKnowledgeGraphResource", EnterpriseKnowledgeGraphArgs.builder()
    .resourceGroupName("string")
    .location("string")
    .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceName("string")
    .sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
enterprise_knowledge_graph_resource = azure_native.enterpriseknowledgegraph.EnterpriseKnowledgeGraph("enterpriseKnowledgeGraphResource",
    resource_group_name=string,
    location=string,
    properties={
        description: string,
        metadata: any,
        provisioningState: string,
    },
    resource_name_=string,
    sku={
        name: string,
    },
    tags={
        string: string,
    })
Copy
const enterpriseKnowledgeGraphResource = new azure_native.enterpriseknowledgegraph.EnterpriseKnowledgeGraph("enterpriseKnowledgeGraphResource", {
    resourceGroupName: "string",
    location: "string",
    properties: {
        description: "string",
        metadata: "any",
        provisioningState: "string",
    },
    resourceName: "string",
    sku: {
        name: "string",
    },
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:enterpriseknowledgegraph:EnterpriseKnowledgeGraph
properties:
    location: string
    properties:
        description: string
        metadata: any
        provisioningState: string
    resourceGroupName: string
    resourceName: string
    sku:
        name: string
    tags:
        string: string
Copy

EnterpriseKnowledgeGraph 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 EnterpriseKnowledgeGraph resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the EnterpriseKnowledgeGraph resource group in the user subscription.
Location string
Specifies the location of the resource.
Properties Pulumi.AzureNative.EnterpriseKnowledgeGraph.Inputs.EnterpriseKnowledgeGraphProperties
The set of properties specific to EnterpriseKnowledgeGraph resource
ResourceName Changes to this property will trigger replacement. string
The name of the EnterpriseKnowledgeGraph resource.
Sku Pulumi.AzureNative.EnterpriseKnowledgeGraph.Inputs.Sku
Gets or sets the SKU of the resource.
Tags Dictionary<string, string>
Contains resource tags defined as key/value pairs.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the EnterpriseKnowledgeGraph resource group in the user subscription.
Location string
Specifies the location of the resource.
Properties EnterpriseKnowledgeGraphPropertiesArgs
The set of properties specific to EnterpriseKnowledgeGraph resource
ResourceName Changes to this property will trigger replacement. string
The name of the EnterpriseKnowledgeGraph resource.
Sku SkuArgs
Gets or sets the SKU of the resource.
Tags map[string]string
Contains resource tags defined as key/value pairs.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the EnterpriseKnowledgeGraph resource group in the user subscription.
location String
Specifies the location of the resource.
properties EnterpriseKnowledgeGraphProperties
The set of properties specific to EnterpriseKnowledgeGraph resource
resourceName Changes to this property will trigger replacement. String
The name of the EnterpriseKnowledgeGraph resource.
sku Sku
Gets or sets the SKU of the resource.
tags Map<String,String>
Contains resource tags defined as key/value pairs.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the EnterpriseKnowledgeGraph resource group in the user subscription.
location string
Specifies the location of the resource.
properties EnterpriseKnowledgeGraphProperties
The set of properties specific to EnterpriseKnowledgeGraph resource
resourceName Changes to this property will trigger replacement. string
The name of the EnterpriseKnowledgeGraph resource.
sku Sku
Gets or sets the SKU of the resource.
tags {[key: string]: string}
Contains resource tags defined as key/value pairs.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the EnterpriseKnowledgeGraph resource group in the user subscription.
location str
Specifies the location of the resource.
properties EnterpriseKnowledgeGraphPropertiesArgs
The set of properties specific to EnterpriseKnowledgeGraph resource
resource_name Changes to this property will trigger replacement. str
The name of the EnterpriseKnowledgeGraph resource.
sku SkuArgs
Gets or sets the SKU of the resource.
tags Mapping[str, str]
Contains resource tags defined as key/value pairs.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the EnterpriseKnowledgeGraph resource group in the user subscription.
location String
Specifies the location of the resource.
properties Property Map
The set of properties specific to EnterpriseKnowledgeGraph resource
resourceName Changes to this property will trigger replacement. String
The name of the EnterpriseKnowledgeGraph resource.
sku Property Map
Gets or sets the SKU of the resource.
tags Map<String>
Contains resource tags defined as key/value pairs.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Name string
Specifies the name of the resource.
Type string
Specifies the type of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Specifies the name of the resource.
Type string
Specifies the type of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Specifies the name of the resource.
type String
Specifies the type of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
Specifies the name of the resource.
type string
Specifies the type of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
Specifies the name of the resource.
type str
Specifies the type of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Specifies the name of the resource.
type String
Specifies the type of the resource.

Supporting Types

EnterpriseKnowledgeGraphProperties
, EnterpriseKnowledgeGraphPropertiesArgs

Description string
The description of the EnterpriseKnowledgeGraph
Metadata object
Specifies the metadata of the resource.
ProvisioningState string
The state of EnterpriseKnowledgeGraph provisioning
Description string
The description of the EnterpriseKnowledgeGraph
Metadata interface{}
Specifies the metadata of the resource.
ProvisioningState string
The state of EnterpriseKnowledgeGraph provisioning
description String
The description of the EnterpriseKnowledgeGraph
metadata Object
Specifies the metadata of the resource.
provisioningState String
The state of EnterpriseKnowledgeGraph provisioning
description string
The description of the EnterpriseKnowledgeGraph
metadata any
Specifies the metadata of the resource.
provisioningState string
The state of EnterpriseKnowledgeGraph provisioning
description str
The description of the EnterpriseKnowledgeGraph
metadata Any
Specifies the metadata of the resource.
provisioning_state str
The state of EnterpriseKnowledgeGraph provisioning
description String
The description of the EnterpriseKnowledgeGraph
metadata Any
Specifies the metadata of the resource.
provisioningState String
The state of EnterpriseKnowledgeGraph provisioning

EnterpriseKnowledgeGraphPropertiesResponse
, EnterpriseKnowledgeGraphPropertiesResponseArgs

Description string
The description of the EnterpriseKnowledgeGraph
Metadata object
Specifies the metadata of the resource.
ProvisioningState string
The state of EnterpriseKnowledgeGraph provisioning
Description string
The description of the EnterpriseKnowledgeGraph
Metadata interface{}
Specifies the metadata of the resource.
ProvisioningState string
The state of EnterpriseKnowledgeGraph provisioning
description String
The description of the EnterpriseKnowledgeGraph
metadata Object
Specifies the metadata of the resource.
provisioningState String
The state of EnterpriseKnowledgeGraph provisioning
description string
The description of the EnterpriseKnowledgeGraph
metadata any
Specifies the metadata of the resource.
provisioningState string
The state of EnterpriseKnowledgeGraph provisioning
description str
The description of the EnterpriseKnowledgeGraph
metadata Any
Specifies the metadata of the resource.
provisioning_state str
The state of EnterpriseKnowledgeGraph provisioning
description String
The description of the EnterpriseKnowledgeGraph
metadata Any
Specifies the metadata of the resource.
provisioningState String
The state of EnterpriseKnowledgeGraph provisioning

Sku
, SkuArgs

Name This property is required. string | Pulumi.AzureNative.EnterpriseKnowledgeGraph.SkuName
The sku name
Name This property is required. string | SkuName
The sku name
name This property is required. String | SkuName
The sku name
name This property is required. string | SkuName
The sku name
name This property is required. str | SkuName
The sku name
name This property is required. String | "F0" | "S1"
The sku name

SkuName
, SkuNameArgs

F0
F0
S1
S1
SkuNameF0
F0
SkuNameS1
S1
F0
F0
S1
S1
F0
F0
S1
S1
F0
F0
S1
S1
"F0"
F0
"S1"
S1

SkuResponse
, SkuResponseArgs

Name This property is required. string
The sku name
Name This property is required. string
The sku name
name This property is required. String
The sku name
name This property is required. string
The sku name
name This property is required. str
The sku name
name This property is required. String
The sku name

Import

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

$ pulumi import azure-native:enterpriseknowledgegraph:EnterpriseKnowledgeGraph samplename someid 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v1 pulumi/pulumi-azure-native
License
Apache-2.0