Class HybridComputePrivateLinkScopeProperties
java.lang.Object
com.azure.resourcemanager.hybridcompute.models.HybridComputePrivateLinkScopeProperties
Properties that define a Azure Arc PrivateLinkScope resource.
-
Constructor Summary
ConstructorDescriptionCreates an instance of HybridComputePrivateLinkScopeProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet 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.void
validate()
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.
-
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-