
com.pulumi.azurenative.cognitiveservices.outputs.AccountPropertiesResponse Maven / Gradle / Ivy
// *** 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.cognitiveservices.outputs;
import com.pulumi.azurenative.cognitiveservices.outputs.AbusePenaltyResponse;
import com.pulumi.azurenative.cognitiveservices.outputs.ApiPropertiesResponse;
import com.pulumi.azurenative.cognitiveservices.outputs.CallRateLimitResponse;
import com.pulumi.azurenative.cognitiveservices.outputs.CommitmentPlanAssociationResponse;
import com.pulumi.azurenative.cognitiveservices.outputs.EncryptionResponse;
import com.pulumi.azurenative.cognitiveservices.outputs.MultiRegionSettingsResponse;
import com.pulumi.azurenative.cognitiveservices.outputs.NetworkRuleSetResponse;
import com.pulumi.azurenative.cognitiveservices.outputs.PrivateEndpointConnectionResponse;
import com.pulumi.azurenative.cognitiveservices.outputs.QuotaLimitResponse;
import com.pulumi.azurenative.cognitiveservices.outputs.SkuCapabilityResponse;
import com.pulumi.azurenative.cognitiveservices.outputs.SkuChangeInfoResponse;
import com.pulumi.azurenative.cognitiveservices.outputs.UserOwnedStorageResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
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 AccountPropertiesResponse {
/**
* @return The abuse penalty.
*
*/
private AbusePenaltyResponse abusePenalty;
private @Nullable List allowedFqdnList;
/**
* @return The api properties for special APIs.
*
*/
private @Nullable ApiPropertiesResponse apiProperties;
/**
* @return The call rate limit Cognitive Services account.
*
*/
private CallRateLimitResponse callRateLimit;
/**
* @return Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only.
*
*/
private List capabilities;
/**
* @return The commitment plan associations of Cognitive Services account.
*
*/
private List commitmentPlanAssociations;
/**
* @return Optional subdomain name used for token-based authentication.
*
*/
private @Nullable String customSubDomainName;
/**
* @return Gets the date of cognitive services account creation.
*
*/
private String dateCreated;
/**
* @return The deletion date, only available for deleted account.
*
*/
private String deletionDate;
private @Nullable Boolean disableLocalAuth;
/**
* @return The flag to enable dynamic throttling.
*
*/
private @Nullable Boolean dynamicThrottlingEnabled;
/**
* @return The encryption properties for this resource.
*
*/
private @Nullable EncryptionResponse encryption;
/**
* @return Endpoint of the created account.
*
*/
private String endpoint;
private Map endpoints;
/**
* @return The internal identifier (deprecated, do not use this property).
*
*/
private String internalId;
/**
* @return If the resource is migrated from an existing key.
*
*/
private Boolean isMigrated;
/**
* @return The multiregion settings of Cognitive Services account.
*
*/
private @Nullable MultiRegionSettingsResponse locations;
/**
* @return Resource migration token.
*
*/
private @Nullable String migrationToken;
/**
* @return A collection of rules governing the accessibility from specific network locations.
*
*/
private @Nullable NetworkRuleSetResponse networkAcls;
/**
* @return The private endpoint connection associated with the Cognitive Services account.
*
*/
private List privateEndpointConnections;
/**
* @return Gets the status of the cognitive services account at the time the operation was called.
*
*/
private String provisioningState;
/**
* @return Whether or not public endpoint access is allowed for this account.
*
*/
private @Nullable String publicNetworkAccess;
private QuotaLimitResponse quotaLimit;
private @Nullable Boolean restrictOutboundNetworkAccess;
/**
* @return The scheduled purge date, only available for deleted account.
*
*/
private String scheduledPurgeDate;
/**
* @return Sku change info of account.
*
*/
private SkuChangeInfoResponse skuChangeInfo;
/**
* @return The storage accounts for this resource.
*
*/
private @Nullable List userOwnedStorage;
private AccountPropertiesResponse() {}
/**
* @return The abuse penalty.
*
*/
public AbusePenaltyResponse abusePenalty() {
return this.abusePenalty;
}
public List allowedFqdnList() {
return this.allowedFqdnList == null ? List.of() : this.allowedFqdnList;
}
/**
* @return The api properties for special APIs.
*
*/
public Optional apiProperties() {
return Optional.ofNullable(this.apiProperties);
}
/**
* @return The call rate limit Cognitive Services account.
*
*/
public CallRateLimitResponse callRateLimit() {
return this.callRateLimit;
}
/**
* @return Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only.
*
*/
public List capabilities() {
return this.capabilities;
}
/**
* @return The commitment plan associations of Cognitive Services account.
*
*/
public List commitmentPlanAssociations() {
return this.commitmentPlanAssociations;
}
/**
* @return Optional subdomain name used for token-based authentication.
*
*/
public Optional customSubDomainName() {
return Optional.ofNullable(this.customSubDomainName);
}
/**
* @return Gets the date of cognitive services account creation.
*
*/
public String dateCreated() {
return this.dateCreated;
}
/**
* @return The deletion date, only available for deleted account.
*
*/
public String deletionDate() {
return this.deletionDate;
}
public Optional disableLocalAuth() {
return Optional.ofNullable(this.disableLocalAuth);
}
/**
* @return The flag to enable dynamic throttling.
*
*/
public Optional dynamicThrottlingEnabled() {
return Optional.ofNullable(this.dynamicThrottlingEnabled);
}
/**
* @return The encryption properties for this resource.
*
*/
public Optional encryption() {
return Optional.ofNullable(this.encryption);
}
/**
* @return Endpoint of the created account.
*
*/
public String endpoint() {
return this.endpoint;
}
public Map endpoints() {
return this.endpoints;
}
/**
* @return The internal identifier (deprecated, do not use this property).
*
*/
public String internalId() {
return this.internalId;
}
/**
* @return If the resource is migrated from an existing key.
*
*/
public Boolean isMigrated() {
return this.isMigrated;
}
/**
* @return The multiregion settings of Cognitive Services account.
*
*/
public Optional locations() {
return Optional.ofNullable(this.locations);
}
/**
* @return Resource migration token.
*
*/
public Optional migrationToken() {
return Optional.ofNullable(this.migrationToken);
}
/**
* @return A collection of rules governing the accessibility from specific network locations.
*
*/
public Optional networkAcls() {
return Optional.ofNullable(this.networkAcls);
}
/**
* @return The private endpoint connection associated with the Cognitive Services account.
*
*/
public List privateEndpointConnections() {
return this.privateEndpointConnections;
}
/**
* @return Gets the status of the cognitive services account at the time the operation was called.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Whether or not public endpoint access is allowed for this account.
*
*/
public Optional publicNetworkAccess() {
return Optional.ofNullable(this.publicNetworkAccess);
}
public QuotaLimitResponse quotaLimit() {
return this.quotaLimit;
}
public Optional restrictOutboundNetworkAccess() {
return Optional.ofNullable(this.restrictOutboundNetworkAccess);
}
/**
* @return The scheduled purge date, only available for deleted account.
*
*/
public String scheduledPurgeDate() {
return this.scheduledPurgeDate;
}
/**
* @return Sku change info of account.
*
*/
public SkuChangeInfoResponse skuChangeInfo() {
return this.skuChangeInfo;
}
/**
* @return The storage accounts for this resource.
*
*/
public List userOwnedStorage() {
return this.userOwnedStorage == null ? List.of() : this.userOwnedStorage;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AccountPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private AbusePenaltyResponse abusePenalty;
private @Nullable List allowedFqdnList;
private @Nullable ApiPropertiesResponse apiProperties;
private CallRateLimitResponse callRateLimit;
private List capabilities;
private List commitmentPlanAssociations;
private @Nullable String customSubDomainName;
private String dateCreated;
private String deletionDate;
private @Nullable Boolean disableLocalAuth;
private @Nullable Boolean dynamicThrottlingEnabled;
private @Nullable EncryptionResponse encryption;
private String endpoint;
private Map endpoints;
private String internalId;
private Boolean isMigrated;
private @Nullable MultiRegionSettingsResponse locations;
private @Nullable String migrationToken;
private @Nullable NetworkRuleSetResponse networkAcls;
private List privateEndpointConnections;
private String provisioningState;
private @Nullable String publicNetworkAccess;
private QuotaLimitResponse quotaLimit;
private @Nullable Boolean restrictOutboundNetworkAccess;
private String scheduledPurgeDate;
private SkuChangeInfoResponse skuChangeInfo;
private @Nullable List userOwnedStorage;
public Builder() {}
public Builder(AccountPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.abusePenalty = defaults.abusePenalty;
this.allowedFqdnList = defaults.allowedFqdnList;
this.apiProperties = defaults.apiProperties;
this.callRateLimit = defaults.callRateLimit;
this.capabilities = defaults.capabilities;
this.commitmentPlanAssociations = defaults.commitmentPlanAssociations;
this.customSubDomainName = defaults.customSubDomainName;
this.dateCreated = defaults.dateCreated;
this.deletionDate = defaults.deletionDate;
this.disableLocalAuth = defaults.disableLocalAuth;
this.dynamicThrottlingEnabled = defaults.dynamicThrottlingEnabled;
this.encryption = defaults.encryption;
this.endpoint = defaults.endpoint;
this.endpoints = defaults.endpoints;
this.internalId = defaults.internalId;
this.isMigrated = defaults.isMigrated;
this.locations = defaults.locations;
this.migrationToken = defaults.migrationToken;
this.networkAcls = defaults.networkAcls;
this.privateEndpointConnections = defaults.privateEndpointConnections;
this.provisioningState = defaults.provisioningState;
this.publicNetworkAccess = defaults.publicNetworkAccess;
this.quotaLimit = defaults.quotaLimit;
this.restrictOutboundNetworkAccess = defaults.restrictOutboundNetworkAccess;
this.scheduledPurgeDate = defaults.scheduledPurgeDate;
this.skuChangeInfo = defaults.skuChangeInfo;
this.userOwnedStorage = defaults.userOwnedStorage;
}
@CustomType.Setter
public Builder abusePenalty(AbusePenaltyResponse abusePenalty) {
if (abusePenalty == null) {
throw new MissingRequiredPropertyException("AccountPropertiesResponse", "abusePenalty");
}
this.abusePenalty = abusePenalty;
return this;
}
@CustomType.Setter
public Builder allowedFqdnList(@Nullable List allowedFqdnList) {
this.allowedFqdnList = allowedFqdnList;
return this;
}
public Builder allowedFqdnList(String... allowedFqdnList) {
return allowedFqdnList(List.of(allowedFqdnList));
}
@CustomType.Setter
public Builder apiProperties(@Nullable ApiPropertiesResponse apiProperties) {
this.apiProperties = apiProperties;
return this;
}
@CustomType.Setter
public Builder callRateLimit(CallRateLimitResponse callRateLimit) {
if (callRateLimit == null) {
throw new MissingRequiredPropertyException("AccountPropertiesResponse", "callRateLimit");
}
this.callRateLimit = callRateLimit;
return this;
}
@CustomType.Setter
public Builder capabilities(List capabilities) {
if (capabilities == null) {
throw new MissingRequiredPropertyException("AccountPropertiesResponse", "capabilities");
}
this.capabilities = capabilities;
return this;
}
public Builder capabilities(SkuCapabilityResponse... capabilities) {
return capabilities(List.of(capabilities));
}
@CustomType.Setter
public Builder commitmentPlanAssociations(List commitmentPlanAssociations) {
if (commitmentPlanAssociations == null) {
throw new MissingRequiredPropertyException("AccountPropertiesResponse", "commitmentPlanAssociations");
}
this.commitmentPlanAssociations = commitmentPlanAssociations;
return this;
}
public Builder commitmentPlanAssociations(CommitmentPlanAssociationResponse... commitmentPlanAssociations) {
return commitmentPlanAssociations(List.of(commitmentPlanAssociations));
}
@CustomType.Setter
public Builder customSubDomainName(@Nullable String customSubDomainName) {
this.customSubDomainName = customSubDomainName;
return this;
}
@CustomType.Setter
public Builder dateCreated(String dateCreated) {
if (dateCreated == null) {
throw new MissingRequiredPropertyException("AccountPropertiesResponse", "dateCreated");
}
this.dateCreated = dateCreated;
return this;
}
@CustomType.Setter
public Builder deletionDate(String deletionDate) {
if (deletionDate == null) {
throw new MissingRequiredPropertyException("AccountPropertiesResponse", "deletionDate");
}
this.deletionDate = deletionDate;
return this;
}
@CustomType.Setter
public Builder disableLocalAuth(@Nullable Boolean disableLocalAuth) {
this.disableLocalAuth = disableLocalAuth;
return this;
}
@CustomType.Setter
public Builder dynamicThrottlingEnabled(@Nullable Boolean dynamicThrottlingEnabled) {
this.dynamicThrottlingEnabled = dynamicThrottlingEnabled;
return this;
}
@CustomType.Setter
public Builder encryption(@Nullable EncryptionResponse encryption) {
this.encryption = encryption;
return this;
}
@CustomType.Setter
public Builder endpoint(String endpoint) {
if (endpoint == null) {
throw new MissingRequiredPropertyException("AccountPropertiesResponse", "endpoint");
}
this.endpoint = endpoint;
return this;
}
@CustomType.Setter
public Builder endpoints(Map endpoints) {
if (endpoints == null) {
throw new MissingRequiredPropertyException("AccountPropertiesResponse", "endpoints");
}
this.endpoints = endpoints;
return this;
}
@CustomType.Setter
public Builder internalId(String internalId) {
if (internalId == null) {
throw new MissingRequiredPropertyException("AccountPropertiesResponse", "internalId");
}
this.internalId = internalId;
return this;
}
@CustomType.Setter
public Builder isMigrated(Boolean isMigrated) {
if (isMigrated == null) {
throw new MissingRequiredPropertyException("AccountPropertiesResponse", "isMigrated");
}
this.isMigrated = isMigrated;
return this;
}
@CustomType.Setter
public Builder locations(@Nullable MultiRegionSettingsResponse locations) {
this.locations = locations;
return this;
}
@CustomType.Setter
public Builder migrationToken(@Nullable String migrationToken) {
this.migrationToken = migrationToken;
return this;
}
@CustomType.Setter
public Builder networkAcls(@Nullable NetworkRuleSetResponse networkAcls) {
this.networkAcls = networkAcls;
return this;
}
@CustomType.Setter
public Builder privateEndpointConnections(List privateEndpointConnections) {
if (privateEndpointConnections == null) {
throw new MissingRequiredPropertyException("AccountPropertiesResponse", "privateEndpointConnections");
}
this.privateEndpointConnections = privateEndpointConnections;
return this;
}
public Builder privateEndpointConnections(PrivateEndpointConnectionResponse... privateEndpointConnections) {
return privateEndpointConnections(List.of(privateEndpointConnections));
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("AccountPropertiesResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder publicNetworkAccess(@Nullable String publicNetworkAccess) {
this.publicNetworkAccess = publicNetworkAccess;
return this;
}
@CustomType.Setter
public Builder quotaLimit(QuotaLimitResponse quotaLimit) {
if (quotaLimit == null) {
throw new MissingRequiredPropertyException("AccountPropertiesResponse", "quotaLimit");
}
this.quotaLimit = quotaLimit;
return this;
}
@CustomType.Setter
public Builder restrictOutboundNetworkAccess(@Nullable Boolean restrictOutboundNetworkAccess) {
this.restrictOutboundNetworkAccess = restrictOutboundNetworkAccess;
return this;
}
@CustomType.Setter
public Builder scheduledPurgeDate(String scheduledPurgeDate) {
if (scheduledPurgeDate == null) {
throw new MissingRequiredPropertyException("AccountPropertiesResponse", "scheduledPurgeDate");
}
this.scheduledPurgeDate = scheduledPurgeDate;
return this;
}
@CustomType.Setter
public Builder skuChangeInfo(SkuChangeInfoResponse skuChangeInfo) {
if (skuChangeInfo == null) {
throw new MissingRequiredPropertyException("AccountPropertiesResponse", "skuChangeInfo");
}
this.skuChangeInfo = skuChangeInfo;
return this;
}
@CustomType.Setter
public Builder userOwnedStorage(@Nullable List userOwnedStorage) {
this.userOwnedStorage = userOwnedStorage;
return this;
}
public Builder userOwnedStorage(UserOwnedStorageResponse... userOwnedStorage) {
return userOwnedStorage(List.of(userOwnedStorage));
}
public AccountPropertiesResponse build() {
final var _resultValue = new AccountPropertiesResponse();
_resultValue.abusePenalty = abusePenalty;
_resultValue.allowedFqdnList = allowedFqdnList;
_resultValue.apiProperties = apiProperties;
_resultValue.callRateLimit = callRateLimit;
_resultValue.capabilities = capabilities;
_resultValue.commitmentPlanAssociations = commitmentPlanAssociations;
_resultValue.customSubDomainName = customSubDomainName;
_resultValue.dateCreated = dateCreated;
_resultValue.deletionDate = deletionDate;
_resultValue.disableLocalAuth = disableLocalAuth;
_resultValue.dynamicThrottlingEnabled = dynamicThrottlingEnabled;
_resultValue.encryption = encryption;
_resultValue.endpoint = endpoint;
_resultValue.endpoints = endpoints;
_resultValue.internalId = internalId;
_resultValue.isMigrated = isMigrated;
_resultValue.locations = locations;
_resultValue.migrationToken = migrationToken;
_resultValue.networkAcls = networkAcls;
_resultValue.privateEndpointConnections = privateEndpointConnections;
_resultValue.provisioningState = provisioningState;
_resultValue.publicNetworkAccess = publicNetworkAccess;
_resultValue.quotaLimit = quotaLimit;
_resultValue.restrictOutboundNetworkAccess = restrictOutboundNetworkAccess;
_resultValue.scheduledPurgeDate = scheduledPurgeDate;
_resultValue.skuChangeInfo = skuChangeInfo;
_resultValue.userOwnedStorage = userOwnedStorage;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy