com.pulumi.azurenative.webpubsub.outputs.GetWebPubSubResult 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.webpubsub.outputs;
import com.pulumi.azurenative.webpubsub.outputs.LiveTraceConfigurationResponse;
import com.pulumi.azurenative.webpubsub.outputs.ManagedIdentityResponse;
import com.pulumi.azurenative.webpubsub.outputs.PrivateEndpointConnectionResponse;
import com.pulumi.azurenative.webpubsub.outputs.ResourceLogConfigurationResponse;
import com.pulumi.azurenative.webpubsub.outputs.ResourceSkuResponse;
import com.pulumi.azurenative.webpubsub.outputs.SharedPrivateLinkResourceResponse;
import com.pulumi.azurenative.webpubsub.outputs.SystemDataResponse;
import com.pulumi.azurenative.webpubsub.outputs.WebPubSubNetworkACLsResponse;
import com.pulumi.azurenative.webpubsub.outputs.WebPubSubTlsSettingsResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
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 GetWebPubSubResult {
/**
* @return DisableLocalAuth
* Enable or disable aad auth
* When set as true, connection with AuthType=aad won't work.
*
*/
private @Nullable Boolean disableAadAuth;
/**
* @return DisableLocalAuth
* Enable or disable local auth with AccessKey
* When set as true, connection with AccessKey=xxx won't work.
*
*/
private @Nullable Boolean disableLocalAuth;
/**
* @return The publicly accessible IP of the resource.
*
*/
private String externalIP;
/**
* @return FQDN of the service instance.
*
*/
private String hostName;
/**
* @return Deprecated.
*
*/
private String hostNamePrefix;
/**
* @return Fully qualified resource Id for the resource.
*
*/
private String id;
/**
* @return A class represent managed identities used for request and response
*
*/
private @Nullable ManagedIdentityResponse identity;
/**
* @return Live trace configuration of a Microsoft.SignalRService resource.
*
*/
private @Nullable LiveTraceConfigurationResponse liveTraceConfiguration;
/**
* @return The GEO location of the resource. e.g. West US | East US | North Central US | South Central US.
*
*/
private @Nullable String location;
/**
* @return The name of the resource.
*
*/
private String name;
/**
* @return Network ACLs for the resource
*
*/
private @Nullable WebPubSubNetworkACLsResponse networkACLs;
/**
* @return Private endpoint connections to the resource.
*
*/
private List privateEndpointConnections;
/**
* @return Provisioning state of the resource.
*
*/
private String provisioningState;
/**
* @return Enable or disable public network access. Default to "Enabled".
* When it's Enabled, network ACLs still apply.
* When it's Disabled, public network access is always disabled no matter what you set in network ACLs.
*
*/
private @Nullable String publicNetworkAccess;
/**
* @return The publicly accessible port of the resource which is designed for browser/client side usage.
*
*/
private Integer publicPort;
/**
* @return Resource log configuration of a Microsoft.SignalRService resource.
*
*/
private @Nullable ResourceLogConfigurationResponse resourceLogConfiguration;
/**
* @return The publicly accessible port of the resource which is designed for customer server side usage.
*
*/
private Integer serverPort;
/**
* @return The list of shared private link resources.
*
*/
private List sharedPrivateLinkResources;
/**
* @return The billing information of the resource.
*
*/
private @Nullable ResourceSkuResponse sku;
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
private SystemDataResponse systemData;
/**
* @return Tags of the service which is a list of key value pairs that describe the resource.
*
*/
private @Nullable Map tags;
/**
* @return TLS settings for the resource
*
*/
private @Nullable WebPubSubTlsSettingsResponse tls;
/**
* @return The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
*
*/
private String type;
/**
* @return Version of the resource. Probably you need the same or higher version of client SDKs.
*
*/
private String version;
private GetWebPubSubResult() {}
/**
* @return DisableLocalAuth
* Enable or disable aad auth
* When set as true, connection with AuthType=aad won't work.
*
*/
public Optional disableAadAuth() {
return Optional.ofNullable(this.disableAadAuth);
}
/**
* @return DisableLocalAuth
* Enable or disable local auth with AccessKey
* When set as true, connection with AccessKey=xxx won't work.
*
*/
public Optional disableLocalAuth() {
return Optional.ofNullable(this.disableLocalAuth);
}
/**
* @return The publicly accessible IP of the resource.
*
*/
public String externalIP() {
return this.externalIP;
}
/**
* @return FQDN of the service instance.
*
*/
public String hostName() {
return this.hostName;
}
/**
* @return Deprecated.
*
*/
public String hostNamePrefix() {
return this.hostNamePrefix;
}
/**
* @return Fully qualified resource Id for the resource.
*
*/
public String id() {
return this.id;
}
/**
* @return A class represent managed identities used for request and response
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return Live trace configuration of a Microsoft.SignalRService resource.
*
*/
public Optional liveTraceConfiguration() {
return Optional.ofNullable(this.liveTraceConfiguration);
}
/**
* @return The GEO location of the resource. e.g. West US | East US | North Central US | South Central US.
*
*/
public Optional location() {
return Optional.ofNullable(this.location);
}
/**
* @return The name of the resource.
*
*/
public String name() {
return this.name;
}
/**
* @return Network ACLs for the resource
*
*/
public Optional networkACLs() {
return Optional.ofNullable(this.networkACLs);
}
/**
* @return Private endpoint connections to the resource.
*
*/
public List privateEndpointConnections() {
return this.privateEndpointConnections;
}
/**
* @return Provisioning state of the resource.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Enable or disable public network access. Default to "Enabled".
* When it's Enabled, network ACLs still apply.
* When it's Disabled, public network access is always disabled no matter what you set in network ACLs.
*
*/
public Optional publicNetworkAccess() {
return Optional.ofNullable(this.publicNetworkAccess);
}
/**
* @return The publicly accessible port of the resource which is designed for browser/client side usage.
*
*/
public Integer publicPort() {
return this.publicPort;
}
/**
* @return Resource log configuration of a Microsoft.SignalRService resource.
*
*/
public Optional resourceLogConfiguration() {
return Optional.ofNullable(this.resourceLogConfiguration);
}
/**
* @return The publicly accessible port of the resource which is designed for customer server side usage.
*
*/
public Integer serverPort() {
return this.serverPort;
}
/**
* @return The list of shared private link resources.
*
*/
public List sharedPrivateLinkResources() {
return this.sharedPrivateLinkResources;
}
/**
* @return The billing information of the resource.
*
*/
public Optional sku() {
return Optional.ofNullable(this.sku);
}
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Tags of the service which is a list of key value pairs that describe the resource.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return TLS settings for the resource
*
*/
public Optional tls() {
return Optional.ofNullable(this.tls);
}
/**
* @return The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
*
*/
public String type() {
return this.type;
}
/**
* @return Version of the resource. Probably you need the same or higher version of client SDKs.
*
*/
public String version() {
return this.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetWebPubSubResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean disableAadAuth;
private @Nullable Boolean disableLocalAuth;
private String externalIP;
private String hostName;
private String hostNamePrefix;
private String id;
private @Nullable ManagedIdentityResponse identity;
private @Nullable LiveTraceConfigurationResponse liveTraceConfiguration;
private @Nullable String location;
private String name;
private @Nullable WebPubSubNetworkACLsResponse networkACLs;
private List privateEndpointConnections;
private String provisioningState;
private @Nullable String publicNetworkAccess;
private Integer publicPort;
private @Nullable ResourceLogConfigurationResponse resourceLogConfiguration;
private Integer serverPort;
private List sharedPrivateLinkResources;
private @Nullable ResourceSkuResponse sku;
private SystemDataResponse systemData;
private @Nullable Map tags;
private @Nullable WebPubSubTlsSettingsResponse tls;
private String type;
private String version;
public Builder() {}
public Builder(GetWebPubSubResult defaults) {
Objects.requireNonNull(defaults);
this.disableAadAuth = defaults.disableAadAuth;
this.disableLocalAuth = defaults.disableLocalAuth;
this.externalIP = defaults.externalIP;
this.hostName = defaults.hostName;
this.hostNamePrefix = defaults.hostNamePrefix;
this.id = defaults.id;
this.identity = defaults.identity;
this.liveTraceConfiguration = defaults.liveTraceConfiguration;
this.location = defaults.location;
this.name = defaults.name;
this.networkACLs = defaults.networkACLs;
this.privateEndpointConnections = defaults.privateEndpointConnections;
this.provisioningState = defaults.provisioningState;
this.publicNetworkAccess = defaults.publicNetworkAccess;
this.publicPort = defaults.publicPort;
this.resourceLogConfiguration = defaults.resourceLogConfiguration;
this.serverPort = defaults.serverPort;
this.sharedPrivateLinkResources = defaults.sharedPrivateLinkResources;
this.sku = defaults.sku;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.tls = defaults.tls;
this.type = defaults.type;
this.version = defaults.version;
}
@CustomType.Setter
public Builder disableAadAuth(@Nullable Boolean disableAadAuth) {
this.disableAadAuth = disableAadAuth;
return this;
}
@CustomType.Setter
public Builder disableLocalAuth(@Nullable Boolean disableLocalAuth) {
this.disableLocalAuth = disableLocalAuth;
return this;
}
@CustomType.Setter
public Builder externalIP(String externalIP) {
if (externalIP == null) {
throw new MissingRequiredPropertyException("GetWebPubSubResult", "externalIP");
}
this.externalIP = externalIP;
return this;
}
@CustomType.Setter
public Builder hostName(String hostName) {
if (hostName == null) {
throw new MissingRequiredPropertyException("GetWebPubSubResult", "hostName");
}
this.hostName = hostName;
return this;
}
@CustomType.Setter
public Builder hostNamePrefix(String hostNamePrefix) {
if (hostNamePrefix == null) {
throw new MissingRequiredPropertyException("GetWebPubSubResult", "hostNamePrefix");
}
this.hostNamePrefix = hostNamePrefix;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetWebPubSubResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(@Nullable ManagedIdentityResponse identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder liveTraceConfiguration(@Nullable LiveTraceConfigurationResponse liveTraceConfiguration) {
this.liveTraceConfiguration = liveTraceConfiguration;
return this;
}
@CustomType.Setter
public Builder location(@Nullable String location) {
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetWebPubSubResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder networkACLs(@Nullable WebPubSubNetworkACLsResponse networkACLs) {
this.networkACLs = networkACLs;
return this;
}
@CustomType.Setter
public Builder privateEndpointConnections(List privateEndpointConnections) {
if (privateEndpointConnections == null) {
throw new MissingRequiredPropertyException("GetWebPubSubResult", "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("GetWebPubSubResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder publicNetworkAccess(@Nullable String publicNetworkAccess) {
this.publicNetworkAccess = publicNetworkAccess;
return this;
}
@CustomType.Setter
public Builder publicPort(Integer publicPort) {
if (publicPort == null) {
throw new MissingRequiredPropertyException("GetWebPubSubResult", "publicPort");
}
this.publicPort = publicPort;
return this;
}
@CustomType.Setter
public Builder resourceLogConfiguration(@Nullable ResourceLogConfigurationResponse resourceLogConfiguration) {
this.resourceLogConfiguration = resourceLogConfiguration;
return this;
}
@CustomType.Setter
public Builder serverPort(Integer serverPort) {
if (serverPort == null) {
throw new MissingRequiredPropertyException("GetWebPubSubResult", "serverPort");
}
this.serverPort = serverPort;
return this;
}
@CustomType.Setter
public Builder sharedPrivateLinkResources(List sharedPrivateLinkResources) {
if (sharedPrivateLinkResources == null) {
throw new MissingRequiredPropertyException("GetWebPubSubResult", "sharedPrivateLinkResources");
}
this.sharedPrivateLinkResources = sharedPrivateLinkResources;
return this;
}
public Builder sharedPrivateLinkResources(SharedPrivateLinkResourceResponse... sharedPrivateLinkResources) {
return sharedPrivateLinkResources(List.of(sharedPrivateLinkResources));
}
@CustomType.Setter
public Builder sku(@Nullable ResourceSkuResponse sku) {
this.sku = sku;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetWebPubSubResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder tls(@Nullable WebPubSubTlsSettingsResponse tls) {
this.tls = tls;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetWebPubSubResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder version(String version) {
if (version == null) {
throw new MissingRequiredPropertyException("GetWebPubSubResult", "version");
}
this.version = version;
return this;
}
public GetWebPubSubResult build() {
final var _resultValue = new GetWebPubSubResult();
_resultValue.disableAadAuth = disableAadAuth;
_resultValue.disableLocalAuth = disableLocalAuth;
_resultValue.externalIP = externalIP;
_resultValue.hostName = hostName;
_resultValue.hostNamePrefix = hostNamePrefix;
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.liveTraceConfiguration = liveTraceConfiguration;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.networkACLs = networkACLs;
_resultValue.privateEndpointConnections = privateEndpointConnections;
_resultValue.provisioningState = provisioningState;
_resultValue.publicNetworkAccess = publicNetworkAccess;
_resultValue.publicPort = publicPort;
_resultValue.resourceLogConfiguration = resourceLogConfiguration;
_resultValue.serverPort = serverPort;
_resultValue.sharedPrivateLinkResources = sharedPrivateLinkResources;
_resultValue.sku = sku;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.tls = tls;
_resultValue.type = type;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy