com.pulumi.azurenative.web.WebAppAzureStorageAccounts 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.web;
import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.web.WebAppAzureStorageAccountsArgs;
import com.pulumi.azurenative.web.outputs.AzureStorageInfoValueResponse;
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 java.util.Optional;
import javax.annotation.Nullable;
/**
* AzureStorageInfo dictionary resource.
* Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-12-01.
*
* Other available API versions: 2020-10-01, 2023-01-01, 2023-12-01, 2024-04-01.
*
* ## Example Usage
* ### Update Azure Storage Accounts
*
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.web.WebAppAzureStorageAccounts;
* import com.pulumi.azurenative.web.WebAppAzureStorageAccountsArgs;
* 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 }{{@code
* public static void main(String[] args) }{{@code
* Pulumi.run(App::stack);
* }}{@code
*
* public static void stack(Context ctx) }{{@code
* var webAppAzureStorageAccounts = new WebAppAzureStorageAccounts("webAppAzureStorageAccounts", WebAppAzureStorageAccountsArgs.builder()
* .name("sitef6141")
* .properties(Map.of("account1", Map.ofEntries(
* Map.entry("accessKey", "26515^%}{@literal @}{@code #*"),
* Map.entry("accountName", "testsa"),
* Map.entry("mountPath", "/mounts/a/files"),
* Map.entry("shareName", "web"),
* Map.entry("type", "AzureFiles")
* )))
* .resourceGroupName("testrg123")
* .build());
*
* }}{@code
* }}{@code
*
* }
*
*
* ## Import
*
* An existing resource can be imported using its type token, name, and identifier, e.g.
*
* ```sh
* $ pulumi import azure-native:web:WebAppAzureStorageAccounts web /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts
* ```
*
*/
@ResourceType(type="azure-native:web:WebAppAzureStorageAccounts")
public class WebAppAzureStorageAccounts extends com.pulumi.resources.CustomResource {
/**
* Kind of resource.
*
*/
@Export(name="kind", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> kind;
/**
* @return Kind of resource.
*
*/
public Output> kind() {
return Codegen.optional(this.kind);
}
/**
* Resource Name.
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return Resource Name.
*
*/
public Output name() {
return this.name;
}
/**
* Azure storage accounts.
*
*/
@Export(name="properties", refs={Map.class,String.class,AzureStorageInfoValueResponse.class}, tree="[0,1,2]")
private Output
© 2015 - 2024 Weber Informatics LLC | Privacy Policy