/// <summary> /// Get the entities from the service /// </summary> protected override IEnumerable <AzureSqlSyncAgentKeyModel> GetEntity() { // Try to get the sync agent first. If the sync agent doesn't exist, it will fail at this step. ModelAdapter.GetSyncAgent(this.ResourceGroupName, this.ServerName, this.SyncAgentName); return(new List <AzureSqlSyncAgentKeyModel>() { ModelAdapter.CreateSyncAgentKey(this.ResourceGroupName, this.ServerName, this.SyncAgentName) }); }