Class SharingScope
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SharingScope>
com.azure.resourcemanager.network.models.SharingScope
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can
only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SharingScopeStatic value DelegatedServices for SharingScope.static final SharingScopeStatic value Tenant for SharingScope. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SharingScopefromString(String name) Creates or finds a SharingScope from its string representation.static Collection<SharingScope> values()Gets known SharingScope values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
TENANT
Static value Tenant for SharingScope. -
DELEGATED_SERVICES
Static value DelegatedServices for SharingScope.
-
-
Constructor Details
-
SharingScope
Deprecated.Use thefromString(String)factory method.Creates a new instance of SharingScope value.
-
-
Method Details
-
fromString
Creates or finds a SharingScope from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SharingScope.
-
values
Gets known SharingScope values.- Returns:
- known SharingScope values.
-
fromString(String)factory method.