Skip to content
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 @@ -13,7 +13,7 @@


class AppServiceEnvironmentPatchResource(ProxyOnlyResource):
"""ARM resource for a app service enviroment.
"""ARM resource for a app service environment.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class AppServiceEnvironmentPatchResource(ProxyOnlyResource):
"""ARM resource for a app service enviroment.
"""ARM resource for a app service environment.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-web/azure/mgmt/web/models/certificate.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Certificate(Resource):
:vartype issuer: str
:ivar issue_date: Certificate issue Date.
:vartype issue_date: datetime
:ivar expiration_date: Certificate expriration date.
:ivar expiration_date: Certificate expiration date.
:vartype expiration_date: datetime
:param password: Required. Certificate password.
:type password: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class CertificatePatchResource(ProxyOnlyResource):
:vartype issuer: str
:ivar issue_date: Certificate issue Date.
:vartype issue_date: datetime
:ivar expiration_date: Certificate expriration date.
:ivar expiration_date: Certificate expiration date.
:vartype expiration_date: datetime
:param password: Required. Certificate password.
:type password: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class CertificatePatchResource(ProxyOnlyResource):
:vartype issuer: str
:ivar issue_date: Certificate issue Date.
:vartype issue_date: datetime
:ivar expiration_date: Certificate expriration date.
:ivar expiration_date: Certificate expiration date.
:vartype expiration_date: datetime
:param password: Required. Certificate password.
:type password: str
Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-web/azure/mgmt/web/models/certificate_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Certificate(Resource):
:vartype issuer: str
:ivar issue_date: Certificate issue Date.
:vartype issue_date: datetime
:ivar expiration_date: Certificate expriration date.
:ivar expiration_date: Certificate expiration date.
:vartype expiration_date: datetime
:param password: Required. Certificate password.
:type password: str
Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-web/azure/mgmt/web/models/csm_usage_quota.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class CsmUsageQuota(Model):
"""Usage of the quota resource.

:param unit: Units of measurement for the quota resourse.
:param unit: Units of measurement for the quota resource.
:type unit: str
:param next_reset_time: Next reset time for the resource counter.
:type next_reset_time: datetime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class CsmUsageQuota(Model):
"""Usage of the quota resource.

:param unit: Units of measurement for the quota resourse.
:param unit: Units of measurement for the quota resource.
:type unit: str
:param next_reset_time: Next reset time for the resource counter.
:type next_reset_time: datetime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class CustomHostnameAnalysisResult(ProxyOnlyResource):
:ivar has_conflict_on_scale_unit: <code>true</code> if there is a conflict
on a scale unit; otherwise, <code>false</code>.
:vartype has_conflict_on_scale_unit: bool
:ivar has_conflict_across_subscription: <code>true</code> if htere is a
:ivar has_conflict_across_subscription: <code>true</code> if there is a
conflict across subscriptions; otherwise, <code>false</code>.
:vartype has_conflict_across_subscription: bool
:ivar conflicting_app_resource_id: Name of the conflicting app on scale
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class CustomHostnameAnalysisResult(ProxyOnlyResource):
:ivar has_conflict_on_scale_unit: <code>true</code> if there is a conflict
on a scale unit; otherwise, <code>false</code>.
:vartype has_conflict_on_scale_unit: bool
:ivar has_conflict_across_subscription: <code>true</code> if htere is a
:ivar has_conflict_across_subscription: <code>true</code> if there is a
conflict across subscriptions; otherwise, <code>false</code>.
:vartype has_conflict_across_subscription: bool
:ivar conflicting_app_resource_id: Name of the conflicting app on scale
Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-web/azure/mgmt/web/models/data_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class DataSource(Model):
"""Class representing data source used by the detectors.

:param instructions: Instrunctions if any for the data source
:param instructions: Instructions if any for the data source
:type instructions: list[str]
:param data_source_uri: Datasource Uri Links
:type data_source_uri: list[~azure.mgmt.web.models.NameValuePair]
Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-web/azure/mgmt/web/models/data_source_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class DataSource(Model):
"""Class representing data source used by the detectors.

