
com.pulumi.azurenative.network.outputs.GetProfileResult 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.network.outputs;
import com.pulumi.azurenative.network.outputs.DnsConfigResponse;
import com.pulumi.azurenative.network.outputs.EndpointResponse;
import com.pulumi.azurenative.network.outputs.MonitorConfigResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetProfileResult {
/**
* @return The list of allowed endpoint record types.
*
*/
private @Nullable List allowedEndpointRecordTypes;
/**
* @return The DNS settings of the Traffic Manager profile.
*
*/
private @Nullable DnsConfigResponse dnsConfig;
/**
* @return The list of endpoints in the Traffic Manager profile.
*
*/
private @Nullable List endpoints;
/**
* @return Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
*
*/
private @Nullable String id;
/**
* @return The Azure Region where the resource lives
*
*/
private @Nullable String location;
/**
* @return Maximum number of endpoints to be returned for MultiValue routing type.
*
*/
private @Nullable Double maxReturn;
/**
* @return The endpoint monitoring settings of the Traffic Manager profile.
*
*/
private @Nullable MonitorConfigResponse monitorConfig;
/**
* @return The name of the resource
*
*/
private @Nullable String name;
/**
* @return The status of the Traffic Manager profile.
*
*/
private @Nullable String profileStatus;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return The traffic routing method of the Traffic Manager profile.
*
*/
private @Nullable String trafficRoutingMethod;
/**
* @return Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.
*
*/
private @Nullable String trafficViewEnrollmentStatus;
/**
* @return The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
*
*/
private @Nullable String type;
private GetProfileResult() {}
/**
* @return The list of allowed endpoint record types.
*
*/
public List allowedEndpointRecordTypes() {
return this.allowedEndpointRecordTypes == null ? List.of() : this.allowedEndpointRecordTypes;
}
/**
* @return The DNS settings of the Traffic Manager profile.
*
*/
public Optional dnsConfig() {
return Optional.ofNullable(this.dnsConfig);
}
/**
* @return The list of endpoints in the Traffic Manager profile.
*
*/
public List endpoints() {
return this.endpoints == null ? List.of() : this.endpoints;
}
/**
* @return Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return The Azure Region where the resource lives
*
*/
public Optional location() {
return Optional.ofNullable(this.location);
}
/**
* @return Maximum number of endpoints to be returned for MultiValue routing type.
*
*/
public Optional maxReturn() {
return Optional.ofNullable(this.maxReturn);
}
/**
* @return The endpoint monitoring settings of the Traffic Manager profile.
*
*/
public Optional monitorConfig() {
return Optional.ofNullable(this.monitorConfig);
}
/**
* @return The name of the resource
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return The status of the Traffic Manager profile.
*
*/
public Optional profileStatus() {
return Optional.ofNullable(this.profileStatus);
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The traffic routing method of the Traffic Manager profile.
*
*/
public Optional trafficRoutingMethod() {
return Optional.ofNullable(this.trafficRoutingMethod);
}
/**
* @return Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.
*
*/
public Optional trafficViewEnrollmentStatus() {
return Optional.ofNullable(this.trafficViewEnrollmentStatus);
}
/**
* @return The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetProfileResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List allowedEndpointRecordTypes;
private @Nullable DnsConfigResponse dnsConfig;
private @Nullable List endpoints;
private @Nullable String id;
private @Nullable String location;
private @Nullable Double maxReturn;
private @Nullable MonitorConfigResponse monitorConfig;
private @Nullable String name;
private @Nullable String profileStatus;
private @Nullable Map tags;
private @Nullable String trafficRoutingMethod;
private @Nullable String trafficViewEnrollmentStatus;
private @Nullable String type;
public Builder() {}
public Builder(GetProfileResult defaults) {
Objects.requireNonNull(defaults);
this.allowedEndpointRecordTypes = defaults.allowedEndpointRecordTypes;
this.dnsConfig = defaults.dnsConfig;
this.endpoints = defaults.endpoints;
this.id = defaults.id;
this.location = defaults.location;
this.maxReturn = defaults.maxReturn;
this.monitorConfig = defaults.monitorConfig;
this.name = defaults.name;
this.profileStatus = defaults.profileStatus;
this.tags = defaults.tags;
this.trafficRoutingMethod = defaults.trafficRoutingMethod;
this.trafficViewEnrollmentStatus = defaults.trafficViewEnrollmentStatus;
this.type = defaults.type;
}
@CustomType.Setter
public Builder allowedEndpointRecordTypes(@Nullable List allowedEndpointRecordTypes) {
this.allowedEndpointRecordTypes = allowedEndpointRecordTypes;
return this;
}
public Builder allowedEndpointRecordTypes(String... allowedEndpointRecordTypes) {
return allowedEndpointRecordTypes(List.of(allowedEndpointRecordTypes));
}
@CustomType.Setter
public Builder dnsConfig(@Nullable DnsConfigResponse dnsConfig) {
this.dnsConfig = dnsConfig;
return this;
}
@CustomType.Setter
public Builder endpoints(@Nullable List endpoints) {
this.endpoints = endpoints;
return this;
}
public Builder endpoints(EndpointResponse... endpoints) {
return endpoints(List.of(endpoints));
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(@Nullable String location) {
this.location = location;
return this;
}
@CustomType.Setter
public Builder maxReturn(@Nullable Double maxReturn) {
this.maxReturn = maxReturn;
return this;
}
@CustomType.Setter
public Builder monitorConfig(@Nullable MonitorConfigResponse monitorConfig) {
this.monitorConfig = monitorConfig;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder profileStatus(@Nullable String profileStatus) {
this.profileStatus = profileStatus;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder trafficRoutingMethod(@Nullable String trafficRoutingMethod) {
this.trafficRoutingMethod = trafficRoutingMethod;
return this;
}
@CustomType.Setter
public Builder trafficViewEnrollmentStatus(@Nullable String trafficViewEnrollmentStatus) {
this.trafficViewEnrollmentStatus = trafficViewEnrollmentStatus;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
public GetProfileResult build() {
final var _resultValue = new GetProfileResult();
_resultValue.allowedEndpointRecordTypes = allowedEndpointRecordTypes;
_resultValue.dnsConfig = dnsConfig;
_resultValue.endpoints = endpoints;
_resultValue.id = id;
_resultValue.location = location;
_resultValue.maxReturn = maxReturn;
_resultValue.monitorConfig = monitorConfig;
_resultValue.name = name;
_resultValue.profileStatus = profileStatus;
_resultValue.tags = tags;
_resultValue.trafficRoutingMethod = trafficRoutingMethod;
_resultValue.trafficViewEnrollmentStatus = trafficViewEnrollmentStatus;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy