All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.web.WebAppSiteExtension Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** 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.WebAppSiteExtensionArgs;
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.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * Site Extension Information.
 * Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-12-01.
 * 
 * Other available API versions: 2016-08-01, 2020-10-01, 2023-01-01, 2023-12-01, 2024-04-01.
 * ## Import
 * 
 * An existing resource can be imported using its type token, name, and identifier, e.g.
 * 
 * ```sh
 * $ pulumi import azure-native:web:WebAppSiteExtension myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId} 
 * ```
 * 
 */
@ResourceType(type="azure-native:web:WebAppSiteExtension")
public class WebAppSiteExtension extends com.pulumi.resources.CustomResource {
    /**
     * List of authors.
     * 
     */
    @Export(name="authors", refs={List.class,String.class}, tree="[0,1]")
    private Output> authors;

    /**
     * @return List of authors.
     * 
     */
    public Output>> authors() {
        return Codegen.optional(this.authors);
    }
    /**
     * Site Extension comment.
     * 
     */
    @Export(name="comment", refs={String.class}, tree="[0]")
    private Output comment;

    /**
     * @return Site Extension comment.
     * 
     */
    public Output> comment() {
        return Codegen.optional(this.comment);
    }
    /**
     * Detailed description.
     * 
     */
    @Export(name="description", refs={String.class}, tree="[0]")
    private Output description;

    /**
     * @return Detailed description.
     * 
     */
    public Output> description() {
        return Codegen.optional(this.description);
    }
    /**
     * Count of downloads.
     * 
     */
    @Export(name="downloadCount", refs={Integer.class}, tree="[0]")
    private Output downloadCount;

    /**
     * @return Count of downloads.
     * 
     */
    public Output> downloadCount() {
        return Codegen.optional(this.downloadCount);
    }
    /**
     * Site extension ID.
     * 
     */
    @Export(name="extensionId", refs={String.class}, tree="[0]")
    private Output extensionId;

    /**
     * @return Site extension ID.
     * 
     */
    public Output> extensionId() {
        return Codegen.optional(this.extensionId);
    }
    /**
     * Site extension type.
     * 
     */
    @Export(name="extensionType", refs={String.class}, tree="[0]")
    private Output extensionType;

    /**
     * @return Site extension type.
     * 
     */
    public Output> extensionType() {
        return Codegen.optional(this.extensionType);
    }
    /**
     * Extension URL.
     * 
     */
    @Export(name="extensionUrl", refs={String.class}, tree="[0]")
    private Output extensionUrl;

    /**
     * @return Extension URL.
     * 
     */
    public Output> extensionUrl() {
        return Codegen.optional(this.extensionUrl);
    }
    /**
     * Feed URL.
     * 
     */
    @Export(name="feedUrl", refs={String.class}, tree="[0]")
    private Output feedUrl;

    /**
     * @return Feed URL.
     * 
     */
    public Output> feedUrl() {
        return Codegen.optional(this.feedUrl);
    }
    /**
     * Icon URL.
     * 
     */
    @Export(name="iconUrl", refs={String.class}, tree="[0]")
    private Output iconUrl;

    /**
     * @return Icon URL.
     * 
     */
    public Output> iconUrl() {
        return Codegen.optional(this.iconUrl);
    }
    /**
     * Installed timestamp.
     * 
     */
    @Export(name="installedDateTime", refs={String.class}, tree="[0]")
    private Output installedDateTime;

    /**
     * @return Installed timestamp.
     * 
     */
    public Output> installedDateTime() {
        return Codegen.optional(this.installedDateTime);
    }
    /**
     * Installer command line parameters.
     * 
     */
    @Export(name="installerCommandLineParams", refs={String.class}, tree="[0]")
    private Output installerCommandLineParams;

    /**
     * @return Installer command line parameters.
     * 
     */
    public Output> installerCommandLineParams() {
        return Codegen.optional(this.installerCommandLineParams);
    }
    /**
     * Kind of resource.
     * 
     */
    @Export(name="kind", refs={String.class}, tree="[0]")
    private Output kind;

    /**
     * @return Kind of resource.
     * 
     */
    public Output> kind() {
        return Codegen.optional(this.kind);
    }
    /**
     * License URL.
     * 
     */
    @Export(name="licenseUrl", refs={String.class}, tree="[0]")
    private Output licenseUrl;

    /**
     * @return License URL.
     * 
     */
    public Output> licenseUrl() {
        return Codegen.optional(this.licenseUrl);
    }
    /**
     * <code>true</code> if the local version is the latest version; <code>false</code> otherwise.
     * 
     */
    @Export(name="localIsLatestVersion", refs={Boolean.class}, tree="[0]")
    private Output localIsLatestVersion;

    /**
     * @return <code>true</code> if the local version is the latest version; <code>false</code> otherwise.
     * 
     */
    public Output> localIsLatestVersion() {
        return Codegen.optional(this.localIsLatestVersion);
    }
    /**
     * Local path.
     * 
     */
    @Export(name="localPath", refs={String.class}, tree="[0]")
    private Output localPath;

    /**
     * @return Local path.
     * 
     */
    public Output> localPath() {
        return Codegen.optional(this.localPath);
    }
    /**
     * Resource Name.
     * 
     */
    @Export(name="name", refs={String.class}, tree="[0]")
    private Output name;

