com.pulumi.azure.dashboard.inputs.GrafanaAzureMonitorWorkspaceIntegrationArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
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.
// *** 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.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GrafanaAzureMonitorWorkspaceIntegrationArgs extends com.pulumi.resources.ResourceArgs {
public static final GrafanaAzureMonitorWorkspaceIntegrationArgs Empty = new GrafanaAzureMonitorWorkspaceIntegrationArgs();
/**
* Specifies the resource ID of the connected Azure Monitor Workspace.
*
*/
@Import(name="resourceId", required=true)
private Output resourceId;
/**
* @return Specifies the resource ID of the connected Azure Monitor Workspace.
*
*/
public Output resourceId() {
return this.resourceId;
}
private GrafanaAzureMonitorWorkspaceIntegrationArgs() {}
private GrafanaAzureMonitorWorkspaceIntegrationArgs(GrafanaAzureMonitorWorkspaceIntegrationArgs $) {
this.resourceId = $.resourceId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GrafanaAzureMonitorWorkspaceIntegrationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GrafanaAzureMonitorWorkspaceIntegrationArgs $;
public Builder() {
$ = new GrafanaAzureMonitorWorkspaceIntegrationArgs();
}
public Builder(GrafanaAzureMonitorWorkspaceIntegrationArgs defaults) {
$ = new GrafanaAzureMonitorWorkspaceIntegrationArgs(Objects.requireNonNull(defaults));
}
/**
* @param resourceId Specifies the resource ID of the connected Azure Monitor Workspace.
*
* @return builder
*
*/
public Builder resourceId(Output resourceId) {
$.resourceId = resourceId;
return this;
}
/**
* @param resourceId Specifies the resource ID of the connected Azure Monitor Workspace.
*
* @return builder
*
*/
public Builder resourceId(String resourceId) {
return resourceId(Output.of(resourceId));
}
public GrafanaAzureMonitorWorkspaceIntegrationArgs build() {
if ($.resourceId == null) {
throw new MissingRequiredPropertyException("GrafanaAzureMonitorWorkspaceIntegrationArgs", "resourceId");
}
return $;
}
}
}