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

283 строки
20 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch"
name: "BackupPolicyPatch"
nameWithType: "BackupPolicyPatch"
summary: "Backup policy Details for create and update."
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.core.management.Resource?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.management.ProxyResource?alt=com.azure.core.management.ProxyResource&text=ProxyResource\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.management.ProxyResource.id()?alt=com.azure.core.management.ProxyResource.id&text=id\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.ProxyResource.name()?alt=com.azure.core.management.ProxyResource.name&text=name\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.ProxyResource.type()?alt=com.azure.core.management.ProxyResource.type&text=type\" data-throw-if-not-resolved=\"False\" />"
- classRef: "<xref href=\"com.azure.core.management.Resource?alt=com.azure.core.management.Resource&text=Resource\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.management.Resource.fromJson(com.azure.json.JsonReader)?alt=com.azure.core.management.Resource.fromJson&text=fromJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.Resource.location()?alt=com.azure.core.management.Resource.location&text=location\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.Resource.tags()?alt=com.azure.core.management.Resource.tags&text=tags\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.Resource.toJson(com.azure.json.JsonWriter)?alt=com.azure.core.management.Resource.toJson&text=toJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.Resource.withLocation(java.lang.String)?alt=com.azure.core.management.Resource.withLocation&text=withLocation\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.Resource.withTags(java.util.Map<java.lang.String,java.lang.String>)?alt=com.azure.core.management.Resource.withTags&text=withTags\" 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 **BackupPolicyPatch**</br> extends <xref href=\"com.azure.core.management.Resource?alt=com.azure.core.management.Resource&text=Resource\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.BackupPolicyPatch()"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.BackupPolicyPatch()"
name: "BackupPolicyPatch()"
nameWithType: "BackupPolicyPatch.BackupPolicyPatch()"
summary: "Creates an instance of Backup<wbr>Policy<wbr>Patch class."
syntax: "public BackupPolicyPatch()"
desc: "Creates an instance of BackupPolicyPatch class."
methods:
- uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.backupPolicyId()"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.backupPolicyId()"
name: "backupPolicyId()"
nameWithType: "BackupPolicyPatch.backupPolicyId()"
summary: "Get the backup<wbr>Policy<wbr>Id property: Backup Policy Resource ID."
syntax: "public String backupPolicyId()"
desc: "Get the backupPolicyId property: Backup Policy Resource ID."
returns:
description: "the backupPolicyId value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.dailyBackupsToKeep()"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.dailyBackupsToKeep()"
name: "dailyBackupsToKeep()"
nameWithType: "BackupPolicyPatch.dailyBackupsToKeep()"
summary: "Get the daily<wbr>Backups<wbr>ToKeep property: Daily backups count to keep."
syntax: "public Integer dailyBackupsToKeep()"
desc: "Get the dailyBackupsToKeep property: Daily backups count to keep."
returns:
description: "the dailyBackupsToKeep value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.enabled()"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.enabled()"
name: "enabled()"
nameWithType: "BackupPolicyPatch.enabled()"
summary: "Get the enabled property: The property to decide policy is enabled or not."
syntax: "public Boolean enabled()"
desc: "Get the enabled property: The property to decide policy is enabled or not."
returns:
description: "the enabled value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "BackupPolicyPatch.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Backup<wbr>Policy<wbr>Patch 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 BackupPolicyPatch 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 BackupPolicyPatch from the JsonReader."
returns:
description: "An instance of BackupPolicyPatch 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.netapp.models.BackupPolicyPatch?alt=com.azure.resourcemanager.netapp.models.BackupPolicyPatch&text=BackupPolicyPatch\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.id()"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.id()"
name: "id()"
nameWithType: "BackupPolicyPatch.id()"
summary: "Get the id property: Fully qualified resource Id for the resource."
overridden: "com.azure.core.management.ProxyResource.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.netapp.models.BackupPolicyPatch.monthlyBackupsToKeep()"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.monthlyBackupsToKeep()"
name: "monthlyBackupsToKeep()"
nameWithType: "BackupPolicyPatch.monthlyBackupsToKeep()"
summary: "Get the monthly<wbr>Backups<wbr>ToKeep property: Monthly backups count to keep."
syntax: "public Integer monthlyBackupsToKeep()"
desc: "Get the monthlyBackupsToKeep property: Monthly backups count to keep."
returns:
description: "the monthlyBackupsToKeep value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.name()"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.name()"
name: "name()"
nameWithType: "BackupPolicyPatch.name()"
summary: "Get the name property: The name of the resource."
overridden: "com.azure.core.management.ProxyResource.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.netapp.models.BackupPolicyPatch.provisioningState()"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.provisioningState()"
name: "provisioningState()"
nameWithType: "BackupPolicyPatch.provisioningState()"
summary: "Get the provisioning<wbr>State property: Azure lifecycle management."
syntax: "public String provisioningState()"
desc: "Get the provisioningState property: Azure lifecycle management."
returns:
description: "the provisioningState value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "BackupPolicyPatch.toJson(JsonWriter jsonWriter)"
overridden: "com.azure.core.management.Resource.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.netapp.models.BackupPolicyPatch.type()"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.type()"
name: "type()"
nameWithType: "BackupPolicyPatch.type()"
summary: "Get the type property: The type of the resource."
overridden: "com.azure.core.management.ProxyResource.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.netapp.models.BackupPolicyPatch.validate()"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.validate()"
name: "validate()"
nameWithType: "BackupPolicyPatch.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.volumeBackups()"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.volumeBackups()"
name: "volumeBackups()"
nameWithType: "BackupPolicyPatch.volumeBackups()"
summary: "Get the volume<wbr>Backups property: A list of volumes assigned to this policy."
syntax: "public List<VolumeBackups> volumeBackups()"
desc: "Get the volumeBackups property: A list of volumes assigned to this policy."
returns:
description: "the volumeBackups value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.netapp.models.VolumeBackups?alt=com.azure.resourcemanager.netapp.models.VolumeBackups&text=VolumeBackups\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.volumesAssigned()"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.volumesAssigned()"
name: "volumesAssigned()"
nameWithType: "BackupPolicyPatch.volumesAssigned()"
summary: "Get the volumes<wbr>Assigned property: Volumes using current backup policy."
syntax: "public Integer volumesAssigned()"
desc: "Get the volumesAssigned property: Volumes using current backup policy."
returns:
description: "the volumesAssigned value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.weeklyBackupsToKeep()"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.weeklyBackupsToKeep()"
name: "weeklyBackupsToKeep()"
nameWithType: "BackupPolicyPatch.weeklyBackupsToKeep()"
summary: "Get the weekly<wbr>Backups<wbr>ToKeep property: Weekly backups count to keep."
syntax: "public Integer weeklyBackupsToKeep()"
desc: "Get the weeklyBackupsToKeep property: Weekly backups count to keep."
returns:
description: "the weeklyBackupsToKeep value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.withDailyBackupsToKeep(java.lang.Integer)"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.withDailyBackupsToKeep(Integer dailyBackupsToKeep)"
name: "withDailyBackupsToKeep(Integer dailyBackupsToKeep)"
nameWithType: "BackupPolicyPatch.withDailyBackupsToKeep(Integer dailyBackupsToKeep)"
summary: "Set the daily<wbr>Backups<wbr>ToKeep property: Daily backups count to keep."
parameters:
- description: "the dailyBackupsToKeep value to set."
name: "dailyBackupsToKeep"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public BackupPolicyPatch withDailyBackupsToKeep(Integer dailyBackupsToKeep)"
desc: "Set the dailyBackupsToKeep property: Daily backups count to keep."
returns:
description: "the BackupPolicyPatch object itself."
type: "<xref href=\"com.azure.resourcemanager.netapp.models.BackupPolicyPatch?alt=com.azure.resourcemanager.netapp.models.BackupPolicyPatch&text=BackupPolicyPatch\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.withEnabled(java.lang.Boolean)"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.withEnabled(Boolean enabled)"
name: "withEnabled(Boolean enabled)"
nameWithType: "BackupPolicyPatch.withEnabled(Boolean enabled)"
summary: "Set the enabled property: The property to decide policy is enabled or not."
parameters:
- description: "the enabled value to set."
name: "enabled"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public BackupPolicyPatch withEnabled(Boolean enabled)"
desc: "Set the enabled property: The property to decide policy is enabled or not."
returns:
description: "the BackupPolicyPatch object itself."
type: "<xref href=\"com.azure.resourcemanager.netapp.models.BackupPolicyPatch?alt=com.azure.resourcemanager.netapp.models.BackupPolicyPatch&text=BackupPolicyPatch\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.withLocation(java.lang.String)"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.withLocation(String location)"
name: "withLocation(String location)"
nameWithType: "BackupPolicyPatch.withLocation(String location)"
overridden: "com.azure.core.management.Resource.withLocation(java.lang.String)"
parameters:
- name: "location"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public BackupPolicyPatch withLocation(String location)"
returns:
type: "<xref href=\"com.azure.resourcemanager.netapp.models.BackupPolicyPatch?alt=com.azure.resourcemanager.netapp.models.BackupPolicyPatch&text=BackupPolicyPatch\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.withMonthlyBackupsToKeep(java.lang.Integer)"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.withMonthlyBackupsToKeep(Integer monthlyBackupsToKeep)"
name: "withMonthlyBackupsToKeep(Integer monthlyBackupsToKeep)"
nameWithType: "BackupPolicyPatch.withMonthlyBackupsToKeep(Integer monthlyBackupsToKeep)"
summary: "Set the monthly<wbr>Backups<wbr>ToKeep property: Monthly backups count to keep."
parameters:
- description: "the monthlyBackupsToKeep value to set."
name: "monthlyBackupsToKeep"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public BackupPolicyPatch withMonthlyBackupsToKeep(Integer monthlyBackupsToKeep)"
desc: "Set the monthlyBackupsToKeep property: Monthly backups count to keep."
returns:
description: "the BackupPolicyPatch object itself."
type: "<xref href=\"com.azure.resourcemanager.netapp.models.BackupPolicyPatch?alt=com.azure.resourcemanager.netapp.models.BackupPolicyPatch&text=BackupPolicyPatch\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.withTags(java.util.Map<java.lang.String,java.lang.String>)"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.withTags(Map<String,String> tags)"
name: "withTags(Map<String,String> tags)"
nameWithType: "BackupPolicyPatch.withTags(Map<String,String> tags)"
overridden: "com.azure.core.management.Resource.withTags(java.util.Map<java.lang.String,java.lang.String>)"
parameters:
- name: "tags"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public BackupPolicyPatch withTags(Map<String,String> tags)"
returns:
type: "<xref href=\"com.azure.resourcemanager.netapp.models.BackupPolicyPatch?alt=com.azure.resourcemanager.netapp.models.BackupPolicyPatch&text=BackupPolicyPatch\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.withWeeklyBackupsToKeep(java.lang.Integer)"
fullName: "com.azure.resourcemanager.netapp.models.BackupPolicyPatch.withWeeklyBackupsToKeep(Integer weeklyBackupsToKeep)"
name: "withWeeklyBackupsToKeep(Integer weeklyBackupsToKeep)"
nameWithType: "BackupPolicyPatch.withWeeklyBackupsToKeep(Integer weeklyBackupsToKeep)"
summary: "Set the weekly<wbr>Backups<wbr>ToKeep property: Weekly backups count to keep."
parameters:
- description: "the weeklyBackupsToKeep value to set."
name: "weeklyBackupsToKeep"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public BackupPolicyPatch withWeeklyBackupsToKeep(Integer weeklyBackupsToKeep)"
desc: "Set the weeklyBackupsToKeep property: Weekly backups count to keep."
returns:
description: "the BackupPolicyPatch object itself."
type: "<xref href=\"com.azure.resourcemanager.netapp.models.BackupPolicyPatch?alt=com.azure.resourcemanager.netapp.models.BackupPolicyPatch&text=BackupPolicyPatch\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Backup policy Details for create and update."
metadata: {}
package: "com.azure.resourcemanager.netapp.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-netapp:1.4.0