:param instructions: Instrunctions if any for the data source
:param instructions: Instructions if any for the data source
:type instructions: list[str]
:param data_source_uri: Datasource Uri Links
:type data_source_uri: list[~azure.mgmt.web.models.NameValuePair]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ class DeletedAppRestoreRequest(ProxyOnlyResource):
formatted as a DateTime string.
If unspecified, default value is the time that the app was deleted.
:type snapshot_time: str
:param use_dr_secondary: If true, the snapshot is retrieved from
DRSecondary endpoint.
:type use_dr_secondary: bool
"""

_validation = {
Expand All @@ -52,10 +55,12 @@ class DeletedAppRestoreRequest(ProxyOnlyResource):
'deleted_site_id': {'key': 'properties.deletedSiteId', 'type': 'str'},
'recover_configuration': {'key': 'properties.recoverConfiguration', 'type': 'bool'},
'snapshot_time': {'key': 'properties.snapshotTime', 'type': 'str'},
'use_dr_secondary': {'key': 'properties.useDRSecondary', 'type': 'bool'},
}

def __init__(self, **kwargs):
super(DeletedAppRestoreRequest, self).__init__(**kwargs)
self.deleted_site_id = kwargs.get('deleted_site_id', None)
self.recover_configuration = kwargs.get('recover_configuration', None)
self.snapshot_time = kwargs.get('snapshot_time', None)
self.use_dr_secondary = kwargs.get('use_dr_secondary', None)
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ class DeletedAppRestoreRequest(ProxyOnlyResource):
formatted as a DateTime string.
If unspecified, default value is the time that the app was deleted.
:type snapshot_time: str
:param use_dr_secondary: If true, the snapshot is retrieved from
DRSecondary endpoint.
:type use_dr_secondary: bool
"""

_validation = {
Expand All @@ -52,10 +55,12 @@ class DeletedAppRestoreRequest(ProxyOnlyResource):
'deleted_site_id': {'key': 'properties.deletedSiteId', 'type': 'str'},
'recover_configuration': {'key': 'properties.recoverConfiguration', 'type': 'bool'},
'snapshot_time': {'key': 'properties.snapshotTime', 'type': 'str'},
'use_dr_secondary': {'key': 'properties.useDRSecondary', 'type': 'bool'},
}

def __init__(self, *, kind: str=None, deleted_site_id: str=None, recover_configuration: bool=None, snapshot_time: str=None, **kwargs) -> None:
def __init__(self, *, kind: str=None, deleted_site_id: str=None, recover_configuration: bool=None, snapshot_time: str=None, use_dr_secondary: bool=None, **kwargs) -> None:
super(DeletedAppRestoreRequest, self).__init__(kind=kind, **kwargs)
self.deleted_site_id = deleted_site_id
self.recover_configuration = recover_configuration
self.snapshot_time = snapshot_time
self.use_dr_secondary = use_dr_secondary
5 changes: 5 additions & 0 deletions azure-mgmt-web/azure/mgmt/web/models/deleted_site.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ class DeletedSite(ProxyOnlyResource):
:vartype slot: str
:ivar deleted_site_kind: Kind of site that was deleted
:vartype deleted_site_kind: str
:ivar geo_region_name: Geo Region of the deleted site
:vartype geo_region_name: str
"""

_validation = {
Expand All @@ -53,6 +55,7 @@ class DeletedSite(ProxyOnlyResource):
'deleted_site_name': {'readonly': True},
'slot': {'readonly': True},
'deleted_site_kind': {'readonly': True},
'geo_region_name': {'readonly': True},
}

_attribute_map = {
Expand All @@ -67,6 +70,7 @@ class DeletedSite(ProxyOnlyResource):
'deleted_site_name': {'key': 'properties.deletedSiteName', 'type': 'str'},
'slot': {'key': 'properties.slot', 'type': 'str'},
'deleted_site_kind': {'key': 'properties.kind', 'type': 'str'},
'geo_region_name': {'key': 'properties.geoRegionName', 'type': 'str'},
}

def __init__(self, **kwargs):
Expand All @@ -78,3 +82,4 @@ def __init__(self, **kwargs):
self.deleted_site_name = None
self.slot = None
self.deleted_site_kind = None
self.geo_region_name = None
5 changes: 5 additions & 0 deletions azure-mgmt-web/azure/mgmt/web/models/deleted_site_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ class DeletedSite(ProxyOnlyResource):
:vartype slot: str
:ivar deleted_site_kind: Kind of site that was deleted
:vartype deleted_site_kind: str
:ivar geo_region_name: Geo Region of the deleted site
:vartype geo_region_name: str
"""

_validation = {
Expand All @@ -53,6 +55,7 @@ class DeletedSite(ProxyOnlyResource):
'deleted_site_name': {'readonly': True},
'slot': {'readonly': True},
'deleted_site_kind': {'readonly': True},
'geo_region_name': {'readonly': True},
}

_attribute_map = {
Expand All @@ -67,6 +70,7 @@ class DeletedSite(ProxyOnlyResource):
'deleted_site_name': {'key': 'properties.deletedSiteName', 'type': 'str'},
'slot': {'key': 'properties.slot', 'type': 'str'},
'deleted_site_kind': {'key': 'properties.kind', 'type': 'str'},
'geo_region_name': {'key': 'properties.geoRegionName', 'type': 'str'},
}

def __init__(self, *, kind: str=None, **kwargs) -> None:
Expand All @@ -78,3 +82,4 @@ def __init__(self, *, kind: str=None, **kwargs) -> None:
self.deleted_site_name = None
self.slot = None
self.deleted_site_kind = None
self.geo_region_name = None
2 changes: 1 addition & 1 deletion azure-mgmt-web/azure/mgmt/web/models/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class Deployment(ProxyOnlyResource):
"""User crendentials used for publishing activity.
"""User credentials used for publishing activity.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-web/azure/mgmt/web/models/deployment_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class Deployment(ProxyOnlyResource):
"""User crendentials used for publishing activity.
"""User credentials used for publishing activity.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
class DetectorAbnormalTimePeriod(Model):
"""Class representing Abnormal Time Period detected.

:param start_time: Start time of the corelated event
:param start_time: Start time of the correlated event
:type start_time: datetime
:param end_time: End time of the corelated event
:param end_time: End time of the correlated event
:type end_time: datetime
:param message: Message describing the event
:type message: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
class DetectorAbnormalTimePeriod(Model):
"""Class representing Abnormal Time Period detected.

:param start_time: Start time of the corelated event
:param start_time: Start time of the correlated event
:type start_time: datetime
:param end_time: End time of the corelated event
:param end_time: End time of the correlated event
:type end_time: datetime
:param message: Message describing the event
:type message: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class DiagnosticDetectorResponse(ProxyOnlyResource):
"""Class representing Reponse from Diagnostic Detectors.
"""Class representing Response from Diagnostic Detectors.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class DiagnosticDetectorResponse(ProxyOnlyResource):
"""Class representing Reponse from Diagnostic Detectors.
"""Class representing Response from Diagnostic Detectors.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class DomainAvailablilityCheckResult(Model):
"""Domain availablility check result.
"""Domain availability check result.

:param name: Name of the domain.
:type name: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class DomainAvailablilityCheckResult(Model):
"""Domain availablility check result.
"""Domain availability check result.

