SharingProfileGroup Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. SharingProfileGroup
- com.
Implements
public final class SharingProfileGroup
implements JsonSerializable<SharingProfileGroup>
Group of the gallery sharing profile.
Constructor Summary
Constructor | Description |
---|---|
SharingProfileGroup() |
Creates an instance of Sharing |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Sharing |
fromJson(JsonReader jsonReader)
Reads an instance of Sharing |
List<String> |
ids()
Get the ids property: A list of subscription/tenant ids the gallery is aimed to be shared to. |
Json |
toJson(JsonWriter jsonWriter) |
Sharing |
type()
Get the type property: This property allows you to specify the type of sharing group. |
void |
validate()
Validates the instance. |
Sharing |
withIds(List<String> ids)
Set the ids property: A list of subscription/tenant ids the gallery is aimed to be shared to. |
Sharing |
withType(SharingProfileGroupTypes type)
Set the type property: This property allows you to specify the type of sharing group. |
Methods inherited from java.lang.Object
Constructor Details
SharingProfileGroup
public SharingProfileGroup()
Creates an instance of SharingProfileGroup class.
Method Details
fromJson
public static SharingProfileGroup fromJson(JsonReader jsonReader)
Reads an instance of SharingProfileGroup from the JsonReader.
Parameters:
Returns:
Throws:
ids
public List
Get the ids property: A list of subscription/tenant ids the gallery is aimed to be shared to.
Returns:
toJson
type
public SharingProfileGroupTypes type()
Get the type property: This property allows you to specify the type of sharing group. Possible values are: **Subscriptions,** **AADTenants.**.
Returns:
validate
public void validate()
Validates the instance.
withIds
public SharingProfileGroup withIds(List
Set the ids property: A list of subscription/tenant ids the gallery is aimed to be shared to.
Parameters:
Returns:
withType
public SharingProfileGroup withType(SharingProfileGroupTypes type)
Set the type property: This property allows you to specify the type of sharing group. Possible values are: **Subscriptions,** **AADTenants.**.
Parameters:
Returns:
Applies to
Azure SDK for Java