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" },
},
});
});
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
})
}
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());
}
}
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",
})
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",
},
});
resources:
enterpriseKnowledgeGraph:
type: azure-native:enterpriseknowledgegraph:EnterpriseKnowledgeGraph
properties:
location: West US
properties: {}
resourceGroupName: OneResourceGroupName
resourceName: sampleekgname
tags:
tag1: value1
tag2: value2
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 string
- The unique name of the resource.
- args EnterpriseKnowledgeGraphArgs
- 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 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 string
- The unique name of the resource.
- args EnterpriseKnowledgeGraphArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnterpriseKnowledgeGraphArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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" },
},
});
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",
},
})
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());
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,
})
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",
},
});
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
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
The EnterpriseKnowledgeGraph resource accepts the following input properties:
- Resource
Group stringName - The name of the EnterpriseKnowledgeGraph resource group in the user subscription.
- Location string
- Specifies the location of the resource.
- Properties
Pulumi.
Azure Native. Enterprise Knowledge Graph. Inputs. Enterprise Knowledge Graph Properties - The set of properties specific to EnterpriseKnowledgeGraph resource
- Resource
Name string - The name of the EnterpriseKnowledgeGraph resource.
- Sku
Pulumi.
Azure Native. Enterprise Knowledge Graph. Inputs. Sku - Gets or sets the SKU of the resource.
- Dictionary<string, string>
- Contains resource tags defined as key/value pairs.
- Resource
Group stringName - The name of the EnterpriseKnowledgeGraph resource group in the user subscription.
- Location string
- Specifies the location of the resource.
- Properties
Enterprise
Knowledge Graph Properties Args - The set of properties specific to EnterpriseKnowledgeGraph resource
- Resource
Name string - The name of the EnterpriseKnowledgeGraph resource.
- Sku
Sku
Args - Gets or sets the SKU of the resource.
- map[string]string
- Contains resource tags defined as key/value pairs.
- resource
Group StringName - The name of the EnterpriseKnowledgeGraph resource group in the user subscription.
- location String
- Specifies the location of the resource.
- properties
Enterprise
Knowledge Graph Properties - The set of properties specific to EnterpriseKnowledgeGraph resource
- resource
Name String - The name of the EnterpriseKnowledgeGraph resource.
- sku Sku
- Gets or sets the SKU of the resource.
- Map<String,String>
- Contains resource tags defined as key/value pairs.
- resource
Group stringName - The name of the EnterpriseKnowledgeGraph resource group in the user subscription.
- location string
- Specifies the location of the resource.
- properties
Enterprise
Knowledge Graph Properties - The set of properties specific to EnterpriseKnowledgeGraph resource
- resource
Name string - The name of the EnterpriseKnowledgeGraph resource.
- sku Sku
- Gets or sets the SKU of the resource.
- {[key: string]: string}
- Contains resource tags defined as key/value pairs.
- resource_
group_ strname - The name of the EnterpriseKnowledgeGraph resource group in the user subscription.
- location str
- Specifies the location of the resource.
- properties
Enterprise
Knowledge Graph Properties Args - The set of properties specific to EnterpriseKnowledgeGraph resource
- resource_
name str - The name of the EnterpriseKnowledgeGraph resource.
- sku
Sku
Args - Gets or sets the SKU of the resource.
- Mapping[str, str]
- Contains resource tags defined as key/value pairs.
- resource
Group StringName - 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
- resource
Name String - The name of the EnterpriseKnowledgeGraph resource.
- sku Property Map
- Gets or sets the SKU of the resource.
- 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:
Supporting Types
EnterpriseKnowledgeGraphProperties, EnterpriseKnowledgeGraphPropertiesArgs
- Description string
- The description of the EnterpriseKnowledgeGraph
- Metadata object
- Specifies the metadata of the resource.
- Provisioning
State string - The state of EnterpriseKnowledgeGraph provisioning
- Description string
- The description of the EnterpriseKnowledgeGraph
- Metadata interface{}
- Specifies the metadata of the resource.
- Provisioning
State string - The state of EnterpriseKnowledgeGraph provisioning
- description String
- The description of the EnterpriseKnowledgeGraph
- metadata Object
- Specifies the metadata of the resource.
- provisioning
State String - The state of EnterpriseKnowledgeGraph provisioning
- description string
- The description of the EnterpriseKnowledgeGraph
- metadata any
- Specifies the metadata of the resource.
- provisioning
State 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.
- provisioning
State String - The state of EnterpriseKnowledgeGraph provisioning
EnterpriseKnowledgeGraphPropertiesResponse, EnterpriseKnowledgeGraphPropertiesResponseArgs
- Description string
- The description of the EnterpriseKnowledgeGraph
- Metadata object
- Specifies the metadata of the resource.
- Provisioning
State string - The state of EnterpriseKnowledgeGraph provisioning
- Description string
- The description of the EnterpriseKnowledgeGraph
- Metadata interface{}
- Specifies the metadata of the resource.
- Provisioning
State string - The state of EnterpriseKnowledgeGraph provisioning
- description String
- The description of the EnterpriseKnowledgeGraph
- metadata Object
- Specifies the metadata of the resource.
- provisioning
State String - The state of EnterpriseKnowledgeGraph provisioning
- description string
- The description of the EnterpriseKnowledgeGraph
- metadata any
- Specifies the metadata of the resource.
- provisioning
State 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.
- provisioning
State String - The state of EnterpriseKnowledgeGraph provisioning
Sku, SkuArgs
- Name
string | Pulumi.
Azure Native. Enterprise Knowledge Graph. Sku Name - The sku name
- name String | "F0" | "S1"
- The sku name
SkuName, SkuNameArgs
- F0
- F0
- S1
- S1
- Sku
Name F0 - F0
- Sku
Name S1 - S1
- F0
- F0
- S1
- S1
- F0
- F0
- S1
- S1
- F0
- F0
- S1
- S1
- "F0"
- F0
- "S1"
- S1
SkuResponse, SkuResponseArgs
- Name string
- The sku name
- Name string
- The sku name
- name String
- The sku name
- name string
- The sku name
- name str
- The sku name
- name 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
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