public static StorageAccount GetStorageAccount(this ArmClient client, ResourceIdentifier id) { return(client.GetClient(() => { StorageAccount.ValidateResourceId(id); return new StorageAccount(client, id); } )); }
public static StorageAccount GetStorageAccount(this ArmClient armClient, ResourceIdentifier id) { StorageAccount.ValidateResourceId(id); return(new StorageAccount(armClient, id)); }