Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-mgmt-netapp] [NetAppFiles]Corrected case in operation ids #2077

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ class ReplicationSchedule(str, Enum):
_10minutely = "_10minutely"
hourly = "hourly"
daily = "daily"
weekly = "weekly"
monthly = "monthly"


class SecurityStyle(str, Enum):
Expand Down
84 changes: 57 additions & 27 deletions sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ class CapacityPool(Model):
'size': {'required': True, 'maximum': 549755813888000, 'minimum': 4398046511104},
'service_level': {'required': True},
'provisioning_state': {'readonly': True},
'total_throughput_mibps': {'readonly': True, 'multiple': 0.001},
'utilized_throughput_mibps': {'readonly': True, 'multiple': 0.001},
'total_throughput_mibps': {'readonly': True},
'utilized_throughput_mibps': {'readonly': True},
}

_attribute_map = {
Expand Down Expand Up @@ -1240,7 +1240,7 @@ class ReplicationObject(Model):
'dst'
:type endpoint_type: str or ~azure.mgmt.netapp.models.EndpointType
:param replication_schedule: Required. Schedule. Possible values include:
'_10minutely', 'hourly', 'daily', 'weekly', 'monthly'
'_10minutely', 'hourly', 'daily'
:type replication_schedule: str or
~azure.mgmt.netapp.models.ReplicationSchedule
:param remote_volume_resource_id: Required. The resource ID of the remote
Expand Down Expand Up @@ -1435,23 +1435,29 @@ class SnapshotPolicy(Model):
:vartype type: str
:param tags: Resource tags
:type tags: dict[str, str]
:ivar name1: Snapshot policy name
:vartype name1: str
:param hourly_schedule: hourlySchedule. Schedule for hourly snapshots
:type hourly_schedule: object
:type hourly_schedule: ~azure.mgmt.netapp.models.HourlySchedule
:param daily_schedule: dailySchedule. Schedule for daily snapshots
:type daily_schedule: object
:type daily_schedule: ~azure.mgmt.netapp.models.DailySchedule
:param weekly_schedule: weeklySchedule. Schedule for weekly snapshots
:type weekly_schedule: object
:type weekly_schedule: ~azure.mgmt.netapp.models.WeeklySchedule
:param monthly_schedule: monthlySchedule. Schedule for monthly snapshots
:type monthly_schedule: object
:type monthly_schedule: ~azure.mgmt.netapp.models.MonthlySchedule
:param enabled: The property to decide policy is enabled or not
:type enabled: bool
:ivar provisioning_state: Azure lifecycle management
:vartype provisioning_state: str
"""

_validation = {
'location': {'required': True},
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'name1': {'readonly': True},
'provisioning_state': {'readonly': True},
}

_attribute_map = {
Expand All @@ -1460,11 +1466,13 @@ class SnapshotPolicy(Model):
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'hourly_schedule': {'key': 'properties.hourlySchedule', 'type': 'object'},
'daily_schedule': {'key': 'properties.dailySchedule', 'type': 'object'},
'weekly_schedule': {'key': 'properties.weeklySchedule', 'type': 'object'},
'monthly_schedule': {'key': 'properties.monthlySchedule', 'type': 'object'},
'name1': {'key': 'properties.name', 'type': 'str'},
'hourly_schedule': {'key': 'properties.hourlySchedule', 'type': 'HourlySchedule'},
'daily_schedule': {'key': 'properties.dailySchedule', 'type': 'DailySchedule'},
'weekly_schedule': {'key': 'properties.weeklySchedule', 'type': 'WeeklySchedule'},
'monthly_schedule': {'key': 'properties.monthlySchedule', 'type': 'MonthlySchedule'},
'enabled': {'key': 'properties.enabled', 'type': 'bool'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
}

def __init__(self, **kwargs):
Expand All @@ -1474,11 +1482,13 @@ def __init__(self, **kwargs):
self.name = None
self.type = None
self.tags = kwargs.get('tags', None)
self.name1 = None
self.hourly_schedule = kwargs.get('hourly_schedule', None)
self.daily_schedule = kwargs.get('daily_schedule', None)
self.weekly_schedule = kwargs.get('weekly_schedule', None)
self.monthly_schedule = kwargs.get('monthly_schedule', None)
self.enabled = kwargs.get('enabled', None)
self.provisioning_state = None


class SnapshotPolicyDetails(Model):
Expand All @@ -1497,22 +1507,28 @@ class SnapshotPolicyDetails(Model):
:vartype type: str
:param tags: Resource tags
:type tags: dict[str, str]
:ivar name1: Snapshot policy name
:vartype name1: str
:param hourly_schedule: hourlySchedule. Schedule for hourly snapshots
:type hourly_schedule: object
:type hourly_schedule: ~azure.mgmt.netapp.models.HourlySchedule
:param daily_schedule: dailySchedule. Schedule for daily snapshots
:type daily_schedule: object
:type daily_schedule: ~azure.mgmt.netapp.models.DailySchedule
:param weekly_schedule: weeklySchedule. Schedule for weekly snapshots
:type weekly_schedule: object
:type weekly_schedule: ~azure.mgmt.netapp.models.WeeklySchedule
:param monthly_schedule: monthlySchedule. Schedule for monthly snapshots
:type monthly_schedule: object
:type monthly_schedule: ~azure.mgmt.netapp.models.MonthlySchedule
:param enabled: The property to decide policy is enabled or not
:type enabled: bool
:ivar provisioning_state: Azure lifecycle management
:vartype provisioning_state: str
"""

_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'name1': {'readonly': True},
'provisioning_state': {'readonly': True},
}

