Class SharingProfileGroup
java.lang.Object
com.azure.resourcemanager.compute.models.SharingProfileGroup
Group of the gallery sharing profile.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionids()Get the ids property: A list of subscription/tenant ids the gallery is aimed to be shared to.type()Get the type property: This property allows you to specify the type of sharing group.voidvalidate()Validates the instance.Set the ids property: A list of subscription/tenant ids the gallery is aimed to be shared to.Set the type property: This property allows you to specify the type of sharing group.
-
Constructor Details
-
SharingProfileGroup
public SharingProfileGroup()Creates an instance of SharingProfileGroup class.
-
-
Method Details
-
type
Get the type property: This property allows you to specify the type of sharing group. Possible values are: **Subscriptions,** **AADTenants.**.- Returns:
- the type value.
-
withType
Set the type property: This property allows you to specify the type of sharing group. Possible values are: **Subscriptions,** **AADTenants.**.- Parameters:
type- the type value to set.- Returns:
- the SharingProfileGroup object itself.
-
ids
Get the ids property: A list of subscription/tenant ids the gallery is aimed to be shared to.- Returns:
- the ids value.
-
withIds
Set the ids property: A list of subscription/tenant ids the gallery is aimed to be shared to.- Parameters:
ids- the ids value to set.- Returns:
- the SharingProfileGroup object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-