InboundSecurityRuleInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. SubResourceModel - com.
azure. resourcemanager. network. fluent. models. InboundSecurityRuleInner
- com.
- com.
- com.
public final class InboundSecurityRuleInner
extends SubResourceModel
NVA Inbound Security Rule resource.
Constructor Summary
| Constructor | Description |
|---|---|
| InboundSecurityRuleInner() |
Creates an instance of Inbound |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
|
static
Inbound |
fromJson(JsonReader jsonReader)
Reads an instance of Inbound |
|
Provisioning |
provisioningState()
Get the provisioning |
|
List<Inbound |
rules()
Get the rules property: List of allowed rules. |
|
Inbound |
ruleType()
Get the rule |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Resource type. |
| void |
validate()
Validates the instance. |
|
Inbound |
withId(String id) |
|
Inbound |
withName(String name)
Set the name property: Name of the resource. |
|
Inbound |
withRules(List<InboundSecurityRules> rules)
Set the rules property: List of allowed rules. |
|
Inbound |
withRuleType(InboundSecurityRuleType ruleType)
Set the rule |
Methods inherited from SubResource
Methods inherited from SubResourceModel
Methods inherited from java.lang.Object
Constructor Details
InboundSecurityRuleInner
public InboundSecurityRuleInner()
Creates an instance of InboundSecurityRuleInner class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static InboundSecurityRuleInner fromJson(JsonReader jsonReader)
Reads an instance of InboundSecurityRuleInner from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
rules
public List<InboundSecurityRules> rules()
Get the rules property: List of allowed rules.
Returns:
ruleType
public InboundSecurityRuleType ruleType()
Get the ruleType property: Rule Type. This should be either AutoExpire or Permanent. Auto Expire Rule only creates NSG rules. Permanent Rule creates NSG rule and SLB LB Rule.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
InboundSecurityRuleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Overrides:
InboundSecurityRuleInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
InboundSecurityRuleInner.validate()withId
public InboundSecurityRuleInner withId(String id)
Overrides:
InboundSecurityRuleInner.withId(String id)Parameters:
withName
public InboundSecurityRuleInner withName(String name)
Set the name property: Name of the resource.
Overrides:
InboundSecurityRuleInner.withName(String name)Parameters:
withRules
public InboundSecurityRuleInner withRules(List<InboundSecurityRules> rules)
Set the rules property: List of allowed rules.
Parameters:
Returns:
withRuleType
public InboundSecurityRuleInner withRuleType(InboundSecurityRuleType ruleType)
Set the ruleType property: Rule Type. This should be either AutoExpire or Permanent. Auto Expire Rule only creates NSG rules. Permanent Rule creates NSG rule and SLB LB Rule.
Parameters:
Returns: