public class InboundSecurityRuleInner
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
InboundSecurityRuleInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
name()
Get the name property: Name of security rule collection.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the resource.
|
List<InboundSecurityRules> |
rules()
Get the rules property: List of allowed rules.
|
String |
type()
Get the type property: NVA inbound security rule type.
|
void |
validate()
Validates the instance.
|
InboundSecurityRuleInner |
withId(String id) |
InboundSecurityRuleInner |
withName(String name)
Set the name property: Name of security rule collection.
|
InboundSecurityRuleInner |
withRules(List<InboundSecurityRules> rules)
Set the rules property: List of allowed rules.
|
public String name()
public InboundSecurityRuleInner withName(String name)
name - the name value to set.public String etag()
public String type()
public List<InboundSecurityRules> rules()
public InboundSecurityRuleInner withRules(List<InboundSecurityRules> rules)
rules - the rules value to set.public ProvisioningState provisioningState()
public InboundSecurityRuleInner withId(String id)
withId in class com.azure.core.management.SubResourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.