ResourceSet Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ResourceSet
- com.
Implements
public class ResourceSet
implements JsonSerializable<ResourceSet>
The base resource set for visibility and auto-approval.
Constructor Summary
Constructor | Description |
---|---|
ResourceSet() |
Creates an instance of Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
List<String> |
subscriptions()
Get the subscriptions property: The list of subscriptions. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Resource |
withSubscriptions(List<String> subscriptions)
Set the subscriptions property: The list of subscriptions. |
Methods inherited from java.lang.Object
Constructor Details
ResourceSet
public ResourceSet()
Creates an instance of ResourceSet class.
Method Details
fromJson
public static ResourceSet fromJson(JsonReader jsonReader)
Reads an instance of ResourceSet from the JsonReader.
Parameters:
Returns:
Throws:
subscriptions
public List
Get the subscriptions property: The list of subscriptions.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSubscriptions
public ResourceSet withSubscriptions(List
Set the subscriptions property: The list of subscriptions.
Parameters:
Returns:
Applies to
Azure SDK for Java