text: # 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.
  # --------------------------------------------------------------------------
  
  from .proxy_resource import ProxyResource
  
  
  class CloudEndpoint(ProxyResource):
      """Cloud Endpoint object.
  
      Variables are only populated by the server, and will be ignored when
      sending a request.
  
      :ivar id: Fully qualified resource Id for the resource. Ex -
       /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
      :vartype id: str
      :ivar name: The name of the resource
      :vartype name: str
      :ivar type: The type of the resource. Ex-
       Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
      :vartype type: str
      :param storage_account_resource_id: Storage Account Resource Id
      :type storage_account_resource_id: str
      :param azure_file_share_name: Azure file share name
      :type azure_file_share_name: str
      :param storage_account_tenant_id: Storage Account Tenant Id
      :type storage_account_tenant_id: str
      :param partnership_id: Partnership Id
      :type partnership_id: str
      :param friendly_name: Friendly Name
      :type friendly_name: str
      :ivar backup_enabled: Backup Enabled
      :vartype backup_enabled: str
      :param provisioning_state: CloudEndpoint Provisioning State
      :type provisioning_state: str
      :param last_workflow_id: CloudEndpoint lastWorkflowId
      :type last_workflow_id: str
      :param last_operation_name: Resource Last Operation Name
      :type last_operation_name: str
      """
  
      _validation = {
          'id': {'readonly': True},
          'name': {'readonly': True},
          'type': {'readonly': True},
          'backup_enabled': {'readonly': True},
      }
  
      _attribute_map = {
          'id': {'key': 'id', 'type': 'str'},
          'name': {'key': 'name', 'type': 'str'},
          'type': {'key': 'type', 'type': 'str'},
          'storage_account_resource_id': {'key': 'properties.storageAccountResourceId', 'type': 'str'},
          'azure_file_share_name': {'key': 'properties.azureFileShareName', 'type': 'str'},
          'storage_account_tenant_id': {'key': 'properties.storageAccountTenantId', 'type': 'str'},
          'partnership_id': {'key': 'properties.partnershipId', 'type': 'str'},
          'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
          'backup_enabled': {'key': 'properties.backupEnabled', 'type': 'str'},
          'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
          'last_workflow_id': {'key': 'properties.lastWorkflowId', 'type': 'str'},
          'last_operation_name': {'key': 'properties.lastOperationName', 'type': 'str'},
      }
  
      def __init__(self, **kwargs):
          super(CloudEndpoint, self).__init__(**kwargs)
          self.storage_account_resource_id = kwargs.get('storage_account_resource_id', None)
          self.azure_file_share_name = kwargs.get('azure_file_share_name', None)
          self.storage_account_tenant_id = kwargs.get('storage_account_tenant_id', None)
          self.partnership_id = kwargs.get('partnership_id', None)
          self.friendly_name = kwargs.get('friendly_name', None)
          self.backup_enabled = None
          self.provisioning_state = kwargs.get('provisioning_state', None)
          self.last_workflow_id = kwargs.get('last_workflow_id', None)
          self.last_operation_name = kwargs.get('last_operation_name', None)
  