    /**
     * @return Resource Name.
     * 
     */
    public Output name() {
        return this.name;
    }
    /**
     * Project URL.
     * 
     */
    @Export(name="projectUrl", refs={String.class}, tree="[0]")
    private Output projectUrl;

    /**
     * @return Project URL.
     * 
     */
    public Output> projectUrl() {
        return Codegen.optional(this.projectUrl);
    }
    /**
     * Provisioning state.
     * 
     */
    @Export(name="provisioningState", refs={String.class}, tree="[0]")
    private Output provisioningState;

    /**
     * @return Provisioning state.
     * 
     */
    public Output> provisioningState() {
        return Codegen.optional(this.provisioningState);
    }
    /**
     * Published timestamp.
     * 
     */
    @Export(name="publishedDateTime", refs={String.class}, tree="[0]")
    private Output publishedDateTime;

    /**
     * @return Published timestamp.
     * 
     */
    public Output> publishedDateTime() {
        return Codegen.optional(this.publishedDateTime);
    }
    /**
     * Summary description.
     * 
     */
    @Export(name="summary", refs={String.class}, tree="[0]")
    private Output summary;

    /**
     * @return Summary description.
     * 
     */
    public Output> summary() {
        return Codegen.optional(this.summary);
    }
    @Export(name="title", refs={String.class}, tree="[0]")
    private Output title;

    public Output> title() {
        return Codegen.optional(this.title);
    }
    /**
     * Resource type.
     * 
     */
    @Export(name="type", refs={String.class}, tree="[0]")
    private Output type;

    /**
     * @return Resource type.
     * 
     */
    public Output type() {
        return this.type;
    }
    /**
     * Version information.
     * 
     */
    @Export(name="version", refs={String.class}, tree="[0]")
    private Output version;

    /**
     * @return Version information.
     * 
     */
    public Output> version() {
        return Codegen.optional(this.version);
    }

    /**
     *
     * @param name The _unique_ name of the resulting resource.
     */
    public WebAppSiteExtension(java.lang.String name) {
        this(name, WebAppSiteExtensionArgs.Empty);
    }
    /**
     *
     * @param name The _unique_ name of the resulting resource.
     * @param args The arguments to use to populate this resource's properties.
     */
    public WebAppSiteExtension(java.lang.String name, WebAppSiteExtensionArgs args) {
        this(name, args, null);
    }
    /**
     *
     * @param name The _unique_ name of the resulting resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param options A bag of options that control this resource's behavior.
     */
    public WebAppSiteExtension(java.lang.String name, WebAppSiteExtensionArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        super("azure-native:web:WebAppSiteExtension", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
    }

    private WebAppSiteExtension(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        super("azure-native:web:WebAppSiteExtension", name, null, makeResourceOptions(options, id), false);
    }

    private static WebAppSiteExtensionArgs makeArgs(WebAppSiteExtensionArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        if (options != null && options.getUrn().isPresent()) {
            return null;
        }
        return args == null ? WebAppSiteExtensionArgs.Empty : args;
    }

    private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) {
        var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
            .version(Utilities.getVersion())
            .aliases(List.of(
                Output.of(Alias.builder().type("azure-native:web/v20160801:WebAppSiteExtension").build()),
                Output.of(Alias.builder().type("azure-native:web/v20180201:WebAppSiteExtension").build()),
                Output.of(Alias.builder().type("azure-native:web/v20181101:WebAppSiteExtension").build()),
                Output.of(Alias.builder().type("azure-native:web/v20190801:WebAppSiteExtension").build()),
                Output.of(Alias.builder().type("azure-native:web/v20200601:WebAppSiteExtension").build()),
                Output.of(Alias.builder().type("azure-native:web/v20200901:WebAppSiteExtension").build()),
                Output.of(Alias.builder().type("azure-native:web/v20201001:WebAppSiteExtension").build()),
                Output.of(Alias.builder().type("azure-native:web/v20201201:WebAppSiteExtension").build()),
                Output.of(Alias.builder().type("azure-native:web/v20210101:WebAppSiteExtension").build()),
                Output.of(Alias.builder().type("azure-native:web/v20210115:WebAppSiteExtension").build()),
                Output.of(Alias.builder().type("azure-native:web/v20210201:WebAppSiteExtension").build()),
                Output.of(Alias.builder().type("azure-native:web/v20210301:WebAppSiteExtension").build()),
                Output.of(Alias.builder().type("azure-native:web/v20220301:WebAppSiteExtension").build()),
                Output.of(Alias.builder().type("azure-native:web/v20220901:WebAppSiteExtension").build()),
                Output.of(Alias.builder().type("azure-native:web/v20230101:WebAppSiteExtension").build()),
                Output.of(Alias.builder().type("azure-native:web/v20231201:WebAppSiteExtension").build()),
                Output.of(Alias.builder().type("azure-native:web/v20240401:WebAppSiteExtension").build())
            ))
            .build();
        return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id);
    }

    /**
     * Get an existing Host resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param options Optional settings to control the behavior of the CustomResource.
     */
    public static WebAppSiteExtension get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        return new WebAppSiteExtension(name, id, options);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy