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

com.pulumi.azure.workloadssap.inputs.SingleNodeVirtualInstanceIdentityArgs 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.15.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.azure.workloadssap.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;


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

    public static final SingleNodeVirtualInstanceIdentityArgs Empty = new SingleNodeVirtualInstanceIdentityArgs();

    /**
     * A list of User Assigned Managed Identity IDs to be assigned to this SAP Single Node Virtual Instance.
     * 
     */
    @Import(name="identityIds", required=true)
    private Output> identityIds;

    /**
     * @return A list of User Assigned Managed Identity IDs to be assigned to this SAP Single Node Virtual Instance.
     * 
     */
    public Output> identityIds() {
        return this.identityIds;
    }

    /**
     * The type of Managed Service Identity that should be configured on this SAP Single Node Virtual Instance. The only possible value is `UserAssigned`.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return The type of Managed Service Identity that should be configured on this SAP Single Node Virtual Instance. The only possible value is `UserAssigned`.
     * 
     */
    public Output type() {
        return this.type;
    }

    private SingleNodeVirtualInstanceIdentityArgs() {}

    private SingleNodeVirtualInstanceIdentityArgs(SingleNodeVirtualInstanceIdentityArgs $) {
        this.identityIds = $.identityIds;
        this.type = $.type;
    }

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

    public static final class Builder {
        private SingleNodeVirtualInstanceIdentityArgs $;

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

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

        /**
         * @param identityIds A list of User Assigned Managed Identity IDs to be assigned to this SAP Single Node Virtual Instance.
         * 
         * @return builder
         * 
         */
        public Builder identityIds(Output> identityIds) {
            $.identityIds = identityIds;
            return this;
        }

        /**
         * @param identityIds A list of User Assigned Managed Identity IDs to be assigned to this SAP Single Node Virtual Instance.
         * 
         * @return builder
         * 
         */
        public Builder identityIds(List identityIds) {
            return identityIds(Output.of(identityIds));
        }

        /**
         * @param identityIds A list of User Assigned Managed Identity IDs to be assigned to this SAP Single Node Virtual Instance.
         * 
         * @return builder
         * 
         */
        public Builder identityIds(String... identityIds) {
            return identityIds(List.of(identityIds));
        }

        /**
         * @param type The type of Managed Service Identity that should be configured on this SAP Single Node Virtual Instance. The only possible value is `UserAssigned`.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The type of Managed Service Identity that should be configured on this SAP Single Node Virtual Instance. The only possible value is `UserAssigned`.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public SingleNodeVirtualInstanceIdentityArgs build() {
            if ($.identityIds == null) {
                throw new MissingRequiredPropertyException("SingleNodeVirtualInstanceIdentityArgs", "identityIds");
            }
            if ($.type == null) {
                throw new MissingRequiredPropertyException("SingleNodeVirtualInstanceIdentityArgs", "type");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy