
com.pulumi.azurenative.datalakeanalytics.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.datalakeanalytics;
import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.datalakeanalytics.AccountArgs;
import com.pulumi.azurenative.datalakeanalytics.outputs.ComputePolicyResponse;
import com.pulumi.azurenative.datalakeanalytics.outputs.DataLakeStoreAccountInformationResponse;
import com.pulumi.azurenative.datalakeanalytics.outputs.FirewallRuleResponse;
import com.pulumi.azurenative.datalakeanalytics.outputs.HiveMetastoreResponse;
import com.pulumi.azurenative.datalakeanalytics.outputs.StorageAccountInformationResponse;
import com.pulumi.azurenative.datalakeanalytics.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.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* A Data Lake Analytics account object, containing all information associated with the named Data Lake Analytics account.
* Azure REST API version: 2019-11-01-preview. Prior API version in Azure Native 1.x: 2016-11-01.
*
* Other available API versions: 2015-10-01-preview.
*
* ## Example Usage
* ### Creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads.
*
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.datalakeanalytics.Account;
* import com.pulumi.azurenative.datalakeanalytics.AccountArgs;
* import com.pulumi.azurenative.datalakeanalytics.inputs.CreateComputePolicyWithAccountParametersArgs;
* import com.pulumi.azurenative.datalakeanalytics.inputs.AddDataLakeStoreWithAccountParametersArgs;
* import com.pulumi.azurenative.datalakeanalytics.inputs.CreateFirewallRuleWithAccountParametersArgs;
* import com.pulumi.azurenative.datalakeanalytics.inputs.AddStorageAccountWithAccountParametersArgs;
* 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")
* .computePolicies(CreateComputePolicyWithAccountParametersArgs.builder()
* .maxDegreeOfParallelismPerJob(1)
* .minPriorityPerJob(1)
* .name("test_policy")
* .objectId("34adfa4f-cedf-4dc0-ba29-b6d1a69ab345")
* .objectType("User")
* .build())
* .dataLakeStoreAccounts(AddDataLakeStoreWithAccountParametersArgs.builder()
* .name("test_adls")
* .suffix("test_suffix")
* .build())
* .defaultDataLakeStoreAccount("test_adls")
* .firewallAllowAzureIps("Enabled")
* .firewallRules(CreateFirewallRuleWithAccountParametersArgs.builder()
* .endIpAddress("2.2.2.2")
* .name("test_rule")
* .startIpAddress("1.1.1.1")
* .build())
* .firewallState("Enabled")
* .location("eastus2")
* .maxDegreeOfParallelism(30)
* .maxDegreeOfParallelismPerJob(1)
* .maxJobCount(3)
* .minPriorityPerJob(1)
* .newTier("Consumption")
* .queryStoreRetention(30)
* .resourceGroupName("contosorg")
* .storageAccounts(AddStorageAccountWithAccountParametersArgs.builder()
* .accessKey("34adfa4f-cedf-4dc0-ba29-b6d1a69ab346")
* .name("test_storage")
* .suffix("test_suffix")
* .build())
* .tags(Map.of("test_key", "test_value"))
* .build());
*
* }
* }
*
* }
*
*
* ## Import
*
* An existing resource can be imported using its type token, name, and identifier, e.g.
*
* ```sh
* $ pulumi import azure-native:datalakeanalytics:Account test_account /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}
* ```
*
*/
@ResourceType(type="azure-native:datalakeanalytics:Account")
public class Account extends com.pulumi.resources.CustomResource {
/**
* The unique identifier associated with this Data Lake Analytics account.
*
*/
@Export(name="accountId", refs={String.class}, tree="[0]")
private Output accountId;
/**
* @return The unique identifier associated with this Data Lake Analytics account.
*
*/
public Output accountId() {
return this.accountId;
}
/**
* The list of compute policies associated with this account.
*
*/
@Export(name="computePolicies", refs={List.class,ComputePolicyResponse.class}, tree="[0,1]")
private Output> computePolicies;
/**
* @return The list of compute policies associated with this account.
*
*/
public Output> computePolicies() {
return this.computePolicies;
}
/**
* 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 list of Data Lake Store accounts associated with this account.
*
*/
@Export(name="dataLakeStoreAccounts", refs={List.class,DataLakeStoreAccountInformationResponse.class}, tree="[0,1]")
private Output> dataLakeStoreAccounts;
/**
* @return The list of Data Lake Store accounts associated with this account.
*
*/
public Output> dataLakeStoreAccounts() {
return this.dataLakeStoreAccounts;
}
/**
* The current state of the DebugDataAccessLevel for this account.
*
*/
@Export(name="debugDataAccessLevel", refs={String.class}, tree="[0]")
private Output debugDataAccessLevel;
/**
* @return The current state of the DebugDataAccessLevel for this account.
*
*/
public Output debugDataAccessLevel() {
return this.debugDataAccessLevel;
}
/**
* The default Data Lake Store account associated with this account.
*
*/
@Export(name="defaultDataLakeStoreAccount", refs={String.class}, tree="[0]")
private Output defaultDataLakeStoreAccount;
/**
* @return The default Data Lake Store account associated with this account.
*
*/
public Output defaultDataLakeStoreAccount() {
return this.defaultDataLakeStoreAccount;
}
/**
* The type of the default Data Lake Store account associated with this account.
*
*/
@Export(name="defaultDataLakeStoreAccountType", refs={String.class}, tree="[0]")
private Output defaultDataLakeStoreAccountType;
/**
* @return The type of the default Data Lake Store account associated with this account.
*
*/
public Output defaultDataLakeStoreAccountType() {
return this.defaultDataLakeStoreAccountType;
}
/**
* 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* @Nullable */ String> 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 Codegen.optional(this.firewallAllowAzureIps);
}
/**
* The list of firewall rules associated with this account.
*
*/
@Export(name="firewallRules", refs={List.class,FirewallRuleResponse.class}, tree="[0,1]")
private Output> firewallRules;
/**
* @return The list of firewall rules associated with this account.
*
*/
public Output> firewallRules() {
return this.firewallRules;
}
/**
* The current state of the IP address firewall for this account.
*
*/
@Export(name="firewallState", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> firewallState;
/**
* @return The current state of the IP address firewall for this account.
*
*/
public Output> firewallState() {
return Codegen.optional(this.firewallState);
}
/**
* The list of hiveMetastores associated with this account.
*
*/
@Export(name="hiveMetastores", refs={List.class,HiveMetastoreResponse.class}, tree="[0,1]")
private Output> hiveMetastores;
/**
* @return The list of hiveMetastores associated with this account.
*
*/
public Output> hiveMetastores() {
return this.hiveMetastores;
}
/**
* 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 maximum supported active jobs under the account at the same time.
*
*/
@Export(name="maxActiveJobCountPerUser", refs={Integer.class}, tree="[0]")
private Output maxActiveJobCountPerUser;
/**
* @return The maximum supported active jobs under the account at the same time.
*
*/
public Output maxActiveJobCountPerUser() {
return this.maxActiveJobCountPerUser;
}
/**
* The maximum supported degree of parallelism for this account.
*
*/
@Export(name="maxDegreeOfParallelism", refs={Integer.class}, tree="[0]")
private Output* @Nullable */ Integer> maxDegreeOfParallelism;
/**
* @return The maximum supported degree of parallelism for this account.
*
*/
public Output> maxDegreeOfParallelism() {
return Codegen.optional(this.maxDegreeOfParallelism);
}
/**
* The maximum supported degree of parallelism per job for this account.
*
*/
@Export(name="maxDegreeOfParallelismPerJob", refs={Integer.class}, tree="[0]")
private Output* @Nullable */ Integer> maxDegreeOfParallelismPerJob;
/**
* @return The maximum supported degree of parallelism per job for this account.
*
*/
public Output> maxDegreeOfParallelismPerJob() {
return Codegen.optional(this.maxDegreeOfParallelismPerJob);
}
/**
* The maximum supported jobs running under the account at the same time.
*
*/
@Export(name="maxJobCount", refs={Integer.class}, tree="[0]")
private Output* @Nullable */ Integer> maxJobCount;
/**
* @return The maximum supported jobs running under the account at the same time.
*
*/
public Output> maxJobCount() {
return Codegen.optional(this.maxJobCount);
}
/**
* The maximum supported active jobs under the account at the same time.
*
*/
@Export(name="maxJobRunningTimeInMin", refs={Integer.class}, tree="[0]")
private Output maxJobRunningTimeInMin;
/**
* @return The maximum supported active jobs under the account at the same time.
*
*/
public Output maxJobRunningTimeInMin() {
return this.maxJobRunningTimeInMin;
}
/**
* The maximum supported jobs queued under the account at the same time.
*
*/
@Export(name="maxQueuedJobCountPerUser", refs={Integer.class}, tree="[0]")
private Output maxQueuedJobCountPerUser;
/**
* @return The maximum supported jobs queued under the account at the same time.
*
*/
public Output maxQueuedJobCountPerUser() {
return this.maxQueuedJobCountPerUser;
}
/**
* The minimum supported priority per job for this account.
*
*/
@Export(name="minPriorityPerJob", refs={Integer.class}, tree="[0]")
private Output minPriorityPerJob;
/**
* @return The minimum supported priority per job for this account.
*
*/
public Output minPriorityPerJob() {
return this.minPriorityPerJob;
}
/**
* 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 for the next month.
*
*/
@Export(name="newTier", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> newTier;
/**
* @return The commitment tier for the next month.
*
*/
public Output> newTier() {
return Codegen.optional(this.newTier);
}
/**
* The provisioning status of the Data Lake Analytics account.
*
*/
@Export(name="provisioningState", refs={String.class}, tree="[0]")
private Output provisioningState;
/**
* @return The provisioning status of the Data Lake Analytics account.
*
*/
public Output provisioningState() {
return this.provisioningState;
}
/**
* The list of Data Lake Store accounts associated with this account.
*
*/
@Export(name="publicDataLakeStoreAccounts", refs={List.class,DataLakeStoreAccountInformationResponse.class}, tree="[0,1]")
private Output* @Nullable */ List> publicDataLakeStoreAccounts;
/**
* @return The list of Data Lake Store accounts associated with this account.
*
*/
public Output>> publicDataLakeStoreAccounts() {
return Codegen.optional(this.publicDataLakeStoreAccounts);
}
/**
* The number of days that job metadata is retained.
*
*/
@Export(name="queryStoreRetention", refs={Integer.class}, tree="[0]")
private Output* @Nullable */ Integer> queryStoreRetention;
/**
* @return The number of days that job metadata is retained.
*
*/
public Output> queryStoreRetention() {
return Codegen.optional(this.queryStoreRetention);
}
/**
* The state of the Data Lake Analytics account.
*
*/
@Export(name="state", refs={String.class}, tree="[0]")
private Output state;
/**
* @return The state of the Data Lake Analytics account.
*
*/
public Output state() {
return this.state;
}
/**
* The list of Azure Blob Storage accounts associated with this account.
*
*/
@Export(name="storageAccounts", refs={List.class,StorageAccountInformationResponse.class}, tree="[0,1]")
private Output> storageAccounts;
/**
* @return The list of Azure Blob Storage accounts associated with this account.
*
*/
public Output> storageAccounts() {
return this.storageAccounts;
}
/**
* The system defined maximum supported degree of parallelism for this account, which restricts the maximum value of parallelism the user can set for the account.
*
*/
@Export(name="systemMaxDegreeOfParallelism", refs={Integer.class}, tree="[0]")
private Output systemMaxDegreeOfParallelism;
/**
* @return The system defined maximum supported degree of parallelism for this account, which restricts the maximum value of parallelism the user can set for the account.
*
*/
public Output systemMaxDegreeOfParallelism() {
return this.systemMaxDegreeOfParallelism;
}
/**
* The system defined maximum supported jobs running under the account at the same time, which restricts the maximum number of running jobs the user can set for the account.
*
*/
@Export(name="systemMaxJobCount", refs={Integer.class}, tree="[0]")
private Output systemMaxJobCount;
/**
* @return The system defined maximum supported jobs running under the account at the same time, which restricts the maximum number of running jobs the user can set for the account.
*
*/
public Output systemMaxJobCount() {
return this.systemMaxJobCount;
}
/**
* The resource tags.
*
*/
@Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
private Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy