![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.enterpriseknowledgegraph.kotlin.EnterpriseKnowledgeGraphArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.enterpriseknowledgegraph.kotlin
import com.pulumi.azurenative.enterpriseknowledgegraph.EnterpriseKnowledgeGraphArgs.builder
import com.pulumi.azurenative.enterpriseknowledgegraph.kotlin.inputs.EnterpriseKnowledgeGraphPropertiesArgs
import com.pulumi.azurenative.enterpriseknowledgegraph.kotlin.inputs.EnterpriseKnowledgeGraphPropertiesArgsBuilder
import com.pulumi.azurenative.enterpriseknowledgegraph.kotlin.inputs.SkuArgs
import com.pulumi.azurenative.enterpriseknowledgegraph.kotlin.inputs.SkuArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* EnterpriseKnowledgeGraph resource definition
* Azure REST API version: 2018-12-03. Prior API version in Azure Native 1.x: 2018-12-03.
* ## Example Usage
* ### Create EnterpriseKnowledgeGraph
* ```csharp
* 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" },
* },
* });
* });
* ```
* ```go
* package main
* import (
* enterpriseknowledgegraph "github.com/pulumi/pulumi-azure-native-sdk/enterpriseknowledgegraph/v2"
* "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
* })
* }
* ```
* ```java
* 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 com.pulumi.azurenative.enterpriseknowledgegraph.inputs.EnterpriseKnowledgeGraphPropertiesArgs;
* 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
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:enterpriseknowledgegraph:EnterpriseKnowledgeGraph samplename /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EnterpriseKnowledgeGraph/services/{resourceName}
* ```
* @property location Specifies the location of the resource.
* @property properties The set of properties specific to EnterpriseKnowledgeGraph resource
* @property resourceGroupName The name of the EnterpriseKnowledgeGraph resource group in the user subscription.
* @property resourceName The name of the EnterpriseKnowledgeGraph resource.
* @property sku Gets or sets the SKU of the resource.
* @property tags Contains resource tags defined as key/value pairs.
*/
public data class EnterpriseKnowledgeGraphArgs(
public val location: Output? = null,
public val properties: Output? = null,
public val resourceGroupName: Output? = null,
public val resourceName: Output? = null,
public val sku: Output? = null,
public val tags: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy