共用方式為


SecurityAdminConfigurationInner Class

public final class SecurityAdminConfigurationInner
extends ChildResource

Defines the security admin configuration.

Constructor Summary

Constructor Description
SecurityAdminConfigurationInner()

Creates an instance of SecurityAdminConfigurationInner class.

Method Summary

Modifier and Type Method and Description
List<NetworkIntentPolicyBasedService> applyOnNetworkIntentPolicyBasedServices()

Get the applyOnNetworkIntentPolicyBasedServices property: Enum list of network intent policy based services.

String description()

Get the description property: A description of the security configuration.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static SecurityAdminConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of SecurityAdminConfigurationInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

AddressSpaceAggregationOption networkGroupAddressSpaceAggregationOption()

Get the networkGroupAddressSpaceAggregationOption property: Determine update behavior for changes to network groups referenced within the rules in this configuration.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

String resourceGuid()

Get the resourceGuid property: Unique identifier for this resource.

SystemData systemData()

Get the systemData property: The system metadata related to this resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SecurityAdminConfigurationInner withApplyOnNetworkIntentPolicyBasedServices(List<NetworkIntentPolicyBasedService> applyOnNetworkIntentPolicyBasedServices)

Set the applyOnNetworkIntentPolicyBasedServices property: Enum list of network intent policy based services.

SecurityAdminConfigurationInner withDescription(String description)

Set the description property: A description of the security configuration.

SecurityAdminConfigurationInner withNetworkGroupAddressSpaceAggregationOption(AddressSpaceAggregationOption networkGroupAddressSpaceAggregationOption)

Set the networkGroupAddressSpaceAggregationOption property: Determine update behavior for changes to network groups referenced within the rules in this configuration.

Methods inherited from ChildResource

Methods inherited from java.lang.Object

Constructor Details

SecurityAdminConfigurationInner

public SecurityAdminConfigurationInner()

Creates an instance of SecurityAdminConfigurationInner class.

Method Details

applyOnNetworkIntentPolicyBasedServices

public List applyOnNetworkIntentPolicyBasedServices()

Get the applyOnNetworkIntentPolicyBasedServices property: Enum list of network intent policy based services.

Returns:

the applyOnNetworkIntentPolicyBasedServices value.

description

public String description()

Get the description property: A description of the security configuration.

Returns:

the description value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Overrides:

SecurityAdminConfigurationInner.etag()

Returns:

the etag value.

fromJson

public static SecurityAdminConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of SecurityAdminConfigurationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SecurityAdminConfigurationInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SecurityAdminConfigurationInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SecurityAdminConfigurationInner.name()

Returns:

the name value.

networkGroupAddressSpaceAggregationOption

public AddressSpaceAggregationOption networkGroupAddressSpaceAggregationOption()

Get the networkGroupAddressSpaceAggregationOption property: Determine update behavior for changes to network groups referenced within the rules in this configuration.

Returns:

the networkGroupAddressSpaceAggregationOption value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: Unique identifier for this resource.

Returns:

the resourceGuid value.

systemData

public SystemData systemData()

Get the systemData property: The system metadata related to this resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SecurityAdminConfigurationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SecurityAdminConfigurationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

SecurityAdminConfigurationInner.validate()

withApplyOnNetworkIntentPolicyBasedServices

public SecurityAdminConfigurationInner withApplyOnNetworkIntentPolicyBasedServices(List applyOnNetworkIntentPolicyBasedServices)

Set the applyOnNetworkIntentPolicyBasedServices property: Enum list of network intent policy based services.

Parameters:

applyOnNetworkIntentPolicyBasedServices - the applyOnNetworkIntentPolicyBasedServices value to set.

Returns:

the SecurityAdminConfigurationInner object itself.

withDescription

public SecurityAdminConfigurationInner withDescription(String description)

Set the description property: A description of the security configuration.

Parameters:

description - the description value to set.

Returns:

the SecurityAdminConfigurationInner object itself.

withNetworkGroupAddressSpaceAggregationOption

public SecurityAdminConfigurationInner withNetworkGroupAddressSpaceAggregationOption(AddressSpaceAggregationOption networkGroupAddressSpaceAggregationOption)

Set the networkGroupAddressSpaceAggregationOption property: Determine update behavior for changes to network groups referenced within the rules in this configuration.

Parameters:

networkGroupAddressSpaceAggregationOption - the networkGroupAddressSpaceAggregationOption value to set.

Returns:

the SecurityAdminConfigurationInner object itself.

Applies to