SharingScope Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. SharingScope
- com.
- com.
public final class SharingScope
extends ExpandableStringEnum<SharingScope>
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
Modifier and Type | Field and Description |
---|---|
static final
Sharing |
DELEGATED_SERVICES
Static value Delegated |
static final
Sharing |
TENANT
Static value Tenant for Sharing |
Constructor Summary
Constructor | Description |
---|---|
SharingScope() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Sharing |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Sharing |
fromString(String name)
Creates or finds a Sharing |
static
Collection<Sharing |
values()
Gets known Sharing |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DELEGATED_SERVICES
public static final SharingScope DELEGATED_SERVICES
Static value DelegatedServices for SharingScope.
TENANT
public static final SharingScope TENANT
Static value Tenant for SharingScope.
Constructor Details
SharingScope
@Deprecated
public SharingScope()
Deprecated
Creates a new instance of SharingScope value.
Method Details
fromString
public static SharingScope fromString(String name)
Creates or finds a SharingScope from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known SharingScope values.
Returns:
Applies to
Azure SDK for Java