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

com.pulumi.azure.dashboard.inputs.GetGrafanaIdentity 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.dashboard.inputs;

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


public final class GetGrafanaIdentity extends com.pulumi.resources.InvokeArgs {

    public static final GetGrafanaIdentity Empty = new GetGrafanaIdentity();

    @Import(name="identityIds")
    private @Nullable List identityIds;

    public Optional> identityIds() {
        return Optional.ofNullable(this.identityIds);
    }

    @Import(name="principalId", required=true)
    private String principalId;

    public String principalId() {
        return this.principalId;
    }

    @Import(name="tenantId", required=true)
    private String tenantId;

    public String tenantId() {
        return this.tenantId;
    }

    @Import(name="type", required=true)
    private String type;

    public String type() {
        return this.type;
    }

    private GetGrafanaIdentity() {}

    private GetGrafanaIdentity(GetGrafanaIdentity $) {
        this.identityIds = $.identityIds;
        this.principalId = $.principalId;
        this.tenantId = $.tenantId;
        this.type = $.type;
    }

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

    public static final class Builder {
        private GetGrafanaIdentity $;

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

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

        public Builder identityIds(@Nullable List identityIds) {
            $.identityIds = identityIds;
            return this;
        }

        public Builder identityIds(String... identityIds) {
            return identityIds(List.of(identityIds));
        }

        public Builder principalId(String principalId) {
            $.principalId = principalId;
            return this;
        }

        public Builder tenantId(String tenantId) {
            $.tenantId = tenantId;
            return this;
        }

        public Builder type(String type) {
            $.type = type;
            return this;
        }

        public GetGrafanaIdentity build() {
            if ($.principalId == null) {
                throw new MissingRequiredPropertyException("GetGrafanaIdentity", "principalId");
            }
            if ($.tenantId == null) {
                throw new MissingRequiredPropertyException("GetGrafanaIdentity", "tenantId");
            }
            if ($.type == null) {
                throw new MissingRequiredPropertyException("GetGrafanaIdentity", "type");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy