AdminRuleCollectionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. network. models. ChildResource - com.
azure. resourcemanager. network. fluent. models. AdminRuleCollectionInner
- com.
- com.
- com.
public final class AdminRuleCollectionInner
extends ChildResource
Defines the admin rule collection.
Constructor Summary
Constructor | Description |
---|---|
AdminRuleCollectionInner() |
Creates an instance of Admin |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Network |
appliesToGroups()
Get the applies |
String |
description()
Get the description property: A description of the admin rule collection. |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Admin |
fromJson(JsonReader jsonReader)
Reads an instance of Admin |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Provisioning |
provisioningState()
Get the provisioning |
String |
resourceGuid()
Get the resource |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Admin |
withAppliesToGroups(List<NetworkManagerSecurityGroupItem> appliesToGroups)
Set the applies |
Admin |
withDescription(String description)
Set the description property: A description of the admin rule collection. |
Methods inherited from ChildResource
Methods inherited from java.lang.Object
Constructor Details
AdminRuleCollectionInner
public AdminRuleCollectionInner()
Creates an instance of AdminRuleCollectionInner class.
Method Details
appliesToGroups
public List
Get the appliesToGroups property: Groups for configuration.
Returns:
description
public String description()
Get the description property: A description of the admin rule collection.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Overrides:
AdminRuleCollectionInner.etag()Returns:
fromJson
public static AdminRuleCollectionInner fromJson(JsonReader jsonReader)
Reads an instance of AdminRuleCollectionInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AdminRuleCollectionInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AdminRuleCollectionInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: Unique identifier for this resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system metadata related to this resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AdminRuleCollectionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AdminRuleCollectionInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
AdminRuleCollectionInner.validate()withAppliesToGroups
public AdminRuleCollectionInner withAppliesToGroups(List
Set the appliesToGroups property: Groups for configuration.
Parameters:
Returns:
withDescription
public AdminRuleCollectionInner withDescription(String description)
Set the description property: A description of the admin rule collection.
Parameters:
Returns:
Applies to
Azure SDK for Java