From 7b9dcd1fb82c5201406cc51a0ba5d44a68c7f0f0 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 15 Feb 2019 09:23:18 +0000 Subject: [PATCH 1/2] Generated from bea5e969329c0fe7fc44310e46f0640252e810df Deleted older version of APIs, updated the examples --- .../data_box_edge_management_client.py | 7 +- .../azure/mgmt/edgegateway/models/__init__.py | 4 +- .../azure/mgmt/edgegateway/models/address.py | 6 +- .../mgmt/edgegateway/models/address_py3.py | 8 +- .../azure/mgmt/edgegateway/models/alert.py | 12 +- .../mgmt/edgegateway/models/alert_py3.py | 12 +- .../mgmt/edgegateway/models/arm_base_model.py | 2 +- .../edgegateway/models/arm_base_model_py3.py | 2 +- .../models/asymmetric_encrypted_secret.py | 4 +- .../models/asymmetric_encrypted_secret_py3.py | 4 +- .../models/azure_container_info.py | 6 +- .../models/azure_container_info_py3.py | 6 +- .../edgegateway/models/bandwidth_schedule.py | 2 +- .../models/bandwidth_schedule_py3.py | 2 +- .../edgegateway/models/client_access_right.py | 4 +- .../models/client_access_right_py3.py | 4 +- .../edgegateway/models/contact_details.py | 8 +- .../edgegateway/models/contact_details_py3.py | 8 +- .../models/data_box_edge_device.py | 18 +-- .../data_box_edge_device_extended_info.py | 4 +- .../data_box_edge_device_extended_info_py3.py | 4 +- .../models/data_box_edge_device_py3.py | 18 +-- .../data_box_edge_management_client_enums.py | 2 +- .../edgegateway/models/file_event_trigger.py | 16 +-- .../models/file_event_trigger_py3.py | 18 +-- .../edgegateway/models/io_tdevice_info.py | 8 +- .../edgegateway/models/io_tdevice_info_py3.py | 8 +- .../azure/mgmt/edgegateway/models/io_trole.py | 6 +- .../mgmt/edgegateway/models/io_trole_py3.py | 6 +- .../azure/mgmt/edgegateway/models/job.py | 18 ++- .../edgegateway/models/job_error_details.py | 4 +- .../models/job_error_details_py3.py | 4 +- .../mgmt/edgegateway/models/job_error_item.py | 2 +- .../edgegateway/models/job_error_item_py3.py | 2 +- .../azure/mgmt/edgegateway/models/job_py3.py | 18 ++- .../models/metric_specification_v1.py | 2 +- .../models/metric_specification_v1_py3.py | 2 +- .../edgegateway/models/mount_point_map.py | 2 +- .../edgegateway/models/mount_point_map_py3.py | 2 +- .../edgegateway/models/network_adapter.py | 12 +- .../edgegateway/models/network_adapter_py3.py | 12 +- .../edgegateway/models/network_settings.py | 4 +- .../models/network_settings_py3.py | 4 +- .../mgmt/edgegateway/models/operation.py | 2 +- .../mgmt/edgegateway/models/operation_py3.py | 2 +- .../azure/mgmt/edgegateway/models/order.py | 27 +++-- .../mgmt/edgegateway/models/order_py3.py | 29 +++-- .../mgmt/edgegateway/models/order_status.py | 6 +- .../edgegateway/models/order_status_py3.py | 6 +- .../models/periodic_timer_event_trigger.py | 16 +-- .../periodic_timer_event_trigger_py3.py | 18 +-- .../models/periodic_timer_source_info.py | 10 +- .../models/periodic_timer_source_info_py3.py | 10 +- .../edgegateway/models/refresh_details.py | 19 ++-- .../edgegateway/models/refresh_details_py3.py | 19 ++-- .../azure/mgmt/edgegateway/models/role.py | 2 +- .../azure/mgmt/edgegateway/models/role_py3.py | 2 +- .../edgegateway/models/security_settings.py | 6 +- .../models/security_settings_py3.py | 6 +- .../azure/mgmt/edgegateway/models/share.py | 8 +- .../edgegateway/models/share_access_right.py | 2 +- .../models/share_access_right_py3.py | 2 +- .../mgmt/edgegateway/models/share_py3.py | 8 +- .../azure/mgmt/edgegateway/models/sku.py | 2 +- .../azure/mgmt/edgegateway/models/sku_py3.py | 2 +- .../models/storage_account_credential.py | 8 +- .../models/storage_account_credential_py3.py | 8 +- .../mgmt/edgegateway/models/symmetric_key.py | 4 +- .../edgegateway/models/symmetric_key_py3.py | 4 +- .../azure/mgmt/edgegateway/models/trigger.py | 2 +- .../mgmt/edgegateway/models/trigger_py3.py | 2 +- .../models/update_install_progress.py | 4 +- .../models/update_install_progress_py3.py | 4 +- .../mgmt/edgegateway/models/update_summary.py | 30 +++-- .../edgegateway/models/update_summary_py3.py | 30 +++-- .../models/upload_certificate_request.py | 2 +- .../models/upload_certificate_request_py3.py | 2 +- .../models/upload_certificate_response.py | 13 ++- .../models/upload_certificate_response_py3.py | 13 ++- .../azure/mgmt/edgegateway/models/user.py | 9 +- .../edgegateway/models/user_access_right.py | 5 +- .../models/user_access_right_py3.py | 5 +- .../azure/mgmt/edgegateway/models/user_py3.py | 9 +- .../mgmt/edgegateway/operations/__init__.py | 2 + .../operations/alerts_operations.py | 12 +- .../bandwidth_schedules_operations.py | 8 +- .../operations/devices_operations.py | 38 +++---- .../edgegateway/operations/jobs_operations.py | 103 ++++++++++++++++++ .../mgmt/edgegateway/operations/operations.py | 6 +- .../operations_status_operations.py | 7 +- .../operations/orders_operations.py | 19 ++-- .../operations/roles_operations.py | 25 ++--- .../operations/shares_operations.py | 31 +++--- .../storage_account_credentials_operations.py | 19 ++-- .../operations/triggers_operations.py | 25 ++--- .../operations/users_operations.py | 19 ++-- .../azure/mgmt/edgegateway/version.py | 2 +- 97 files changed, 536 insertions(+), 435 deletions(-) create mode 100644 azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/jobs_operations.py diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/data_box_edge_management_client.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/data_box_edge_management_client.py index a48b5f8ae3fc..a2c1bcda124c 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/data_box_edge_management_client.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/data_box_edge_management_client.py @@ -17,6 +17,7 @@ from .operations.devices_operations import DevicesOperations from .operations.alerts_operations import AlertsOperations from .operations.bandwidth_schedules_operations import BandwidthSchedulesOperations +from .operations.jobs_operations import JobsOperations from .operations.operations_status_operations import OperationsStatusOperations from .operations.orders_operations import OrdersOperations from .operations.roles_operations import RolesOperations @@ -73,6 +74,8 @@ class DataBoxEdgeManagementClient(SDKClient): :vartype alerts: azure.mgmt.edgegateway.operations.AlertsOperations :ivar bandwidth_schedules: BandwidthSchedules operations :vartype bandwidth_schedules: azure.mgmt.edgegateway.operations.BandwidthSchedulesOperations + :ivar jobs: Jobs operations + :vartype jobs: azure.mgmt.edgegateway.operations.JobsOperations :ivar operations_status: OperationsStatus operations :vartype operations_status: azure.mgmt.edgegateway.operations.OperationsStatusOperations :ivar orders: Orders operations @@ -103,7 +106,7 @@ def __init__( super(DataBoxEdgeManagementClient, self).__init__(self.config.credentials, self.config) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2018-07-01' + self.api_version = '2019-03-01' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) @@ -115,6 +118,8 @@ def __init__( self._client, self.config, self._serialize, self._deserialize) self.bandwidth_schedules = BandwidthSchedulesOperations( self._client, self.config, self._serialize, self._deserialize) + self.jobs = JobsOperations( + self._client, self.config, self._serialize, self._deserialize) self.operations_status = OperationsStatusOperations( self._client, self.config, self._serialize, self._deserialize) self.orders = OrdersOperations( diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/__init__.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/__init__.py index 27df720214fd..38bf4d3d1f8f 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/__init__.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/__init__.py @@ -152,7 +152,7 @@ NetworkAdapterStatus, NetworkAdapterRDMAStatus, NetworkAdapterDHCPStatus, - StatusTypes, + OrderState, AuthenticationType, ShareStatus, MonitoringStatus, @@ -253,7 +253,7 @@ 'NetworkAdapterStatus', 'NetworkAdapterRDMAStatus', 'NetworkAdapterDHCPStatus', - 'StatusTypes', + 'OrderState', 'AuthenticationType', 'ShareStatus', 'MonitoringStatus', diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/address.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/address.py index 79a4ae8ba7af..6cda35b8704a 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/address.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/address.py @@ -19,9 +19,9 @@ class Address(Model): :param address_line1: Required. The address line1. :type address_line1: str - :param address_line2: Required. The address line2. + :param address_line2: The address line2. :type address_line2: str - :param address_line3: Required. The address line3. + :param address_line3: The address line3. :type address_line3: str :param postal_code: Required. The postal code. :type postal_code: str @@ -35,8 +35,6 @@ class Address(Model): _validation = { 'address_line1': {'required': True}, - 'address_line2': {'required': True}, - 'address_line3': {'required': True}, 'postal_code': {'required': True}, 'city': {'required': True}, 'state': {'required': True}, diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/address_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/address_py3.py index 8498db6248ef..896b43c36f1a 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/address_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/address_py3.py @@ -19,9 +19,9 @@ class Address(Model): :param address_line1: Required. The address line1. :type address_line1: str - :param address_line2: Required. The address line2. + :param address_line2: The address line2. :type address_line2: str - :param address_line3: Required. The address line3. + :param address_line3: The address line3. :type address_line3: str :param postal_code: Required. The postal code. :type postal_code: str @@ -35,8 +35,6 @@ class Address(Model): _validation = { 'address_line1': {'required': True}, - 'address_line2': {'required': True}, - 'address_line3': {'required': True}, 'postal_code': {'required': True}, 'city': {'required': True}, 'state': {'required': True}, @@ -53,7 +51,7 @@ class Address(Model): 'country': {'key': 'country', 'type': 'str'}, } - def __init__(self, *, address_line1: str, address_line2: str, address_line3: str, postal_code: str, city: str, state: str, country: str, **kwargs) -> None: + def __init__(self, *, address_line1: str, postal_code: str, city: str, state: str, country: str, address_line2: str=None, address_line3: str=None, **kwargs) -> None: super(Address, self).__init__(**kwargs) self.address_line1 = address_line1 self.address_line2 = address_line2 diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/alert.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/alert.py index a43c2dd6b2d8..8de192215904 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/alert.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/alert.py @@ -20,24 +20,24 @@ class Alert(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str - :ivar title: Title of the alert. + :ivar title: Alert title. :vartype title: str - :ivar alert_type: Type of the alert. + :ivar alert_type: Alert type. :vartype alert_type: str - :ivar appeared_at_date_time: UTC time at which the alert appeared. + :ivar appeared_at_date_time: UTC time when the alert appeared. :vartype appeared_at_date_time: datetime - :ivar recommendation: Recommendation for acting on the alert. + :ivar recommendation: Alert recommendation. :vartype recommendation: str :ivar severity: Severity of the alert. Possible values include: 'Informational', 'Warning', 'Critical' :vartype severity: str or ~azure.mgmt.edgegateway.models.AlertSeverity :ivar error_details: Error details of the alert. :vartype error_details: ~azure.mgmt.edgegateway.models.AlertErrorDetails - :ivar detailed_information: Detailed information about the alert. + :ivar detailed_information: Alert details. :vartype detailed_information: dict[str, str] """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/alert_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/alert_py3.py index a7976376e8f3..4d5385694042 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/alert_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/alert_py3.py @@ -20,24 +20,24 @@ class Alert(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str - :ivar title: Title of the alert. + :ivar title: Alert title. :vartype title: str - :ivar alert_type: Type of the alert. + :ivar alert_type: Alert type. :vartype alert_type: str - :ivar appeared_at_date_time: UTC time at which the alert appeared. + :ivar appeared_at_date_time: UTC time when the alert appeared. :vartype appeared_at_date_time: datetime - :ivar recommendation: Recommendation for acting on the alert. + :ivar recommendation: Alert recommendation. :vartype recommendation: str :ivar severity: Severity of the alert. Possible values include: 'Informational', 'Warning', 'Critical' :vartype severity: str or ~azure.mgmt.edgegateway.models.AlertSeverity :ivar error_details: Error details of the alert. :vartype error_details: ~azure.mgmt.edgegateway.models.AlertErrorDetails - :ivar detailed_information: Detailed information about the alert. + :ivar detailed_information: Alert details. :vartype detailed_information: dict[str, str] """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/arm_base_model.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/arm_base_model.py index 20c98f69ac4d..f39e1dbb0f14 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/arm_base_model.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/arm_base_model.py @@ -20,7 +20,7 @@ class ARMBaseModel(Model): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/arm_base_model_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/arm_base_model_py3.py index 8dca56c04efa..e71eccdf2fba 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/arm_base_model_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/arm_base_model_py3.py @@ -20,7 +20,7 @@ class ARMBaseModel(Model): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/asymmetric_encrypted_secret.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/asymmetric_encrypted_secret.py index 6724c6f4de66..4cf666712147 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/asymmetric_encrypted_secret.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/asymmetric_encrypted_secret.py @@ -19,8 +19,8 @@ class AsymmetricEncryptedSecret(Model): :param value: Required. The value of the secret. :type value: str - :param encryption_cert_thumbprint: Thumbprint certificate that was used to - encrypt "Value". If the value in unencrypted, it will be null. + :param encryption_cert_thumbprint: Thumbprint certificate used to encrypt + \\"Value\\". If the value is unencrypted, it will be null. :type encryption_cert_thumbprint: str :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values include: 'None', 'AES256', 'RSAES_PKCS1_v_1_5' diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/asymmetric_encrypted_secret_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/asymmetric_encrypted_secret_py3.py index 0b3602184232..4ca1f3f2a7b8 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/asymmetric_encrypted_secret_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/asymmetric_encrypted_secret_py3.py @@ -19,8 +19,8 @@ class AsymmetricEncryptedSecret(Model): :param value: Required. The value of the secret. :type value: str - :param encryption_cert_thumbprint: Thumbprint certificate that was used to - encrypt "Value". If the value in unencrypted, it will be null. + :param encryption_cert_thumbprint: Thumbprint certificate used to encrypt + \\"Value\\". If the value is unencrypted, it will be null. :type encryption_cert_thumbprint: str :param encryption_algorithm: Required. The algorithm used to encrypt "Value". Possible values include: 'None', 'AES256', 'RSAES_PKCS1_v_1_5' diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/azure_container_info.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/azure_container_info.py index 050a58dca7b3..3631d919ab8c 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/azure_container_info.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/azure_container_info.py @@ -17,11 +17,11 @@ class AzureContainerInfo(Model): All required parameters must be populated in order to send to Azure. - :param storage_account_credential_id: Required. ID of the Storage account - credential to be used for accessing storage. + :param storage_account_credential_id: Required. ID of the storage account + credential used to access storage. :type storage_account_credential_id: str :param container_name: Required. Container name (Based on the data format - specified, represents the name of Azure file/ Page blob / Block blob). + specified, this represents the name of Azure Files/Page blob/Block blob). :type container_name: str :param data_format: Required. Storage format used for the file represented by the share. Possible values include: 'BlockBlob', 'PageBlob', diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/azure_container_info_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/azure_container_info_py3.py index 8636d5cc97a9..1d0ae45ef302 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/azure_container_info_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/azure_container_info_py3.py @@ -17,11 +17,11 @@ class AzureContainerInfo(Model): All required parameters must be populated in order to send to Azure. - :param storage_account_credential_id: Required. ID of the Storage account - credential to be used for accessing storage. + :param storage_account_credential_id: Required. ID of the storage account + credential used to access storage. :type storage_account_credential_id: str :param container_name: Required. Container name (Based on the data format - specified, represents the name of Azure file/ Page blob / Block blob). + specified, this represents the name of Azure Files/Page blob/Block blob). :type container_name: str :param data_format: Required. Storage format used for the file represented by the share. Possible values include: 'BlockBlob', 'PageBlob', diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/bandwidth_schedule.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/bandwidth_schedule.py index d2a22581bf16..ea807206d6ac 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/bandwidth_schedule.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/bandwidth_schedule.py @@ -22,7 +22,7 @@ class BandwidthSchedule(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/bandwidth_schedule_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/bandwidth_schedule_py3.py index a749807650da..1dc00b7f45d6 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/bandwidth_schedule_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/bandwidth_schedule_py3.py @@ -22,7 +22,7 @@ class BandwidthSchedule(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/client_access_right.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/client_access_right.py index 378d6eac45f4..8c85bce72022 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/client_access_right.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/client_access_right.py @@ -13,12 +13,12 @@ class ClientAccessRight(Model): - """The mapping between a particular client ip and the type of access client + """The mapping between a particular client IP and the type of access client has on the NFS share. All required parameters must be populated in order to send to Azure. - :param client: Required. Ip of the client. + :param client: Required. IP of the client. :type client: str :param access_permission: Required. Type of access to be allowed for the client. Possible values include: 'NoAccess', 'ReadOnly', 'ReadWrite' diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/client_access_right_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/client_access_right_py3.py index f37931eab567..bb2054758461 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/client_access_right_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/client_access_right_py3.py @@ -13,12 +13,12 @@ class ClientAccessRight(Model): - """The mapping between a particular client ip and the type of access client + """The mapping between a particular client IP and the type of access client has on the NFS share. All required parameters must be populated in order to send to Azure. - :param client: Required. Ip of the client. + :param client: Required. IP of the client. :type client: str :param access_permission: Required. Type of access to be allowed for the client. Possible values include: 'NoAccess', 'ReadOnly', 'ReadWrite' diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/contact_details.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/contact_details.py index f05b66e022a9..75871a75896a 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/contact_details.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/contact_details.py @@ -17,13 +17,13 @@ class ContactDetails(Model): All required parameters must be populated in order to send to Azure. - :param contact_person: Required. Gets or sets the contact person. + :param contact_person: Required. The contact person name. :type contact_person: str - :param company_name: Required. Gets or sets the name of the company. + :param company_name: Required. The name of the company. :type company_name: str - :param phone: Required. Gets or sets the phone number. + :param phone: Required. The phone number. :type phone: str - :param email_list: Required. Gets or sets the email list. + :param email_list: Required. The email list. :type email_list: list[str] """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/contact_details_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/contact_details_py3.py index 172c7d02b6fc..7e86471e8358 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/contact_details_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/contact_details_py3.py @@ -17,13 +17,13 @@ class ContactDetails(Model): All required parameters must be populated in order to send to Azure. - :param contact_person: Required. Gets or sets the contact person. + :param contact_person: Required. The contact person name. :type contact_person: str - :param company_name: Required. Gets or sets the name of the company. + :param company_name: Required. The name of the company. :type company_name: str - :param phone: Required. Gets or sets the phone number. + :param phone: Required. The phone number. :type phone: str - :param email_list: Required. Gets or sets the email list. + :param email_list: Required. The email list. :type email_list: list[str] """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_device.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_device.py index f8d1ca24f9e1..ebdbb7a07241 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_device.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_device.py @@ -22,22 +22,22 @@ class DataBoxEdgeDevice(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str - :param location: Required. The location of the device. This will be one of - the supported and registered Azure Geo Regions (e.g. West US, East US, - Southeast Asia, etc.). The geo region of a device cannot be changed once - it is created, but if an identical geo region is specified on update the - request will succeed. + :param location: Required. The location of the device. This is a supported + and registered Azure geographical region (for example, West US, East US, + or Southeast Asia). The geographical region of a device cannot be changed + once it is created, but if an identical geographical region is specified + on update, the request will succeed. :type location: str :param tags: The list of tags that describe the device. These tags can be - used in viewing and grouping this device (across resource groups). + used to view and group this device (across resource groups). :type tags: dict[str, str] - :param sku: The sku type. + :param sku: The SKU type. :type sku: ~azure.mgmt.edgegateway.models.Sku - :param etag: The etag of the devices. + :param etag: The etag for the devices. :type etag: str :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible values include: 'ReadyToSetup', 'Online', diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_device_extended_info.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_device_extended_info.py index 4538fd1307e4..d2bd87d14dd9 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_device_extended_info.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_device_extended_info.py @@ -22,7 +22,7 @@ class DataBoxEdgeDeviceExtendedInfo(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str @@ -34,7 +34,7 @@ class DataBoxEdgeDeviceExtendedInfo(ARMBaseModel): :type encryption_key_thumbprint: str :param encryption_key: The Channel Integrity Key (CIK) of the device. :type encryption_key: str - :ivar resource_key: The Resource Id of the Resource. + :ivar resource_key: The Resource ID of the Resource. :vartype resource_key: str """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_device_extended_info_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_device_extended_info_py3.py index 16b90721fe33..8c4833fa3f27 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_device_extended_info_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_device_extended_info_py3.py @@ -22,7 +22,7 @@ class DataBoxEdgeDeviceExtendedInfo(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str @@ -34,7 +34,7 @@ class DataBoxEdgeDeviceExtendedInfo(ARMBaseModel): :type encryption_key_thumbprint: str :param encryption_key: The Channel Integrity Key (CIK) of the device. :type encryption_key: str - :ivar resource_key: The Resource Id of the Resource. + :ivar resource_key: The Resource ID of the Resource. :vartype resource_key: str """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_device_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_device_py3.py index 7051a03be2b2..0ecbff1d8bc8 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_device_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_device_py3.py @@ -22,22 +22,22 @@ class DataBoxEdgeDevice(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str - :param location: Required. The location of the device. This will be one of - the supported and registered Azure Geo Regions (e.g. West US, East US, - Southeast Asia, etc.). The geo region of a device cannot be changed once - it is created, but if an identical geo region is specified on update the - request will succeed. + :param location: Required. The location of the device. This is a supported + and registered Azure geographical region (for example, West US, East US, + or Southeast Asia). The geographical region of a device cannot be changed + once it is created, but if an identical geographical region is specified + on update, the request will succeed. :type location: str :param tags: The list of tags that describe the device. These tags can be - used in viewing and grouping this device (across resource groups). + used to view and group this device (across resource groups). :type tags: dict[str, str] - :param sku: The sku type. + :param sku: The SKU type. :type sku: ~azure.mgmt.edgegateway.models.Sku - :param etag: The etag of the devices. + :param etag: The etag for the devices. :type etag: str :param data_box_edge_device_status: The status of the Data Box Edge/Gateway device. Possible values include: 'ReadyToSetup', 'Online', diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_management_client_enums.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_management_client_enums.py index 2e77b0268c8f..d94916bd04b6 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_management_client_enums.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/data_box_edge_management_client_enums.py @@ -212,7 +212,7 @@ class NetworkAdapterDHCPStatus(str, Enum): enabled = "Enabled" -class StatusTypes(str, Enum): +class OrderState(str, Enum): untracked = "Untracked" awaiting_fulfilment = "AwaitingFulfilment" diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/file_event_trigger.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/file_event_trigger.py index 7e3d9c12aaae..6210a7bd0de8 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/file_event_trigger.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/file_event_trigger.py @@ -22,20 +22,20 @@ class FileEventTrigger(Trigger): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str :param kind: Required. Constant filled by server. :type kind: str - :param source_info: File event source details. + :param source_info: Required. File event source details. :type source_info: ~azure.mgmt.edgegateway.models.FileSourceInfo - :param sink_info: Role Sink info. + :param sink_info: Required. Role sink info. :type sink_info: ~azure.mgmt.edgegateway.models.RoleSinkInfo - :param custom_context_tag: Custom context tag, typically used to co-relate - the trigger against its usage. Eg. If a PeriodicTimer trigger may be - intended for certain specific IOT modules in device, the tag can be the - name/image url of the module. + :param custom_context_tag: A custom context tag typically used to + correlate the trigger against its usage. For example, if a periodic timer + trigger is intended for certain specific IoT modules in the device, the + tag can be the name or the image URL of the module. :type custom_context_tag: str """ @@ -44,6 +44,8 @@ class FileEventTrigger(Trigger): 'name': {'readonly': True}, 'type': {'readonly': True}, 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, } _attribute_map = { diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/file_event_trigger_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/file_event_trigger_py3.py index 47f551dc054a..adc8552d4041 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/file_event_trigger_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/file_event_trigger_py3.py @@ -22,20 +22,20 @@ class FileEventTrigger(Trigger): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str :param kind: Required. Constant filled by server. :type kind: str - :param source_info: File event source details. + :param source_info: Required. File event source details. :type source_info: ~azure.mgmt.edgegateway.models.FileSourceInfo - :param sink_info: Role Sink info. + :param sink_info: Required. Role sink info. :type sink_info: ~azure.mgmt.edgegateway.models.RoleSinkInfo - :param custom_context_tag: Custom context tag, typically used to co-relate - the trigger against its usage. Eg. If a PeriodicTimer trigger may be - intended for certain specific IOT modules in device, the tag can be the - name/image url of the module. + :param custom_context_tag: A custom context tag typically used to + correlate the trigger against its usage. For example, if a periodic timer + trigger is intended for certain specific IoT modules in the device, the + tag can be the name or the image URL of the module. :type custom_context_tag: str """ @@ -44,6 +44,8 @@ class FileEventTrigger(Trigger): 'name': {'readonly': True}, 'type': {'readonly': True}, 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, } _attribute_map = { @@ -56,7 +58,7 @@ class FileEventTrigger(Trigger): 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, } - def __init__(self, *, source_info=None, sink_info=None, custom_context_tag: str=None, **kwargs) -> None: + def __init__(self, *, source_info, sink_info, custom_context_tag: str=None, **kwargs) -> None: super(FileEventTrigger, self).__init__(**kwargs) self.source_info = source_info self.sink_info = sink_info diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/io_tdevice_info.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/io_tdevice_info.py index 3836f895e956..edaaec972b02 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/io_tdevice_info.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/io_tdevice_info.py @@ -13,14 +13,14 @@ class IoTDeviceInfo(Model): - """Metadata of IoT device/IoT edge device to be configured. + """Metadata of IoT device/IoT Edge device to be configured. All required parameters must be populated in order to send to Azure. - :param device_id: Required. Id of the IoT device/edge device. + :param device_id: Required. ID of the IoT device/edge device. :type device_id: str - :param io_thost_hub: Required. Host name for IoT hub which is associated - to the device. + :param io_thost_hub: Required. Host name for the IoT hub associated to the + device. :type io_thost_hub: str :param authentication: IoT device authentication info. :type authentication: ~azure.mgmt.edgegateway.models.Authentication diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/io_tdevice_info_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/io_tdevice_info_py3.py index 8ea6a7224d85..34617b78a844 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/io_tdevice_info_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/io_tdevice_info_py3.py @@ -13,14 +13,14 @@ class IoTDeviceInfo(Model): - """Metadata of IoT device/IoT edge device to be configured. + """Metadata of IoT device/IoT Edge device to be configured. All required parameters must be populated in order to send to Azure. - :param device_id: Required. Id of the IoT device/edge device. + :param device_id: Required. ID of the IoT device/edge device. :type device_id: str - :param io_thost_hub: Required. Host name for IoT hub which is associated - to the device. + :param io_thost_hub: Required. Host name for the IoT hub associated to the + device. :type io_thost_hub: str :param authentication: IoT device authentication info. :type authentication: ~azure.mgmt.edgegateway.models.Authentication diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/io_trole.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/io_trole.py index 41a821a1776f..f31e62c9f985 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/io_trole.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/io_trole.py @@ -22,14 +22,14 @@ class IoTRole(Role): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str :param kind: Required. Constant filled by server. :type kind: str - :param host_platform: Required. Host OS which IoT role support. Possible - values include: 'Windows', 'Linux' + :param host_platform: Required. Host OS supported by the IoT role. + Possible values include: 'Windows', 'Linux' :type host_platform: str or ~azure.mgmt.edgegateway.models.PlatformType :param io_tdevice_details: Required. IoT device metadata to which data box edge device needs to be connected. diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/io_trole_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/io_trole_py3.py index d65916269e89..a5c160fff7e0 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/io_trole_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/io_trole_py3.py @@ -22,14 +22,14 @@ class IoTRole(Role): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str :param kind: Required. Constant filled by server. :type kind: str - :param host_platform: Required. Host OS which IoT role support. Possible - values include: 'Windows', 'Linux' + :param host_platform: Required. Host OS supported by the IoT role. + Possible values include: 'Windows', 'Linux' :type host_platform: str or ~azure.mgmt.edgegateway.models.PlatformType :param io_tdevice_details: Required. IoT device metadata to which data box edge device needs to be connected. diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job.py index 02a290aa4a35..85f8115ad83d 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job.py @@ -28,14 +28,13 @@ class Job(Model): 'Invalid', 'Running', 'Succeeded', 'Failed', 'Canceled', 'Paused', 'Scheduled' :vartype status: str or ~azure.mgmt.edgegateway.models.JobStatus - :ivar start_time: The UTC datetime at which the job was started. + :ivar start_time: The UTC date and time at which the job started. :vartype start_time: datetime - :ivar end_time: The UTC datetime at which the job completed. + :ivar end_time: The UTC date and time at which the job completed. :vartype end_time: datetime - :ivar percent_complete: The percentage of the job that is already - complete. + :ivar percent_complete: The percentage of the job that is complete. :vartype percent_complete: int - :ivar error: The Error details. + :ivar error: The error details. :vartype error: ~azure.mgmt.edgegateway.models.JobErrorDetails :ivar job_type: The type of the job. Possible values include: 'Invalid', 'ScanForUpdates', 'DownloadUpdates', 'InstallUpdates', 'RefreshShare' @@ -56,14 +55,13 @@ class Job(Model): :ivar total_refresh_errors: Total number of errors encountered during the refresh process. :vartype total_refresh_errors: int - :ivar error_manifest_file: Local Share/Remote Container relative path to + :ivar error_manifest_file: Local share/remote container relative path to the error manifest file of the refresh. :vartype error_manifest_file: str - :ivar share_id: ARM id of the Share on which the Refresh operation was - done. + :ivar share_id: ARM ID of the share that was refreshed. :vartype share_id: str - :param folder: If only subfolders need to be refreshed, then the sub - folder path inside the share. Empty otherwise. + :param folder: If only subfolders need to be refreshed, then the subfolder + path inside the share. (The path is empty if there are no subfolders.) :type folder: str """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_error_details.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_error_details.py index 0f079b4cdd70..4e2b6ca58bec 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_error_details.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_error_details.py @@ -13,7 +13,7 @@ class JobErrorDetails(Model): - """The job error information containing List of JobErrorItem. + """The job error information containing the list of job errors. Variables are only populated by the server, and will be ignored when sending a request. @@ -22,7 +22,7 @@ class JobErrorDetails(Model): :vartype error_details: list[~azure.mgmt.edgegateway.models.JobErrorItem] :ivar code: The code intended for programmatic access. :vartype code: str - :ivar message: The message intended to describe the error in detail. + :ivar message: The message that describes the error in detail. :vartype message: str """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_error_details_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_error_details_py3.py index f8631ffe8dec..cf605155a023 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_error_details_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_error_details_py3.py @@ -13,7 +13,7 @@ class JobErrorDetails(Model): - """The job error information containing List of JobErrorItem. + """The job error information containing the list of job errors. Variables are only populated by the server, and will be ignored when sending a request. @@ -22,7 +22,7 @@ class JobErrorDetails(Model): :vartype error_details: list[~azure.mgmt.edgegateway.models.JobErrorItem] :ivar code: The code intended for programmatic access. :vartype code: str - :ivar message: The message intended to describe the error in detail. + :ivar message: The message that describes the error in detail. :vartype message: str """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_error_item.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_error_item.py index 43418b3ff5f8..1ed7a3afbb14 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_error_item.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_error_item.py @@ -22,7 +22,7 @@ class JobErrorItem(Model): :vartype recommendations: list[str] :ivar code: The code intended for programmatic access. :vartype code: str - :ivar message: The message intended to describe the error in detail. + :ivar message: The message that describes the error in detail. :vartype message: str """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_error_item_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_error_item_py3.py index 4bf85469ad19..c36d5676fed9 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_error_item_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_error_item_py3.py @@ -22,7 +22,7 @@ class JobErrorItem(Model): :vartype recommendations: list[str] :ivar code: The code intended for programmatic access. :vartype code: str - :ivar message: The message intended to describe the error in detail. + :ivar message: The message that describes the error in detail. :vartype message: str """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_py3.py index 9ad70fbf1a8b..c05227ad5db6 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/job_py3.py @@ -28,14 +28,13 @@ class Job(Model): 'Invalid', 'Running', 'Succeeded', 'Failed', 'Canceled', 'Paused', 'Scheduled' :vartype status: str or ~azure.mgmt.edgegateway.models.JobStatus - :ivar start_time: The UTC datetime at which the job was started. + :ivar start_time: The UTC date and time at which the job started. :vartype start_time: datetime - :ivar end_time: The UTC datetime at which the job completed. + :ivar end_time: The UTC date and time at which the job completed. :vartype end_time: datetime - :ivar percent_complete: The percentage of the job that is already - complete. + :ivar percent_complete: The percentage of the job that is complete. :vartype percent_complete: int - :ivar error: The Error details. + :ivar error: The error details. :vartype error: ~azure.mgmt.edgegateway.models.JobErrorDetails :ivar job_type: The type of the job. Possible values include: 'Invalid', 'ScanForUpdates', 'DownloadUpdates', 'InstallUpdates', 'RefreshShare' @@ -56,14 +55,13 @@ class Job(Model): :ivar total_refresh_errors: Total number of errors encountered during the refresh process. :vartype total_refresh_errors: int - :ivar error_manifest_file: Local Share/Remote Container relative path to + :ivar error_manifest_file: Local share/remote container relative path to the error manifest file of the refresh. :vartype error_manifest_file: str - :ivar share_id: ARM id of the Share on which the Refresh operation was - done. + :ivar share_id: ARM ID of the share that was refreshed. :vartype share_id: str - :param folder: If only subfolders need to be refreshed, then the sub - folder path inside the share. Empty otherwise. + :param folder: If only subfolders need to be refreshed, then the subfolder + path inside the share. (The path is empty if there are no subfolders.) :type folder: str """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/metric_specification_v1.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/metric_specification_v1.py index 4be7f0345cdf..9b88054f9d22 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/metric_specification_v1.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/metric_specification_v1.py @@ -32,7 +32,7 @@ class MetricSpecificationV1(Model): :param dimensions: Metric dimensions, other than default dimension which is resource. :type dimensions: list[~azure.mgmt.edgegateway.models.MetricDimensionV1] - :param fill_gap_with_zero: set true to fill the gaps with zero. + :param fill_gap_with_zero: Set true to fill the gaps with zero. :type fill_gap_with_zero: bool :param category: Metric category. Possible values include: 'Capacity', 'Transaction' diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/metric_specification_v1_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/metric_specification_v1_py3.py index bd4d0ab87a09..cd70322c3b7b 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/metric_specification_v1_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/metric_specification_v1_py3.py @@ -32,7 +32,7 @@ class MetricSpecificationV1(Model): :param dimensions: Metric dimensions, other than default dimension which is resource. :type dimensions: list[~azure.mgmt.edgegateway.models.MetricDimensionV1] - :param fill_gap_with_zero: set true to fill the gaps with zero. + :param fill_gap_with_zero: Set true to fill the gaps with zero. :type fill_gap_with_zero: bool :param category: Metric category. Possible values include: 'Capacity', 'Transaction' diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/mount_point_map.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/mount_point_map.py index 55f61f7b064e..a195dc60b3df 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/mount_point_map.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/mount_point_map.py @@ -20,7 +20,7 @@ class MountPointMap(Model): All required parameters must be populated in order to send to Azure. - :param share_id: Required. ID of the share which is mounted to role VM. + :param share_id: Required. ID of the share mounted to the role VM. :type share_id: str :ivar role_id: ID of the role to which share is mounted. :vartype role_id: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/mount_point_map_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/mount_point_map_py3.py index 563e4196f181..fcb7348f02c1 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/mount_point_map_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/mount_point_map_py3.py @@ -20,7 +20,7 @@ class MountPointMap(Model): All required parameters must be populated in order to send to Azure. - :param share_id: Required. ID of the share which is mounted to role VM. + :param share_id: Required. ID of the share mounted to the role VM. :type share_id: str :ivar role_id: ID of the role to which share is mounted. :vartype role_id: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/network_adapter.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/network_adapter.py index dc151b104888..2d95bf86423b 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/network_adapter.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/network_adapter.py @@ -27,24 +27,24 @@ class NetworkAdapter(Model): :vartype index: int :ivar node_id: Node ID of the network adapter. :vartype node_id: str - :ivar network_adapter_name: Network Adapter Name. + :ivar network_adapter_name: Network adapter name. :vartype network_adapter_name: str :ivar label: Hardware label for the adapter. :vartype label: str - :ivar mac_address: MAC Address. + :ivar mac_address: MAC address. :vartype mac_address: str - :ivar link_speed: Link Speed. + :ivar link_speed: Link speed. :vartype link_speed: long :ivar status: Value indicating whether this adapter is valid. Possible values include: 'Inactive', 'Active' :vartype status: str or ~azure.mgmt.edgegateway.models.NetworkAdapterStatus - :param rdma_status: Value indicating whether this adapter is RDMA Capable. + :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values include: 'Incapable', 'Capable' :type rdma_status: str or ~azure.mgmt.edgegateway.models.NetworkAdapterRDMAStatus :param dhcp_status: Value indicating whether this adapter has DHCP - Enabled. Possible values include: 'Disabled', 'Enabled' + enabled. Possible values include: 'Disabled', 'Enabled' :type dhcp_status: str or ~azure.mgmt.edgegateway.models.NetworkAdapterDHCPStatus :ivar ipv4_configuration: The IPv4 configuration of the network adapter. @@ -53,7 +53,7 @@ class NetworkAdapter(Model): :vartype ipv6_configuration: ~azure.mgmt.edgegateway.models.Ipv6Config :ivar ipv6_link_local_address: The IPv6 local address. :vartype ipv6_link_local_address: str - :ivar dns_servers: The list DNS Servers of the device. + :ivar dns_servers: The list of DNS Servers of the device. :vartype dns_servers: list[str] """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/network_adapter_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/network_adapter_py3.py index 163b9e09ff4e..a2cb756c2827 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/network_adapter_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/network_adapter_py3.py @@ -27,24 +27,24 @@ class NetworkAdapter(Model): :vartype index: int :ivar node_id: Node ID of the network adapter. :vartype node_id: str - :ivar network_adapter_name: Network Adapter Name. + :ivar network_adapter_name: Network adapter name. :vartype network_adapter_name: str :ivar label: Hardware label for the adapter. :vartype label: str - :ivar mac_address: MAC Address. + :ivar mac_address: MAC address. :vartype mac_address: str - :ivar link_speed: Link Speed. + :ivar link_speed: Link speed. :vartype link_speed: long :ivar status: Value indicating whether this adapter is valid. Possible values include: 'Inactive', 'Active' :vartype status: str or ~azure.mgmt.edgegateway.models.NetworkAdapterStatus - :param rdma_status: Value indicating whether this adapter is RDMA Capable. + :param rdma_status: Value indicating whether this adapter is RDMA capable. Possible values include: 'Incapable', 'Capable' :type rdma_status: str or ~azure.mgmt.edgegateway.models.NetworkAdapterRDMAStatus :param dhcp_status: Value indicating whether this adapter has DHCP - Enabled. Possible values include: 'Disabled', 'Enabled' + enabled. Possible values include: 'Disabled', 'Enabled' :type dhcp_status: str or ~azure.mgmt.edgegateway.models.NetworkAdapterDHCPStatus :ivar ipv4_configuration: The IPv4 configuration of the network adapter. @@ -53,7 +53,7 @@ class NetworkAdapter(Model): :vartype ipv6_configuration: ~azure.mgmt.edgegateway.models.Ipv6Config :ivar ipv6_link_local_address: The IPv6 local address. :vartype ipv6_link_local_address: str - :ivar dns_servers: The list DNS Servers of the device. + :ivar dns_servers: The list of DNS Servers of the device. :vartype dns_servers: list[str] """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/network_settings.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/network_settings.py index 7fa09ce2d059..c9a9190ad962 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/network_settings.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/network_settings.py @@ -13,14 +13,14 @@ class NetworkSettings(ARMBaseModel): - """The NetworkSettings of a device. + """The network settings of a device. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/network_settings_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/network_settings_py3.py index 92cca2cc1242..db9f6c0a98d9 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/network_settings_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/network_settings_py3.py @@ -13,14 +13,14 @@ class NetworkSettings(ARMBaseModel): - """The NetworkSettings of a device. + """The network settings of a device. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/operation.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/operation.py index 880ca72671f0..a65cab2410db 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/operation.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/operation.py @@ -17,7 +17,7 @@ class Operation(Model): :param name: Name of the operation. :type name: str - :param display: Properties to displayed for the operation. + :param display: Properties displayed for the operation. :type display: ~azure.mgmt.edgegateway.models.OperationDisplay :param origin: Origin of the operation. :type origin: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/operation_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/operation_py3.py index c48549336a18..3930c32c6634 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/operation_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/operation_py3.py @@ -17,7 +17,7 @@ class Operation(Model): :param name: Name of the operation. :type name: str - :param display: Properties to displayed for the operation. + :param display: Properties displayed for the operation. :type display: ~azure.mgmt.edgegateway.models.OperationDisplay :param origin: Origin of the operation. :type origin: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/order.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/order.py index 8a13ee220a9b..4e8404fdad65 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/order.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/order.py @@ -18,28 +18,31 @@ class Order(ARMBaseModel): Variables are only populated by the server, and will be ignored when sending a request. + All required parameters must be populated in order to send to Azure. + :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str - :param contact_information: The contact details. + :param contact_information: Required. The contact details. :type contact_information: ~azure.mgmt.edgegateway.models.ContactDetails - :param shipping_address: The shipping address. + :param shipping_address: Required. The shipping address. :type shipping_address: ~azure.mgmt.edgegateway.models.Address - :param change_status_to: Current status of the Order. - :type change_status_to: ~azure.mgmt.edgegateway.models.OrderStatus + :param current_status: Current status of the order. + :type current_status: ~azure.mgmt.edgegateway.models.OrderStatus :ivar order_history: List of status changes in the order. :vartype order_history: list[~azure.mgmt.edgegateway.models.OrderStatus] :ivar serial_number: Serial number of the device. :vartype serial_number: str - :ivar delivery_tracking_info: Tracking information related to the packages - being delivered to the customer whether original or replacement devices. + :ivar delivery_tracking_info: Tracking information for the package + delivered to the customer whether it has an original or a replacement + device. :vartype delivery_tracking_info: list[~azure.mgmt.edgegateway.models.TrackingInfo] - :ivar return_tracking_info: Tracking information related to the package - being returned from the customer whether original or replacement devices. + :ivar return_tracking_info: Tracking information for the package returned + from the customer whether it has an original or a replacement device. :vartype return_tracking_info: list[~azure.mgmt.edgegateway.models.TrackingInfo] """ @@ -48,6 +51,8 @@ class Order(ARMBaseModel): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, + 'contact_information': {'required': True}, + 'shipping_address': {'required': True}, 'order_history': {'readonly': True}, 'serial_number': {'readonly': True}, 'delivery_tracking_info': {'readonly': True}, @@ -60,7 +65,7 @@ class Order(ARMBaseModel): 'type': {'key': 'type', 'type': 'str'}, 'contact_information': {'key': 'properties.contactInformation', 'type': 'ContactDetails'}, 'shipping_address': {'key': 'properties.shippingAddress', 'type': 'Address'}, - 'change_status_to': {'key': 'properties.changeStatusTo', 'type': 'OrderStatus'}, + 'current_status': {'key': 'properties.currentStatus', 'type': 'OrderStatus'}, 'order_history': {'key': 'properties.orderHistory', 'type': '[OrderStatus]'}, 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, 'delivery_tracking_info': {'key': 'properties.deliveryTrackingInfo', 'type': '[TrackingInfo]'}, @@ -71,7 +76,7 @@ def __init__(self, **kwargs): super(Order, self).__init__(**kwargs) self.contact_information = kwargs.get('contact_information', None) self.shipping_address = kwargs.get('shipping_address', None) - self.change_status_to = kwargs.get('change_status_to', None) + self.current_status = kwargs.get('current_status', None) self.order_history = None self.serial_number = None self.delivery_tracking_info = None diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/order_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/order_py3.py index c0fb3bf93236..b81fef5aefb2 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/order_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/order_py3.py @@ -18,28 +18,31 @@ class Order(ARMBaseModel): Variables are only populated by the server, and will be ignored when sending a request. + All required parameters must be populated in order to send to Azure. + :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str - :param contact_information: The contact details. + :param contact_information: Required. The contact details. :type contact_information: ~azure.mgmt.edgegateway.models.ContactDetails - :param shipping_address: The shipping address. + :param shipping_address: Required. The shipping address. :type shipping_address: ~azure.mgmt.edgegateway.models.Address - :param change_status_to: Current status of the Order. - :type change_status_to: ~azure.mgmt.edgegateway.models.OrderStatus + :param current_status: Current status of the order. + :type current_status: ~azure.mgmt.edgegateway.models.OrderStatus :ivar order_history: List of status changes in the order. :vartype order_history: list[~azure.mgmt.edgegateway.models.OrderStatus] :ivar serial_number: Serial number of the device. :vartype serial_number: str - :ivar delivery_tracking_info: Tracking information related to the packages - being delivered to the customer whether original or replacement devices. + :ivar delivery_tracking_info: Tracking information for the package + delivered to the customer whether it has an original or a replacement + device. :vartype delivery_tracking_info: list[~azure.mgmt.edgegateway.models.TrackingInfo] - :ivar return_tracking_info: Tracking information related to the package - being returned from the customer whether original or replacement devices. + :ivar return_tracking_info: Tracking information for the package returned + from the customer whether it has an original or a replacement device. :vartype return_tracking_info: list[~azure.mgmt.edgegateway.models.TrackingInfo] """ @@ -48,6 +51,8 @@ class Order(ARMBaseModel): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, + 'contact_information': {'required': True}, + 'shipping_address': {'required': True}, 'order_history': {'readonly': True}, 'serial_number': {'readonly': True}, 'delivery_tracking_info': {'readonly': True}, @@ -60,18 +65,18 @@ class Order(ARMBaseModel): 'type': {'key': 'type', 'type': 'str'}, 'contact_information': {'key': 'properties.contactInformation', 'type': 'ContactDetails'}, 'shipping_address': {'key': 'properties.shippingAddress', 'type': 'Address'}, - 'change_status_to': {'key': 'properties.changeStatusTo', 'type': 'OrderStatus'}, + 'current_status': {'key': 'properties.currentStatus', 'type': 'OrderStatus'}, 'order_history': {'key': 'properties.orderHistory', 'type': '[OrderStatus]'}, 'serial_number': {'key': 'properties.serialNumber', 'type': 'str'}, 'delivery_tracking_info': {'key': 'properties.deliveryTrackingInfo', 'type': '[TrackingInfo]'}, 'return_tracking_info': {'key': 'properties.returnTrackingInfo', 'type': '[TrackingInfo]'}, } - def __init__(self, *, contact_information=None, shipping_address=None, change_status_to=None, **kwargs) -> None: + def __init__(self, *, contact_information, shipping_address, current_status=None, **kwargs) -> None: super(Order, self).__init__(**kwargs) self.contact_information = contact_information self.shipping_address = shipping_address - self.change_status_to = change_status_to + self.current_status = current_status self.order_history = None self.serial_number = None self.delivery_tracking_info = None diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/order_status.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/order_status.py index 4537c25b39b6..2fc0438ef81a 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/order_status.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/order_status.py @@ -20,13 +20,13 @@ class OrderStatus(Model): All required parameters must be populated in order to send to Azure. - :param status: Required. Status of the order pertaining to the allowed - StatusTypes. Possible values include: 'Untracked', 'AwaitingFulfilment', + :param status: Required. Status of the order as per the allowed status + types. Possible values include: 'Untracked', 'AwaitingFulfilment', 'AwaitingPreparation', 'AwaitingShipment', 'Shipped', 'Arriving', 'Delivered', 'ReplacementRequested', 'LostDevice', 'Declined', 'ReturnInitiated', 'AwaitingReturnShipment', 'ShippedBack', 'CollectedAtMicrosoft' - :type status: str or ~azure.mgmt.edgegateway.models.StatusTypes + :type status: str or ~azure.mgmt.edgegateway.models.OrderState :ivar update_date_time: Time of status update. :vartype update_date_time: datetime :param comments: Comments related to this status change. diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/order_status_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/order_status_py3.py index 0a3d7b5bd4c0..9f9d32795d40 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/order_status_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/order_status_py3.py @@ -20,13 +20,13 @@ class OrderStatus(Model): All required parameters must be populated in order to send to Azure. - :param status: Required. Status of the order pertaining to the allowed - StatusTypes. Possible values include: 'Untracked', 'AwaitingFulfilment', + :param status: Required. Status of the order as per the allowed status + types. Possible values include: 'Untracked', 'AwaitingFulfilment', 'AwaitingPreparation', 'AwaitingShipment', 'Shipped', 'Arriving', 'Delivered', 'ReplacementRequested', 'LostDevice', 'Declined', 'ReturnInitiated', 'AwaitingReturnShipment', 'ShippedBack', 'CollectedAtMicrosoft' - :type status: str or ~azure.mgmt.edgegateway.models.StatusTypes + :type status: str or ~azure.mgmt.edgegateway.models.OrderState :ivar update_date_time: Time of status update. :vartype update_date_time: datetime :param comments: Comments related to this status change. diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/periodic_timer_event_trigger.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/periodic_timer_event_trigger.py index 7e6f1289eee3..0487a1ce8aa1 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/periodic_timer_event_trigger.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/periodic_timer_event_trigger.py @@ -22,20 +22,20 @@ class PeriodicTimerEventTrigger(Trigger): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str :param kind: Required. Constant filled by server. :type kind: str - :param source_info: Periodic timer details. + :param source_info: Required. Periodic timer details. :type source_info: ~azure.mgmt.edgegateway.models.PeriodicTimerSourceInfo - :param sink_info: Role Sink info. + :param sink_info: Required. Role Sink information. :type sink_info: ~azure.mgmt.edgegateway.models.RoleSinkInfo - :param custom_context_tag: Custom context tag, typically used to co-relate - the trigger against its usage. Eg. If a PeriodicTimer trigger may be - intended for certain specific IOT modules in device, the tag can be the - name/image url of the module. + :param custom_context_tag: A custom context tag typically used to + correlate the trigger against its usage. For example, if a periodic timer + trigger is intended for certain specific IoT modules in the device, the + tag can be the name or the image URL of the module. :type custom_context_tag: str """ @@ -44,6 +44,8 @@ class PeriodicTimerEventTrigger(Trigger): 'name': {'readonly': True}, 'type': {'readonly': True}, 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, } _attribute_map = { diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/periodic_timer_event_trigger_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/periodic_timer_event_trigger_py3.py index beb3d9d8b033..bb3b9468faf2 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/periodic_timer_event_trigger_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/periodic_timer_event_trigger_py3.py @@ -22,20 +22,20 @@ class PeriodicTimerEventTrigger(Trigger): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str :param kind: Required. Constant filled by server. :type kind: str - :param source_info: Periodic timer details. + :param source_info: Required. Periodic timer details. :type source_info: ~azure.mgmt.edgegateway.models.PeriodicTimerSourceInfo - :param sink_info: Role Sink info. + :param sink_info: Required. Role Sink information. :type sink_info: ~azure.mgmt.edgegateway.models.RoleSinkInfo - :param custom_context_tag: Custom context tag, typically used to co-relate - the trigger against its usage. Eg. If a PeriodicTimer trigger may be - intended for certain specific IOT modules in device, the tag can be the - name/image url of the module. + :param custom_context_tag: A custom context tag typically used to + correlate the trigger against its usage. For example, if a periodic timer + trigger is intended for certain specific IoT modules in the device, the + tag can be the name or the image URL of the module. :type custom_context_tag: str """ @@ -44,6 +44,8 @@ class PeriodicTimerEventTrigger(Trigger): 'name': {'readonly': True}, 'type': {'readonly': True}, 'kind': {'required': True}, + 'source_info': {'required': True}, + 'sink_info': {'required': True}, } _attribute_map = { @@ -56,7 +58,7 @@ class PeriodicTimerEventTrigger(Trigger): 'custom_context_tag': {'key': 'properties.customContextTag', 'type': 'str'}, } - def __init__(self, *, source_info=None, sink_info=None, custom_context_tag: str=None, **kwargs) -> None: + def __init__(self, *, source_info, sink_info, custom_context_tag: str=None, **kwargs) -> None: super(PeriodicTimerEventTrigger, self).__init__(**kwargs) self.source_info = source_info self.sink_info = sink_info diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/periodic_timer_source_info.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/periodic_timer_source_info.py index e00b2588ed55..1e8ed0e87c67 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/periodic_timer_source_info.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/periodic_timer_source_info.py @@ -17,15 +17,13 @@ class PeriodicTimerSourceInfo(Model): All required parameters must be populated in order to send to Azure. - :param start_time: Required. Time time [UTC] of the day, from which the - trigger will be valid. Schedule will be computed with reference to the - time specified. + :param start_time: Required. The time of the day that results in a valid + trigger. Schedule is computed with reference to the time specified. :type start_time: datetime :param schedule: Required. Periodic frequency at which timer event needs - to be raised. Supports Daily, Hourly, Minutes and seconds. + to be raised. Supports daily, hourly, minutes, and seconds. :type schedule: str - :param topic: Topic with which periodic events needs to be published to - IOT device. + :param topic: Topic where periodic events are published to IoT device. :type topic: str """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/periodic_timer_source_info_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/periodic_timer_source_info_py3.py index 3b98fa1d416f..71b626003de9 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/periodic_timer_source_info_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/periodic_timer_source_info_py3.py @@ -17,15 +17,13 @@ class PeriodicTimerSourceInfo(Model): All required parameters must be populated in order to send to Azure. - :param start_time: Required. Time time [UTC] of the day, from which the - trigger will be valid. Schedule will be computed with reference to the - time specified. + :param start_time: Required. The time of the day that results in a valid + trigger. Schedule is computed with reference to the time specified. :type start_time: datetime :param schedule: Required. Periodic frequency at which timer event needs - to be raised. Supports Daily, Hourly, Minutes and seconds. + to be raised. Supports daily, hourly, minutes, and seconds. :type schedule: str - :param topic: Topic with which periodic events needs to be published to - IOT device. + :param topic: Topic where periodic events are published to IoT device. :type topic: str """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/refresh_details.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/refresh_details.py index 2ff2e9a818cf..ba6ea11a663f 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/refresh_details.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/refresh_details.py @@ -15,21 +15,20 @@ class RefreshDetails(Model): """Fields for tracking refresh job on the share. - :param in_progress_refresh_job_id: If a RefreshShare job is currently - inprogress on this share - this field indicates the ArmId of that job. - Empty otherwise. + :param in_progress_refresh_job_id: If a refresh share job is currently in + progress on this share, this field indicates the ARM resource ID of that + job. The field is empty if no job is in progress. :type in_progress_refresh_job_id: str - :param last_completed_refresh_job_time_in_utc: Indicates the job completed - time of the last refresh job on this particular share, if any. - This could be a failed job or a successful job. + :param last_completed_refresh_job_time_in_utc: Indicates the completed + time for the last refresh job on this particular share, if any.This could + be a failed job or a successful job. :type last_completed_refresh_job_time_in_utc: datetime :param error_manifest_file: Indicates the relative path of the error xml - for the last refresh job on this particular share, if any. - This could be a failed job or a successful job. + for the last refresh job on this particular share, if any. This could be a + failed job or a successful job. :type error_manifest_file: str :param last_job: Indicates the id of the last refresh job on this - particular share,if any. - This could be a failed job or a successful job. + particular share,if any. This could be a failed job or a successful job. :type last_job: str """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/refresh_details_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/refresh_details_py3.py index baec0146c8f5..1172a980c661 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/refresh_details_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/refresh_details_py3.py @@ -15,21 +15,20 @@ class RefreshDetails(Model): """Fields for tracking refresh job on the share. - :param in_progress_refresh_job_id: If a RefreshShare job is currently - inprogress on this share - this field indicates the ArmId of that job. - Empty otherwise. + :param in_progress_refresh_job_id: If a refresh share job is currently in + progress on this share, this field indicates the ARM resource ID of that + job. The field is empty if no job is in progress. :type in_progress_refresh_job_id: str - :param last_completed_refresh_job_time_in_utc: Indicates the job completed - time of the last refresh job on this particular share, if any. - This could be a failed job or a successful job. + :param last_completed_refresh_job_time_in_utc: Indicates the completed + time for the last refresh job on this particular share, if any.This could + be a failed job or a successful job. :type last_completed_refresh_job_time_in_utc: datetime :param error_manifest_file: Indicates the relative path of the error xml - for the last refresh job on this particular share, if any. - This could be a failed job or a successful job. + for the last refresh job on this particular share, if any. This could be a + failed job or a successful job. :type error_manifest_file: str :param last_job: Indicates the id of the last refresh job on this - particular share,if any. - This could be a failed job or a successful job. + particular share,if any. This could be a failed job or a successful job. :type last_job: str """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/role.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/role.py index 2fdd7ca989eb..1d2031bf6389 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/role.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/role.py @@ -25,7 +25,7 @@ class Role(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/role_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/role_py3.py index 708885a7d007..d24b70a78316 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/role_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/role_py3.py @@ -25,7 +25,7 @@ class Role(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/security_settings.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/security_settings.py index 4185e3dded79..26fb0e70a897 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/security_settings.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/security_settings.py @@ -22,13 +22,13 @@ class SecuritySettings(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str :param device_admin_password: Required. Device administrator password as - an encrypted string (encrypted using RSA PKCS #1) is used to log into the - local web UI of the device. Actual password could have at least 8 + an encrypted string (encrypted using RSA PKCS #1) is used to sign into the + local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters. :type device_admin_password: diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/security_settings_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/security_settings_py3.py index f968b2a68dc5..e67b608b7479 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/security_settings_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/security_settings_py3.py @@ -22,13 +22,13 @@ class SecuritySettings(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str :param device_admin_password: Required. Device administrator password as - an encrypted string (encrypted using RSA PKCS #1) is used to log into the - local web UI of the device. Actual password could have at least 8 + an encrypted string (encrypted using RSA PKCS #1) is used to sign into the + local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters. :type device_admin_password: diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/share.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/share.py index 2ef1d4f41b7f..1a87618bc266 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/share.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/share.py @@ -22,7 +22,7 @@ class Share(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str @@ -42,12 +42,12 @@ class Share(ARMBaseModel): Possible values include: 'SMB', 'NFS' :type access_protocol: str or ~azure.mgmt.edgegateway.models.ShareAccessProtocol - :param user_access_rights: Mapping of Users and corresponding access - rights on the share (mandatory for SMB protocol). + :param user_access_rights: Mapping of users and corresponding access + rights on the share (required for SMB protocol). :type user_access_rights: list[~azure.mgmt.edgegateway.models.UserAccessRight] :param client_access_rights: List of IP addresses and corresponding access - rights on the share(mandatory for NFS protocol). + rights on the share(required for NFS protocol). :type client_access_rights: list[~azure.mgmt.edgegateway.models.ClientAccessRight] :param refresh_details: Details of the refresh job on this share. diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/share_access_right.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/share_access_right.py index 6104ee324029..00d087b8f5a3 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/share_access_right.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/share_access_right.py @@ -18,7 +18,7 @@ class ShareAccessRight(Model): All required parameters must be populated in order to send to Azure. - :param share_id: Required. Id of the share. + :param share_id: Required. The share ID. :type share_id: str :param access_type: Required. Type of access to be allowed on the share for this user. Possible values include: 'Change', 'Read', 'Custom' diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/share_access_right_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/share_access_right_py3.py index edbd9f4805ed..544b1f6665b8 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/share_access_right_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/share_access_right_py3.py @@ -18,7 +18,7 @@ class ShareAccessRight(Model): All required parameters must be populated in order to send to Azure. - :param share_id: Required. Id of the share. + :param share_id: Required. The share ID. :type share_id: str :param access_type: Required. Type of access to be allowed on the share for this user. Possible values include: 'Change', 'Read', 'Custom' diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/share_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/share_py3.py index 1f78d2ed346f..872aab6a1b4e 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/share_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/share_py3.py @@ -22,7 +22,7 @@ class Share(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str @@ -42,12 +42,12 @@ class Share(ARMBaseModel): Possible values include: 'SMB', 'NFS' :type access_protocol: str or ~azure.mgmt.edgegateway.models.ShareAccessProtocol - :param user_access_rights: Mapping of Users and corresponding access - rights on the share (mandatory for SMB protocol). + :param user_access_rights: Mapping of users and corresponding access + rights on the share (required for SMB protocol). :type user_access_rights: list[~azure.mgmt.edgegateway.models.UserAccessRight] :param client_access_rights: List of IP addresses and corresponding access - rights on the share(mandatory for NFS protocol). + rights on the share(required for NFS protocol). :type client_access_rights: list[~azure.mgmt.edgegateway.models.ClientAccessRight] :param refresh_details: Details of the refresh job on this share. diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/sku.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/sku.py index 3f3f88f9b46c..c9fd13e60296 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/sku.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/sku.py @@ -15,7 +15,7 @@ class Sku(Model): """The SKU type. - :param name: Sku name. Possible values include: 'Gateway', 'Edge' + :param name: SKU name. Possible values include: 'Gateway', 'Edge' :type name: str or ~azure.mgmt.edgegateway.models.SkuName :param tier: The SKU tier. This is based on the SKU name. Possible values include: 'Standard' diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/sku_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/sku_py3.py index 17b2b0b82337..206fd6cbaae5 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/sku_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/sku_py3.py @@ -15,7 +15,7 @@ class Sku(Model): """The SKU type. - :param name: Sku name. Possible values include: 'Gateway', 'Edge' + :param name: SKU name. Possible values include: 'Gateway', 'Edge' :type name: str or ~azure.mgmt.edgegateway.models.SkuName :param tier: The SKU tier. This is based on the SKU name. Possible values include: 'Standard' diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/storage_account_credential.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/storage_account_credential.py index a55d89066d8c..dc59d8bca4e4 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/storage_account_credential.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/storage_account_credential.py @@ -22,19 +22,19 @@ class StorageAccountCredential(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str :param alias: Required. Alias for the storage account. :type alias: str - :param user_name: UserName for the storage account. + :param user_name: Username for the storage account. :type user_name: str :param account_key: Encrypted storage key. :type account_key: ~azure.mgmt.edgegateway.models.AsymmetricEncryptedSecret - :param connection_string: ConnectionString for the storage account. This - needs to be specified if UserName/AccountKey are not specified. + :param connection_string: Connection string for the storage account. Use + this string if username and account key are not specified. :type connection_string: str :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values include: 'Enabled', 'Disabled' diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/storage_account_credential_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/storage_account_credential_py3.py index faeb2f65105f..7772dc2693b7 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/storage_account_credential_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/storage_account_credential_py3.py @@ -22,19 +22,19 @@ class StorageAccountCredential(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str :param alias: Required. Alias for the storage account. :type alias: str - :param user_name: UserName for the storage account. + :param user_name: Username for the storage account. :type user_name: str :param account_key: Encrypted storage key. :type account_key: ~azure.mgmt.edgegateway.models.AsymmetricEncryptedSecret - :param connection_string: ConnectionString for the storage account. This - needs to be specified if UserName/AccountKey are not specified. + :param connection_string: Connection string for the storage account. Use + this string if username and account key are not specified. :type connection_string: str :param ssl_status: Required. Signifies whether SSL needs to be enabled or not. Possible values include: 'Enabled', 'Disabled' diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/symmetric_key.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/symmetric_key.py index 3f8a9a5b31b4..10a18ec408bd 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/symmetric_key.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/symmetric_key.py @@ -13,9 +13,9 @@ class SymmetricKey(Model): - """Symmetric Key for authentication. + """Symmetric key for authentication. - :param connection_string: Connection string based on symmetric key. + :param connection_string: Connection string based on the symmetric key. :type connection_string: ~azure.mgmt.edgegateway.models.AsymmetricEncryptedSecret """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/symmetric_key_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/symmetric_key_py3.py index 3d3a03e324e1..5f97e3089746 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/symmetric_key_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/symmetric_key_py3.py @@ -13,9 +13,9 @@ class SymmetricKey(Model): - """Symmetric Key for authentication. + """Symmetric key for authentication. - :param connection_string: Connection string based on symmetric key. + :param connection_string: Connection string based on the symmetric key. :type connection_string: ~azure.mgmt.edgegateway.models.AsymmetricEncryptedSecret """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/trigger.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/trigger.py index 795a5dd34dbd..c5126069f522 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/trigger.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/trigger.py @@ -25,7 +25,7 @@ class Trigger(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/trigger_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/trigger_py3.py index 00c12d925561..d674eac911e4 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/trigger_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/trigger_py3.py @@ -25,7 +25,7 @@ class Trigger(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/update_install_progress.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/update_install_progress.py index 4509b0fc566a..668b747c222d 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/update_install_progress.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/update_install_progress.py @@ -13,12 +13,12 @@ class UpdateInstallProgress(Model): - """Details about the progress during installation of updates. + """Progress details during installation of updates. Variables are only populated by the server, and will be ignored when sending a request. - :ivar percent_complete: Percentage of completion. + :ivar percent_complete: Percentage completed. :vartype percent_complete: int :ivar number_of_updates_to_install: Number of updates to install. :vartype number_of_updates_to_install: int diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/update_install_progress_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/update_install_progress_py3.py index bc2b0f9cfb82..bced5f250455 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/update_install_progress_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/update_install_progress_py3.py @@ -13,12 +13,12 @@ class UpdateInstallProgress(Model): - """Details about the progress during installation of updates. + """Progress details during installation of updates. Variables are only populated by the server, and will be ignored when sending a request. - :ivar percent_complete: Percentage of completion. + :ivar percent_complete: Percentage completed. :vartype percent_complete: int :ivar number_of_updates_to_install: Number of updates to install. :vartype number_of_updates_to_install: int diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/update_summary.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/update_summary.py index 13c49290eb39..616f79438afd 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/update_summary.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/update_summary.py @@ -20,15 +20,15 @@ class UpdateSummary(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str - :param device_version_number: The current version of the device, of - format: 1.2.17312.13. + :param device_version_number: The current version of the device in format: + 1.2.17312.13.", :type device_version_number: str - :param friendly_device_version_name: The current version of the device - represented in text format. + :param friendly_device_version_name: The current version of the device in + text format. :type friendly_device_version_name: str :param device_last_scanned_date_time: The last time when a scan was done on the device. @@ -42,9 +42,8 @@ class UpdateSummary(ARMBaseModel): :ivar last_completed_install_job_date_time: The time when the last Install job was completed (success/cancelled/failed) on the appliance. :vartype last_completed_install_job_date_time: datetime - :ivar total_number_of_updates_available: Count of updates that are - available for the current device version as per the last scan on the - device. + :ivar total_number_of_updates_available: The number of updates available + for the current device version as per the last device scan. :vartype total_number_of_updates_available: int :ivar total_number_of_updates_pending_download: The total number of items pending download. @@ -53,19 +52,19 @@ class UpdateSummary(ARMBaseModel): pending install. :vartype total_number_of_updates_pending_install: int :ivar reboot_behavior: Indicates if updates are available and at least one - of the update items detected needs a reboot. Possible values include: - 'NeverReboots', 'RequiresReboot', 'RequestReboot' + of the updates needs a reboot. Possible values include: 'NeverReboots', + 'RequiresReboot', 'RequestReboot' :vartype reboot_behavior: str or ~azure.mgmt.edgegateway.models.InstallRebootBehavior :ivar ongoing_update_operation: The current update operation. Possible values include: 'None', 'Scan', 'Download', 'Install' :vartype ongoing_update_operation: str or ~azure.mgmt.edgegateway.models.UpdateOperation - :ivar in_progress_download_job_id: The Job ID of the download job if a - download is in progress. + :ivar in_progress_download_job_id: The job ID of the download job in + progress. :vartype in_progress_download_job_id: str - :ivar in_progress_install_job_id: The Job ID of the install job if an - install is in progress. + :ivar in_progress_install_job_id: The job ID of the install job in + progress. :vartype in_progress_install_job_id: str :ivar in_progress_download_job_started_date_time: The time when the currently running download (if any) started. @@ -73,8 +72,7 @@ class UpdateSummary(ARMBaseModel): :ivar in_progress_install_job_started_date_time: The time when the currently running install (if any) started. :vartype in_progress_install_job_started_date_time: datetime - :ivar update_titles: The list of update titles which are available for - install. + :ivar update_titles: The list of updates available for install. :vartype update_titles: list[str] :ivar total_update_size_in_bytes: The total size of updates available for download in bytes. diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/update_summary_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/update_summary_py3.py index 9123196fefa0..50f7a3533142 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/update_summary_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/update_summary_py3.py @@ -20,15 +20,15 @@ class UpdateSummary(ARMBaseModel): :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str - :param device_version_number: The current version of the device, of - format: 1.2.17312.13. + :param device_version_number: The current version of the device in format: + 1.2.17312.13.", :type device_version_number: str - :param friendly_device_version_name: The current version of the device - represented in text format. + :param friendly_device_version_name: The current version of the device in + text format. :type friendly_device_version_name: str :param device_last_scanned_date_time: The last time when a scan was done on the device. @@ -42,9 +42,8 @@ class UpdateSummary(ARMBaseModel): :ivar last_completed_install_job_date_time: The time when the last Install job was completed (success/cancelled/failed) on the appliance. :vartype last_completed_install_job_date_time: datetime - :ivar total_number_of_updates_available: Count of updates that are - available for the current device version as per the last scan on the - device. + :ivar total_number_of_updates_available: The number of updates available + for the current device version as per the last device scan. :vartype total_number_of_updates_available: int :ivar total_number_of_updates_pending_download: The total number of items pending download. @@ -53,19 +52,19 @@ class UpdateSummary(ARMBaseModel): pending install. :vartype total_number_of_updates_pending_install: int :ivar reboot_behavior: Indicates if updates are available and at least one - of the update items detected needs a reboot. Possible values include: - 'NeverReboots', 'RequiresReboot', 'RequestReboot' + of the updates needs a reboot. Possible values include: 'NeverReboots', + 'RequiresReboot', 'RequestReboot' :vartype reboot_behavior: str or ~azure.mgmt.edgegateway.models.InstallRebootBehavior :ivar ongoing_update_operation: The current update operation. Possible values include: 'None', 'Scan', 'Download', 'Install' :vartype ongoing_update_operation: str or ~azure.mgmt.edgegateway.models.UpdateOperation - :ivar in_progress_download_job_id: The Job ID of the download job if a - download is in progress. + :ivar in_progress_download_job_id: The job ID of the download job in + progress. :vartype in_progress_download_job_id: str - :ivar in_progress_install_job_id: The Job ID of the install job if an - install is in progress. + :ivar in_progress_install_job_id: The job ID of the install job in + progress. :vartype in_progress_install_job_id: str :ivar in_progress_download_job_started_date_time: The time when the currently running download (if any) started. @@ -73,8 +72,7 @@ class UpdateSummary(ARMBaseModel): :ivar in_progress_install_job_started_date_time: The time when the currently running install (if any) started. :vartype in_progress_install_job_started_date_time: datetime - :ivar update_titles: The list of update titles which are available for - install. + :ivar update_titles: The list of updates available for install. :vartype update_titles: list[str] :ivar total_update_size_in_bytes: The total size of updates available for download in bytes. diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/upload_certificate_request.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/upload_certificate_request.py index 44b358ff9e07..cc14dab31e71 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/upload_certificate_request.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/upload_certificate_request.py @@ -13,7 +13,7 @@ class UploadCertificateRequest(Model): - """The Upload certificate request. + """The upload certificate request. All required parameters must be populated in order to send to Azure. diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/upload_certificate_request_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/upload_certificate_request_py3.py index e47acc8beb61..6cd9961eb131 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/upload_certificate_request_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/upload_certificate_request_py3.py @@ -13,7 +13,7 @@ class UploadCertificateRequest(Model): - """The Upload certificate request. + """The upload certificate request. All required parameters must be populated in order to send to Azure. diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/upload_certificate_response.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/upload_certificate_response.py index 083caac3d956..f59e612bc3e5 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/upload_certificate_response.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/upload_certificate_response.py @@ -17,10 +17,11 @@ class UploadCertificateResponse(Model): All required parameters must be populated in order to send to Azure. - :param auth_type: Specifies the Authentication type. Possible values - include: 'Invalid', 'AzureActiveDirectory' + :param auth_type: Specifies authentication type. Possible values include: + 'Invalid', 'AzureActiveDirectory' :type auth_type: str or ~azure.mgmt.edgegateway.models.AuthenticationType - :param resource_id: Required. The resource ID of the edge device. + :param resource_id: Required. The resource ID of the Data Box Edge/Gateway + device. :type resource_id: str :param aad_authority: Required. Azure Active Directory tenant authority. :type aad_authority: str @@ -30,10 +31,10 @@ class UploadCertificateResponse(Model): service principal client ID. :type service_principal_client_id: str :param service_principal_object_id: Required. Azure Active Directory - service principal Object ID. + service principal object ID. :type service_principal_object_id: str - :param azure_management_endpoint_audience: Required. The Azure Management - Endpoint Audience. + :param azure_management_endpoint_audience: Required. The azure management + endpoint audience. :type azure_management_endpoint_audience: str """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/upload_certificate_response_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/upload_certificate_response_py3.py index 1cd54e4e7b1a..5d2c61d1cd9a 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/upload_certificate_response_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/upload_certificate_response_py3.py @@ -17,10 +17,11 @@ class UploadCertificateResponse(Model): All required parameters must be populated in order to send to Azure. - :param auth_type: Specifies the Authentication type. Possible values - include: 'Invalid', 'AzureActiveDirectory' + :param auth_type: Specifies authentication type. Possible values include: + 'Invalid', 'AzureActiveDirectory' :type auth_type: str or ~azure.mgmt.edgegateway.models.AuthenticationType - :param resource_id: Required. The resource ID of the edge device. + :param resource_id: Required. The resource ID of the Data Box Edge/Gateway + device. :type resource_id: str :param aad_authority: Required. Azure Active Directory tenant authority. :type aad_authority: str @@ -30,10 +31,10 @@ class UploadCertificateResponse(Model): service principal client ID. :type service_principal_client_id: str :param service_principal_object_id: Required. Azure Active Directory - service principal Object ID. + service principal object ID. :type service_principal_object_id: str - :param azure_management_endpoint_audience: Required. The Azure Management - Endpoint Audience. + :param azure_management_endpoint_audience: Required. The azure management + endpoint audience. :type azure_management_endpoint_audience: str """ diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/user.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/user.py index 1db9440be066..89877d824ed5 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/user.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/user.py @@ -13,20 +13,19 @@ class User(ARMBaseModel): - """Represents a user who has access to one or more shares on the Edge storage - device. + """Represents a user who has access to one or more shares on the Data Box + Edge/Gateway device. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str - :param encrypted_password: The details of the password specified for the - user. + :param encrypted_password: The password details. :type encrypted_password: ~azure.mgmt.edgegateway.models.AsymmetricEncryptedSecret :param share_access_rights: List of shares that the user has rights on. diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/user_access_right.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/user_access_right.py index bfb4738ecd34..6c11abcd8459 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/user_access_right.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/user_access_right.py @@ -13,12 +13,11 @@ class UserAccessRight(Model): - """The mapping between a particular user and the type of access they have on - the SMB share. + """The mapping between a particular user and the access type on the SMB share. All required parameters must be populated in order to send to Azure. - :param user_id: Required. Id of the user (already existing in the device). + :param user_id: Required. User ID (already existing in the device). :type user_id: str :param access_type: Required. Type of access to be allowed for the user. Possible values include: 'Change', 'Read', 'Custom' diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/user_access_right_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/user_access_right_py3.py index e1db8ec05b8f..b85c7e8329f0 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/user_access_right_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/user_access_right_py3.py @@ -13,12 +13,11 @@ class UserAccessRight(Model): - """The mapping between a particular user and the type of access they have on - the SMB share. + """The mapping between a particular user and the access type on the SMB share. All required parameters must be populated in order to send to Azure. - :param user_id: Required. Id of the user (already existing in the device). + :param user_id: Required. User ID (already existing in the device). :type user_id: str :param access_type: Required. Type of access to be allowed for the user. Possible values include: 'Change', 'Read', 'Custom' diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/user_py3.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/user_py3.py index fa67d4a5fae3..6d362234f3a5 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/user_py3.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/models/user_py3.py @@ -13,20 +13,19 @@ class User(ARMBaseModel): - """Represents a user who has access to one or more shares on the Edge storage - device. + """Represents a user who has access to one or more shares on the Data Box + Edge/Gateway device. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: The path ID that uniquely identifies the object. :vartype id: str - :ivar name: The name of the object. + :ivar name: The object name. :vartype name: str :ivar type: The hierarchical type of the object. :vartype type: str - :param encrypted_password: The details of the password specified for the - user. + :param encrypted_password: The password details. :type encrypted_password: ~azure.mgmt.edgegateway.models.AsymmetricEncryptedSecret :param share_access_rights: List of shares that the user has rights on. diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/__init__.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/__init__.py index b066dee178bf..14f1c0cbf000 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/__init__.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/__init__.py @@ -13,6 +13,7 @@ from .devices_operations import DevicesOperations from .alerts_operations import AlertsOperations from .bandwidth_schedules_operations import BandwidthSchedulesOperations +from .jobs_operations import JobsOperations from .operations_status_operations import OperationsStatusOperations from .orders_operations import OrdersOperations from .roles_operations import RolesOperations @@ -26,6 +27,7 @@ 'DevicesOperations', 'AlertsOperations', 'BandwidthSchedulesOperations', + 'JobsOperations', 'OperationsStatusOperations', 'OrdersOperations', 'RolesOperations', diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/alerts_operations.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/alerts_operations.py index f97bdde08694..9537b3dc4584 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/alerts_operations.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/alerts_operations.py @@ -23,7 +23,7 @@ class AlertsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01". + :ivar api_version: The API version. Constant value: "2019-03-01". """ models = models @@ -33,13 +33,13 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01" + self.api_version = "2019-03-01" self.config = config def list_by_data_box_edge_device( self, device_name, resource_group_name, custom_headers=None, raw=False, **operation_config): - """Retrieves all the alerts for a data box edge/gateway device. + """Gets all the alerts for a data box edge/gateway device. :param device_name: The device name. :type device_name: str @@ -109,11 +109,11 @@ def internal_paging(next_link=None, raw=False): def get( self, device_name, name, resource_group_name, custom_headers=None, raw=False, **operation_config): - """Returns an alert by name. + """Gets an alert by name. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str - :param name: Name of the alert which needs to be retrieved. + :param name: The alert name. :type name: str :param resource_group_name: The resource group name. :type resource_group_name: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/bandwidth_schedules_operations.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/bandwidth_schedules_operations.py index 5bda1637623c..78fb14677096 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/bandwidth_schedules_operations.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/bandwidth_schedules_operations.py @@ -25,7 +25,7 @@ class BandwidthSchedulesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01". + :ivar api_version: The API version. Constant value: "2019-03-01". """ models = models @@ -35,13 +35,13 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01" + self.api_version = "2019-03-01" self.config = config def list_by_data_box_edge_device( self, device_name, resource_group_name, custom_headers=None, raw=False, **operation_config): - """Returns all the bandwidth Schedules for a data box edge/gateway device. + """Gets all the bandwidth schedules for a data box edge/gateway device. :param device_name: The device name. :type device_name: str @@ -111,7 +111,7 @@ def internal_paging(next_link=None, raw=False): def get( self, device_name, name, resource_group_name, custom_headers=None, raw=False, **operation_config): - """Returns the properties of the specified bandwidth schedule name. + """Gets the properties of the specified bandwidth schedule. :param device_name: The device name. :type device_name: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/devices_operations.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/devices_operations.py index 9b87c87c9cf1..15f3dac8d528 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/devices_operations.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/devices_operations.py @@ -25,7 +25,7 @@ class DevicesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01". + :ivar api_version: The API version. Constant value: "2019-03-01". """ models = models @@ -35,13 +35,13 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01" + self.api_version = "2019-03-01" self.config = config def list_by_subscription( self, expand=None, custom_headers=None, raw=False, **operation_config): - """Retrieves all data box edge/gateway devices in a subscription. + """Gets all the data box edge/gateway devices in a subscription. :param expand: Specify $expand=details to populate additional fields related to the resource or Specify $skipToken= to populate the @@ -111,7 +111,7 @@ def internal_paging(next_link=None, raw=False): def list_by_resource_group( self, resource_group_name, expand=None, custom_headers=None, raw=False, **operation_config): - """Retrieves all data box edge/gateway devices in a resource group. + """Gets all the data box edge/gateway devices in a resource group. :param resource_group_name: The resource group name. :type resource_group_name: str @@ -184,7 +184,7 @@ def internal_paging(next_link=None, raw=False): def get( self, device_name, resource_group_name, custom_headers=None, raw=False, **operation_config): - """Returns the properties of the data box edge/gateway device. + """Gets the properties of the data box edge/gateway device. :param device_name: The device name. :type device_name: str @@ -426,7 +426,7 @@ def get_long_running_output(response): def update( self, device_name, resource_group_name, tags=None, custom_headers=None, raw=False, **operation_config): - """Updates data box edge/gateway device. + """Modifies a Data Box Edge/Gateway resource. :param device_name: The device name. :type device_name: str @@ -534,7 +534,7 @@ def _download_updates_initial( def download_updates( self, device_name, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config): - """Downloads the updates on the data box edge/gateway device. + """Downloads the updates on a data box edge/gateway device. :param device_name: The device name. :type device_name: str @@ -575,12 +575,12 @@ def get_long_running_output(response): def create_or_update_extended_info( self, device_name, parameters, resource_group_name, custom_headers=None, raw=False, **operation_config): - """Creates or updates the extended info of the data box edge/gateway - device. + """Creates or updates the additional information of a the data box + edge/gateway device. :param device_name: The device name. :type device_name: str - :param parameters: The device extended information. + :param parameters: The additional information. :type parameters: ~azure.mgmt.edgegateway.models.DataBoxEdgeDeviceExtendedInfo :param resource_group_name: The resource group name. @@ -646,7 +646,7 @@ def create_or_update_extended_info( def get_extended_information( self, device_name, resource_group_name, custom_headers=None, raw=False, **operation_config): - """Returns the extended information of the specified data box edge/gateway + """Gets additional information for the specified data box edge/gateway device. :param device_name: The device name. @@ -789,7 +789,7 @@ def get_long_running_output(response): def get_network_settings( self, device_name, resource_group_name, custom_headers=None, raw=False, **operation_config): - """Returns the network settings of the specified data box edge/gateway + """Gets the network settings of the specified data box edge/gateway device. :param device_name: The device name. @@ -982,10 +982,10 @@ def create_or_update_security_settings( :param resource_group_name: The resource group name. :type resource_group_name: str :param device_admin_password: Device administrator password as an - encrypted string (encrypted using RSA PKCS #1) is used to log into the - local web UI of the device. Actual password could have at least 8 - characters that are a combination of uppercase, lowercase, numeric, - and special characters. + encrypted string (encrypted using RSA PKCS #1) is used to sign into + the local web UI of the device. The Actual password should have at + least 8 characters that are a combination of uppercase, lowercase, + numeric, and special characters. :type device_admin_password: ~azure.mgmt.edgegateway.models.AsymmetricEncryptedSecret :param dict custom_headers: headers that will be added to the request @@ -1024,9 +1024,9 @@ def get_long_running_output(response): def get_update_summary( self, device_name, resource_group_name, custom_headers=None, raw=False, **operation_config): - """Returns information about the availability of updates as per the last - scan done on the device. It also returns information about any ongoing - download or install jobs on the device. + """Gets information about the availability of updates based on the last + scan of the device. It also gets information about any ongoing download + or install jobs on the device. :param device_name: The device name. :type device_name: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/jobs_operations.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/jobs_operations.py new file mode 100644 index 000000000000..8ec8071d27fb --- /dev/null +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/jobs_operations.py @@ -0,0 +1,103 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class JobsOperations(object): + """JobsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: The API version. Constant value: "2019-03-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2019-03-01" + + self.config = config + + def get( + self, device_name, name, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Gets the details of a specified job on a data box edge/gateway device. + + :param device_name: The device name. + :type device_name: str + :param name: The job name. + :type name: str + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: Job or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.edgegateway.models.Job or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.get.metadata['url'] + path_format_arguments = { + 'deviceName': self._serialize.url("device_name", device_name, 'str'), + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Job', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/jobs/{name}'} diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/operations.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/operations.py index 10c91393c674..9fb389c58c62 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/operations.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/operations.py @@ -23,7 +23,7 @@ class Operations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01". + :ivar api_version: The API version. Constant value: "2019-03-01". """ models = models @@ -33,13 +33,13 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01" + self.api_version = "2019-03-01" self.config = config def list( self, custom_headers=None, raw=False, **operation_config): - """Lists all the operations supported. + """List all the supported operations. :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/operations_status_operations.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/operations_status_operations.py index 26b0875ed9fa..d99bca1eae46 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/operations_status_operations.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/operations_status_operations.py @@ -23,7 +23,7 @@ class OperationsStatusOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01". + :ivar api_version: The API version. Constant value: "2019-03-01". """ models = models @@ -33,14 +33,13 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01" + self.api_version = "2019-03-01" self.config = config def get( self, device_name, name, resource_group_name, custom_headers=None, raw=False, **operation_config): - """Returns the job details of the specified job on a data box edge/gateway - device. + """Gets the details of a specified job on a data box edge/gateway device. :param device_name: The device name. :type device_name: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/orders_operations.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/orders_operations.py index c0e120462613..74f9577bee0b 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/orders_operations.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/orders_operations.py @@ -25,7 +25,7 @@ class OrdersOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01". + :ivar api_version: The API version. Constant value: "2019-03-01". """ models = models @@ -35,15 +35,15 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01" + self.api_version = "2019-03-01" self.config = config def list_by_data_box_edge_device( self, device_name, resource_group_name, custom_headers=None, raw=False, **operation_config): - """List all the orders related to the device. + """Lists all the orders related to a data box edge/gateway device. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str :param resource_group_name: The resource group name. :type resource_group_name: str @@ -111,9 +111,9 @@ def internal_paging(next_link=None, raw=False): def get( self, device_name, resource_group_name, custom_headers=None, raw=False, **operation_config): - """Get a specific order by name. + """Gets a specific order by name. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str :param resource_group_name: The resource group name. :type resource_group_name: str @@ -225,10 +225,9 @@ def create_or_update( self, device_name, order, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config): """Creates or updates an order. - :param device_name: Name of the edge device for which order needs to - be added or updated. + :param device_name: The order details of a device. :type device_name: str - :param order: Order to be added. + :param order: The order to be created or updated. :type order: ~azure.mgmt.edgegateway.models.Order :param resource_group_name: The resource group name. :type resource_group_name: str @@ -314,7 +313,7 @@ def delete( self, device_name, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config): """Deletes the order related to the device. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str :param resource_group_name: The resource group name. :type resource_group_name: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/roles_operations.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/roles_operations.py index bcd0da1f5e77..6e745a900f3f 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/roles_operations.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/roles_operations.py @@ -25,7 +25,7 @@ class RolesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01". + :ivar api_version: The API version. Constant value: "2019-03-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01" + self.api_version = "2019-03-01" self.config = config @@ -43,7 +43,7 @@ def list_by_data_box_edge_device( self, device_name, resource_group_name, custom_headers=None, raw=False, **operation_config): """Lists all the roles configured in a data box edge/gateway device. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str :param resource_group_name: The resource group name. :type resource_group_name: str @@ -111,11 +111,11 @@ def internal_paging(next_link=None, raw=False): def get( self, device_name, name, resource_group_name, custom_headers=None, raw=False, **operation_config): - """Get a specific role by name. + """Gets a specific role by name. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str - :param name: Name of role to be fetched. + :param name: The role name. :type name: str :param resource_group_name: The resource group name. :type resource_group_name: str @@ -229,12 +229,11 @@ def create_or_update( self, device_name, name, role, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config): """Create or update a role. - :param device_name: Name of the device in which the role needs to be - added or updated. + :param device_name: The device name. :type device_name: str - :param name: Name of the role to be updated. + :param name: The role name. :type name: str - :param role: Role to be added. + :param role: The role properties. :type role: ~azure.mgmt.edgegateway.models.Role :param resource_group_name: The resource group name. :type resource_group_name: str @@ -320,11 +319,11 @@ def _delete_initial( def delete( self, device_name, name, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config): - """Deletes the role on the gateway device. + """Deletes the role on the data box edge device. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str - :param name: Name of the role which needs to be deleted. + :param name: The role name. :type name: str :param resource_group_name: The resource group name. :type resource_group_name: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/shares_operations.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/shares_operations.py index 3188527168ae..48c928dce48f 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/shares_operations.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/shares_operations.py @@ -25,7 +25,7 @@ class SharesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01". + :ivar api_version: The API version. Constant value: "2019-03-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01" + self.api_version = "2019-03-01" self.config = config @@ -43,7 +43,7 @@ def list_by_data_box_edge_device( self, device_name, resource_group_name, custom_headers=None, raw=False, **operation_config): """Lists all the shares in a data box edge/gateway device. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str :param resource_group_name: The resource group name. :type resource_group_name: str @@ -111,11 +111,11 @@ def internal_paging(next_link=None, raw=False): def get( self, device_name, name, resource_group_name, custom_headers=None, raw=False, **operation_config): - """Returns a particular share by name. + """Gets a share by name. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str - :param name: Name of the share. + :param name: The share name. :type name: str :param resource_group_name: The resource group name. :type resource_group_name: str @@ -227,13 +227,13 @@ def _create_or_update_initial( def create_or_update( self, device_name, name, share, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config): - """Creates a new share or update an existing share on the device. + """Creates a new share or updates an existing share on the device. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str - :param name: Name of the share which needs to be added/updated. + :param name: The share name. :type name: str - :param share: The share object containing the share details. + :param share: The share properties. :type share: ~azure.mgmt.edgegateway.models.Share :param resource_group_name: The resource group name. :type resource_group_name: str @@ -321,9 +321,9 @@ def delete( self, device_name, name, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config): """Deletes the share on the data box edge/gateway device. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str - :param name: Name of the share which needs to be deleted. + :param name: The share name. :type name: str :param resource_group_name: The resource group name. :type resource_group_name: str @@ -402,12 +402,11 @@ def _refresh_initial( def refresh( self, device_name, name, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config): - """Triggers a manual refresh of the share metadata with the actual cloud - storage account. + """Refreshes the share metadata with the data from the cloud. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str - :param name: Name of the share. + :param name: The share name. :type name: str :param resource_group_name: The resource group name. :type resource_group_name: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/storage_account_credentials_operations.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/storage_account_credentials_operations.py index 4df603a00311..60a5e1ab2367 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/storage_account_credentials_operations.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/storage_account_credentials_operations.py @@ -25,7 +25,7 @@ class StorageAccountCredentialsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01". + :ivar api_version: The API version. Constant value: "2019-03-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01" + self.api_version = "2019-03-01" self.config = config @@ -44,7 +44,7 @@ def list_by_data_box_edge_device( """Gets all the storage account credentials in a data box edge/gateway device. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str :param resource_group_name: The resource group name. :type resource_group_name: str @@ -114,9 +114,9 @@ def get( self, device_name, name, resource_group_name, custom_headers=None, raw=False, **operation_config): """Gets the properties of the specified storage account credential. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str - :param name: Name of the storage account credential to be fetched. + :param name: The storage account credential name. :type name: str :param resource_group_name: The resource group name. :type resource_group_name: str @@ -230,12 +230,11 @@ def create_or_update( self, device_name, name, storage_account_credential, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config): """Creates or updates the storage account credential. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str :param name: The storage account credential name. :type name: str - :param storage_account_credential: The storage account credential to - be added or updated. + :param storage_account_credential: The storage account credential. :type storage_account_credential: ~azure.mgmt.edgegateway.models.StorageAccountCredential :param resource_group_name: The resource group name. @@ -325,9 +324,9 @@ def delete( self, device_name, name, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config): """Deletes the storage account credential. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str - :param name: Name of the storage account credential. + :param name: The storage account credential name. :type name: str :param resource_group_name: The resource group name. :type resource_group_name: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/triggers_operations.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/triggers_operations.py index 84c6d806f2ca..e92b29e4f2dc 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/triggers_operations.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/triggers_operations.py @@ -25,7 +25,7 @@ class TriggersOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01". + :ivar api_version: The API version. Constant value: "2019-03-01". """ models = models @@ -35,15 +35,15 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01" + self.api_version = "2019-03-01" self.config = config def list_by_data_box_edge_device( self, device_name, resource_group_name, custom_headers=None, raw=False, **operation_config): - """List all the triggers configured in the device. + """Lists all the triggers configured in the device. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str :param resource_group_name: The resource group name. :type resource_group_name: str @@ -113,9 +113,9 @@ def get( self, device_name, name, resource_group_name, custom_headers=None, raw=False, **operation_config): """Get a specific trigger by name. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str - :param name: Name of trigger to be fetched. + :param name: The trigger name. :type name: str :param resource_group_name: The resource group name. :type resource_group_name: str @@ -227,14 +227,13 @@ def _create_or_update_initial( def create_or_update( self, device_name, name, trigger, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config): - """Create or update a trigger. + """Creates or updates a trigger. - :param device_name: Name of the edge device in which trigger needs to - be added or updated. + :param device_name: Creates or updates a trigger :type device_name: str - :param name: Name of trigger to be added or updated. + :param name: The trigger name. :type name: str - :param trigger: Trigger to be added. + :param trigger: The trigger. :type trigger: ~azure.mgmt.edgegateway.models.Trigger :param resource_group_name: The resource group name. :type resource_group_name: str @@ -322,9 +321,9 @@ def delete( self, device_name, name, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config): """Deletes the trigger on the gateway device. - :param device_name: Name of the device. + :param device_name: The device name. :type device_name: str - :param name: Name of the trigger which needs to be deleted. + :param name: The trigger name. :type name: str :param resource_group_name: The resource group name. :type resource_group_name: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/users_operations.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/users_operations.py index b0bc90a81b3d..34a966ac969d 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/users_operations.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/operations/users_operations.py @@ -25,7 +25,7 @@ class UsersOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The API version. Constant value: "2018-07-01". + :ivar api_version: The API version. Constant value: "2019-03-01". """ models = models @@ -35,13 +35,13 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-07-01" + self.api_version = "2019-03-01" self.config = config def list_by_data_box_edge_device( self, device_name, resource_group_name, custom_headers=None, raw=False, **operation_config): - """Returns all the users registered in a data box edge/gateway device. + """Gets all the users registered on a data box edge/gateway device. :param device_name: The device name. :type device_name: str @@ -111,11 +111,11 @@ def internal_paging(next_link=None, raw=False): def get( self, device_name, name, resource_group_name, custom_headers=None, raw=False, **operation_config): - """Returns the properties of the specified user. + """Gets the properties of the specified user. :param device_name: The device name. :type device_name: str - :param name: The name of the user who needs to be retrieved. + :param name: The user name. :type name: str :param resource_group_name: The resource group name. :type resource_group_name: str @@ -229,17 +229,16 @@ def _create_or_update_initial( def create_or_update( self, device_name, name, resource_group_name, encrypted_password=None, share_access_rights=None, custom_headers=None, raw=False, polling=True, **operation_config): - """Create a new user or update an existing user's information on a data + """Creates a new user or updates an existing user's information on a data box edge/gateway device. :param device_name: The device name. :type device_name: str - :param name: The name of the user who needs to be added/updated. + :param name: The user name. :type name: str :param resource_group_name: The resource group name. :type resource_group_name: str - :param encrypted_password: The details of the password specified for - the user. + :param encrypted_password: The password details. :type encrypted_password: ~azure.mgmt.edgegateway.models.AsymmetricEncryptedSecret :param share_access_rights: List of shares that the user has rights @@ -333,7 +332,7 @@ def delete( :param device_name: The device name. :type device_name: str - :param name: The name of the user who needs to be deleted. + :param name: The user name. :type name: str :param resource_group_name: The resource group name. :type resource_group_name: str diff --git a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/version.py b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/version.py index 8b09f47f15f0..9f6882014656 100644 --- a/azure-mgmt-edgegateway/azure/mgmt/edgegateway/version.py +++ b/azure-mgmt-edgegateway/azure/mgmt/edgegateway/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "2018-07-01" +VERSION = "2019-03-01" From 0b7a781744e525a4976ef7499481a03e9a01e0d5 Mon Sep 17 00:00:00 2001 From: azuresdkci Date: Fri, 15 Feb 2019 09:26:57 +0000 Subject: [PATCH 2/2] Packaging update of azure-mgmt-edgegateway --- azure-mgmt-edgegateway/README.rst | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/azure-mgmt-edgegateway/README.rst b/azure-mgmt-edgegateway/README.rst index 45de4e6b43dd..d0429ebc7565 100644 --- a/azure-mgmt-edgegateway/README.rst +++ b/azure-mgmt-edgegateway/README.rst @@ -14,25 +14,6 @@ For the older Azure Service Management (ASM) libraries, see For a more complete set of Azure libraries, see the `azure `__ bundle package. -Compatibility -============= - -**IMPORTANT**: If you have an earlier version of the azure package -(version < 1.0), you should uninstall it before installing this package. - -You can check the version using pip: - -.. code:: shell - - pip freeze - -If you see azure==0.11.0 (or any version below 1.0), uninstall it first: - -.. code:: shell - - pip uninstall azure - - Usage =====