_attribute_map = {
Expand All @@ -1521,11 +1537,13 @@ class SnapshotPolicyDetails(Model):
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'hourly_schedule': {'key': 'properties.hourlySchedule', 'type': 'object'},
'daily_schedule': {'key': 'properties.dailySchedule', 'type': 'object'},
'weekly_schedule': {'key': 'properties.weeklySchedule', 'type': 'object'},
'monthly_schedule': {'key': 'properties.monthlySchedule', 'type': 'object'},
'name1': {'key': 'properties.name', 'type': 'str'},
'hourly_schedule': {'key': 'properties.hourlySchedule', 'type': 'HourlySchedule'},
'daily_schedule': {'key': 'properties.dailySchedule', 'type': 'DailySchedule'},
'weekly_schedule': {'key': 'properties.weeklySchedule', 'type': 'WeeklySchedule'},
'monthly_schedule': {'key': 'properties.monthlySchedule', 'type': 'MonthlySchedule'},
'enabled': {'key': 'properties.enabled', 'type': 'bool'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
}

def __init__(self, **kwargs):
Expand All @@ -1535,11 +1553,13 @@ def __init__(self, **kwargs):
self.name = None
self.type = None
self.tags = kwargs.get('tags', None)
self.name1 = None
self.hourly_schedule = kwargs.get('hourly_schedule', None)
self.daily_schedule = kwargs.get('daily_schedule', None)
self.weekly_schedule = kwargs.get('weekly_schedule', None)
self.monthly_schedule = kwargs.get('monthly_schedule', None)
self.enabled = kwargs.get('enabled', None)
self.provisioning_state = None


class SnapshotPolicyPatch(Model):
Expand All @@ -1558,22 +1578,28 @@ class SnapshotPolicyPatch(Model):
:vartype type: str
:param tags: Resource tags
:type tags: dict[str, str]
:ivar name1: Snapshot policy name
:vartype name1: str
:param hourly_schedule: hourlySchedule. Schedule for hourly snapshots
:type hourly_schedule: object
:type hourly_schedule: ~azure.mgmt.netapp.models.HourlySchedule
:param daily_schedule: dailySchedule. Schedule for daily snapshots
:type daily_schedule: object
:type daily_schedule: ~azure.mgmt.netapp.models.DailySchedule
:param weekly_schedule: weeklySchedule. Schedule for weekly snapshots
:type weekly_schedule: object
:type weekly_schedule: ~azure.mgmt.netapp.models.WeeklySchedule
:param monthly_schedule: monthlySchedule. Schedule for monthly snapshots
:type monthly_schedule: object
:type monthly_schedule: ~azure.mgmt.netapp.models.MonthlySchedule
:param enabled: The property to decide policy is enabled or not
:type enabled: bool
:ivar provisioning_state: Azure lifecycle management
:vartype provisioning_state: str
"""

_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'name1': {'readonly': True},
'provisioning_state': {'readonly': True},
}

_attribute_map = {
Expand All @@ -1582,11 +1608,13 @@ class SnapshotPolicyPatch(Model):
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'hourly_schedule': {'key': 'properties.hourlySchedule', 'type': 'object'},
'daily_schedule': {'key': 'properties.dailySchedule', 'type': 'object'},
'weekly_schedule': {'key': 'properties.weeklySchedule', 'type': 'object'},
'monthly_schedule': {'key': 'properties.monthlySchedule', 'type': 'object'},
'name1': {'key': 'properties.name', 'type': 'str'},
'hourly_schedule': {'key': 'properties.hourlySchedule', 'type': 'HourlySchedule'},
'daily_schedule': {'key': 'properties.dailySchedule', 'type': 'DailySchedule'},
'weekly_schedule': {'key': 'properties.weeklySchedule', 'type': 'WeeklySchedule'},
'monthly_schedule': {'key': 'properties.monthlySchedule', 'type': 'MonthlySchedule'},
'enabled': {'key': 'properties.enabled', 'type': 'bool'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
}

def __init__(self, **kwargs):
Expand All @@ -1596,11 +1624,13 @@ def __init__(self, **kwargs):
self.name = None
self.type = None
self.tags = kwargs.get('tags', None)
self.name1 = None
self.hourly_schedule = kwargs.get('hourly_schedule', None)
self.daily_schedule = kwargs.get('daily_schedule', None)
self.weekly_schedule = kwargs.get('weekly_schedule', None)
self.monthly_schedule = kwargs.get('monthly_schedule', None)
self.enabled = kwargs.get('enabled', None)
self.provisioning_state = None


class SnapshotPolicyVolumeList(Model):
Expand Down
Loading