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

com.pulumi.azure.desktopvirtualization.inputs.GetHostPoolRegistrationInfoState 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.desktopvirtualization.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 GetHostPoolRegistrationInfoState extends com.pulumi.resources.ResourceArgs {

    public static final GetHostPoolRegistrationInfoState Empty = new GetHostPoolRegistrationInfoState();

    /**
     * A valid `RFC3339Time` for the expiration of the token..
     * 
     */
    @Import(name="expirationDate")
    private @Nullable Output expirationDate;

    /**
     * @return A valid `RFC3339Time` for the expiration of the token..
     * 
     */
    public Optional> expirationDate() {
        return Optional.ofNullable(this.expirationDate);
    }

    /**
     * The ID of the Virtual Desktop Host Pool to link the Registration Info to. Changing this forces a new Registration Info resource to be created. Only a single virtual_desktop_host_pool_registration_info resource should be associated with a given hostpool. Assigning multiple resources will produce inconsistent results.
     * 
     */
    @Import(name="hostpoolId")
    private @Nullable Output hostpoolId;

    /**
     * @return The ID of the Virtual Desktop Host Pool to link the Registration Info to. Changing this forces a new Registration Info resource to be created. Only a single virtual_desktop_host_pool_registration_info resource should be associated with a given hostpool. Assigning multiple resources will produce inconsistent results.
     * 
     */
    public Optional> hostpoolId() {
        return Optional.ofNullable(this.hostpoolId);
    }

    /**
     * The registration token generated by the Virtual Desktop Host Pool for registration of session hosts.
     * 
     */
    @Import(name="token")
    private @Nullable Output token;

    /**
     * @return The registration token generated by the Virtual Desktop Host Pool for registration of session hosts.
     * 
     */
    public Optional> token() {
        return Optional.ofNullable(this.token);
    }

    private GetHostPoolRegistrationInfoState() {}

    private GetHostPoolRegistrationInfoState(GetHostPoolRegistrationInfoState $) {
        this.expirationDate = $.expirationDate;
        this.hostpoolId = $.hostpoolId;
        this.token = $.token;
    }

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

    public static final class Builder {
        private GetHostPoolRegistrationInfoState $;

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

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

        /**
         * @param expirationDate A valid `RFC3339Time` for the expiration of the token..
         * 
         * @return builder
         * 
         */
        public Builder expirationDate(@Nullable Output expirationDate) {
            $.expirationDate = expirationDate;
            return this;
        }

        /**
         * @param expirationDate A valid `RFC3339Time` for the expiration of the token..
         * 
         * @return builder
         * 
         */
        public Builder expirationDate(String expirationDate) {
            return expirationDate(Output.of(expirationDate));
        }

        /**
         * @param hostpoolId The ID of the Virtual Desktop Host Pool to link the Registration Info to. Changing this forces a new Registration Info resource to be created. Only a single virtual_desktop_host_pool_registration_info resource should be associated with a given hostpool. Assigning multiple resources will produce inconsistent results.
         * 
         * @return builder
         * 
         */
        public Builder hostpoolId(@Nullable Output hostpoolId) {
            $.hostpoolId = hostpoolId;
            return this;
        }

        /**
         * @param hostpoolId The ID of the Virtual Desktop Host Pool to link the Registration Info to. Changing this forces a new Registration Info resource to be created. Only a single virtual_desktop_host_pool_registration_info resource should be associated with a given hostpool. Assigning multiple resources will produce inconsistent results.
         * 
         * @return builder
         * 
         */
        public Builder hostpoolId(String hostpoolId) {
            return hostpoolId(Output.of(hostpoolId));
        }

        /**
         * @param token The registration token generated by the Virtual Desktop Host Pool for registration of session hosts.
         * 
         * @return builder
         * 
         */
        public Builder token(@Nullable Output token) {
            $.token = token;
            return this;
        }

        /**
         * @param token The registration token generated by the Virtual Desktop Host Pool for registration of session hosts.
         * 
         * @return builder
         * 
         */
        public Builder token(String token) {
            return token(Output.of(token));
        }

        public GetHostPoolRegistrationInfoState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy