Class SharedPrivateLinkResourceProperties
java.lang.Object
com.microsoft.azure.management.cdn.SharedPrivateLinkResourceProperties
Describes the properties of an existing Shared Private Link Resource to use
when connecting to a private origin.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongroupId()
Get the group id from the provider of resource the shared private link resource is for.Get the resource id of the resource the shared private link resource is for.Get the location of the shared private link resource.Get the request message for requesting approval of the shared private link resource.status()
Get status of the shared private link resource.withGroupId
(String groupId) Set the group id from the provider of resource the shared private link resource is for.withPrivateLink
(ResourceReference privateLink) Set the resource id of the resource the shared private link resource is for.withPrivateLinkLocation
(String privateLinkLocation) Set the location of the shared private link resource.withRequestMessage
(String requestMessage) Set the request message for requesting approval of the shared private link resource.Set status of the shared private link resource.
-
Constructor Details
-
SharedPrivateLinkResourceProperties
public SharedPrivateLinkResourceProperties()
-
-
Method Details
-
privateLink
Get the resource id of the resource the shared private link resource is for.- Returns:
- the privateLink value
-
withPrivateLink
Set the resource id of the resource the shared private link resource is for.- Parameters:
privateLink
- the privateLink value to set- Returns:
- the SharedPrivateLinkResourceProperties object itself.
-
privateLinkLocation
Get the location of the shared private link resource.- Returns:
- the privateLinkLocation value
-
withPrivateLinkLocation
Set the location of the shared private link resource.- Parameters:
privateLinkLocation
- the privateLinkLocation value to set- Returns:
- the SharedPrivateLinkResourceProperties object itself.
-
groupId
Get the group id from the provider of resource the shared private link resource is for.- Returns:
- the groupId value
-
withGroupId
Set the group id from the provider of resource the shared private link resource is for.- Parameters:
groupId
- the groupId value to set- Returns:
- the SharedPrivateLinkResourceProperties object itself.
-
requestMessage
Get the request message for requesting approval of the shared private link resource.- Returns:
- the requestMessage value
-
withRequestMessage
Set the request message for requesting approval of the shared private link resource.- Parameters:
requestMessage
- the requestMessage value to set- Returns:
- the SharedPrivateLinkResourceProperties object itself.
-
status
Get status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected', 'Timeout'.- Returns:
- the status value
-