SharingScope Class

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 SharingScope DELEGATED_SERVICES

Static value DelegatedServices for SharingScope.

static final SharingScope TENANT

Static value Tenant for SharingScope.

Constructor Summary

Constructor Description
SharingScope()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SharingScope value.

Method Summary

Modifier and Type Method and Description
static SharingScope fromString(String name)

Creates or finds a SharingScope from its string representation.

static Collection<SharingScope> values()

Gets known SharingScope values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding SharingScope.

values

public static Collection values()

Gets known SharingScope values.

Returns:

known SharingScope values.

Applies to