/// <summary>
 /// Get the entities from the service
 /// </summary>
 /// <returns>The list of entities</returns>
 protected override IEnumerable <AzureSqlServerBackupLongTermRetentionVaultModel> GetEntity()
 {
     return(new List <AzureSqlServerBackupLongTermRetentionVaultModel>()
     {
         ModelAdapter.GetBackupLongTermRetentionVault(this.ResourceGroupName, this.ServerName)
     });
 }
Пример #2
0
        /// <summary>
        /// Get the entities from the service
        /// </summary>
        /// <returns>The list of entities</returns>
        protected override IEnumerable <AzureSqlServerBackupLongTermRetentionVaultModel> GetEntity()
        {
            ICollection <AzureSqlServerBackupLongTermRetentionVaultModel> results;

            results = new List <AzureSqlServerBackupLongTermRetentionVaultModel>();
            results.Add(ModelAdapter.GetBackupLongTermRetentionVault(this.ResourceGroupName, this.ServerName));

            return(results);
        }