
com.pulumi.azurenative.workloads.outputs.GetMonitorResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.workloads.outputs;
import com.pulumi.azurenative.workloads.outputs.ManagedRGConfigurationResponse;
import com.pulumi.azurenative.workloads.outputs.MonitorPropertiesResponseErrors;
import com.pulumi.azurenative.workloads.outputs.SystemDataResponse;
import com.pulumi.azurenative.workloads.outputs.UserAssignedServiceIdentityResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetMonitorResult {
/**
* @return The SAP monitor resources will be deployed in the SAP monitoring region. The subnet region should be same as the SAP monitoring region.
*
*/
private @Nullable String appLocation;
/**
* @return Defines the SAP monitor errors.
*
*/
private MonitorPropertiesResponseErrors errors;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return [currently not in use] Managed service identity(user assigned identities)
*
*/
private @Nullable UserAssignedServiceIdentityResponse identity;
/**
* @return The geo-location where the resource lives
*
*/
private String location;
/**
* @return The ARM ID of the Log Analytics Workspace that is used for SAP monitoring.
*
*/
private @Nullable String logAnalyticsWorkspaceArmId;
/**
* @return Managed resource group configuration
*
*/
private @Nullable ManagedRGConfigurationResponse managedResourceGroupConfiguration;
/**
* @return The subnet which the SAP monitor will be deployed in
*
*/
private @Nullable String monitorSubnet;
/**
* @return The ARM ID of the MSI used for SAP monitoring.
*
*/
private String msiArmId;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return State of provisioning of the SAP monitor.
*
*/
private String provisioningState;
/**
* @return Sets the routing preference of the SAP monitor. By default only RFC1918 traffic is routed to the customer VNET.
*
*/
private @Nullable String routingPreference;
/**
* @return The ARM ID of the Storage account used for SAP monitoring.
*
*/
private String storageAccountArmId;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
/**
* @return Sets the preference for zone redundancy on resources created for the SAP monitor. By default resources will be created which do not support zone redundancy.
*
*/
private @Nullable String zoneRedundancyPreference;
private GetMonitorResult() {}
/**
* @return The SAP monitor resources will be deployed in the SAP monitoring region. The subnet region should be same as the SAP monitoring region.
*
*/
public Optional appLocation() {
return Optional.ofNullable(this.appLocation);
}
/**
* @return Defines the SAP monitor errors.
*
*/
public MonitorPropertiesResponseErrors errors() {
return this.errors;
}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return [currently not in use] Managed service identity(user assigned identities)
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return The geo-location where the resource lives
*
*/
public String location() {
return this.location;
}
/**
* @return The ARM ID of the Log Analytics Workspace that is used for SAP monitoring.
*
*/
public Optional logAnalyticsWorkspaceArmId() {
return Optional.ofNullable(this.logAnalyticsWorkspaceArmId);
}
/**
* @return Managed resource group configuration
*
*/
public Optional managedResourceGroupConfiguration() {
return Optional.ofNullable(this.managedResourceGroupConfiguration);
}
/**
* @return The subnet which the SAP monitor will be deployed in
*
*/
public Optional monitorSubnet() {
return Optional.ofNullable(this.monitorSubnet);
}
/**
* @return The ARM ID of the MSI used for SAP monitoring.
*
*/
public String msiArmId() {
return this.msiArmId;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return State of provisioning of the SAP monitor.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Sets the routing preference of the SAP monitor. By default only RFC1918 traffic is routed to the customer VNET.
*
*/
public Optional routingPreference() {
return Optional.ofNullable(this.routingPreference);
}
/**
* @return The ARM ID of the Storage account used for SAP monitoring.
*
*/
public String storageAccountArmId() {
return this.storageAccountArmId;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
/**
* @return Sets the preference for zone redundancy on resources created for the SAP monitor. By default resources will be created which do not support zone redundancy.
*
*/
public Optional zoneRedundancyPreference() {
return Optional.ofNullable(this.zoneRedundancyPreference);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetMonitorResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String appLocation;
private MonitorPropertiesResponseErrors errors;
private String id;
private @Nullable UserAssignedServiceIdentityResponse identity;
private String location;
private @Nullable String logAnalyticsWorkspaceArmId;
private @Nullable ManagedRGConfigurationResponse managedResourceGroupConfiguration;
private @Nullable String monitorSubnet;
private String msiArmId;
private String name;
private String provisioningState;
private @Nullable String routingPreference;
private String storageAccountArmId;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
private @Nullable String zoneRedundancyPreference;
public Builder() {}
public Builder(GetMonitorResult defaults) {
Objects.requireNonNull(defaults);
this.appLocation = defaults.appLocation;
this.errors = defaults.errors;
this.id = defaults.id;
this.identity = defaults.identity;
this.location = defaults.location;
this.logAnalyticsWorkspaceArmId = defaults.logAnalyticsWorkspaceArmId;
this.managedResourceGroupConfiguration = defaults.managedResourceGroupConfiguration;
this.monitorSubnet = defaults.monitorSubnet;
this.msiArmId = defaults.msiArmId;
this.name = defaults.name;
this.provisioningState = defaults.provisioningState;
this.routingPreference = defaults.routingPreference;
this.storageAccountArmId = defaults.storageAccountArmId;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
this.zoneRedundancyPreference = defaults.zoneRedundancyPreference;
}
@CustomType.Setter
public Builder appLocation(@Nullable String appLocation) {
this.appLocation = appLocation;
return this;
}
@CustomType.Setter
public Builder errors(MonitorPropertiesResponseErrors errors) {
if (errors == null) {
throw new MissingRequiredPropertyException("GetMonitorResult", "errors");
}
this.errors = errors;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetMonitorResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(@Nullable UserAssignedServiceIdentityResponse identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetMonitorResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder logAnalyticsWorkspaceArmId(@Nullable String logAnalyticsWorkspaceArmId) {
this.logAnalyticsWorkspaceArmId = logAnalyticsWorkspaceArmId;
return this;
}
@CustomType.Setter
public Builder managedResourceGroupConfiguration(@Nullable ManagedRGConfigurationResponse managedResourceGroupConfiguration) {
this.managedResourceGroupConfiguration = managedResourceGroupConfiguration;
return this;
}
@CustomType.Setter
public Builder monitorSubnet(@Nullable String monitorSubnet) {
this.monitorSubnet = monitorSubnet;
return this;
}
@CustomType.Setter
public Builder msiArmId(String msiArmId) {
if (msiArmId == null) {
throw new MissingRequiredPropertyException("GetMonitorResult", "msiArmId");
}
this.msiArmId = msiArmId;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetMonitorResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetMonitorResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder routingPreference(@Nullable String routingPreference) {
this.routingPreference = routingPreference;
return this;
}
@CustomType.Setter
public Builder storageAccountArmId(String storageAccountArmId) {
if (storageAccountArmId == null) {
throw new MissingRequiredPropertyException("GetMonitorResult", "storageAccountArmId");
}
this.storageAccountArmId = storageAccountArmId;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetMonitorResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetMonitorResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder zoneRedundancyPreference(@Nullable String zoneRedundancyPreference) {
this.zoneRedundancyPreference = zoneRedundancyPreference;
return this;
}
public GetMonitorResult build() {
final var _resultValue = new GetMonitorResult();
_resultValue.appLocation = appLocation;
_resultValue.errors = errors;
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.location = location;
_resultValue.logAnalyticsWorkspaceArmId = logAnalyticsWorkspaceArmId;
_resultValue.managedResourceGroupConfiguration = managedResourceGroupConfiguration;
_resultValue.monitorSubnet = monitorSubnet;
_resultValue.msiArmId = msiArmId;
_resultValue.name = name;
_resultValue.provisioningState = provisioningState;
_resultValue.routingPreference = routingPreference;
_resultValue.storageAccountArmId = storageAccountArmId;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
_resultValue.zoneRedundancyPreference = zoneRedundancyPreference;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy