SharedPrivateLinkResourceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. search. models. SharedPrivateLinkResourceProperties
- com.
Implements
public final class SharedPrivateLinkResourceProperties
implements JsonSerializable<SharedPrivateLinkResourceProperties>
Describes the properties of an existing Shared Private Link Resource managed by the search service.
Constructor Summary
Constructor | Description |
---|---|
SharedPrivateLinkResourceProperties() |
Creates an instance of Shared |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Shared |
fromJson(JsonReader jsonReader)
Reads an instance of Shared |
String |
groupId()
Get the group |
String |
privateLinkResourceId()
Get the private |
Shared |
provisioningState()
Get the provisioning |
String |
requestMessage()
Get the request |
String |
resourceRegion()
Get the resource |
Shared |
status()
Get the status property: Status of the shared private link resource. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Shared |
withGroupId(String groupId)
Set the group |
Shared |
withPrivateLinkResourceId(String privateLinkResourceId)
Set the private |
Shared |
withProvisioningState(SharedPrivateLinkResourceProvisioningState provisioningState)
Set the provisioning |
Shared |
withRequestMessage(String requestMessage)
Set the request |
Shared |
withResourceRegion(String resourceRegion)
Set the resource |
Shared |
withStatus(SharedPrivateLinkResourceStatus status)
Set the status property: Status of the shared private link resource. |
Methods inherited from java.lang.Object
Constructor Details
SharedPrivateLinkResourceProperties
public SharedPrivateLinkResourceProperties()
Creates an instance of SharedPrivateLinkResourceProperties class.
Method Details
fromJson
public static SharedPrivateLinkResourceProperties fromJson(JsonReader jsonReader)
Reads an instance of SharedPrivateLinkResourceProperties from the JsonReader.
Parameters:
Returns:
Throws:
groupId
public String groupId()
Get the groupId property: The group id from the provider of resource the shared private link resource is for.
Returns:
privateLinkResourceId
public String privateLinkResourceId()
Get the privateLinkResourceId property: The resource id of the resource the shared private link resource is for.
Returns:
provisioningState
public SharedPrivateLinkResourceProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete.
Returns:
requestMessage
public String requestMessage()
Get the requestMessage property: The request message for requesting approval of the shared private link resource.
Returns:
resourceRegion
public String resourceRegion()
Get the resourceRegion property: Optional. Can be used to specify the Azure Resource Manager location of the resource to which a shared private link is to be created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service).
Returns:
status
public SharedPrivateLinkResourceStatus status()
Get the status property: Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected.
Returns:
toJson
validate
public void validate()
Validates the instance.
withGroupId
public SharedPrivateLinkResourceProperties withGroupId(String groupId)
Set the groupId property: The group id from the provider of resource the shared private link resource is for.
Parameters:
Returns:
withPrivateLinkResourceId
public SharedPrivateLinkResourceProperties withPrivateLinkResourceId(String privateLinkResourceId)
Set the privateLinkResourceId property: The resource id of the resource the shared private link resource is for.
Parameters:
Returns:
withProvisioningState
public SharedPrivateLinkResourceProperties withProvisioningState(SharedPrivateLinkResourceProvisioningState provisioningState)
Set the provisioningState property: The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete.
Parameters:
Returns:
withRequestMessage
public SharedPrivateLinkResourceProperties withRequestMessage(String requestMessage)
Set the requestMessage property: The request message for requesting approval of the shared private link resource.
Parameters:
Returns:
withResourceRegion
public SharedPrivateLinkResourceProperties withResourceRegion(String resourceRegion)
Set the resourceRegion property: Optional. Can be used to specify the Azure Resource Manager location of the resource to which a shared private link is to be created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service).
Parameters:
Returns:
withStatus
public SharedPrivateLinkResourceProperties withStatus(SharedPrivateLinkResourceStatus status)
Set the status property: Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected.
Parameters:
Returns:
Applies to
Azure SDK for Java