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

com.pulumi.azure.appservice.inputs.SlotVirtualNetworkSwiftConnectionState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.appservice.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class SlotVirtualNetworkSwiftConnectionState extends com.pulumi.resources.ResourceArgs {

    public static final SlotVirtualNetworkSwiftConnectionState Empty = new SlotVirtualNetworkSwiftConnectionState();

    /**
     * The ID of the App Service or Function App to associate to the VNet. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="appServiceId")
    private @Nullable Output appServiceId;

    /**
     * @return The ID of the App Service or Function App to associate to the VNet. Changing this forces a new resource to be created.
     * 
     */
    public Optional> appServiceId() {
        return Optional.ofNullable(this.appServiceId);
    }

    /**
     * The name of the App Service Slot or Function App Slot. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="slotName")
    private @Nullable Output slotName;

    /**
     * @return The name of the App Service Slot or Function App Slot. Changing this forces a new resource to be created.
     * 
     */
    public Optional> slotName() {
        return Optional.ofNullable(this.slotName);
    }

    /**
     * The ID of the subnet the app service will be associated to (the subnet must have a `service_delegation` configured for `Microsoft.Web/serverFarms`).
     * 
     */
    @Import(name="subnetId")
    private @Nullable Output subnetId;

    /**
     * @return The ID of the subnet the app service will be associated to (the subnet must have a `service_delegation` configured for `Microsoft.Web/serverFarms`).
     * 
     */
    public Optional> subnetId() {
        return Optional.ofNullable(this.subnetId);
    }

    private SlotVirtualNetworkSwiftConnectionState() {}

    private SlotVirtualNetworkSwiftConnectionState(SlotVirtualNetworkSwiftConnectionState $) {
        this.appServiceId = $.appServiceId;
        this.slotName = $.slotName;
        this.subnetId = $.subnetId;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(SlotVirtualNetworkSwiftConnectionState defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private SlotVirtualNetworkSwiftConnectionState $;

        public Builder() {
            $ = new SlotVirtualNetworkSwiftConnectionState();
        }

        public Builder(SlotVirtualNetworkSwiftConnectionState defaults) {
            $ = new SlotVirtualNetworkSwiftConnectionState(Objects.requireNonNull(defaults));
        }

        /**
         * @param appServiceId The ID of the App Service or Function App to associate to the VNet. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder appServiceId(@Nullable Output appServiceId) {
            $.appServiceId = appServiceId;
            return this;
        }

        /**
         * @param appServiceId The ID of the App Service or Function App to associate to the VNet. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder appServiceId(String appServiceId) {
            return appServiceId(Output.of(appServiceId));
        }

        /**
         * @param slotName The name of the App Service Slot or Function App Slot. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder slotName(@Nullable Output slotName) {
            $.slotName = slotName;
            return this;
        }

        /**
         * @param slotName The name of the App Service Slot or Function App Slot. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder slotName(String slotName) {
            return slotName(Output.of(slotName));
        }

        /**
         * @param subnetId The ID of the subnet the app service will be associated to (the subnet must have a `service_delegation` configured for `Microsoft.Web/serverFarms`).
         * 
         * @return builder
         * 
         */
        public Builder subnetId(@Nullable Output subnetId) {
            $.subnetId = subnetId;
            return this;
        }

        /**
         * @param subnetId The ID of the subnet the app service will be associated to (the subnet must have a `service_delegation` configured for `Microsoft.Web/serverFarms`).
         * 
         * @return builder
         * 
         */
        public Builder subnetId(String subnetId) {
            return subnetId(Output.of(subnetId));
        }

        public SlotVirtualNetworkSwiftConnectionState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy