azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.n...

292 строки
21 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.DefaultAdminRule"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule"
name: "DefaultAdminRule"
nameWithType: "DefaultAdminRule"
summary: "Network default admin rule."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.ProxyResource?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.network.models.ChildResource?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner?alt=com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner&text=BaseAdminRuleInner\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.etag()?alt=com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.etag&text=etag\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.fromJson(com.azure.json.JsonReader)?alt=com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.fromJson&text=fromJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.id()?alt=com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.id&text=id\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.kind()?alt=com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.kind&text=kind\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.name()?alt=com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.name&text=name\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.systemData()?alt=com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.systemData&text=systemData\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.toJson(com.azure.json.JsonWriter)?alt=com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.toJson&text=toJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.type()?alt=com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.type&text=type\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.validate()?alt=com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.validate&text=validate\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **DefaultAdminRule**</br> extends <xref href=\"com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner?alt=com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner&text=BaseAdminRuleInner\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.DefaultAdminRule()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.DefaultAdminRule()"
name: "DefaultAdminRule()"
nameWithType: "DefaultAdminRule.DefaultAdminRule()"
summary: "Creates an instance of Default<wbr>Admin<wbr>Rule class."
syntax: "public DefaultAdminRule()"
desc: "Creates an instance of DefaultAdminRule class."
methods:
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.access()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.access()"
name: "access()"
nameWithType: "DefaultAdminRule.access()"
summary: "Get the access property: Indicates the access allowed for this particular rule."
syntax: "public SecurityConfigurationRuleAccess access()"
desc: "Get the access property: Indicates the access allowed for this particular rule."
returns:
description: "the access value."
type: "<xref href=\"com.azure.resourcemanager.network.models.SecurityConfigurationRuleAccess?alt=com.azure.resourcemanager.network.models.SecurityConfigurationRuleAccess&text=SecurityConfigurationRuleAccess\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.description()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.description()"
name: "description()"
nameWithType: "DefaultAdminRule.description()"
summary: "Get the description property: A description for this rule."
syntax: "public String description()"
desc: "Get the description property: A description for this rule. Restricted to 140 chars."
returns:
description: "the description value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.destinationPortRanges()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.destinationPortRanges()"
name: "destinationPortRanges()"
nameWithType: "DefaultAdminRule.destinationPortRanges()"
summary: "Get the destination<wbr>Port<wbr>Ranges property: The destination port ranges."
syntax: "public List<String> destinationPortRanges()"
desc: "Get the destinationPortRanges property: The destination port ranges."
returns:
description: "the destinationPortRanges value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.destinations()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.destinations()"
name: "destinations()"
nameWithType: "DefaultAdminRule.destinations()"
summary: "Get the destinations property: The destination address prefixes."
syntax: "public List<AddressPrefixItem> destinations()"
desc: "Get the destinations property: The destination address prefixes. CIDR or destination IP ranges."
returns:
description: "the destinations value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.AddressPrefixItem?alt=com.azure.resourcemanager.network.models.AddressPrefixItem&text=AddressPrefixItem\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.direction()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.direction()"
name: "direction()"
nameWithType: "DefaultAdminRule.direction()"
summary: "Get the direction property: Indicates if the traffic matched against the rule in inbound or outbound."
syntax: "public SecurityConfigurationRuleDirection direction()"
desc: "Get the direction property: Indicates if the traffic matched against the rule in inbound or outbound."
returns:
description: "the direction value."
type: "<xref href=\"com.azure.resourcemanager.network.models.SecurityConfigurationRuleDirection?alt=com.azure.resourcemanager.network.models.SecurityConfigurationRuleDirection&text=SecurityConfigurationRuleDirection\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.etag()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.etag()"
name: "etag()"
nameWithType: "DefaultAdminRule.etag()"
summary: "Get the etag property: A unique read-only string that changes whenever the resource is updated."
overridden: "com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.etag()"
syntax: "public String etag()"
desc: "Get the etag property: A unique read-only string that changes whenever the resource is updated."
returns:
description: "the etag value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.flag()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.flag()"
name: "flag()"
nameWithType: "DefaultAdminRule.flag()"
summary: "Get the flag property: Default rule flag."
syntax: "public String flag()"
desc: "Get the flag property: Default rule flag."
returns:
description: "the flag value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "DefaultAdminRule.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Default<wbr>Admin<wbr>Rule from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static DefaultAdminRule fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the deserialized JSON object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of DefaultAdminRule from the JsonReader."
returns:
description: "An instance of DefaultAdminRule if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.network.models.DefaultAdminRule?alt=com.azure.resourcemanager.network.models.DefaultAdminRule&text=DefaultAdminRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.id()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.id()"
name: "id()"
nameWithType: "DefaultAdminRule.id()"
summary: "Get the id property: Fully qualified resource Id for the resource."
overridden: "com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.id()"
syntax: "public String id()"
desc: "Get the id property: Fully qualified resource Id for the resource."
returns:
description: "the id value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.kind()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.kind()"
name: "kind()"
nameWithType: "DefaultAdminRule.kind()"
summary: "Get the kind property: Whether the rule is custom or default."
overridden: "com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.kind()"
syntax: "public AdminRuleKind kind()"
desc: "Get the kind property: Whether the rule is custom or default."
returns:
description: "the kind value."
type: "<xref href=\"com.azure.resourcemanager.network.models.AdminRuleKind?alt=com.azure.resourcemanager.network.models.AdminRuleKind&text=AdminRuleKind\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.name()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.name()"
name: "name()"
nameWithType: "DefaultAdminRule.name()"
summary: "Get the name property: The name of the resource."
overridden: "com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.name()"
syntax: "public String name()"
desc: "Get the name property: The name of the resource."
returns:
description: "the name value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.priority()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.priority()"
name: "priority()"
nameWithType: "DefaultAdminRule.priority()"
summary: "Get the priority property: The priority of the rule."
syntax: "public Integer priority()"
desc: "Get the priority property: The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule."
returns:
description: "the priority value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.protocol()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.protocol()"
name: "protocol()"
nameWithType: "DefaultAdminRule.protocol()"
summary: "Get the protocol property: Network protocol this rule applies to."
syntax: "public SecurityConfigurationRuleProtocol protocol()"
desc: "Get the protocol property: Network protocol this rule applies to."
returns:
description: "the protocol value."
type: "<xref href=\"com.azure.resourcemanager.network.models.SecurityConfigurationRuleProtocol?alt=com.azure.resourcemanager.network.models.SecurityConfigurationRuleProtocol&text=SecurityConfigurationRuleProtocol\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.provisioningState()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.provisioningState()"
name: "provisioningState()"
nameWithType: "DefaultAdminRule.provisioningState()"
summary: "Get the provisioning<wbr>State property: The provisioning state of the resource."
syntax: "public ProvisioningState provisioningState()"
desc: "Get the provisioningState property: The provisioning state of the resource."
returns:
description: "the provisioningState value."
type: "<xref href=\"com.azure.resourcemanager.network.models.ProvisioningState?alt=com.azure.resourcemanager.network.models.ProvisioningState&text=ProvisioningState\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.resourceGuid()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.resourceGuid()"
name: "resourceGuid()"
nameWithType: "DefaultAdminRule.resourceGuid()"
summary: "Get the resource<wbr>Guid property: Unique identifier for this resource."
syntax: "public String resourceGuid()"
desc: "Get the resourceGuid property: Unique identifier for this resource."
returns:
description: "the resourceGuid value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.sourcePortRanges()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.sourcePortRanges()"
name: "sourcePortRanges()"
nameWithType: "DefaultAdminRule.sourcePortRanges()"
summary: "Get the source<wbr>Port<wbr>Ranges property: The source port ranges."
syntax: "public List<String> sourcePortRanges()"
desc: "Get the sourcePortRanges property: The source port ranges."
returns:
description: "the sourcePortRanges value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.sources()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.sources()"
name: "sources()"
nameWithType: "DefaultAdminRule.sources()"
summary: "Get the sources property: The CIDR or source IP ranges."
syntax: "public List<AddressPrefixItem> sources()"
desc: "Get the sources property: The CIDR or source IP ranges."
returns:
description: "the sources value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.AddressPrefixItem?alt=com.azure.resourcemanager.network.models.AddressPrefixItem&text=AddressPrefixItem\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.systemData()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.systemData()"
name: "systemData()"
nameWithType: "DefaultAdminRule.systemData()"
summary: "Get the system<wbr>Data property: The system metadata related to this resource."
overridden: "com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.systemData()"
syntax: "public SystemData systemData()"
desc: "Get the systemData property: The system metadata related to this resource."
returns:
description: "the systemData value."
type: "<xref href=\"com.azure.core.management.SystemData?alt=com.azure.core.management.SystemData&text=SystemData\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "DefaultAdminRule.toJson(JsonWriter jsonWriter)"
overridden: "com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.toJson(com.azure.json.JsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.type()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.type()"
name: "type()"
nameWithType: "DefaultAdminRule.type()"
summary: "Get the type property: The type of the resource."
overridden: "com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.type()"
syntax: "public String type()"
desc: "Get the type property: The type of the resource."
returns:
description: "the type value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.validate()"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.validate()"
name: "validate()"
nameWithType: "DefaultAdminRule.validate()"
summary: "Validates the instance."
overridden: "com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner.validate()"
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.network.models.DefaultAdminRule.withFlag(java.lang.String)"
fullName: "com.azure.resourcemanager.network.models.DefaultAdminRule.withFlag(String flag)"
name: "withFlag(String flag)"
nameWithType: "DefaultAdminRule.withFlag(String flag)"
summary: "Set the flag property: Default rule flag."
parameters:
- description: "the flag value to set."
name: "flag"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DefaultAdminRule withFlag(String flag)"
desc: "Set the flag property: Default rule flag."
returns:
description: "the DefaultAdminRule object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.DefaultAdminRule?alt=com.azure.resourcemanager.network.models.DefaultAdminRule&text=DefaultAdminRule\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Network default admin rule."
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.44.0