com.azure.resourcemanager.hybridcompute.fluent.models.ProvisioningIssueProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-hybridcompute Show documentation
Show all versions of azure-resourcemanager-hybridcompute Show documentation
This package contains Microsoft Azure SDK for HybridCompute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Hybrid Compute Management Client. Package tag package-preview-2024-07.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.hybridcompute.fluent.models;
import com.azure.core.annotation.Immutable;
import com.azure.resourcemanager.hybridcompute.models.AccessRule;
import com.azure.resourcemanager.hybridcompute.models.ProvisioningIssueSeverity;
import com.azure.resourcemanager.hybridcompute.models.ProvisioningIssueType;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* Properties of a provisioning issue.
*/
@Immutable
public final class ProvisioningIssueProperties {
/*
* Issue type
*/
@JsonProperty(value = "issueType", access = JsonProperty.Access.WRITE_ONLY)
private ProvisioningIssueType issueType;
/*
* Severity of the provisioning issue.
*/
@JsonProperty(value = "severity", access = JsonProperty.Access.WRITE_ONLY)
private ProvisioningIssueSeverity severity;
/*
* Description of the provisioning issue.
*/
@JsonProperty(value = "description", access = JsonProperty.Access.WRITE_ONLY)
private String description;
/*
* ARM Ids of the resources that can be associated to the same perimeter to remediate the issue
*/
@JsonProperty(value = "suggestedResourceIds", access = JsonProperty.Access.WRITE_ONLY)
private List suggestedResourceIds;
/*
* Access rules that can be added to the perimeter to remediate the issue
*/
@JsonProperty(value = "suggestedAccessRules", access = JsonProperty.Access.WRITE_ONLY)
private List suggestedAccessRules;
/**
* Creates an instance of ProvisioningIssueProperties class.
*/
public ProvisioningIssueProperties() {
}
/**
* Get the issueType property: Issue type.
*
* @return the issueType value.
*/
public ProvisioningIssueType issueType() {
return this.issueType;
}
/**
* Get the severity property: Severity of the provisioning issue.
*
* @return the severity value.
*/
public ProvisioningIssueSeverity severity() {
return this.severity;
}
/**
* Get the description property: Description of the provisioning issue.
*
* @return the description value.
*/
public String description() {
return this.description;
}
/**
* Get the suggestedResourceIds property: ARM Ids of the resources that can be associated to the same perimeter to
* remediate the issue.
*
* @return the suggestedResourceIds value.
*/
public List suggestedResourceIds() {
return this.suggestedResourceIds;
}
/**
* Get the suggestedAccessRules property: Access rules that can be added to the perimeter to remediate the issue.
*
* @return the suggestedAccessRules value.
*/
public List suggestedAccessRules() {
return this.suggestedAccessRules;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (suggestedAccessRules() != null) {
suggestedAccessRules().forEach(e -> e.validate());
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy