你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SharedPrivateLinkResourceProperties 类
- java.
lang. Object - com.
microsoft. azure. management. cdn. SharedPrivateLinkResourceProperties
- com.
public class SharedPrivateLinkResourceProperties
描述连接到专用源时要使用的现有共享专用链接资源的属性。
构造函数摘要
构造函数 | 说明 | |
---|---|---|
SharedPrivateLinkResourceProperties() |
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
java.lang.String |
groupId()
从共享专用链接资源所属的资源提供程序获取组 ID。 |
Resource |
privateLink()
获取共享专用链接资源所针对的资源的资源 ID。 |
java.lang.String |
privateLinkLocation()
获取共享专用链接资源的位置。 |
java.lang.String |
requestMessage()
获取请求批准共享专用链接资源的请求消息。 |
Shared |
status()
获取共享专用链接资源的状态。 |
Shared |
withGroupId(String groupId)
从共享专用链接资源所属的资源提供程序设置组 ID。 |
Shared |
withPrivateLink(ResourceReference privateLink)
设置共享专用链接资源所针对的资源的资源 ID。 |
Shared |
withPrivateLinkLocation(String privateLinkLocation)
设置共享专用链接资源的位置。 |
Shared |
withRequestMessage(String requestMessage)
设置请求批准共享专用链接资源的请求消息。 |
Shared |
withStatus(SharedPrivateLinkResourceStatus status)
设置共享专用链接资源的状态。 |
方法继承自 java.lang.Object
构造函数详细信息
SharedPrivateLinkResourceProperties
public SharedPrivateLinkResourceProperties()
方法详细信息
groupId
public String groupId()
从共享专用链接资源所属的资源提供程序获取组 ID。
Returns:
privateLink
public ResourceReference privateLink()
获取共享专用链接资源所针对的资源的资源 ID。
Returns:
privateLinkLocation
public String privateLinkLocation()
获取共享专用链接资源的位置。
Returns:
requestMessage
public String requestMessage()
获取请求批准共享专用链接资源的请求消息。
Returns:
status
public SharedPrivateLinkResourceStatus status()
获取共享专用链接资源的状态。 可以是“挂起”、“已批准”、“已拒绝”、“断开连接”或“超时”。 可能的值包括:“Pending”、“Approved”、“Rejected”、“Disconnected”、“Timeout”。
Returns:
withGroupId
public SharedPrivateLinkResourceProperties withGroupId(String groupId)
从共享专用链接资源所属的资源提供程序设置组 ID。
Parameters:
Returns:
withPrivateLink
public SharedPrivateLinkResourceProperties withPrivateLink(ResourceReference privateLink)
设置共享专用链接资源所针对的资源的资源 ID。
Parameters:
Returns:
withPrivateLinkLocation
public SharedPrivateLinkResourceProperties withPrivateLinkLocation(String privateLinkLocation)
设置共享专用链接资源的位置。
Parameters:
Returns:
withRequestMessage
public SharedPrivateLinkResourceProperties withRequestMessage(String requestMessage)
设置请求批准共享专用链接资源的请求消息。
Parameters:
Returns:
withStatus
public SharedPrivateLinkResourceProperties withStatus(SharedPrivateLinkResourceStatus status)
设置共享专用链接资源的状态。 可以是“挂起”、“已批准”、“已拒绝”、“断开连接”或“超时”。 可能的值包括:“Pending”、“Approved”、“Rejected”、“Disconnected”、“Timeout”。
Parameters:
Returns:
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