Class HybridComputePrivateLinkScopeProperties
java.lang.Object
com.azure.resourcemanager.hybridcompute.models.HybridComputePrivateLinkScopeProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<HybridComputePrivateLinkScopeProperties>
public final class HybridComputePrivateLinkScopeProperties
extends Object
implements com.azure.json.JsonSerializable<HybridComputePrivateLinkScopeProperties>
Properties that define a Azure Arc PrivateLinkScope resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of HybridComputePrivateLinkScopeProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of HybridComputePrivateLinkScopeProperties from the JsonReader.Get the privateEndpointConnections property: The collection of associated Private Endpoint Connections.Get the privateLinkScopeId property: The Guid id of the private link scope.Get the provisioningState property: Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined.Get the publicNetworkAccess property: Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withPublicNetworkAccess(PublicNetworkAccessType publicNetworkAccess) Set the publicNetworkAccess property: Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
HybridComputePrivateLinkScopeProperties
public HybridComputePrivateLinkScopeProperties()Creates an instance of HybridComputePrivateLinkScopeProperties class.
-
-
Method Details
-
publicNetworkAccess
Get the publicNetworkAccess property: Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
public HybridComputePrivateLinkScopeProperties withPublicNetworkAccess(PublicNetworkAccessType publicNetworkAccess) Set the publicNetworkAccess property: Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.- Parameters:
publicNetworkAccess- the publicNetworkAccess value to set.- Returns:
- the HybridComputePrivateLinkScopeProperties object itself.
-
provisioningState
Get the provisioningState property: Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.- Returns:
- the provisioningState value.
-
privateLinkScopeId
Get the privateLinkScopeId property: The Guid id of the private link scope.- Returns:
- the privateLinkScopeId value.
-
privateEndpointConnections
Get the privateEndpointConnections property: The collection of associated Private Endpoint Connections.- Returns:
- the privateEndpointConnections value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<HybridComputePrivateLinkScopeProperties>- Throws:
IOException
-
fromJson
public static HybridComputePrivateLinkScopeProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of HybridComputePrivateLinkScopeProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of HybridComputePrivateLinkScopeProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the HybridComputePrivateLinkScopeProperties.
-