:param name: Name of the domain.
:type name: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ProcessThreadInfo(ProxyOnlyResource):
:type total_processor_time: str
:param user_processor_time: User processor time.
:type user_processor_time: str
:param priviledged_processor_time: Priviledged processor time.
:param priviledged_processor_time: Privileged processor time.
:type priviledged_processor_time: str
:param state: Thread state.
:type state: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ProcessThreadInfo(ProxyOnlyResource):
:type total_processor_time: str
:param user_processor_time: User processor time.
:type user_processor_time: str
:param priviledged_processor_time: Priviledged processor time.
:param priviledged_processor_time: Privileged processor time.
:type priviledged_processor_time: str
:param state: Thread state.
:type state: str
Expand Down
6 changes: 3 additions & 3 deletions azure-mgmt-web/azure/mgmt/web/models/ramp_up_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ class RampUpRule(Model):
:param reroute_percentage: Percentage of the traffic which will be
redirected to <code>ActionHostName</code>.
:type reroute_percentage: float
:param change_step: In auto ramp up scenario this is the step to to
:param change_step: In auto ramp up scenario this is the step to
add/remove from <code>ReroutePercentage</code> until it reaches
<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>.
Site metrics are checked every N minutes specificed in
Site metrics are checked every N minutes specified in
<code>ChangeIntervalInMinutes</code>.
Custom decision algorithm can be provided in TiPCallback site extension
which URL can be specified in <code>ChangeDecisionCallbackUrl</code>.
:type change_step: float
:param change_interval_in_minutes: Specifies interval in mimuntes to
:param change_interval_in_minutes: Specifies interval in minutes to
reevaluate ReroutePercentage.
:type change_interval_in_minutes: int
:param min_reroute_percentage: Specifies lower boundary above which
Expand Down
6 changes: 3 additions & 3 deletions azure-mgmt-web/azure/mgmt/web/models/ramp_up_rule_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ class RampUpRule(Model):
:param reroute_percentage: Percentage of the traffic which will be
redirected to <code>ActionHostName</code>.
:type reroute_percentage: float
:param change_step: In auto ramp up scenario this is the step to to
:param change_step: In auto ramp up scenario this is the step to
add/remove from <code>ReroutePercentage</code> until it reaches
<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>.
Site metrics are checked every N minutes specificed in
Site metrics are checked every N minutes specified in
<code>ChangeIntervalInMinutes</code>.
Custom decision algorithm can be provided in TiPCallback site extension
which URL can be specified in <code>ChangeDecisionCallbackUrl</code>.
:type change_step: float
:param change_interval_in_minutes: Specifies interval in mimuntes to
:param change_interval_in_minutes: Specifies interval in minutes to
reevaluate ReroutePercentage.
:type change_interval_in_minutes: int
:param min_reroute_percentage: Specifies lower boundary above which
Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-web/azure/mgmt/web/models/recommendation.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Recommendation(ProxyOnlyResource):
"actionable"). False if it is invalid.
:type enabled: int
:param states: The list of states of this recommendation. If it's null
then it shoud be considered "Active".
then it should be considered "Active".
:type states: list[str]
:param start_time: The beginning time in UTC of a range that the
recommendation refers to.
Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-web/azure/mgmt/web/models/recommendation_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Recommendation(ProxyOnlyResource):
"actionable"). False if it is invalid.
:type enabled: int
:param states: The list of states of this recommendation. If it's null
then it shoud be considered "Active".
then it should be considered "Active".
:type states: list[str]
:param start_time: The beginning time in UTC of a range that the
recommendation refers to.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class ResourceNameAvailability(Model):
"""Information regarding availbility of a resource name.
"""Information regarding availability of a resource name.

:param name_available: <code>true</code> indicates name is valid and
available. <code>false</code> indicates the name is invalid, unavailable,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class ResourceNameAvailability(Model):
"""Information regarding availbility of a resource name.
"""Information regarding availability of a resource name.

:param name_available: <code>true</code> indicates name is valid and
available. <code>false</code> indicates the name is invalid, unavailable,
Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-web/azure/mgmt/web/models/site_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class SiteConfig(Model):
'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime',
'WeightedTotalTraffic', 'RequestHash'
:type load_balancing: str or ~azure.mgmt.web.models.SiteLoadBalancing
:param experiments: This is work around for polymophic types.
:param experiments: This is work around for polymorphic types.
:type experiments: ~azure.mgmt.web.models.Experiments
:param limits: Site limits.
:type limits: ~azure.mgmt.web.models.SiteLimits
Expand Down
Loading