com.pulumi.azurenative.datalakestore.Account Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.datalakestore;
import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.datalakestore.AccountArgs;
import com.pulumi.azurenative.datalakestore.outputs.EncryptionConfigResponse;
import com.pulumi.azurenative.datalakestore.outputs.EncryptionIdentityResponse;
import com.pulumi.azurenative.datalakestore.outputs.FirewallRuleResponse;
import com.pulumi.azurenative.datalakestore.outputs.TrustedIdProviderResponse;
import com.pulumi.azurenative.datalakestore.outputs.VirtualNetworkRuleResponse;
import com.pulumi.core.Alias;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.List;
import java.util.Map;
import javax.annotation.Nullable;
/**
* Data Lake Store account information.
* Azure REST API version: 2016-11-01. Prior API version in Azure Native 1.x: 2016-11-01.
*
* ## Example Usage
* ### Creates the specified Data Lake Store account
*
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.datalakestore.Account;
* import com.pulumi.azurenative.datalakestore.AccountArgs;
* import com.pulumi.azurenative.datalakestore.inputs.EncryptionConfigArgs;
* import com.pulumi.azurenative.datalakestore.inputs.KeyVaultMetaInfoArgs;
* import com.pulumi.azurenative.datalakestore.inputs.CreateFirewallRuleWithAccountParametersArgs;
* import com.pulumi.azurenative.datalakestore.inputs.EncryptionIdentityArgs;
* import com.pulumi.azurenative.datalakestore.inputs.CreateTrustedIdProviderWithAccountParametersArgs;
* 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 account = new Account("account", AccountArgs.builder()
* .accountName("contosoadla")
* .defaultGroup("test_default_group")
* .encryptionConfig(EncryptionConfigArgs.builder()
* .keyVaultMetaInfo(KeyVaultMetaInfoArgs.builder()
* .encryptionKeyName("test_encryption_key_name")
* .encryptionKeyVersion("encryption_key_version")
* .keyVaultResourceId("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345")
* .build())
* .type("UserManaged")
* .build())
* .encryptionState("Enabled")
* .firewallAllowAzureIps("Enabled")
* .firewallRules(CreateFirewallRuleWithAccountParametersArgs.builder()
* .endIpAddress("2.2.2.2")
* .name("test_rule")
* .startIpAddress("1.1.1.1")
* .build())
* .firewallState("Enabled")
* .identity(EncryptionIdentityArgs.builder()
* .type("SystemAssigned")
* .build())
* .location("eastus2")
* .newTier("Consumption")
* .resourceGroupName("contosorg")
* .tags(Map.of("test_key", "test_value"))
* .trustedIdProviderState("Enabled")
* .trustedIdProviders(CreateTrustedIdProviderWithAccountParametersArgs.builder()
* .idProvider("https://sts.windows.net/ea9ec534-a3e3-4e45-ad36-3afc5bb291c1")
* .name("test_trusted_id_provider_name")
* .build())
* .build());
*
* }
* }
*
* }
*
*
* ## Import
*
* An existing resource can be imported using its type token, name, and identifier, e.g.
*
* ```sh
* $ pulumi import azure-native:datalakestore:Account contosoadla /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}
* ```
*
*/
@ResourceType(type="azure-native:datalakestore:Account")
public class Account extends com.pulumi.resources.CustomResource {
/**
* The unique identifier associated with this Data Lake Store account.
*
*/
@Export(name="accountId", refs={String.class}, tree="[0]")
private Output accountId;
/**
* @return The unique identifier associated with this Data Lake Store account.
*
*/
public Output accountId() {
return this.accountId;
}
/**
* The account creation time.
*
*/
@Export(name="creationTime", refs={String.class}, tree="[0]")
private Output creationTime;
/**
* @return The account creation time.
*
*/
public Output creationTime() {
return this.creationTime;
}
/**
* The commitment tier in use for the current month.
*
*/
@Export(name="currentTier", refs={String.class}, tree="[0]")
private Output currentTier;
/**
* @return The commitment tier in use for the current month.
*
*/
public Output currentTier() {
return this.currentTier;
}
/**
* The default owner group for all new folders and files created in the Data Lake Store account.
*
*/
@Export(name="defaultGroup", refs={String.class}, tree="[0]")
private Output defaultGroup;
/**
* @return The default owner group for all new folders and files created in the Data Lake Store account.
*
*/
public Output defaultGroup() {
return this.defaultGroup;
}
/**
* The Key Vault encryption configuration.
*
*/
@Export(name="encryptionConfig", refs={EncryptionConfigResponse.class}, tree="[0]")
private Output encryptionConfig;
/**
* @return The Key Vault encryption configuration.
*
*/
public Output encryptionConfig() {
return this.encryptionConfig;
}
/**
* The current state of encryption provisioning for this Data Lake Store account.
*
*/
@Export(name="encryptionProvisioningState", refs={String.class}, tree="[0]")
private Output encryptionProvisioningState;
/**
* @return The current state of encryption provisioning for this Data Lake Store account.
*
*/
public Output encryptionProvisioningState() {
return this.encryptionProvisioningState;
}
/**
* The current state of encryption for this Data Lake Store account.
*
*/
@Export(name="encryptionState", refs={String.class}, tree="[0]")
private Output encryptionState;
/**
* @return The current state of encryption for this Data Lake Store account.
*
*/
public Output encryptionState() {
return this.encryptionState;
}
/**
* The full CName endpoint for this account.
*
*/
@Export(name="endpoint", refs={String.class}, tree="[0]")
private Output endpoint;
/**
* @return The full CName endpoint for this account.
*
*/
public Output endpoint() {
return this.endpoint;
}
/**
* The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced.
*
*/
@Export(name="firewallAllowAzureIps", refs={String.class}, tree="[0]")
private Output firewallAllowAzureIps;
/**
* @return The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced.
*
*/
public Output firewallAllowAzureIps() {
return this.firewallAllowAzureIps;
}
/**
* The list of firewall rules associated with this Data Lake Store account.
*
*/
@Export(name="firewallRules", refs={List.class,FirewallRuleResponse.class}, tree="[0,1]")
private Output> firewallRules;
/**
* @return The list of firewall rules associated with this Data Lake Store account.
*
*/
public Output> firewallRules() {
return this.firewallRules;
}
/**
* The current state of the IP address firewall for this Data Lake Store account.
*
*/
@Export(name="firewallState", refs={String.class}, tree="[0]")
private Output firewallState;
/**
* @return The current state of the IP address firewall for this Data Lake Store account.
*
*/
public Output firewallState() {
return this.firewallState;
}
/**
* The Key Vault encryption identity, if any.
*
*/
@Export(name="identity", refs={EncryptionIdentityResponse.class}, tree="[0]")
private Output identity;
/**
* @return The Key Vault encryption identity, if any.
*
*/
public Output identity() {
return this.identity;
}
/**
* The account last modified time.
*
*/
@Export(name="lastModifiedTime", refs={String.class}, tree="[0]")
private Output lastModifiedTime;
/**
* @return The account last modified time.
*
*/
public Output lastModifiedTime() {
return this.lastModifiedTime;
}
/**
* The resource location.
*
*/
@Export(name="location", refs={String.class}, tree="[0]")
private Output location;
/**
* @return The resource location.
*
*/
public Output location() {
return this.location;
}
/**
* The resource name.
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return The resource name.
*
*/
public Output name() {
return this.name;
}
/**
* The commitment tier to use for next month.
*
*/
@Export(name="newTier", refs={String.class}, tree="[0]")
private Output newTier;
/**
* @return The commitment tier to use for next month.
*
*/
public Output newTier() {
return this.newTier;
}
/**
* The provisioning status of the Data Lake Store account.
*
*/
@Export(name="provisioningState", refs={String.class}, tree="[0]")
private Output provisioningState;
/**
* @return The provisioning status of the Data Lake Store account.
*
*/
public Output provisioningState() {
return this.provisioningState;
}
/**
* The state of the Data Lake Store account.
*
*/
@Export(name="state", refs={String.class}, tree="[0]")
private Output state;
/**
* @return The state of the Data Lake Store account.
*
*/
public Output state() {
return this.state;
}
/**
* The resource tags.
*
*/
@Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
private Output
© 2015 - 2024 Weber Informatics LLC | Privacy Policy